2 instantiations of ReadOnlyCollectionBuilder
System.Linq.Expressions (2)
System\Dynamic\DynamicObject.cs (1)
468block ??= new ReadOnlyCollectionBuilder<Expression>();
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
157var body = new ReadOnlyCollectionBuilder<Expression>(3);
32 references to ReadOnlyCollectionBuilder
netstandard (1)
netstandard.cs (1)
1564[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<>))]
System.Core (1)
System.Core.cs (1)
192[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<>))]
System.Linq.Expressions (30)
System\Dynamic\DynamicObject.cs (1)
459ReadOnlyCollectionBuilder<Expression>? block = null;
System\Dynamic\Utils\CollectionExtensions.cs (1)
67if (enumerable is ReadOnlyCollectionBuilder<T> builder)
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
157var body = new ReadOnlyCollectionBuilder<Expression>(3);
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (27)
24/// Constructs a <see cref="ReadOnlyCollectionBuilder{T}"/>. 32/// Constructs a <see cref="ReadOnlyCollectionBuilder{T}"/> with a given initial capacity. 45/// Constructs a <see cref="ReadOnlyCollectionBuilder{T}"/>, copying contents of the given collection. 75/// Gets and sets the capacity of this <see cref="ReadOnlyCollectionBuilder{T}"/>. 104/// Returns number of elements in the <see cref="ReadOnlyCollectionBuilder{T}"/>. 121/// Inserts an item to the <see cref="ReadOnlyCollectionBuilder{T}"/> at the specified index. 124/// <param name="item">The object to insert into the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 143/// Removes the <see cref="ReadOnlyCollectionBuilder{T}"/> item at the specified index. 187/// Adds an item to the <see cref="ReadOnlyCollectionBuilder{T}"/>. 189/// <param name="item">The object to add to the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 201/// Removes all items from the <see cref="ReadOnlyCollectionBuilder{T}"/>. 214/// Determines whether the <see cref="ReadOnlyCollectionBuilder{T}"/> contains a specific value 216/// <param name="item">the object to locate in the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 217/// <returns>true if item is found in the <see cref="ReadOnlyCollectionBuilder{T}"/>; otherwise, false.</returns> 221/// Copies the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/> to an <see cref="Array"/>, 224/// <param name="array">The one-dimensional <see cref="Array"/> that is the destination of the elements copied from <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 231/// Removes the first occurrence of a specific object from the <see cref="ReadOnlyCollectionBuilder{T}"/>. 233/// <param name="item">The object to remove from the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 234/// <returns>true if item was successfully removed from the <see cref="ReadOnlyCollectionBuilder{T}"/>; 235/// otherwise, false. This method also returns false if item is not found in the original <see cref="ReadOnlyCollectionBuilder{T}"/>. 368/// Reverses the order of the elements in the entire <see cref="ReadOnlyCollectionBuilder{T}"/>. 390/// Copies the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/> to a new array. 392/// <returns>An array containing copies of the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/>.</returns> 401/// Creates a <see cref="ReadOnlyCollection{T}"/> containing all of the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/>, 402/// avoiding copying the elements to the new array if possible. Resets the <see cref="ReadOnlyCollectionBuilder{T}"/> after the 462private readonly ReadOnlyCollectionBuilder<T> _builder; 468internal Enumerator(ReadOnlyCollectionBuilder<T> builder)