@@ -10,14 +10,14 @@ public AnonType(T0 i0) {
1010 I0 = i0 ;
1111 }
1212
13- public override int Size {
13+ protected override int Size {
1414 get { return 1 ; }
1515 }
1616
1717 public override object this [ int index ] {
1818 get {
1919 if ( index == 0 ) return I0 ;
20- throw new ArgumentOutOfRangeException ( ) ;
20+ throw new IndexOutOfRangeException ( ) ;
2121 }
2222 }
2323
@@ -32,15 +32,15 @@ public AnonType(T0 i0, T1 i1) {
3232 I1 = i1 ;
3333 }
3434
35- public override int Size {
35+ protected override int Size {
3636 get { return 2 ; }
3737 }
3838
3939 public override object this [ int index ] {
4040 get {
4141 if ( index == 0 ) return I0 ;
4242 if ( index == 1 ) return I1 ;
43- throw new ArgumentOutOfRangeException ( ) ;
43+ throw new IndexOutOfRangeException ( ) ;
4444 }
4545 }
4646
@@ -63,7 +63,7 @@ public AnonType(T0 i0, T1 i1, T2 i2, T3 i3) {
6363 I3 = i3 ;
6464 }
6565
66- public override int Size {
66+ protected override int Size {
6767 get { return 4 ; }
6868 }
6969
@@ -73,7 +73,7 @@ public override object this[int index] {
7373 if ( index == 1 ) return I1 ;
7474 if ( index == 2 ) return I2 ;
7575 if ( index == 3 ) return I3 ;
76- throw new ArgumentOutOfRangeException ( ) ;
76+ throw new IndexOutOfRangeException ( ) ;
7777 }
7878 }
7979
@@ -112,7 +112,7 @@ public AnonType(T0 i0, T1 i1, T2 i2, T3 i3, T4 i4, T5 i5, T6 i6, T7 i7) {
112112 I7 = i7 ;
113113 }
114114
115- public override int Size {
115+ protected override int Size {
116116 get { return 8 ; }
117117 }
118118
@@ -126,7 +126,7 @@ public override object this[int index] {
126126 if ( index == 5 ) return I5 ;
127127 if ( index == 6 ) return I6 ;
128128 if ( index == 7 ) return I7 ;
129- throw new ArgumentOutOfRangeException ( ) ;
129+ throw new IndexOutOfRangeException ( ) ;
130130 }
131131 }
132132
@@ -197,7 +197,7 @@ public AnonType(T0 i0, T1 i1, T2 i2, T3 i3, T4 i4, T5 i5, T6 i6, T7 i7, T8 i8, T
197197 I15 = i15 ;
198198 }
199199
200- public override int Size {
200+ protected override int Size {
201201 get { return 16 ; }
202202 }
203203
@@ -219,7 +219,7 @@ public override object this[int index] {
219219 if ( index == 13 ) return I13 ;
220220 if ( index == 14 ) return I14 ;
221221 if ( index == 15 ) return I15 ;
222- throw new ArgumentOutOfRangeException ( ) ;
222+ throw new IndexOutOfRangeException ( ) ;
223223 }
224224 }
225225
@@ -354,7 +354,7 @@ public AnonType(T0 i0, T1 i1, T2 i2, T3 i3, T4 i4, T5 i5, T6 i6, T7 i7, T8 i8, T
354354 I31 = i31 ;
355355 }
356356
357- public override int Size {
357+ protected override int Size {
358358 get { return 32 ; }
359359 }
360360
@@ -392,7 +392,7 @@ public override object this[int index] {
392392 if ( index == 29 ) return I29 ;
393393 if ( index == 30 ) return I30 ;
394394 if ( index == 31 ) return I31 ;
395- throw new ArgumentOutOfRangeException ( ) ;
395+ throw new IndexOutOfRangeException ( ) ;
396396 }
397397 }
398398
0 commit comments