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

◆ this[int index]

object System.Collections.Specialized.SingleItemReadOnlyList.this[int index]
getset

Implements System.Collections.IList.

Definition at line 7 of file SingleItemReadOnlyList.cs.

8 {
9 get
10 {
11 if (index != 0)
12 {
13 throw new ArgumentOutOfRangeException("index");
14 }
15 return _item;
16 }
17 set
18 {
19 throw new NotSupportedException(System.SR.NotSupported_ReadOnlyCollection);
20 }
21 }
static string NotSupported_ReadOnlyCollection
Definition SR.cs:28
Definition SR.cs:7