Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Hays <ianha@microsoft.com>2017-10-18 00:44:28 +0300
committerGitHub <noreply@github.com>2017-10-18 00:44:28 +0300
commit5ef5f17b5606377415d5c171d6613c49c59a1b55 (patch)
tree28d7cccaffd3243cbe666faf7de6aacc9c680161 /src/System.Collections
parent79089260b0bf00e99ba9dd7e736c7b2d776fed0a (diff)
Set.TryGetValue not-found behavior/docs inconsistent (#24699)
* Minor doc fix for HashSet/SortedSet TryGetValue * Minor doc fix for HashSet/SortedSet TryGetValue * Minor doc fix for HashSet/SortedSet TryGetValue
Diffstat (limited to 'src/System.Collections')
-rw-r--r--src/System.Collections/src/System/Collections/Generic/HashSet.cs2
-rw-r--r--src/System.Collections/src/System/Collections/Generic/SortedSet.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Collections/src/System/Collections/Generic/HashSet.cs b/src/System.Collections/src/System/Collections/Generic/HashSet.cs
index ece16c972e..dd49cafe62 100644
--- a/src/System.Collections/src/System/Collections/Generic/HashSet.cs
+++ b/src/System.Collections/src/System/Collections/Generic/HashSet.cs
@@ -458,7 +458,7 @@ namespace System.Collections.Generic
/// Searches the set for a given value and returns the equal value it finds, if any.
/// </summary>
/// <param name="equalValue">The value to search for.</param>
- /// <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
+ /// <param name="actualValue">The value from the set that the search found, or the default value of <typeparamref name="T"/> when the search yielded no match.</param>
/// <returns>A value indicating whether the search was successful.</returns>
/// <remarks>
/// This can be useful when you want to reuse a previously stored reference instead of
diff --git a/src/System.Collections/src/System/Collections/Generic/SortedSet.cs b/src/System.Collections/src/System/Collections/Generic/SortedSet.cs
index 7c736debcc..7f7375bf8d 100644
--- a/src/System.Collections/src/System/Collections/Generic/SortedSet.cs
+++ b/src/System.Collections/src/System/Collections/Generic/SortedSet.cs
@@ -2089,7 +2089,7 @@ namespace System.Collections.Generic
/// Searches the set for a given value and returns the equal value it finds, if any.
/// </summary>
/// <param name="equalValue">The value to search for.</param>
- /// <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
+ /// <param name="actualValue">The value from the set that the search found, or the default value of <typeparamref name="T"/> when the search yielded no match.</param>
/// <returns>A value indicating whether the search was successful.</returns>
/// <remarks>
/// This can be useful when you want to reuse a previously stored reference instead of