-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add missing docs for System.Collections[.Generic] #4121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||
| <Type Name="Dictionary<TKey,TValue>" FullName="System.Collections.Generic.Dictionary<TKey,TValue>"> | ||||||||
| <Type Name="Dictionary<TKey,TValue>" FullName="System.Collections.Generic.Dictionary<TKey,TValue>"> | ||||||||
| <TypeSignature Language="C#" Value="public class Dictionary<TKey,TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>, System.Collections.IDictionary" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.6" /> | ||||||||
| <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Dictionary`2<TKey, TValue> extends System.Object implements class System.Collections.Generic.ICollection`1<valuetype System.Collections.Generic.KeyValuePair`2<!TKey, !TValue>>, class System.Collections.Generic.IDictionary`2<!TKey, !TValue>, class System.Collections.Generic.IEnumerable`1<valuetype System.Collections.Generic.KeyValuePair`2<!TKey, !TValue>>, class System.Collections.Generic.IReadOnlyCollection`1<valuetype System.Collections.Generic.KeyValuePair`2<!TKey, !TValue>>, class System.Collections.Generic.IReadOnlyDictionary`2<!TKey, !TValue>, class System.Collections.ICollection, class System.Collections.IDictionary, class System.Collections.IEnumerable" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.6" /> | ||||||||
| <TypeSignature Language="DocId" Value="T:System.Collections.Generic.Dictionary`2" /> | ||||||||
|
|
@@ -331,9 +331,10 @@ | |||||||
| <Parameter Name="collection" Type="System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0" /> | ||||||||
| </Parameters> | ||||||||
| <Docs> | ||||||||
| <param name="collection">To be added.</param> | ||||||||
| <summary>To be added.</summary> | ||||||||
| <param name="collection">The <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are copied to the new <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> | ||||||||
| <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.Dictionary`2" /> class that contains elements copied from the specified <see cref="T:System.Collections.Generic.IEnumerable`1" />.</summary> | ||||||||
| <remarks>To be added.</remarks> | ||||||||
| <exception cref="System.ArgumentException"><paramref name="collection" /> contains one or more duplicated keys.</exception> | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @layomia did you manually add the exceptions or did you port them with the tool? I ask because the exception cref DocIDs are incomplete (missing the API category prefix), and if it's the tool's fault, I should get it fixed. This is how it should look:
Suggested change
Also, if the inner value of the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added them manually in e42c4c8, but used the tool to port the in the new commit. It missed the one added in The command I used was:
|
||||||||
| </Docs> | ||||||||
| </Member> | ||||||||
| <Member MemberName=".ctor"> | ||||||||
|
|
@@ -567,10 +568,11 @@ | |||||||
| <Parameter Name="comparer" Type="System.Collections.Generic.IEqualityComparer<TKey>" Index="1" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0" /> | ||||||||
| </Parameters> | ||||||||
| <Docs> | ||||||||
| <param name="collection">To be added.</param> | ||||||||
| <param name="comparer">To be added.</param> | ||||||||
| <summary>To be added.</summary> | ||||||||
| <param name="collection">The <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are copied to the new <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> | ||||||||
| <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing keys, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1" /> for the type of the key.</param> | ||||||||
| <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.Dictionary`2" /> class that contains elements copied from the specified <see cref="T:System.Collections.Generic.IEnumerable`1" /> and uses the specified <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary> | ||||||||
| <remarks>To be added.</remarks> | ||||||||
| <exception cref="System.ArgumentException"><paramref name="collection" /> contains one or more duplicated keys.</exception> | ||||||||
layomia marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| </Docs> | ||||||||
| </Member> | ||||||||
| <Member MemberName=".ctor"> | ||||||||
|
|
@@ -1506,11 +1508,13 @@ | |||||||
| <Parameter Name="value" Type="TValue" RefType="out" Index="1" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0" /> | ||||||||
| </Parameters> | ||||||||
| <Docs> | ||||||||
| <param name="key">To be added.</param> | ||||||||
| <param name="value">To be added.</param> | ||||||||
| <summary>To be added.</summary> | ||||||||
| <returns>To be added.</returns> | ||||||||
| <param name="key">The key of the element to remove.</param> | ||||||||
| <param name="value">The removed element.</param> | ||||||||
| <summary>Removes the value with the specified key from the <see cref="T:System.Collections.Generic.Dictionary`2" />, and copies the element to the <paramref name="value" /> parameter.</summary> | ||||||||
| <returns> | ||||||||
| <see langword="true" /> if the element is successfully found and removed; otherwise, <see langword="false" />.</returns> | ||||||||
| <remarks>To be added.</remarks> | ||||||||
| <exception cref="System.ArgumentNullException"><paramref name="key" /> is <see langword="null" />.</exception> | ||||||||
layomia marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| </Docs> | ||||||||
| </Member> | ||||||||
| <Member MemberName="System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add"> | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.