1 instantiation of Builder
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
173return new Builder(this);
26 references to Builder
Microsoft.AspNetCore.Components.Endpoints (6)
FormMapping\Converters\CollectionAdapters\ImmutableSortedSetBufferAdapter.cs (5)
8internal sealed class ImmutableSortedSetBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableSortedSet<TElement>, ImmutableSortedSet<TElement>.Builder, TElement> 10public static ImmutableSortedSet<TElement>.Builder CreateBuffer() => ImmutableSortedSet.CreateBuilder<TElement>(); 12public static ImmutableSortedSet<TElement>.Builder Add(ref ImmutableSortedSet<TElement>.Builder buffer, TElement element) 18public static ImmutableSortedSet<TElement> ToResult(ImmutableSortedSet<TElement>.Builder buffer) => buffer.ToImmutable();
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
156new 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)
8internal sealed class ImmutableSortedSetBufferAdapter<TElement> : ICollectionBufferAdapter<ImmutableSortedSet<TElement>, ImmutableSortedSet<TElement>.Builder, TElement> 10public static ImmutableSortedSet<TElement>.Builder CreateBuffer() => ImmutableSortedSet.CreateBuilder<TElement>(); 12public static ImmutableSortedSet<TElement>.Builder Add(ref ImmutableSortedSet<TElement>.Builder buffer, TElement element) 18public static ImmutableSortedSet<TElement> ToResult(ImmutableSortedSet<TElement>.Builder buffer) => buffer.ToImmutable();
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
156new CollectionConverter<ImmutableSortedSet<TElement>, ImmutableSortedSetBufferAdapter<TElement>, ImmutableSortedSet<TElement>.Builder, TElement>(elementTypeConverter),
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
888var builder = ImmutableSortedSet.CreateBuilder<TextSpan>();
System.Collections.Immutable (13)
System\Collections\Immutable\ImmutableSortedSet.cs (3)
136public static ImmutableSortedSet<T>.Builder CreateBuilder<T>() 149public static ImmutableSortedSet<T>.Builder CreateBuilder<T>(IComparer<T>? comparer) 187public 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)
16private readonly ImmutableSortedSet<T>.Builder _set; 22public ImmutableSortedSetBuilderDebuggerProxy(ImmutableSortedSet<T>.Builder builder)
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
168public Builder ToBuilder() 1010if (sequence is Builder builder)
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (2)
30private readonly Builder? _builder; 77internal Enumerator(Node root, Builder? builder = null, bool reverse = false)
System\Collections\Immutable\ImmutableSortedSet_1.Node.cs (1)
298internal Enumerator GetEnumerator(Builder builder)