You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>Creates a <see cref="FrozenDictionary{TKey, TValue}"/> with the specified key/value pairs.</summary>
33
+
/// <param name="source">The key/value pairs to use to populate the dictionary.</param>
34
+
/// <param name="comparer">The comparer implementation to use to compare keys for equality. If <see langword="null"/>, <see cref="EqualityComparer{TKey}.Default"/> is used.</param>
35
+
/// <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
36
+
/// <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
37
+
/// <remarks>
38
+
/// If the same key appears multiple times in the input, the latter one in the sequence takes precedence. This differs from
39
+
/// <see cref="M:System.Linq.Enumerable.ToDictionary"/>, with which multiple duplicate keys will result in an exception.
40
+
/// </remarks>
41
+
/// <returns>A <see cref="FrozenDictionary{TKey, TValue}"/> that contains the specified keys and values.</returns>
/// <summary>Creates a <see cref="FrozenDictionary{TKey, TValue}"/> with the specified key/value pairs.</summary>
20
64
/// <param name="source">The key/value pairs to use to populate the dictionary.</param>
21
65
/// <param name="comparer">The comparer implementation to use to compare keys for equality. If null, <see cref="EqualityComparer{TKey}.Default"/> is used.</param>
0 commit comments