Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Insert() [1/2]

void IList. System.Collections.CollectionBase.Insert ( int index,
object value )
inlineprivateinherited

Definition at line 156 of file CollectionBase.cs.

157 {
158 if (index < 0 || index > Count)
159 {
160 throw new ArgumentOutOfRangeException("index", System.SR.ArgumentOutOfRange_Index);
161 }
165 try
166 {
168 }
169 catch
170 {
172 throw;
173 }
174 }
virtual void RemoveAt(int index)
virtual void Insert(int index, object? value)
virtual void OnValidate(object value)
virtual void OnInsertComplete(int index, object? value)
virtual void OnInsert(int index, object? value)
static string ArgumentOutOfRange_Index
Definition SR.cs:30
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_Index, System.Collections.CollectionBase.Count, System.index, System.Collections.CollectionBase.InnerList, System.Collections.ArrayList.Insert(), System.Collections.CollectionBase.OnInsert(), System.Collections.CollectionBase.OnInsertComplete(), System.Collections.CollectionBase.OnValidate(), System.Collections.ArrayList.RemoveAt(), and System.value.