12 references to ImmutableSegmentedDictionary
Microsoft.CodeAnalysis (12)
Collections\DictionaryExtensions.cs (1)
94
var result =
ImmutableSegmentedDictionary
.CreateBuilder<K, ImmutableArray<V>>();
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
2232
var builder =
ImmutableSegmentedDictionary
.CreateBuilder<DiagnosticAnalyzer, SemaphoreSlim>();
2257
var builder =
ImmutableSegmentedDictionary
.CreateBuilder<DiagnosticAnalyzer, GeneratedCodeAnalysisFlags>();
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
945
var map =
ImmutableSegmentedDictionary
.CreateRange(tuples);
1044
var map =
ImmutableSegmentedDictionary
.CreateRange(tuples);
Emit\EditAndContinue\DefinitionMap.cs (1)
551
var closureTreeBuilder =
ImmutableSegmentedDictionary
.CreateBuilder<DebugId, (DebugId? parentId, ImmutableArray<string> structCaptures)>();
Emit\EditAndContinue\SymbolMatcher.cs (4)
110
var builder =
ImmutableSegmentedDictionary
.CreateBuilder<AnonymousTypeKey, AnonymousTypeValue>();
124
var builder =
ImmutableSegmentedDictionary
.CreateBuilder<SynthesizedDelegateKey, SynthesizedDelegateValue>();
139
var builder =
ImmutableSegmentedDictionary
.CreateBuilder<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<AnonymousTypeValue>>();
176
var synthesizedMembersBuilder =
ImmutableSegmentedDictionary
.CreateBuilder<ISymbolInternal, ImmutableArray<ISymbolInternal>>();
SourceGeneration\Nodes\StateTableStore.cs (1)
39
private readonly ImmutableSegmentedDictionary<object, IStateTable>.Builder _tableBuilder =
ImmutableSegmentedDictionary
.CreateBuilder<object, IStateTable>();
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
288
return
ImmutableSegmentedDictionary
.CreateRange(keyComparer, self);