459 references to UnexpectedValue
Microsoft.CodeAnalysis (459)
CodeGen\ArrayMembers.cs (1)
137
throw ExceptionUtilities.
UnexpectedValue
(id);
CodeGen\ILBuilder.cs (1)
1155
throw ExceptionUtilities.
UnexpectedValue
(scopeType);
CodeGen\ILBuilderConversions.cs (3)
323
throw ExceptionUtilities.
UnexpectedValue
(fromPredefTypeKind);
348
throw ExceptionUtilities.
UnexpectedValue
(fromPredefTypeKind);
354
throw ExceptionUtilities.
UnexpectedValue
(toPredefTypeKind);
CodeGen\ILBuilderEmit.cs (2)
617
throw ExceptionUtilities.
UnexpectedValue
(discriminator);
716
throw ExceptionUtilities.
UnexpectedValue
(value);
CodeGen\ILOpCodeExtensions.cs (3)
40
throw ExceptionUtilities.
UnexpectedValue
(opcode);
469
throw ExceptionUtilities.
UnexpectedValue
(opcode);
733
throw ExceptionUtilities.
UnexpectedValue
(opcode);
CodeGen\LocalScopeManager.cs (1)
806
throw ExceptionUtilities.
UnexpectedValue
(handlerScope.Type);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
510
throw ExceptionUtilities.
UnexpectedValue
(branchCode);
Collections\Rope.cs (5)
101
throw ExceptionUtilities.
UnexpectedValue
(nameof(maxLength));
144
throw ExceptionUtilities.
UnexpectedValue
(v.GetType().Name);
155
throw ExceptionUtilities.
UnexpectedValue
(nameof(maxLength));
176
throw ExceptionUtilities.
UnexpectedValue
(v.GetType().Name);
200
throw ExceptionUtilities.
UnexpectedValue
(v.GetType().Name);
CommandLine\AnalyzerConfig.SectionNameMatching.cs (3)
139
throw ExceptionUtilities.
UnexpectedValue
(tokenKind);
305
throw ExceptionUtilities.
UnexpectedValue
(tokenKind);
403
throw ExceptionUtilities.
UnexpectedValue
(lastChar);
Compilation\Compilation.cs (3)
2289
throw ExceptionUtilities.
UnexpectedValue
(platform);
2387
throw ExceptionUtilities.
UnexpectedValue
(outputKind);
2408
throw ExceptionUtilities.
UnexpectedValue
(outputKind);
Compilation\DeterministicKeyBuilder.cs (2)
315
throw ExceptionUtilities.
UnexpectedValue
(m);
339
throw ExceptionUtilities.
UnexpectedValue
(reference);
Compilation\OptimizationLevel.cs (1)
60
_ => throw ExceptionUtilities.
UnexpectedValue
(optimization)
ConstantValue.cs (6)
435
throw ExceptionUtilities.
UnexpectedValue
(discriminator);
485
ConstantValueTypeDiscriminator.Null or ConstantValueTypeDiscriminator.Bad => throw ExceptionUtilities.
UnexpectedValue
(Discriminator),
486
_ => throw ExceptionUtilities.
UnexpectedValue
(Discriminator)
540
default: throw ExceptionUtilities.
UnexpectedValue
(this.Discriminator);
807
default: throw ExceptionUtilities.
UnexpectedValue
(this.Discriminator);
835
_ => throw ExceptionUtilities.
UnexpectedValue
(Discriminator)
CryptographicHashProvider.cs (4)
60
throw ExceptionUtilities.
UnexpectedValue
(algorithmId);
76
throw ExceptionUtilities.
UnexpectedValue
(algorithmId);
108
throw ExceptionUtilities.
UnexpectedValue
(algorithmId);
270
throw ExceptionUtilities.
UnexpectedValue
(constant.Discriminator);
Diagnostic\Diagnostic.cs (1)
545
throw ExceptionUtilities.
UnexpectedValue
(reportAction);
Diagnostic\DiagnosticDescriptor.cs (2)
262
throw ExceptionUtilities.
UnexpectedValue
(severity);
281
throw ExceptionUtilities.
UnexpectedValue
(severity);
Diagnostic\DiagnosticFormatter.cs (1)
100
throw ExceptionUtilities.
UnexpectedValue
(diagnostic.Severity);
Diagnostic\DiagnosticInfo.cs (1)
120
throw ExceptionUtilities.
UnexpectedValue
(type);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1093
throw ExceptionUtilities.
UnexpectedValue
(compilationEvent.GetType().ToString());
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
228
throw ExceptionUtilities.
UnexpectedValue
(_scope);
Emit\CommonPEModuleBuilder.cs (1)
1096
throw ExceptionUtilities.
UnexpectedValue
(platformType);
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
537
throw ExceptionUtilities.
UnexpectedValue
(change);
1439
throw ExceptionUtilities.
UnexpectedValue
(item);
Emit\EditAndContinue\SymbolChanges.cs (3)
212
throw ExceptionUtilities.
UnexpectedValue
(generatorChange);
278
throw ExceptionUtilities.
UnexpectedValue
(containerChange);
410
throw ExceptionUtilities.
UnexpectedValue
(edit.Kind);
Emit\EditAndContinue\SymbolMatcher.cs (1)
144
value.Name, value.UniqueIndex, (Cci.ITypeDefinition?)MapDefinition(value.Type) ?? throw ExceptionUtilities.
UnexpectedValue
(value.Type))));
EnumConstantHelper.cs (1)
111
throw ExceptionUtilities.
UnexpectedValue
(constantValue.Discriminator);
FileSystem\FileUtilities.cs (1)
185
throw ExceptionUtilities.
UnexpectedValue
(kind);
Generated\Operations.Generated.cs (327)
4013
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4028
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4044
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4068
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4083
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4099
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4132
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4150
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4169
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4226
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4250
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4275
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4314
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4340
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4367
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4418
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4448
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4479
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4529
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4542
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4556
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4576
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4590
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4615
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4628
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4642
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4673
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4689
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4706
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4742
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4763
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4785
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4820
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4836
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4853
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4877
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4890
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4904
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4935
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4951
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4968
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4982
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4996
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5025
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5043
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5062
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5080
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5113
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5126
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5140
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5176
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5194
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5213
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5243
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5261
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5280
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5302
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5321
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5359
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5372
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5386
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5415
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5428
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5442
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5474
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5492
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5511
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5538
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5551
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5565
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5601
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5614
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5628
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5673
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5689
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5706
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5744
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5763
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5783
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5817
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5833
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5850
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5876
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5889
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5903
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5936
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5954
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5973
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5998
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6011
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6025
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6055
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6073
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6092
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6111
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
6140
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6153
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6167
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6192
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6205
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6219
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6259
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6275
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6292
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6334
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6350
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6367
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6393
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6406
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6420
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6452
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6468
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6485
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6515
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6531
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6548
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6565
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
6591
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6606
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6622
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6647
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6662
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6678
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6703
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6718
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6734
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6764
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6780
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6797
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6823
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6836
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6850
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6877
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6892
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6908
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6939
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6952
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6966
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6991
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7004
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7018
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7043
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7056
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7070
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7088
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7107
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7127
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7152
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7165
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7179
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7209
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7225
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7242
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7278
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7291
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7305
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7330
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7343
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7357
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7383
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7399
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7416
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7441
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7454
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7468
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7485
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7520
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7533
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7547
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7567
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7580
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7594
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7618
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7631
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7645
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7669
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7682
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7696
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7720
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7735
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7751
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7782
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7800
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7819
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7853
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7876
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7900
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7934
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7947
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7961
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7999
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8018
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8038
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8071
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8091
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8112
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8136
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8166
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8182
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8199
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8228
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8244
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8261
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8287
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8300
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8314
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8338
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8351
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8365
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8394
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8407
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8421
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8455
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8474
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8494
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8529
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8542
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8556
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8578
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8610
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8626
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8643
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8677
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8693
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8710
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8742
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8761
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8781
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8800
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8826
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8839
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8853
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8875
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8901
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8914
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8928
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8945
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8964
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8990
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9006
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9023
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9057
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9073
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9090
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9116
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9131
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9147
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9176
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9194
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9213
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9248
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9268
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9289
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9303
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9335
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9353
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9372
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9408
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9427
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9447
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9476
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9492
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9509
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9539
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9555
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9572
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9603
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9619
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9636
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9661
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9674
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9688
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9707
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9736
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9752
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9769
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9797
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9810
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9824
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9848
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9861
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9875
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9906
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9922
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9939
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9957
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9983
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9996
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10010
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10042
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10058
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10075
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10109
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10125
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10142
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10171
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10187
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10204
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10229
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10242
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10256
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10276
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
10306
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10324
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10343
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10373
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10388
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10404
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10430
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10443
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10457
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10491
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10507
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10524
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10543
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
10567
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10580
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10594
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10624
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10640
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10657
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10684
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10699
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10715
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10744
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10757
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10771
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
InternalUtilities\SingleInitNullable.cs (1)
79
throw ExceptionUtilities.
UnexpectedValue
(unexpectedValue);
MemberDescriptor.cs (2)
112
throw ExceptionUtilities.
UnexpectedValue
(memberKind);
205
throw ExceptionUtilities.
UnexpectedValue
(typeCode);
MetadataReader\MetadataDecoder.cs (1)
464
throw ExceptionUtilities.
UnexpectedValue
(handle.Kind);
MetadataReader\MetadataHelpers.cs (2)
256
throw ExceptionUtilities.
UnexpectedValue
(c);
353
throw ExceptionUtilities.
UnexpectedValue
(EndOfInput);
MetadataReader\MetadataTypeCodeExtensions.cs (2)
73
throw ExceptionUtilities.
UnexpectedValue
(typeCode);
135
throw ExceptionUtilities.
UnexpectedValue
(specialType);
MetadataReader\PEModule.cs (8)
1263
_ => throw ExceptionUtilities.
UnexpectedValue
(kind)
1283
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1776
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1825
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1839
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1872
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1921
throw ExceptionUtilities.
UnexpectedValue
(info.SignatureIndex);
3327
throw ExceptionUtilities.
UnexpectedValue
(methodDefOrRef.Kind);
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
134
throw ExceptionUtilities.
UnexpectedValue
(_contentType);
Operations\ControlFlowGraphBuilder.cs (14)
339
throw ExceptionUtilities.
UnexpectedValue
(branch.Kind);
428
throw ExceptionUtilities.
UnexpectedValue
(enclosing.Kind);
484
throw ExceptionUtilities.
UnexpectedValue
(@catch.Kind);
604
throw ExceptionUtilities.
UnexpectedValue
(region.Kind);
2275
throw ExceptionUtilities.
UnexpectedValue
(binOp.OperatorKind);
3843
throw ExceptionUtilities.
UnexpectedValue
(operation.Kind);
5631
throw ExceptionUtilities.
UnexpectedValue
(relationalValueClause.Relation);
5651
throw ExceptionUtilities.
UnexpectedValue
(caseClause.CaseKind);
6268
throw ExceptionUtilities.
UnexpectedValue
(originalTarget.Kind);
6340
throw ExceptionUtilities.
UnexpectedValue
(lhs.Kind);
6908
throw ExceptionUtilities.
UnexpectedValue
(currentAddition.Left.Kind);
6920
throw ExceptionUtilities.
UnexpectedValue
(currentAddition.Left.Kind);
6994
throw ExceptionUtilities.
UnexpectedValue
(operation.PlaceholderKind);
7068
throw ExceptionUtilities.
UnexpectedValue
(element.Kind);
Operations\ControlFlowRegion.cs (1)
142
throw ExceptionUtilities.
UnexpectedValue
(kind);
Operations\OperationNodes.cs (22)
33
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index))
51
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
61
_ => throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex))
104
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index))
122
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
132
_ => throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex))
163
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
271
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
294
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
318
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
349
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
372
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
396
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
435
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
458
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
482
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
526
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
538
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
563
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
584
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
610
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
631
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
PEWriter\MetadataWriter.cs (7)
2262
throw ExceptionUtilities.
UnexpectedValue
(exportedType);
2859
throw ExceptionUtilities.
UnexpectedValue
(typeRef);
3110
_ => throw ExceptionUtilities.
UnexpectedValue
(reference)
3290
throw ExceptionUtilities.
UnexpectedValue
(rawTokenEncoding);
3365
throw ExceptionUtilities.
UnexpectedValue
(operandType);
4001
throw ExceptionUtilities.
UnexpectedValue
(primitiveType);
4107
throw ExceptionUtilities.
UnexpectedValue
(primitiveType);
PEWriter\MetadataWriter.PortablePdb.cs (1)
997
_ => throw ExceptionUtilities.
UnexpectedValue
(portableReference.Properties.Kind)
PrimitiveTypeCodeExtensions.cs (1)
88
throw ExceptionUtilities.
UnexpectedValue
(type);
ReferenceManager\CommonReferenceManager.Resolution.cs (2)
312
throw ExceptionUtilities.
UnexpectedValue
(compilationReference.Properties.Kind);
390
throw ExceptionUtilities.
UnexpectedValue
(peReference.Properties.Kind);
SignatureComparer.cs (1)
228
throw ExceptionUtilities.
UnexpectedValue
(typeCode);
SourceGeneration\GeneratedCodeUtilities.cs (1)
182
_ => throw ExceptionUtilities.
UnexpectedValue
(kind)
SourceGeneration\Nodes\NodeStateTable.cs (1)
514
_ => throw ExceptionUtilities.
UnexpectedValue
((inputState, outputState))
SpecialTypeExtensions.cs (2)
270
throw Roslyn.Utilities.ExceptionUtilities.
UnexpectedValue
(specialType);
389
_ => throw ExceptionUtilities.
UnexpectedValue
(enumUnderlyingType),
SwitchConstantValueHelper.cs (1)
93
throw ExceptionUtilities.
UnexpectedValue
(first.Discriminator);
Symbols\Attributes\AttributeUsageInfo.cs (1)
229
throw ExceptionUtilities.
UnexpectedValue
(target);
Symbols\Attributes\CommonAttributeData.cs (1)
268
throw ExceptionUtilities.
UnexpectedValue
(kind);
Symbols\PlatformInvokeInformation.cs (1)
82
throw ExceptionUtilities.
UnexpectedValue
(_flags);
Symbols\RefKind.cs (3)
60
default: throw ExceptionUtilities.
UnexpectedValue
(kind);
71
default: throw ExceptionUtilities.
UnexpectedValue
(kind);
84
default: throw ExceptionUtilities.
UnexpectedValue
(kind);
Symbols\SymbolKindExtensions.cs (1)
54
throw ExceptionUtilities.
UnexpectedValue
(kind);
Text\SourceHashAlgorithms.cs (2)
41
_ => throw ExceptionUtilities.
UnexpectedValue
(algorithm),
56
_ => throw ExceptionUtilities.
UnexpectedValue
(algorithm)