public override QilNode this[int index] {
get {
switch (index) {
case 0: return this.arguments;
case 1: return this.definition;
case 2: return this.sideEffects;
default: throw new IndexOutOfRangeException();
}
}
set {
switch (index) {
case 0: this.arguments = value; break;
case 1: this.definition = value; break;
case 2: this.sideEffects = value; break;
default: throw new IndexOutOfRangeException();
}
}
}