Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilUnary.cs
Go to the documentation of this file.
1namespace System.Xml.Xsl.Qil;
2
3internal sealed class QilUnary : QilNode
4{
5 private QilNode _child;
6
7 public override int Count => 1;
8
9 public override QilNode this[int index]
10 {
11 get
12 {
13 if (index != 0)
14 {
15 throw new IndexOutOfRangeException();
16 }
17 return _child;
18 }
19 set
20 {
21 if (index != 0)
22 {
23 throw new IndexOutOfRangeException();
24 }
25 _child = value;
26 }
27 }
28
30 {
31 get
32 {
33 return _child;
34 }
35 set
36 {
37 _child = value;
38 }
39 }
40
42 : base(nodeType)
43 {
44 _child = child;
45 }
46}
QilUnary(QilNodeType nodeType, QilNode child)
Definition QilUnary.cs:41