Skip to content

Commit f425ebb

Browse files
Merge pull request #10553 from dotnet/main
Merge main into live
2 parents 0e1721e + 573b097 commit f425ebb

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@
14161416
<Docs>
14171417
<summary>Gets a collection containing the keys in the <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary>
14181418
<value>A collection of keys in the <see cref="T:System.Collections.Generic.Dictionary`2" />.</value>
1419-
<remarks>To be added.</remarks>
1419+
<remarks>The property returns a copy of all the keys. It's not kept in sync with <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />.</remarks>
14201420
<related type="Article" href="/dotnet/standard/collections/thread-safe/">Thread-Safe Collections</related>
14211421
<related type="Article" href="/dotnet/standard/collections/thread-safe/how-to-add-and-remove-items">How to: Add and Remove Items from a ConcurrentDictionary</related>
14221422
</Docs>
@@ -3003,7 +3003,7 @@ The key is compared using the dictionary's comparer (or the default comparer for
30033003
<Docs>
30043004
<summary>Gets a collection that contains the values in the <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary>
30053005
<value>A collection that contains the values in the <see cref="T:System.Collections.Generic.Dictionary`2" />.</value>
3006-
<remarks>To be added.</remarks>
3006+
<remarks>The property returns a copy of all the values. It's not kept in sync with <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />.</remarks>
30073007
<related type="Article" href="/dotnet/standard/collections/thread-safe/">Thread-Safe Collections</related>
30083008
<related type="Article" href="/dotnet/standard/collections/thread-safe/how-to-add-and-remove-items">How to: Add and Remove Items from a ConcurrentDictionary</related>
30093009
</Docs>

xml/System.Collections.Generic/HashSet`1.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,9 +1310,10 @@ The following example demonstrates how to merge two disparate sets. This example
13101310
<Parameters />
13111311
<Docs>
13121312
<typeparam name="TAlternate">The alternate type of instance for performing lookups.</typeparam>
1313-
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1"/> using a <typeparamref name="TAlternate"/> instead of a <typeparamref name="T"/>.</summary>
1313+
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1" /> using a <typeparamref name="TAlternate" /> instead of a <typeparamref name="T" />.</summary>
13141314
<returns>The created lookup instance.</returns>
1315-
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2"/> with <typeparamref name="TAlternate"/> and <typeparamref name="T"/>. If it doesn't, an exception is thrown.</remarks>
1315+
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2" /> with <typeparamref name="TAlternate" /> and <typeparamref name="T" />. If it doesn't, an exception is thrown.</remarks>
1316+
<exception cref="T:System.InvalidOperationException">The set's comparer is not compatible with <typeparamref name="TAlternate" />.</exception>
13161317
</Docs>
13171318
</Member>
13181319
<Member MemberName="GetEnumerator">
@@ -2625,9 +2626,10 @@ The following example demonstrates how to merge two disparate sets. This example
26252626
<Docs>
26262627
<typeparam name="TAlternate">The alternate type of instance for performing lookups.</typeparam>
26272628
<param name="lookup">The created lookup instance when the method returns true, or a default instance that should not be used if the method returns false.</param>
2628-
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1"/> using a <typeparamref name="TAlternate"/> instead of a <typeparamref name="T"/>.</summary>
2629-
<returns><see langword="true" /> if a lookup could be created; otherwise, <see langword="false" />.</returns>
2630-
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2"/> with <typeparamref name="TAlternate"/> and <typeparamref name="T"/>. If it doesn't, the method returns <see langword="false" />.</remarks>
2629+
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1" /> using a <typeparamref name="TAlternate" /> instead of a <typeparamref name="T" />.</summary>
2630+
<returns>
2631+
<see langword="true" /> if a lookup could be created; otherwise, <see langword="false" />.</returns>
2632+
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2" /> with <typeparamref name="TAlternate" /> and <typeparamref name="T" />. If it doesn't, the method returns <see langword="false" />.</remarks>
26312633
</Docs>
26322634
</Member>
26332635
<Member MemberName="TryGetValue">

xml/System.Collections.Generic/Stack`1.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@
12321232
]]></format>
12331233
</remarks>
12341234
<altmember cref="P:System.Collections.ICollection.SyncRoot" />
1235+
<inheritdoc cref="T:System.Collections.Generic.ICollection`1" />
12351236
</Docs>
12361237
</Member>
12371238
<Member MemberName="System.Collections.ICollection.SyncRoot">

xml/System.IO.Compression/BrotliCompressionOptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</AssemblyInfo>
3232
<Parameters />
3333
<Docs>
34-
<summary>To be added.</summary>
34+
<summary>Initializes a <see cref="T:System.IO.Compression.BrotliCompressionOptions" /> instance with default values.</summary>
3535
<remarks>To be added.</remarks>
3636
</Docs>
3737
</Member>

xml/System.IO.Compression/ZLibCompressionOptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</AssemblyInfo>
3232
<Parameters />
3333
<Docs>
34-
<summary>To be added.</summary>
34+
<summary>Initializes a <see cref="T:System.IO.Compression.ZLibCompressionOptions" /> instance with default values.</summary>
3535
<remarks>To be added.</remarks>
3636
</Docs>
3737
</Member>

0 commit comments

Comments
 (0)