1 instantiation of Builder
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableList_1.cs (1)
199
return new
Builder
(this);
287 references to Builder
Aspire.Dashboard (1)
Components\Pages\ConsoleLogs.razor.cs (1)
237
var
builder = ImmutableList.CreateBuilder<SelectViewModel<ResourceTypeDetails>>();
Microsoft.AspNetCore.App.Analyzers (9)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (5)
157
var
result = ImmutableList.CreateBuilder<VirtualChar>();
190
protected static int ConvertTextAtIndexToRune(string tokenText, int index, ImmutableList<VirtualChar>.
Builder
result, int offset)
193
protected static int ConvertTextAtIndexToRune(SourceText tokenText, int index, ImmutableList<VirtualChar>.
Builder
result, int offset)
197
T tokenText, int index, TTextInfo info, ImmutableList<VirtualChar>.
Builder
result, int offset)
230
ImmutableList<VirtualChar>.
Builder
result)
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (4)
137
var
result = ImmutableList.CreateBuilder<VirtualChar>();
214
var
result = ImmutableList.CreateBuilder<VirtualChar>();
307
var
runeResults = ImmutableList.CreateBuilder<VirtualChar>();
314
private static void ConvertCharactersToRunes(List<(char ch, TextSpan span)> charResults, ImmutableList<VirtualChar>.
Builder
runeResults)
Microsoft.AspNetCore.Components.Endpoints (8)
FormMapping\Converters\CollectionAdapters\ImmutableListBufferAdapter.cs (7)
8
internal sealed class ImmutableListBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableList<TElement>, ImmutableList<TElement>.
Builder
, TElement>
10
public static ImmutableList<TElement>.
Builder
CreateBuffer() => ImmutableList.CreateBuilder<TElement>();
12
public static ImmutableList<TElement>.
Builder
Add(ref ImmutableList<TElement>.
Builder
buffer, TElement element)
18
public static ImmutableList<TElement> ToResult(ImmutableList<TElement>.
Builder
buffer) => buffer.ToImmutable();
28
ImmutableList<TElement>.
Builder
,
30
ImmutableList<TElement>.
Builder
,
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
152
new CollectionConverter<ImmutableList<TElement>, ImmutableListBufferAdapter<TElement>, ImmutableList<TElement>.
Builder
, TElement>(elementTypeConverter),
Microsoft.AspNetCore.Http.Extensions (8)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImmutableListBufferAdapter.cs (7)
8
internal sealed class ImmutableListBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableList<TElement>, ImmutableList<TElement>.
Builder
, TElement>
10
public static ImmutableList<TElement>.
Builder
CreateBuffer() => ImmutableList.CreateBuilder<TElement>();
12
public static ImmutableList<TElement>.
Builder
Add(ref ImmutableList<TElement>.
Builder
buffer, TElement element)
18
public static ImmutableList<TElement> ToResult(ImmutableList<TElement>.
Builder
buffer) => buffer.ToImmutable();
28
ImmutableList<TElement>.
Builder
,
30
ImmutableList<TElement>.
Builder
,
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
152
new CollectionConverter<ImmutableList<TElement>, ImmutableListBufferAdapter<TElement>, ImmutableList<TElement>.
Builder
, TElement>(elementTypeConverter),
Microsoft.Build (12)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
402
var
excludes = ImmutableList<string>.Empty.ToBuilder();
Definition\Project.cs (1)
2534
private ImmutableList<IMSBuildGlob>.
Builder
_globs;
Evaluation\LazyItemEvaluator.cs (1)
259
ImmutableList<I>.
Builder
items = ImmutableList.CreateBuilder<I>();
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
43
ImmutableList<string>.
Builder
excludePatterns = ImmutableList.CreateBuilder<string>();
145
private static ISet<string> BuildExcludePatternsForGlobs(ImmutableHashSet<string> globsToIgnore, ImmutableList<string>.
Builder
excludePatterns)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (2)
30
private ImmutableList<ItemData>.
Builder
_listBuilder;
37
internal Builder(ImmutableList<ItemData>.
Builder
listBuilder)
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
114
public ImmutableList<string>.
Builder
MatchOnMetadata { get; } = ImmutableList.CreateBuilder<string>();
Evaluation\LazyItemEvaluator.UpdateOperation.cs (1)
20
private ImmutableList<ItemBatchingContext>.
Builder
_itemsToUpdate = null;
Globbing\Visitor\ParsedGlobCollector.cs (1)
12
private readonly ImmutableList<MSBuildGlob>.
Builder
_collectedGlobs = ImmutableList.CreateBuilder<MSBuildGlob>();
Graph\ProjectInterpretation.cs (2)
494
ImmutableList<TargetSpecification>.
Builder
targetsForOuterBuild = ImmutableList.CreateBuilder<TargetSpecification>();
495
ImmutableList<TargetSpecification>.
Builder
targetsForInnerBuild = ImmutableList.CreateBuilder<TargetSpecification>();
Microsoft.Build.Framework (39)
ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis (39)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CodeStyle (39)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Collections.Package (39)
ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.cs (2)
31
var
builder = (ImmutableList<SyntaxNode>.
Builder
?)null;
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.vb (1)
33
Dim builder As ImmutableList(Of SyntaxNode).
Builder
= Nothing
Microsoft.CodeAnalysis.Workspaces (41)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
508
var
documentIds = ImmutableList.CreateBuilder<DocumentId>();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
320
var
translationActionsBuilder = ImmutableList.CreateBuilder<TranslationAction>();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (39)
src\Dependencies\Collections\ImmutableSegmentedList.cs (1)
42
/// <inheritdoc cref="ImmutableList.ToImmutableList{TSource}(ImmutableList{TSource}.
Builder
)"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ItemRef(int)"/>
55
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.AddRange(IEnumerable{T})"/>
59
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T)"/>
63
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(T, IComparer{T}?)"/>
67
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.BinarySearch(int, int, T, IComparer{T}?)"/>
77
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ConvertAll{TOutput}(Func{T, TOutput})"/>
81
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(T[])"/>
88
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.CopyTo(int, T[], int, int)"/>
92
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Exists(Predicate{T})"/>
96
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Find(Predicate{T})"/>
100
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindAll(Predicate{T})"/>
104
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(Predicate{T})"/>
108
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, Predicate{T})"/>
112
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindIndex(int, int, Predicate{T})"/>
116
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLast(Predicate{T})"/>
120
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(Predicate{T})"/>
124
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, Predicate{T})"/>
128
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.FindLastIndex(int, int, Predicate{T})"/>
132
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ForEach(Action{T})"/>
136
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetEnumerator()"/>
140
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.GetRange(int, int)"/>
147
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int)"/>
151
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int)"/>
155
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.InsertRange(int, IEnumerable{T})"/>
166
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T)"/>
170
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int)"/>
174
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int)"/>
178
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.RemoveAll(Predicate{T})"/>
192
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse()"/>
196
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Reverse(int, int)"/>
200
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort()"/>
204
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(IComparer{T}?)"/>
208
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(Comparison{T})"/>
212
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.Sort(int, int, IComparer{T}?)"/>
216
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.ToImmutable()"/>
220
/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.
Builder
.TrueForAll(Predicate{T})"/>
System.Collections.Immutable (10)
System\Collections\Immutable\ImmutableList.cs (2)
62
public static ImmutableList<T>.
Builder
CreateBuilder<T>() => Create<T>().ToBuilder();
85
public static ImmutableList<TSource> ToImmutableList<TSource>(this ImmutableList<TSource>.
Builder
builder)
System\Collections\Immutable\ImmutableList_1.Builder.cs (3)
55
/// Initializes a new instance of the <see cref="
Builder
"/> class.
1186
private readonly ImmutableList<T>.
Builder
_list;
1197
public ImmutableListBuilderDebuggerProxy(ImmutableList<T>.
Builder
builder)
System\Collections\Immutable\ImmutableList_1.cs (2)
194
public
Builder
ToBuilder()
1118
if (sequence is
Builder
builder)
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (2)
31
private readonly
Builder
? _builder;
87
internal Enumerator(Node root,
Builder
? builder = null, int startIndex = -1, int count = -1, bool reversed = false)
System\Collections\Immutable\ImmutableList_1.Node.cs (1)
234
internal Enumerator GetEnumerator(
Builder
builder) => new Enumerator(this, builder);