System.Runtime.CompilerServices.ReadOnlyCollectionBuilder.IndexOf C# (CSharp) Method

IndexOf() public method

Returns the index of the first occurrence of a given value in the builder.
public IndexOf ( item ) : int
item An item to search for.
return int
        public int IndexOf(T item)
        {
            return Array.IndexOf(_items, item, 0, _size);
        }