Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.CompilerServices.ReadOnlyCollectionBuilder< T > Class Template Referencesealed

Classes

class  Enumerator
 

Public Member Functions

 ReadOnlyCollectionBuilder ()
 
 ReadOnlyCollectionBuilder (int capacity)
 
 ReadOnlyCollectionBuilder (IEnumerable< T > collection)
 
int IndexOf (T item)
 
void Insert (int index, T item)
 
void RemoveAt (int index)
 
void Add (T item)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
IEnumerator< TGetEnumerator ()
 
void Reverse ()
 
void Reverse (int index, int count)
 
T[] ToArray ()
 
ReadOnlyCollection< TToReadOnlyCollection ()
 
int Add (object? value)
 
bool Contains (object? value)
 
int IndexOf (object? value)
 
void Insert (int index, object? value)
 
void Remove (object? value)
 

Properties

int Capacity [get, set]
 
int Count [get]
 
T this[int index] [get, set]
 
bool ICollection< T >. IsReadOnly [get]
 
bool IList. IsReadOnly [get]
 
bool IList. IsFixedSize [get]
 
object? IList. this[int index] [get, set]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 

Private Member Functions

IEnumerator IEnumerable. GetEnumerator ()
 
int IList. Add (object value)
 
bool IList. Contains (object value)
 
int IList. IndexOf (object value)
 
void IList. Insert (int index, object value)
 
void IList. Remove (object value)
 
void ICollection. CopyTo (Array array, int index)
 
void EnsureCapacity (int min)
 

Static Private Member Functions

static bool IsCompatibleObject (object value)
 
static void ValidateNullValue (object value, string argument)
 

Private Attributes

T[] _items
 
int _size
 
int _version
 

Detailed Description

Definition at line 8 of file ReadOnlyCollectionBuilder.cs.


The documentation for this class was generated from the following file: