-
Notifications
You must be signed in to change notification settings - Fork 0
/
SwitchTypes.cs
9031 lines (9027 loc) · 177 KB
/
SwitchTypes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Autogenerated
// ReSharper disable BuiltInTypeReferenceStyle
namespace StaticTypeDictionaryBenchmark
{
public sealed class Request1 : IRequest
{
public int Value => 1;
}
public sealed class Request2 : IRequest
{
public int Value => 2;
}
public sealed class Request3 : IRequest
{
public int Value => 3;
}
public sealed class Request4 : IRequest
{
public int Value => 4;
}
public sealed class Request5 : IRequest
{
public int Value => 5;
}
public sealed class Request6 : IRequest
{
public int Value => 6;
}
public sealed class Request7 : IRequest
{
public int Value => 7;
}
public sealed class Request8 : IRequest
{
public int Value => 8;
}
public sealed class Request9 : IRequest
{
public int Value => 9;
}
public sealed class Request10 : IRequest
{
public int Value => 10;
}
public sealed class Request11 : IRequest
{
public int Value => 11;
}
public sealed class Request12 : IRequest
{
public int Value => 12;
}
public sealed class Request13 : IRequest
{
public int Value => 13;
}
public sealed class Request14 : IRequest
{
public int Value => 14;
}
public sealed class Request15 : IRequest
{
public int Value => 15;
}
public sealed class Request16 : IRequest
{
public int Value => 16;
}
public sealed class Request17 : IRequest
{
public int Value => 17;
}
public sealed class Request18 : IRequest
{
public int Value => 18;
}
public sealed class Request19 : IRequest
{
public int Value => 19;
}
public sealed class Request20 : IRequest
{
public int Value => 20;
}
public sealed class Request21 : IRequest
{
public int Value => 21;
}
public sealed class Request22 : IRequest
{
public int Value => 22;
}
public sealed class Request23 : IRequest
{
public int Value => 23;
}
public sealed class Request24 : IRequest
{
public int Value => 24;
}
public sealed class Request25 : IRequest
{
public int Value => 25;
}
public sealed class Request26 : IRequest
{
public int Value => 26;
}
public sealed class Request27 : IRequest
{
public int Value => 27;
}
public sealed class Request28 : IRequest
{
public int Value => 28;
}
public sealed class Request29 : IRequest
{
public int Value => 29;
}
public sealed class Request30 : IRequest
{
public int Value => 30;
}
public sealed class Request31 : IRequest
{
public int Value => 31;
}
public sealed class Request32 : IRequest
{
public int Value => 32;
}
public sealed class Request33 : IRequest
{
public int Value => 33;
}
public sealed class Request34 : IRequest
{
public int Value => 34;
}
public sealed class Request35 : IRequest
{
public int Value => 35;
}
public sealed class Request36 : IRequest
{
public int Value => 36;
}
public sealed class Request37 : IRequest
{
public int Value => 37;
}
public sealed class Request38 : IRequest
{
public int Value => 38;
}
public sealed class Request39 : IRequest
{
public int Value => 39;
}
public sealed class Request40 : IRequest
{
public int Value => 40;
}
public sealed class Request41 : IRequest
{
public int Value => 41;
}
public sealed class Request42 : IRequest
{
public int Value => 42;
}
public sealed class Request43 : IRequest
{
public int Value => 43;
}
public sealed class Request44 : IRequest
{
public int Value => 44;
}
public sealed class Request45 : IRequest
{
public int Value => 45;
}
public sealed class Request46 : IRequest
{
public int Value => 46;
}
public sealed class Request47 : IRequest
{
public int Value => 47;
}
public sealed class Request48 : IRequest
{
public int Value => 48;
}
public sealed class Request49 : IRequest
{
public int Value => 49;
}
public sealed class Request50 : IRequest
{
public int Value => 50;
}
public sealed class Request51 : IRequest
{
public int Value => 51;
}
public sealed class Request52 : IRequest
{
public int Value => 52;
}
public sealed class Request53 : IRequest
{
public int Value => 53;
}
public sealed class Request54 : IRequest
{
public int Value => 54;
}
public sealed class Request55 : IRequest
{
public int Value => 55;
}
public sealed class Request56 : IRequest
{
public int Value => 56;
}
public sealed class Request57 : IRequest
{
public int Value => 57;
}
public sealed class Request58 : IRequest
{
public int Value => 58;
}
public sealed class Request59 : IRequest
{
public int Value => 59;
}
public sealed class Request60 : IRequest
{
public int Value => 60;
}
public sealed class Request61 : IRequest
{
public int Value => 61;
}
public sealed class Request62 : IRequest
{
public int Value => 62;
}
public sealed class Request63 : IRequest
{
public int Value => 63;
}
public sealed class Request64 : IRequest
{
public int Value => 64;
}
public sealed class Request65 : IRequest
{
public int Value => 65;
}
public sealed class Request66 : IRequest
{
public int Value => 66;
}
public sealed class Request67 : IRequest
{
public int Value => 67;
}
public sealed class Request68 : IRequest
{
public int Value => 68;
}
public sealed class Request69 : IRequest
{
public int Value => 69;
}
public sealed class Request70 : IRequest
{
public int Value => 70;
}
public sealed class Request71 : IRequest
{
public int Value => 71;
}
public sealed class Request72 : IRequest
{
public int Value => 72;
}
public sealed class Request73 : IRequest
{
public int Value => 73;
}
public sealed class Request74 : IRequest
{
public int Value => 74;
}
public sealed class Request75 : IRequest
{
public int Value => 75;
}
public sealed class Request76 : IRequest
{
public int Value => 76;
}
public sealed class Request77 : IRequest
{
public int Value => 77;
}
public sealed class Request78 : IRequest
{
public int Value => 78;
}
public sealed class Request79 : IRequest
{
public int Value => 79;
}
public sealed class Request80 : IRequest
{
public int Value => 80;
}
public sealed class Request81 : IRequest
{
public int Value => 81;
}
public sealed class Request82 : IRequest
{
public int Value => 82;
}
public sealed class Request83 : IRequest
{
public int Value => 83;
}
public sealed class Request84 : IRequest
{
public int Value => 84;
}
public sealed class Request85 : IRequest
{
public int Value => 85;
}
public sealed class Request86 : IRequest
{
public int Value => 86;
}
public sealed class Request87 : IRequest
{
public int Value => 87;
}
public sealed class Request88 : IRequest
{
public int Value => 88;
}
public sealed class Request89 : IRequest
{
public int Value => 89;
}
public sealed class Request90 : IRequest
{
public int Value => 90;
}
public sealed class Request91 : IRequest
{
public int Value => 91;
}
public sealed class Request92 : IRequest
{
public int Value => 92;
}
public sealed class Request93 : IRequest
{
public int Value => 93;
}
public sealed class Request94 : IRequest
{
public int Value => 94;
}
public sealed class Request95 : IRequest
{
public int Value => 95;
}
public sealed class Request96 : IRequest
{
public int Value => 96;
}
public sealed class Request97 : IRequest
{
public int Value => 97;
}
public sealed class Request98 : IRequest
{
public int Value => 98;
}
public sealed class Request99 : IRequest
{
public int Value => 99;
}
public sealed class Request100 : IRequest
{
public int Value => 100;
}
public sealed class Request101 : IRequest
{
public int Value => 101;
}
public sealed class Request102 : IRequest
{
public int Value => 102;
}
public sealed class Request103 : IRequest
{
public int Value => 103;
}
public sealed class Request104 : IRequest
{
public int Value => 104;
}
public sealed class Request105 : IRequest
{
public int Value => 105;
}
public sealed class Request106 : IRequest
{
public int Value => 106;
}
public sealed class Request107 : IRequest
{
public int Value => 107;
}
public sealed class Request108 : IRequest
{
public int Value => 108;
}
public sealed class Request109 : IRequest
{
public int Value => 109;
}
public sealed class Request110 : IRequest
{
public int Value => 110;
}
public sealed class Request111 : IRequest
{
public int Value => 111;
}
public sealed class Request112 : IRequest
{
public int Value => 112;
}
public sealed class Request113 : IRequest
{
public int Value => 113;
}
public sealed class Request114 : IRequest
{
public int Value => 114;
}
public sealed class Request115 : IRequest
{
public int Value => 115;
}
public sealed class Request116 : IRequest
{
public int Value => 116;
}
public sealed class Request117 : IRequest
{
public int Value => 117;
}
public sealed class Request118 : IRequest
{
public int Value => 118;
}
public sealed class Request119 : IRequest
{
public int Value => 119;
}
public sealed class Request120 : IRequest
{
public int Value => 120;
}
public sealed class Request121 : IRequest
{
public int Value => 121;
}
public sealed class Request122 : IRequest
{
public int Value => 122;
}
public sealed class Request123 : IRequest
{
public int Value => 123;
}
public sealed class Request124 : IRequest
{
public int Value => 124;
}
public sealed class Request125 : IRequest
{
public int Value => 125;
}
public sealed class Request126 : IRequest
{
public int Value => 126;
}
public sealed class Request127 : IRequest
{
public int Value => 127;
}
public sealed class Request128 : IRequest
{
public int Value => 128;
}
public sealed class Request129 : IRequest
{
public int Value => 129;
}
public sealed class Request130 : IRequest
{
public int Value => 130;
}
public sealed class Request131 : IRequest
{
public int Value => 131;
}
public sealed class Request132 : IRequest
{
public int Value => 132;
}
public sealed class Request133 : IRequest
{
public int Value => 133;
}
public sealed class Request134 : IRequest
{
public int Value => 134;
}
public sealed class Request135 : IRequest
{
public int Value => 135;
}
public sealed class Request136 : IRequest
{
public int Value => 136;
}
public sealed class Request137 : IRequest
{
public int Value => 137;
}
public sealed class Request138 : IRequest
{
public int Value => 138;
}
public sealed class Request139 : IRequest
{
public int Value => 139;
}
public sealed class Request140 : IRequest
{
public int Value => 140;
}
public sealed class Request141 : IRequest
{
public int Value => 141;
}
public sealed class Request142 : IRequest
{
public int Value => 142;
}
public sealed class Request143 : IRequest
{
public int Value => 143;
}
public sealed class Request144 : IRequest
{
public int Value => 144;
}
public sealed class Request145 : IRequest
{
public int Value => 145;
}
public sealed class Request146 : IRequest
{
public int Value => 146;
}
public sealed class Request147 : IRequest
{
public int Value => 147;
}
public sealed class Request148 : IRequest
{
public int Value => 148;
}
public sealed class Request149 : IRequest
{
public int Value => 149;
}
public sealed class Request150 : IRequest
{
public int Value => 150;
}
public sealed class Request151 : IRequest
{
public int Value => 151;
}
public sealed class Request152 : IRequest
{
public int Value => 152;
}
public sealed class Request153 : IRequest
{
public int Value => 153;
}
public sealed class Request154 : IRequest
{
public int Value => 154;
}
public sealed class Request155 : IRequest
{
public int Value => 155;
}
public sealed class Request156 : IRequest
{
public int Value => 156;
}
public sealed class Request157 : IRequest
{
public int Value => 157;
}
public sealed class Request158 : IRequest
{
public int Value => 158;
}
public sealed class Request159 : IRequest
{
public int Value => 159;
}
public sealed class Request160 : IRequest
{
public int Value => 160;
}
public sealed class Request161 : IRequest
{
public int Value => 161;
}
public sealed class Request162 : IRequest
{
public int Value => 162;
}
public sealed class Request163 : IRequest
{
public int Value => 163;
}
public sealed class Request164 : IRequest
{
public int Value => 164;
}
public sealed class Request165 : IRequest
{
public int Value => 165;
}
public sealed class Request166 : IRequest
{
public int Value => 166;
}
public sealed class Request167 : IRequest
{
public int Value => 167;
}
public sealed class Request168 : IRequest
{
public int Value => 168;
}
public sealed class Request169 : IRequest
{
public int Value => 169;
}
public sealed class Request170 : IRequest
{
public int Value => 170;
}
public sealed class Request171 : IRequest
{
public int Value => 171;
}
public sealed class Request172 : IRequest
{
public int Value => 172;
}
public sealed class Request173 : IRequest
{
public int Value => 173;
}
public sealed class Request174 : IRequest
{
public int Value => 174;
}
public sealed class Request175 : IRequest
{
public int Value => 175;
}
public sealed class Request176 : IRequest
{
public int Value => 176;
}
public sealed class Request177 : IRequest
{
public int Value => 177;
}
public sealed class Request178 : IRequest
{
public int Value => 178;
}
public sealed class Request179 : IRequest
{
public int Value => 179;
}
public sealed class Request180 : IRequest
{
public int Value => 180;
}
public sealed class Request181 : IRequest
{
public int Value => 181;
}
public sealed class Request182 : IRequest
{
public int Value => 182;
}
public sealed class Request183 : IRequest
{
public int Value => 183;
}
public sealed class Request184 : IRequest
{
public int Value => 184;
}
public sealed class Request185 : IRequest
{
public int Value => 185;
}
public sealed class Request186 : IRequest
{
public int Value => 186;
}
public sealed class Request187 : IRequest
{
public int Value => 187;
}
public sealed class Request188 : IRequest
{
public int Value => 188;
}
public sealed class Request189 : IRequest
{
public int Value => 189;
}
public sealed class Request190 : IRequest
{
public int Value => 190;
}
public sealed class Request191 : IRequest
{
public int Value => 191;
}
public sealed class Request192 : IRequest
{
public int Value => 192;
}
public sealed class Request193 : IRequest
{
public int Value => 193;
}
public sealed class Request194 : IRequest
{
public int Value => 194;
}
public sealed class Request195 : IRequest
{
public int Value => 195;
}
public sealed class Request196 : IRequest
{
public int Value => 196;
}
public sealed class Request197 : IRequest
{
public int Value => 197;
}
public sealed class Request198 : IRequest
{
public int Value => 198;
}
public sealed class Request199 : IRequest
{
public int Value => 199;
}
public sealed class Request200 : IRequest
{
public int Value => 200;
}
public sealed class Request201 : IRequest
{
public int Value => 201;
}
public sealed class Request202 : IRequest
{
public int Value => 202;
}
public sealed class Request203 : IRequest
{
public int Value => 203;
}
public sealed class Request204 : IRequest
{
public int Value => 204;
}
public sealed class Request205 : IRequest
{
public int Value => 205;
}
public sealed class Request206 : IRequest
{
public int Value => 206;
}
public sealed class Request207 : IRequest
{
public int Value => 207;
}
public sealed class Request208 : IRequest
{
public int Value => 208;
}
public sealed class Request209 : IRequest
{
public int Value => 209;
}
public sealed class Request210 : IRequest
{
public int Value => 210;
}
public sealed class Request211 : IRequest
{
public int Value => 211;
}
public sealed class Request212 : IRequest
{
public int Value => 212;
}
public sealed class Request213 : IRequest
{
public int Value => 213;
}
public sealed class Request214 : IRequest
{
public int Value => 214;
}
public sealed class Request215 : IRequest
{
public int Value => 215;
}
public sealed class Request216 : IRequest
{
public int Value => 216;
}
public sealed class Request217 : IRequest
{
public int Value => 217;
}
public sealed class Request218 : IRequest
{
public int Value => 218;
}
public sealed class Request219 : IRequest
{
public int Value => 219;
}
public sealed class Request220 : IRequest
{
public int Value => 220;
}
public sealed class Request221 : IRequest
{
public int Value => 221;
}
public sealed class Request222 : IRequest
{
public int Value => 222;
}
public sealed class Request223 : IRequest
{
public int Value => 223;
}
public sealed class Request224 : IRequest
{
public int Value => 224;
}
public sealed class Request225 : IRequest
{
public int Value => 225;
}
public sealed class Request226 : IRequest
{
public int Value => 226;
}
public sealed class Request227 : IRequest
{
public int Value => 227;
}
public sealed class Request228 : IRequest
{
public int Value => 228;
}
public sealed class Request229 : IRequest
{
public int Value => 229;
}
public sealed class Request230 : IRequest
{
public int Value => 230;
}
public sealed class Request231 : IRequest
{
public int Value => 231;
}
public sealed class Request232 : IRequest
{
public int Value => 232;
}
public sealed class Request233 : IRequest
{
public int Value => 233;
}
public sealed class Request234 : IRequest
{
public int Value => 234;
}
public sealed class Request235 : IRequest
{
public int Value => 235;
}
public sealed class Request236 : IRequest
{
public int Value => 236;
}
public sealed class Request237 : IRequest
{
public int Value => 237;
}
public sealed class Request238 : IRequest
{
public int Value => 238;
}
public sealed class Request239 : IRequest
{
public int Value => 239;
}
public sealed class Request240 : IRequest
{
public int Value => 240;
}
public sealed class Request241 : IRequest
{
public int Value => 241;
}
public sealed class Request242 : IRequest
{
public int Value => 242;
}
public sealed class Request243 : IRequest
{
public int Value => 243;
}
public sealed class Request244 : IRequest
{
public int Value => 244;
}
public sealed class Request245 : IRequest
{
public int Value => 245;
}
public sealed class Request246 : IRequest
{
public int Value => 246;
}
public sealed class Request247 : IRequest
{
public int Value => 247;
}
public sealed class Request248 : IRequest
{
public int Value => 248;
}
public sealed class Request249 : IRequest
{