27 references to CreateBuilder
Aspire.Dashboard (1)
Components\Pages\ConsoleLogs.razor.cs (1)
329var builder = ImmutableList.CreateBuilder<SelectViewModel<ResourceTypeDetails>>();
Microsoft.AspNetCore.App.Analyzers (4)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (1)
157var result = ImmutableList.CreateBuilder<VirtualChar>();
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (3)
137var result = ImmutableList.CreateBuilder<VirtualChar>(); 214var result = ImmutableList.CreateBuilder<VirtualChar>(); 307var runeResults = ImmutableList.CreateBuilder<VirtualChar>();
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\CollectionAdapters\ImmutableListBufferAdapter.cs (1)
10public static ImmutableList<TElement>.Builder CreateBuffer() => ImmutableList.CreateBuilder<TElement>();
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImmutableListBufferAdapter.cs (1)
10public static ImmutableList<TElement>.Builder CreateBuffer() => ImmutableList.CreateBuilder<TElement>();
Microsoft.Build (10)
Definition\Project.cs (1)
2544_globs = ImmutableList.CreateBuilder<IMSBuildGlob>(),
Evaluation\LazyItemEvaluator.cs (1)
259ImmutableList<I>.Builder items = ImmutableList.CreateBuilder<I>();
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
43ImmutableList<string>.Builder excludePatterns = ImmutableList.CreateBuilder<string>();
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (1)
211return new Builder(ImmutableList.CreateBuilder<ItemData>());
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
114public ImmutableList<string>.Builder MatchOnMetadata { get; } = ImmutableList.CreateBuilder<string>();
Evaluation\LazyItemEvaluator.UpdateOperation.cs (2)
52_itemsToUpdate ??= ImmutableList.CreateBuilder<ItemBatchingContext>(); 80_itemsToUpdate ??= ImmutableList.CreateBuilder<ItemBatchingContext>();
Globbing\Visitor\ParsedGlobCollector.cs (1)
12private readonly ImmutableList<MSBuildGlob>.Builder _collectedGlobs = ImmutableList.CreateBuilder<MSBuildGlob>();
Graph\ProjectInterpretation.cs (2)
494ImmutableList<TargetSpecification>.Builder targetsForOuterBuild = ImmutableList.CreateBuilder<TargetSpecification>(); 495ImmutableList<TargetSpecification>.Builder targetsForInnerBuild = ImmutableList.CreateBuilder<TargetSpecification>();
Microsoft.Build.Framework (1)
ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.cs (1)
38builder ??= ImmutableList.CreateBuilder<SyntaxNode>();
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.vb (1)
38builder = If(builder, ImmutableList.CreateBuilder(Of SyntaxNode)())
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
508var documentIds = ImmutableList.CreateBuilder<DocumentId>();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
320var translationActionsBuilder = ImmutableList.CreateBuilder<TranslationAction>();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
25/// <inheritdoc cref="ImmutableList.CreateBuilder{T}()"/>