1 instantiation of Builder
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
173
return new
Builder
(this);
26 references to Builder
Microsoft.AspNetCore.Components.Endpoints (6)
FormMapping\Converters\CollectionAdapters\ImmutableSortedSetBufferAdapter.cs (5)
8
internal sealed class ImmutableSortedSetBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableSortedSet<TElement>, ImmutableSortedSet<TElement>.
Builder
, TElement>
10
public static ImmutableSortedSet<TElement>.
Builder
CreateBuffer() => ImmutableSortedSet.CreateBuilder<TElement>();
12
public static ImmutableSortedSet<TElement>.
Builder
Add(ref ImmutableSortedSet<TElement>.
Builder
buffer, TElement element)
18
public static ImmutableSortedSet<TElement> ToResult(ImmutableSortedSet<TElement>.
Builder
buffer) => buffer.ToImmutable();
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
156
new CollectionConverter<ImmutableSortedSet<TElement>, ImmutableSortedSetBufferAdapter<TElement>, ImmutableSortedSet<TElement>.
Builder
, TElement>(elementTypeConverter),
Microsoft.AspNetCore.Http.Extensions (6)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImmutableSortedSetBufferAdapter.cs (5)
8
internal sealed class ImmutableSortedSetBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableSortedSet<TElement>, ImmutableSortedSet<TElement>.
Builder
, TElement>
10
public static ImmutableSortedSet<TElement>.
Builder
CreateBuffer() => ImmutableSortedSet.CreateBuilder<TElement>();
12
public static ImmutableSortedSet<TElement>.
Builder
Add(ref ImmutableSortedSet<TElement>.
Builder
buffer, TElement element)
18
public static ImmutableSortedSet<TElement> ToResult(ImmutableSortedSet<TElement>.
Builder
buffer) => buffer.ToImmutable();
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
156
new CollectionConverter<ImmutableSortedSet<TElement>, ImmutableSortedSetBufferAdapter<TElement>, ImmutableSortedSet<TElement>.
Builder
, TElement>(elementTypeConverter),
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
888
var
builder = ImmutableSortedSet.CreateBuilder<TextSpan>();
System.Collections.Immutable (13)
System\Collections\Immutable\ImmutableSortedSet.cs (3)
136
public static ImmutableSortedSet<T>.
Builder
CreateBuilder<T>()
149
public static ImmutableSortedSet<T>.
Builder
CreateBuilder<T>(IComparer<T>? comparer)
187
public static ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource>(this ImmutableSortedSet<TSource>.
Builder
builder)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (3)
11
/// Contains the inner <see cref="ImmutableSortedSet{T}.
Builder
"/> class.
60
/// Initializes a new instance of the <see cref="
Builder
"/> class.
438
/// An enumerator that iterates over the <see cref="ImmutableSortedSet{T}.
Builder
"/>
System\Collections\Immutable\ImmutableSortedSet_1.Builder.DebuggerProxy.cs (2)
16
private readonly ImmutableSortedSet<T>.
Builder
_set;
22
public ImmutableSortedSetBuilderDebuggerProxy(ImmutableSortedSet<T>.
Builder
builder)
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
168
public
Builder
ToBuilder()
1010
if (sequence is
Builder
builder)
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (2)
30
private readonly
Builder
? _builder;
77
internal Enumerator(Node root,
Builder
? builder = null, bool reverse = false)
System\Collections\Immutable\ImmutableSortedSet_1.Node.cs (1)
298
internal Enumerator GetEnumerator(
Builder
builder)