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

◆ BaseRemoveAt()

void System.Collections.Specialized.NameObjectCollectionBase.BaseRemoveAt ( int index)
inlineprotectedinherited

Definition at line 334 of file NameObjectCollectionBase.cs.

335 {
336 if (_readOnly)
337 {
338 throw new NotSupportedException(System.SR.CollectionReadOnly);
339 }
340 string text = BaseGetKey(index);
341 if (text != null)
342 {
344 }
345 else
346 {
347 _nullKeyEntry = null;
348 }
350 _version++;
351 }
virtual void RemoveAt(int index)
virtual void Remove(object key)
static string CollectionReadOnly
Definition SR.cs:28
Definition SR.cs:7

References System.Collections.Specialized.NameObjectCollectionBase._entriesArray, System.Collections.Specialized.NameObjectCollectionBase._entriesTable, System.Collections.Specialized.NameObjectCollectionBase._nullKeyEntry, System.Collections.Specialized.NameObjectCollectionBase._readOnly, System.Collections.Specialized.NameObjectCollectionBase._version, System.Collections.Specialized.NameObjectCollectionBase.BaseGetKey(), System.SR.CollectionReadOnly, System.index, System.Collections.Hashtable.Remove(), System.Collections.ArrayList.RemoveAt(), and System.text.