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

◆ RemoveAt()

void System.Collections.CollectionBase.RemoveAt ( int index)
inlineinherited

Implements System.Collections.IList.

Definition at line 82 of file CollectionBase.cs.

83 {
84 if (index < 0 || index >= Count)
85 {
86 throw new ArgumentOutOfRangeException("index", System.SR.ArgumentOutOfRange_Index);
87 }
88 object value = InnerList[index];
92 try
93 {
95 }
96 catch
97 {
99 throw;
100 }
101 }
virtual void RemoveAt(int index)
virtual void Insert(int index, object? value)
virtual void OnValidate(object value)
virtual void OnRemoveComplete(int index, object? value)
virtual void OnRemove(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.OnRemove(), System.Collections.CollectionBase.OnRemoveComplete(), System.Collections.CollectionBase.OnValidate(), System.Collections.ArrayList.RemoveAt(), and System.value.

Referenced by System.Security.Cryptography.X509Certificates.X509Certificate2Collection.ImportFromPem().