Skip to content

Commit e0e54f6

Browse files
authored
update types mentioned in comment to match method (#82768)
seems that the comment got copied over from FrozenSet and not updated
1 parent 17c563e commit e0e54f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Collections.Immutable/src/System/Collections/Frozen/FrozenDictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static FrozenDictionary<TKey, TValue> ToFrozenDictionary<TKey, TValue>(th
9898
ChooseImplementationOptimizedForConstruction(uniqueValues!, sourceIsCopy));
9999
}
100100

101-
/// <summary>Extracts from the source either an existing <see cref="FrozenSet{T}"/> instance or a <see cref="HashSet{T}"/> containing the values and the specified <paramref name="comparer"/>.</summary>
101+
/// <summary>Extracts from the source either an existing <see cref="FrozenDictionary{TKey,TValue}"/> instance or a <see cref="Dictionary{TKey,TValue}"/> containing the values and the specified <paramref name="comparer"/>.</summary>
102102
/// <returns>true if <paramref name="uniqueValues"/> is a copy of the original source; false if it's either null or the original source.</returns>
103103
private static bool GetUniqueValues<TKey, TValue>(
104104
IEnumerable<KeyValuePair<TKey, TValue>> source, IEqualityComparer<TKey>? comparer,

0 commit comments

Comments
 (0)