ImmutableArray
A set of initialization methods for instances of ImmutableArray<T>.
Searches an entire one-dimensional sorted ImmutableArray<T> for a specific element,
using the IComparable<T> generic interface implemented by each element
of the ImmutableArray<T> and by the specified object.
Searches an entire one-dimensional sorted ImmutableArray<T> for a value using
the specified IComparer<T> generic interface.
Searches a range of elements in a one-dimensional sorted ImmutableArray<T> for
a value, using the IComparable<T> generic interface implemented by
each element of the ImmutableArray<T> and by the specified value.
public static int BinarySearch<T>(this ImmutableArray<T> array, int index, int length, T value, IComparer<T> comparer)
Searches a range of elements in a one-dimensional sorted ImmutableArray<T> for
a value, using the specified IComparer<T> generic
interface.
Creates an empty ImmutableArray<T>.
Creates an ImmutableArray<T> with the specified element as its only member.
Creates an ImmutableArray<T> with the specified elements.
Creates an ImmutableArray<T> with the specified elements.
Creates an ImmutableArray<T> with the specified elements.
Creates an empty ImmutableArray<T>.
Initializes a new instance of the ImmutableArray<T> struct.
Initializes a new instance of the ImmutableArray<T> struct.
Initializes a new instance of the Builder class.
Initializes a new instance of the Builder class.
Creates an ImmutableArray<T> populated with the contents of the specified sequence.
public static ImmutableArray<TResult> CreateRange<TSource, TResult>(ImmutableArray<TSource> items, Func<TSource, TResult> selector)
Initializes a new instance of the ImmutableArray<T> struct.
public static ImmutableArray<TResult> CreateRange<TSource, TResult>(ImmutableArray<TSource> items, int start, int length, Func<TSource, TResult> selector)
Initializes a new instance of the ImmutableArray<T> struct.
public static ImmutableArray<TResult> CreateRange<TSource, TArg, TResult>(ImmutableArray<TSource> items, Func<TSource, TArg, TResult> selector, TArg arg)
Initializes a new instance of the ImmutableArray<T> struct.
public static ImmutableArray<TResult> CreateRange<TSource, TArg, TResult>(ImmutableArray<TSource> items, int start, int length, Func<TSource, TArg, TResult> selector, TArg arg)
Initializes a new instance of the ImmutableArray<T> struct.
Enumerates a sequence exactly once and produces an immutable array of its contents.