41 references to ToBuilder
Microsoft.Build (1)
Evaluation\LazyItemEvaluator.cs (1)
470s_emptyIgnoreCase.ToBuilder();
Microsoft.CodeAnalysis (1)
RuleSet\RuleSet.cs (1)
88var specificOptions = _specificDiagnosticOptions.ToBuilder();
Microsoft.CodeAnalysis.CSharp (13)
Compilation\SyntaxAndDeclarationManager.cs (11)
105var ordinalMapBuilder = state.OrdinalMap.ToBuilder(); 106var loadDirectiveMapBuilder = state.LoadDirectiveMap.ToBuilder(); 107var loadedSyntaxTreeMapBuilder = state.LoadedSyntaxTreeMap.ToBuilder(); 108var declMapBuilder = state.RootNamespaces.ToBuilder(); 109var lastComputedMemberNamesMap = state.LastComputedMemberNames.ToBuilder(); 335var declMapBuilder = state.RootNamespaces.ToBuilder(); 336var lastComputedMemberNamesMap = state.LastComputedMemberNames.ToBuilder(); 495var loadDirectiveMapBuilder = loadDirectiveMap.ToBuilder(); 496var loadedSyntaxTreeMapBuilder = loadedSyntaxTreeMap.ToBuilder(); 497var declMapBuilder = state.RootNamespaces.ToBuilder(); 498var lastComputedMemberNamesMap = state.LastComputedMemberNames.ToBuilder();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
293var builder = mergedAliases.ToBuilder(); 721usingAliasesMap = globalUsingAliasesMap.ToBuilder();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
301var additionalValuesBuilder = assignmentValues.ToBuilder(); 378var dictionaryBuilder = ImmutableDictionary<ISymbol, ExpressionSyntax>.Empty.ToBuilder(); 424var dictionaryBuilder = ImmutableDictionary<ISymbol, T>.Empty.ToBuilder();
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
301var additionalValuesBuilder = assignmentValues.ToBuilder(); 378var dictionaryBuilder = ImmutableDictionary<ISymbol, ExpressionSyntax>.Empty.ToBuilder(); 424var dictionaryBuilder = ImmutableDictionary<ISymbol, T>.Empty.ToBuilder();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
2628var builder = ImmutableDictionary<string, string>.Empty.ToBuilder();
Microsoft.CodeAnalysis.UnitTests (1)
Collections\TestExtensionsMethods.nonnetstandard.cs (1)
34ImmutableDictionary<TKey, TValue> d => d.ToBuilder(),
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\Solution\ProjectDependencyGraph.cs (1)
124builder ??= map.ToBuilder();
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (3)
86var builder = existingReverseReferencesMap.ToBuilder(); 124var builder = existingTransitiveReferencesMap.ToBuilder(); 172var builder = existingReverseTransitiveReferencesMap.ToBuilder();
Workspace\Solution\ProjectDependencyGraph_RemoveAllProjectReferences.cs (3)
67var builder = existingReverseReferencesMap.ToBuilder(); 81var builder = existingTransitiveReferencesMap.ToBuilder(); 107var builder = existingReverseTransitiveReferencesMap.ToBuilder();
Workspace\Solution\ProjectDependencyGraph_RemoveProject.cs (4)
56var builder = existingForwardReferencesMap.ToBuilder(); 107var builder = existingReverseReferencesMap.ToBuilder(); 129var builder = existingTransitiveReferencesMap.ToBuilder(); 157var builder = existingReverseTransitiveReferencesMap.ToBuilder();
Workspace\Solution\ProjectDependencyGraph_RemoveProjectReference.cs (2)
72var builder = existingTransitiveReferencesMap.ToBuilder(); 99var builder = existingReverseTransitiveReferencesMap.ToBuilder();
Workspace\Solution\SolutionState.cs (2)
377var newStateMapBuilder = ProjectStates.ToBuilder(); 442var newStateMapBuilder = ProjectStates.ToBuilder();
System.Collections.Immutable (3)
System\Collections\Immutable\ImmutableDictionary.cs (3)
102return Create<TKey, TValue>().ToBuilder(); 114return Create<TKey, TValue>(keyComparer).ToBuilder(); 127return Create<TKey, TValue>(keyComparer, valueComparer).ToBuilder();