From 573b097c5da9e2eb77c8ee4a5b817b004f46f5ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:58:41 -0700 Subject: [PATCH] Minor updates (#10547) * System.Collections.Concurrent * System.Collections.Generic * System.IO.Compression --- .../ConcurrentDictionary`2.xml | 4 ++-- xml/System.Collections.Generic/HashSet`1.xml | 12 +++++++----- xml/System.Collections.Generic/Stack`1.xml | 1 + .../BrotliCompressionOptions.xml | 2 +- xml/System.IO.Compression/ZLibCompressionOptions.xml | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml index 6192abe9371..4280546b0a7 100644 --- a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml +++ b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml @@ -1416,7 +1416,7 @@ Gets a collection containing the keys in the . A collection of keys in the . - To be added. + The property returns a copy of all the keys. It's not kept in sync with . Thread-Safe Collections How to: Add and Remove Items from a ConcurrentDictionary @@ -3003,7 +3003,7 @@ The key is compared using the dictionary's comparer (or the default comparer for Gets a collection that contains the values in the . A collection that contains the values in the . - To be added. + The property returns a copy of all the values. It's not kept in sync with . Thread-Safe Collections How to: Add and Remove Items from a ConcurrentDictionary diff --git a/xml/System.Collections.Generic/HashSet`1.xml b/xml/System.Collections.Generic/HashSet`1.xml index 44d24628002..59bfac3bab4 100644 --- a/xml/System.Collections.Generic/HashSet`1.xml +++ b/xml/System.Collections.Generic/HashSet`1.xml @@ -1310,9 +1310,10 @@ The following example demonstrates how to merge two disparate sets. This example The alternate type of instance for performing lookups. - Gets an instance of a type that can be used to perform operations on the current using a instead of a . + Gets an instance of a type that can be used to perform operations on the current using a instead of a . The created lookup instance. - The set must use a comparer that implements with and . If it doesn't, an exception is thrown. + The set must use a comparer that implements with and . If it doesn't, an exception is thrown. + The set's comparer is not compatible with . @@ -2625,9 +2626,10 @@ The following example demonstrates how to merge two disparate sets. This example The alternate type of instance for performing lookups. The created lookup instance when the method returns true, or a default instance that should not be used if the method returns false. - Gets an instance of a type that can be used to perform operations on the current using a instead of a . - if a lookup could be created; otherwise, . - The set must use a comparer that implements with and . If it doesn't, the method returns . + Gets an instance of a type that can be used to perform operations on the current using a instead of a . + + if a lookup could be created; otherwise, . + The set must use a comparer that implements with and . If it doesn't, the method returns . diff --git a/xml/System.Collections.Generic/Stack`1.xml b/xml/System.Collections.Generic/Stack`1.xml index af1f9f48c75..2d5f092b9b7 100644 --- a/xml/System.Collections.Generic/Stack`1.xml +++ b/xml/System.Collections.Generic/Stack`1.xml @@ -1232,6 +1232,7 @@ ]]> + diff --git a/xml/System.IO.Compression/BrotliCompressionOptions.xml b/xml/System.IO.Compression/BrotliCompressionOptions.xml index dbd8661ba66..0fe3b5cfd7b 100644 --- a/xml/System.IO.Compression/BrotliCompressionOptions.xml +++ b/xml/System.IO.Compression/BrotliCompressionOptions.xml @@ -31,7 +31,7 @@ - To be added. + Initializes a instance with default values. To be added. diff --git a/xml/System.IO.Compression/ZLibCompressionOptions.xml b/xml/System.IO.Compression/ZLibCompressionOptions.xml index 8f3ada755e6..85edc3c7899 100644 --- a/xml/System.IO.Compression/ZLibCompressionOptions.xml +++ b/xml/System.IO.Compression/ZLibCompressionOptions.xml @@ -31,7 +31,7 @@ - To be added. + Initializes a instance with default values. To be added.