7 references to AddRange
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (4)
37
=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.
AddRange
(items);
41
=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).
AddRange
(items);
65
return ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).
AddRange
(items);
83
.
AddRange
(source.Select(element => new KeyValuePair<TKey, TValue>(keySelector(element), elementSelector(element))));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
319
=>
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 } })