460 references to UnexpectedValue
Microsoft.CodeAnalysis (460)
CodeGen\ArrayMembers.cs (1)
137
throw ExceptionUtilities.
UnexpectedValue
(id);
CodeGen\ILBuilder.cs (1)
1153
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)
2304
throw ExceptionUtilities.
UnexpectedValue
(platform);
2402
throw ExceptionUtilities.
UnexpectedValue
(outputKind);
2423
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)
433
throw ExceptionUtilities.
UnexpectedValue
(discriminator);
483
ConstantValueTypeDiscriminator.Null or ConstantValueTypeDiscriminator.Bad => throw ExceptionUtilities.
UnexpectedValue
(Discriminator),
484
_ => throw ExceptionUtilities.
UnexpectedValue
(Discriminator)
538
default: throw ExceptionUtilities.
UnexpectedValue
(this.Discriminator);
805
default: throw ExceptionUtilities.
UnexpectedValue
(this.Discriminator);
833
_ => 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)
1125
throw ExceptionUtilities.
UnexpectedValue
(platformType);
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
628
throw ExceptionUtilities.
UnexpectedValue
(change);
1468
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))));
Emit\HotReloadExceptionCode.cs (1)
31
_ => throw ExceptionUtilities.
UnexpectedValue
(code)
EnumConstantHelper.cs (1)
111
throw ExceptionUtilities.
UnexpectedValue
(constantValue.Discriminator);
FileSystem\FileUtilities.cs (1)
185
throw ExceptionUtilities.
UnexpectedValue
(kind);
Generated\Operations.Generated.cs (327)
4016
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4031
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4047
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4071
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4086
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4102
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4135
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4153
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4172
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4229
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4253
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4278
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4317
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4343
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4370
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4421
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4451
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4482
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4532
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4545
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4559
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4579
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4593
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4618
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4631
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4645
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4676
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4692
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4709
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4745
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4766
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4788
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4823
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4839
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4856
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4880
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4893
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4907
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4938
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
4954
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4971
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
4985
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
4999
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5028
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5046
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5065
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5083
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5116
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5129
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5143
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5179
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5197
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5216
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5246
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5264
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5283
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5305
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5324
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
5362
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5375
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5389
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5418
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5431
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5445
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5477
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5495
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5514
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5541
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5554
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5568
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5604
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5617
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5631
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5676
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5692
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5709
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5747
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5766
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5786
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5820
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5836
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5853
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5879
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5892
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5906
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5939
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
5957
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
5976
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6001
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6014
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6028
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6058
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6076
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6095
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6114
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
6143
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6156
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6170
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6195
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6208
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6222
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6262
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6278
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6295
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6337
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6353
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6370
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6396
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6409
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6423
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6455
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6471
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6488
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6518
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6534
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6551
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6568
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
6594
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6609
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6625
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6650
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6665
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6681
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6706
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6721
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6737
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6767
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6783
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6800
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6826
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6839
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6853
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6880
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6895
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6911
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6942
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
6955
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6969
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
6994
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7007
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7021
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7046
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7059
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7073
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7091
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7110
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7130
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7155
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7168
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7182
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7212
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7228
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7245
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7281
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7294
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7308
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7333
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7346
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7360
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7386
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7402
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7419
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7444
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7457
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7471
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7488
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
7523
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7536
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7550
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7570
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7583
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7597
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7621
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7634
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7648
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7672
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7685
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7699
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7723
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7738
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7754
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7785
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7803
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7822
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7856
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7879
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7903
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7937
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
7950
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
7964
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8002
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8021
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8041
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8074
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8094
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8115
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8139
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8169
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8185
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8202
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8231
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8247
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8264
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8290
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8303
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8317
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8341
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8354
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8368
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8397
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8410
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8424
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8458
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8477
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8497
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8532
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8545
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8559
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8581
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8613
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8629
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8646
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8680
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8696
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8713
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8745
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8764
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8784
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8803
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8829
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8842
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8856
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8878
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8904
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
8917
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8931
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
8948
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8967
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
8993
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9009
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9026
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9060
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9076
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9093
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9119
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9134
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9150
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9179
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9197
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9216
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9251
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9271
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9292
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9306
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9338
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9356
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9375
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9411
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9430
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9450
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9479
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9495
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9512
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9542
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9558
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9575
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9606
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9622
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9639
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9664
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9677
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9691
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9710
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9739
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9755
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9772
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9800
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9813
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9827
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9851
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9864
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9878
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9909
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9925
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9942
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
9960
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
9986
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
9999
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10013
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10045
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10061
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10078
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10112
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10128
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10145
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10174
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10190
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10207
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10232
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10245
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10259
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10279
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
10309
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10327
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10346
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10376
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10391
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10407
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10433
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10446
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10460
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10494
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10510
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10527
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10546
internal override IOperation GetCurrent(int slot, int index) => throw ExceptionUtilities.
UnexpectedValue
((slot, index));
10570
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10583
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10597
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10627
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10643
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10660
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10687
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10702
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10718
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10747
_ => throw ExceptionUtilities.
UnexpectedValue
((slot, index)),
10760
throw ExceptionUtilities.
UnexpectedValue
((previousSlot, previousIndex));
10774
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);
1781
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1830
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1844
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1877
throw ExceptionUtilities.
UnexpectedValue
(attributeInfo.SignatureIndex);
1926
throw ExceptionUtilities.
UnexpectedValue
(info.SignatureIndex);
3332
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);
2281
throw ExceptionUtilities.
UnexpectedValue
(binOp.OperatorKind);
3849
throw ExceptionUtilities.
UnexpectedValue
(operation.Kind);
5637
throw ExceptionUtilities.
UnexpectedValue
(relationalValueClause.Relation);
5657
throw ExceptionUtilities.
UnexpectedValue
(caseClause.CaseKind);
6274
throw ExceptionUtilities.
UnexpectedValue
(originalTarget.Kind);
6346
throw ExceptionUtilities.
UnexpectedValue
(lhs.Kind);
6914
throw ExceptionUtilities.
UnexpectedValue
(currentAddition.Left.Kind);
6926
throw ExceptionUtilities.
UnexpectedValue
(currentAddition.Left.Kind);
7000
throw ExceptionUtilities.
UnexpectedValue
(operation.PlaceholderKind);
7074
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)
2266
throw ExceptionUtilities.
UnexpectedValue
(exportedType);
2863
throw ExceptionUtilities.
UnexpectedValue
(typeRef);
3114
_ => throw ExceptionUtilities.
UnexpectedValue
(reference)
3294
throw ExceptionUtilities.
UnexpectedValue
(rawTokenEncoding);
3369
throw ExceptionUtilities.
UnexpectedValue
(operandType);
4005
throw ExceptionUtilities.
UnexpectedValue
(primitiveType);
4111
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)