@@ -44,7 +44,7 @@ public partial class Function
44
44
// Fetch a converter for each parameter type to box it
45
45
46
46
// Determine how much space to allocate for params/results
47
- var allocCount = Math . Max ( 0 , Results . Count ) ;
47
+ const int allocCount = 0 ;
48
48
49
49
Action result = ( ) =>
50
50
{
@@ -91,7 +91,7 @@ public partial class Function
91
91
var convT = ValueRaw . Converter < T > ( ) ;
92
92
93
93
// Determine how much space to allocate for params/results
94
- var allocCount = Math . Max ( 1 , Results . Count ) ;
94
+ const int allocCount = 1 ;
95
95
96
96
Action < T > result = ( p0 ) =>
97
97
{
@@ -140,7 +140,7 @@ public partial class Function
140
140
var convT2 = ValueRaw . Converter < T2 > ( ) ;
141
141
142
142
// Determine how much space to allocate for params/results
143
- var allocCount = Math . Max ( 2 , Results . Count ) ;
143
+ const int allocCount = 2 ;
144
144
145
145
Action < T1 , T2 > result = ( p0 , p1 ) =>
146
146
{
@@ -191,7 +191,7 @@ public partial class Function
191
191
var convT3 = ValueRaw . Converter < T3 > ( ) ;
192
192
193
193
// Determine how much space to allocate for params/results
194
- var allocCount = Math . Max ( 3 , Results . Count ) ;
194
+ const int allocCount = 3 ;
195
195
196
196
Action < T1 , T2 , T3 > result = ( p0 , p1 , p2 ) =>
197
197
{
@@ -244,7 +244,7 @@ public partial class Function
244
244
var convT4 = ValueRaw . Converter < T4 > ( ) ;
245
245
246
246
// Determine how much space to allocate for params/results
247
- var allocCount = Math . Max ( 4 , Results . Count ) ;
247
+ const int allocCount = 4 ;
248
248
249
249
Action < T1 , T2 , T3 , T4 > result = ( p0 , p1 , p2 , p3 ) =>
250
250
{
@@ -299,7 +299,7 @@ public partial class Function
299
299
var convT5 = ValueRaw . Converter < T5 > ( ) ;
300
300
301
301
// Determine how much space to allocate for params/results
302
- var allocCount = Math . Max ( 5 , Results . Count ) ;
302
+ const int allocCount = 5 ;
303
303
304
304
Action < T1 , T2 , T3 , T4 , T5 > result = ( p0 , p1 , p2 , p3 , p4 ) =>
305
305
{
@@ -356,7 +356,7 @@ public partial class Function
356
356
var convT6 = ValueRaw . Converter < T6 > ( ) ;
357
357
358
358
// Determine how much space to allocate for params/results
359
- var allocCount = Math . Max ( 6 , Results . Count ) ;
359
+ const int allocCount = 6 ;
360
360
361
361
Action < T1 , T2 , T3 , T4 , T5 , T6 > result = ( p0 , p1 , p2 , p3 , p4 , p5 ) =>
362
362
{
@@ -415,7 +415,7 @@ public partial class Function
415
415
var convT7 = ValueRaw . Converter < T7 > ( ) ;
416
416
417
417
// Determine how much space to allocate for params/results
418
- var allocCount = Math . Max ( 7 , Results . Count ) ;
418
+ const int allocCount = 7 ;
419
419
420
420
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 ) =>
421
421
{
@@ -476,7 +476,7 @@ public partial class Function
476
476
var convT8 = ValueRaw . Converter < T8 > ( ) ;
477
477
478
478
// Determine how much space to allocate for params/results
479
- var allocCount = Math . Max ( 8 , Results . Count ) ;
479
+ const int allocCount = 8 ;
480
480
481
481
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 ) =>
482
482
{
@@ -539,7 +539,7 @@ public partial class Function
539
539
var convT9 = ValueRaw . Converter < T9 > ( ) ;
540
540
541
541
// Determine how much space to allocate for params/results
542
- var allocCount = Math . Max ( 9 , Results . Count ) ;
542
+ const int allocCount = 9 ;
543
543
544
544
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 ) =>
545
545
{
@@ -604,7 +604,7 @@ public partial class Function
604
604
var convT10 = ValueRaw . Converter < T10 > ( ) ;
605
605
606
606
// Determine how much space to allocate for params/results
607
- var allocCount = Math . Max ( 10 , Results . Count ) ;
607
+ const int allocCount = 10 ;
608
608
609
609
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 ) =>
610
610
{
@@ -671,7 +671,7 @@ public partial class Function
671
671
var convT11 = ValueRaw . Converter < T11 > ( ) ;
672
672
673
673
// Determine how much space to allocate for params/results
674
- var allocCount = Math . Max ( 11 , Results . Count ) ;
674
+ const int allocCount = 11 ;
675
675
676
676
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 ) =>
677
677
{
@@ -740,7 +740,7 @@ public partial class Function
740
740
var convT12 = ValueRaw . Converter < T12 > ( ) ;
741
741
742
742
// Determine how much space to allocate for params/results
743
- var allocCount = Math . Max ( 12 , Results . Count ) ;
743
+ const int allocCount = 12 ;
744
744
745
745
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 , p11 ) =>
746
746
{
@@ -811,7 +811,7 @@ public partial class Function
811
811
var convT13 = ValueRaw . Converter < T13 > ( ) ;
812
812
813
813
// Determine how much space to allocate for params/results
814
- var allocCount = Math . Max ( 13 , Results . Count ) ;
814
+ const int allocCount = 13 ;
815
815
816
816
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 , p11 , p12 ) =>
817
817
{
@@ -884,7 +884,7 @@ public partial class Function
884
884
var convT14 = ValueRaw . Converter < T14 > ( ) ;
885
885
886
886
// Determine how much space to allocate for params/results
887
- var allocCount = Math . Max ( 14 , Results . Count ) ;
887
+ const int allocCount = 14 ;
888
888
889
889
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 , p11 , p12 , p13 ) =>
890
890
{
@@ -959,7 +959,7 @@ public partial class Function
959
959
var convT15 = ValueRaw . Converter < T15 > ( ) ;
960
960
961
961
// Determine how much space to allocate for params/results
962
- var allocCount = Math . Max ( 15 , Results . Count ) ;
962
+ const int allocCount = 15 ;
963
963
964
964
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 , p11 , p12 , p13 , p14 ) =>
965
965
{
@@ -1036,7 +1036,7 @@ public partial class Function
1036
1036
var convT16 = ValueRaw . Converter < T16 > ( ) ;
1037
1037
1038
1038
// Determine how much space to allocate for params/results
1039
- var allocCount = Math . Max ( 16 , Results . Count ) ;
1039
+ const int allocCount = 16 ;
1040
1040
1041
1041
Action < T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 > result = ( p0 , p1 , p2 , p3 , p4 , p5 , p6 , p7 , p8 , p9 , p10 , p11 , p12 , p13 , p14 , p15 ) =>
1042
1042
{
0 commit comments