5 references to ToImmutableSegmentedDictionary
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (3)
70
=>
ToImmutableSegmentedDictionary
(source, keySelector, elementSelector, keyComparer: null);
88
=>
ToImmutableSegmentedDictionary
(source, keySelector, elementSelector: static x => x, keyComparer: null);
92
=>
ToImmutableSegmentedDictionary
(source, keySelector, elementSelector: static x => x, keyComparer);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableSegmentedDictionaryTest.cs (2)
132
dictionary = pairs.
ToImmutableSegmentedDictionary
(p => p.Key.ToUpperInvariant(), p => p.Value.ToLowerInvariant(), keyComparer);
155
list.
ToImmutableSegmentedDictionary
(k => k, v => v, null);