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

◆ this[int index]

override object System.Xml.Xsl.IlGen.XmlILAnnotation.this[int index]
getset

Definition at line 92 of file XmlILAnnotation.cs.

93 {
94 get
95 {
96 if (_annPrev != null)
97 {
98 if (index == 0)
99 {
100 return _annPrev;
101 }
102 index--;
103 }
104 return index switch
105 {
106 0 => _constrInfo,
107 1 => _optPatt,
108 _ => throw new IndexOutOfRangeException(),
109 };
110 }
111 set
112 {
113 throw new NotSupportedException();
114 }
115 }