9 references to CreateBuilder
Microsoft.CodeAnalysis (9)
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>();
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>();