3 instantiations of ReadOnlyCollectionBuilder
System.Core (3)
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
171var body = new ReadOnlyCollectionBuilder<Expression>(3);
Microsoft\Scripting\Actions\DynamicObject.cs (2)
368ReadOnlyCollectionBuilder<Expression> paramArgs = new ReadOnlyCollectionBuilder<Expression>(args.Length); 388block = new ReadOnlyCollectionBuilder<Expression>();
27 references to ReadOnlyCollectionBuilder
System.Core (27)
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
171var body = new ReadOnlyCollectionBuilder<Expression>(3);
Microsoft\Scripting\Actions\DynamicObject.cs (2)
368ReadOnlyCollectionBuilder<Expression> paramArgs = new ReadOnlyCollectionBuilder<Expression>(args.Length); 382ReadOnlyCollectionBuilder<Expression> block = null;
Microsoft\Scripting\Utils\CollectionExtensions.cs (2)
62var builder = enumerable as ReadOnlyCollectionBuilder<T>;
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (22)
135/// Inserts an item to the <see cref="ReadOnlyCollectionBuilder{T}"/> at the specified index. 138/// <param name="item">The object to insert into the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 154/// Removes the <see cref="ReadOnlyCollectionBuilder{T}"/> item at the specified index. 190/// Adds an item to the <see cref="ReadOnlyCollectionBuilder{T}"/>. 192/// <param name="item">The object to add to the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 202/// Removes all items from the <see cref="ReadOnlyCollectionBuilder{T}"/>. 213/// Determines whether the <see cref="ReadOnlyCollectionBuilder{T}"/> contains a specific value 215/// <param name="item">the object to locate in the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 216/// <returns>true if item is found in the <see cref="ReadOnlyCollectionBuilder{T}"/>; otherwise, false.</returns> 237/// Copies the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/> to an <see cref="Array"/>, 240/// <param name="array">The one-dimensional <see cref="Array"/> that is the destination of the elements copied from <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 251/// Removes the first occurrence of a specific object from the <see cref="ReadOnlyCollectionBuilder{T}"/>. 253/// <param name="item">The object to remove from the <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 254/// <returns>true if item was successfully removed from the <see cref="ReadOnlyCollectionBuilder{T}"/>; 255/// otherwise, false. This method also returns false if item is not found in the original <see cref="ReadOnlyCollectionBuilder{T}"/>. 378/// Reverses the order of the elements in the entire <see cref="ReadOnlyCollectionBuilder{T}"/>. 398/// Copies the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/> to a new array. 400/// <returns>An array containing copies of the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/>.</returns> 408/// Creates a <see cref="ReadOnlyCollection{T}"/> containing all of the the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/>, 409/// avoiding copying the elements to the new array if possible. Resets the <see cref="ReadOnlyCollectionBuilder{T}"/> after the 459private readonly ReadOnlyCollectionBuilder<T> _builder; 465internal Enumerator(ReadOnlyCollectionBuilder<T> builder) {