Skip to content

Add missing docs in new EnsureCapacity methods - #7071

Merged
eiriktsarpalis merged 1 commit into
dotnet:mainfrom
eiriktsarpalis:ensurecapacity-missing-docs
Aug 30, 2021
Merged

eiriktsarpalis merged 1 commit into
dotnet:mainfrom
eiriktsarpalis:ensurecapacity-missing-docs

Conversation

@eiriktsarpalis

Copy link
Copy Markdown
Member

@ghost

ghost commented Aug 24, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @eiriktsarpalis
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes dotnet/runtime#54869. Related to dotnet/runtime#58007.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Collections

Milestone: -

@opbld32

opbld32 commented Aug 24, 2021

Copy link
Copy Markdown

Docs Build status updates of commit d473e9c:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Collections.Generic/List`1.xml ✅Succeeded View
xml/System.Collections.Generic/Queue`1.xml ✅Succeeded View
xml/System.Collections.Generic/Stack`1.xml ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@@ -1421,7 +1421,7 @@
<param name="capacity">The minimum capacity to ensure.</param>
<summary>Ensures that the capacity of this list is at least the specified <paramref name="capacity" />.
If the current capacity of the list is less than specified <paramref name="capacity" />, the capacity is increased by continuously twice current capacity until it is at least the specified <paramref name="capacity" />.</summary>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If the current capacity of the list is less than specified <paramref name="capacity" />, the capacity is increased by continuously twice current capacity until it is at least the specified <paramref name="capacity" />.</summary>
If the current capacity of the list is less than <paramref name="capacity" />, it is successively increased to twice the current capacity until it is at least the specified <paramref name="capacity" />.</summary>

@@ -641,7 +641,7 @@
<param name="capacity">The minimum capacity to ensure.</param>
<summary>Ensures that the capacity of this Stack is at least the specified <paramref name="capacity" />.
If the current capacity of the Stack is less than specified <paramref name="capacity" />, the capacity is increased by continuously twice current capacity until it is at least the specified <paramref name="capacity" />.</summary>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If the current capacity of the Stack is less than specified <paramref name="capacity" />, the capacity is increased by continuously twice current capacity until it is at least the specified <paramref name="capacity" />.</summary>
If the current capacity of the stack is less than <paramref name="capacity" />, it is successively increased to twice the current capacity until it is at least the specified <paramref name="capacity" />.</summary>

@@ -735,7 +735,7 @@
<Docs>
<param name="capacity">The minimum capacity to ensure.</param>
<summary>Ensures that the capacity of this Queue is at least the specified <paramref name="capacity" />.</summary>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<summary>Ensures that the capacity of this Queue is at least the specified <paramref name="capacity" />.</summary>
<summary>Ensures that the capacity of this queue is at least the specified <paramref name="capacity" />.</summary>

@eiriktsarpalis
eiriktsarpalis merged commit 4f32773 into dotnet:main Aug 30, 2021
@eiriktsarpalis

Copy link
Copy Markdown
Member Author

@gewarren apologies, it looks like automerge kicked in after you reviewed without taking your unresolved comments into account.

@eiriktsarpalis
eiriktsarpalis deleted the ensurecapacity-missing-docs branch September 1, 2021 10:34
@gewarren

gewarren commented Sep 1, 2021

Copy link
Copy Markdown
Collaborator

@gewarren apologies, it looks like automerge kicked in after you reviewed without taking your unresolved comments into account.

No worries, I realized that's what happened. It's unfortunate that automerge doesn't take the comments into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Collections - Undoc 6.0 APIs

3 participants