7 references to AddRange
Microsoft.CodeAnalysis (5)
ImmutableSegmentedDictionary.cs (4)
35
=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.
AddRange
(items);
39
=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).
AddRange
(items);
63
return ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).
AddRange
(items);
81
.
AddRange
(source.Select(element => new KeyValuePair<TKey, TValue>(keySelector(element), elementSelector(element))));
ImmutableSegmentedDictionary`2.cs (1)
326
=>
AddRange
(pairs);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableSegmentedDictionaryBuilderTest.cs (2)
97
.
AddRange
(Enumerable.Range(1, 10).Select(n => new KeyValuePair<int, string?>(n, null)))
151
.
AddRange
(new Dictionary<string, int> { { "a", 1 }, { "b", 2 }, { "c", 3 } })