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

◆ this[int index]

override QilNode System.Xml.Xsl.Qil.QilBinary.this[int index]
getsetinherited

Definition at line 11 of file QilBinary.cs.

12 {
13 get
14 {
15 return index switch
16 {
17 0 => _left,
18 1 => _right,
19 _ => throw new IndexOutOfRangeException(),
20 };
21 }
22 set
23 {
24 switch (index)
25 {
26 case 0:
27 _left = value;
28 break;
29 case 1:
30 _right = value;
31 break;
32 default:
33 throw new IndexOutOfRangeException();
34 }
35 }
36 }