38 references to CreateBuilder
AnalyzerRunner (3)
CodeRefactoringRunner.cs (1)
136var kindBuilder = ImmutableHashSet.CreateBuilder<int>();
Options.cs (2)
120var builder = ImmutableHashSet.CreateBuilder<string>(); 121var refactoringBuilder = ImmutableHashSet.CreateBuilder<string>();
Microsoft.AspNetCore.Analyzers (1)
CompilationFeatureDetector.cs (1)
27var features = ImmutableHashSet.CreateBuilder<string>();
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\CollectionAdapters\ImmutableHashSetBufferAdapter.cs (1)
10public static ImmutableHashSet<TElement>.Builder CreateBuffer() => ImmutableHashSet.CreateBuilder<TElement>();
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImmutableHashSetBufferAdapter.cs (1)
10public static ImmutableHashSet<TElement>.Builder CreateBuffer() => ImmutableHashSet.CreateBuilder<TElement>();
Microsoft.Build (2)
Definition\Project.cs (1)
2545_fragmentStrings = ImmutableHashSet.CreateBuilder<string>()
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
97var builder = ImmutableHashSet.CreateBuilder<string>();
Microsoft.CodeAnalysis (8)
DiagnosticAnalyzer\AnalyzerDriver.cs (6)
533var builder = ImmutableHashSet.CreateBuilder<DiagnosticAnalyzer>(); 552var builder = ImmutableHashSet.CreateBuilder<DiagnosticAnalyzer>(); 975var builder = ImmutableHashSet.CreateBuilder<ReportDiagnostic>(); 1338generatedSymbolsBuilder ??= ImmutableHashSet.CreateBuilder<ISymbol>(); 1416suppressedAnalyzersBuilder ??= ImmutableHashSet.CreateBuilder<DiagnosticAnalyzer>(); 1499var builder = ImmutableHashSet.CreateBuilder<DiagnosticAnalyzer>();
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
244builder = ImmutableHashSet.CreateBuilder<string>();
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
37/// <inheritdoc cref="ImmutableHashSet.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (1)
45var multipleLanguagesOptionsBuilder = ImmutableHashSet.CreateBuilder<IOption2>();
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
37/// <inheritdoc cref="ImmutableHashSet.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedHashSet.cs (1)
37/// <inheritdoc cref="ImmutableHashSet.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
26ImmutableHashSet<string>.Builder nullableWarnings = ImmutableHashSet.CreateBuilder<string>();
Lowering\ClosureConversion\ClosureConversion.cs (1)
192var allCapturedVars = ImmutableHashSet.CreateBuilder<Symbol>();
Microsoft.CodeAnalysis.EditorFeatures (1)
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (1)
155var documentsToSearchBuilder = ImmutableHashSet.CreateBuilder<Document>();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
VisualBasicParsingTests.cs (1)
23var builder = ImmutableHashSet.CreateBuilder<SyntaxKind>();
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
VS\IFSharpWorkspaceProjectContextFactory.cs (1)
168var builder = ImmutableHashSet.CreateBuilder<string>();
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (1)
45var multipleLanguagesOptionsBuilder = ImmutableHashSet.CreateBuilder<IOption2>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.Executor.cs (1)
313failedDocuments ??= ImmutableHashSet.CreateBuilder<Document>();
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.HostStates.cs (1)
95var builder = ImmutableHashSet.CreateBuilder<object>();
Microsoft.CodeAnalysis.Workspaces (6)
CodeFixes\FixAllOccurrences\FixAllState.cs (1)
108var uniqueIds = ImmutableHashSet.CreateBuilder<string>();
Diagnostics\DiagnosticAnalysisResult.cs (1)
124var documentIds = ImmutableHashSet.CreateBuilder<DocumentId>();
Diagnostics\SkippedHostAnalyzersInfo.cs (1)
83var fullySkippedHostAnalyzersBuilder = ImmutableHashSet.CreateBuilder<DiagnosticAnalyzer>();
Rename\SymbolicRenameLocations.cs (1)
130var locations = ImmutableHashSet.CreateBuilder<RenameLocation>();
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
37/// <inheritdoc cref="ImmutableHashSet.CreateBuilder{T}()"/>
Workspace\Solution\ProjectDependencyGraph.cs (1)
60private static readonly ObjectPool<ImmutableHashSet<ProjectId>.Builder> s_reverseReferencesBuilderPool = new(static () => ImmutableHashSet.CreateBuilder<ProjectId>(), size: 256);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
63_projectReferences = ImmutableHashSet.CreateBuilder<ProjectReference>();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
37/// <inheritdoc cref="ImmutableHashSet.CreateBuilder{T}()"/>
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
370var builder = ImmutableHashSet.CreateBuilder<string>();
Microsoft.VisualStudio.LanguageServices.LiveShare (2)
Client\RemoteLanguageServiceWorkspace.cs (2)
171var remoteRootPaths = ImmutableHashSet.CreateBuilder<string>(); 172var externalPaths = ImmutableHashSet.CreateBuilder<string>();