5 references to ToImmutableSegmentedDictionary
Microsoft.CodeAnalysis (3)
ImmutableSegmentedDictionary.cs (3)
68
=>
ToImmutableSegmentedDictionary
(source, keySelector, elementSelector, keyComparer: null);
86
=>
ToImmutableSegmentedDictionary
(source, keySelector, elementSelector: static x => x, keyComparer: null);
90
=>
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);