2621 references to ExceptionUtilities
BuildValidator (1)
CompilationDiff.cs (1)
180
return peReader.GetEmbeddedPdbMetadataReader() ?? throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis (610)
CodeGen\ArrayMembers.cs (3)
137
throw
ExceptionUtilities
.UnexpectedValue(id);
370
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
376
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
CodeGen\ILBuilder.cs (1)
1142
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\LocalDefinition.cs (2)
109
get { throw
ExceptionUtilities
.Unreachable(); }
117
get { throw
ExceptionUtilities
.Unreachable(); }
CodeGen\LocalScopeManager.cs (2)
229
throw
ExceptionUtilities
.Unreachable();
804
throw
ExceptionUtilities
.UnexpectedValue(handlerScope.Type);
CodeGen\PrivateImplementationDetails.cs (10)
509
get { throw
ExceptionUtilities
.Unreachable(); }
528
throw
ExceptionUtilities
.Unreachable();
551
get { throw
ExceptionUtilities
.Unreachable(); }
557
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
563
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
692
get { throw
ExceptionUtilities
.Unreachable(); }
721
throw
ExceptionUtilities
.Unreachable();
730
throw
ExceptionUtilities
.Unreachable();
738
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
744
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
CodeGen\SignatureOnlyLocalDefinition.cs (6)
31
get { throw
ExceptionUtilities
.Unreachable(); }
36
get { throw
ExceptionUtilities
.Unreachable(); }
57
get { throw
ExceptionUtilities
.Unreachable(); }
62
get { throw
ExceptionUtilities
.Unreachable(); }
67
get { throw
ExceptionUtilities
.Unreachable(); }
78
get { throw
ExceptionUtilities
.Unreachable(); }
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);
Collections\TemporaryArray`1.cs (2)
242
_ => throw
ExceptionUtilities
.Unreachable(),
304
throw
ExceptionUtilities
.Unreachable();
CommandLine\AnalyzerConfig.SectionNameMatching.cs (3)
132
throw
ExceptionUtilities
.UnexpectedValue(tokenKind);
298
throw
ExceptionUtilities
.UnexpectedValue(tokenKind);
396
throw
ExceptionUtilities
.UnexpectedValue(lastChar);
Compilation.EmitStreamProvider.cs (1)
64
throw
ExceptionUtilities
.Unreachable();
Compilation\Compilation.cs (3)
2252
throw
ExceptionUtilities
.UnexpectedValue(platform);
2350
throw
ExceptionUtilities
.UnexpectedValue(outputKind);
2371
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)
429
throw
ExceptionUtilities
.UnexpectedValue(discriminator);
479
ConstantValueTypeDiscriminator.Null or ConstantValueTypeDiscriminator.Bad => throw
ExceptionUtilities
.UnexpectedValue(Discriminator),
480
_ => throw
ExceptionUtilities
.UnexpectedValue(Discriminator)
534
default: throw
ExceptionUtilities
.UnexpectedValue(this.Discriminator);
801
default: throw
ExceptionUtilities
.UnexpectedValue(this.Discriminator);
829
_ => throw
ExceptionUtilities
.UnexpectedValue(Discriminator)
CryptographicHashProvider.cs (3)
57
throw
ExceptionUtilities
.UnexpectedValue(algorithmId);
73
throw
ExceptionUtilities
.UnexpectedValue(algorithmId);
103
throw
ExceptionUtilities
.UnexpectedValue(algorithmId);
Diagnostic\Diagnostic.cs (1)
543
throw
ExceptionUtilities
.UnexpectedValue(reportAction);
Diagnostic\DiagnosticDescriptor.cs (1)
252
throw
ExceptionUtilities
.UnexpectedValue(severity);
Diagnostic\DiagnosticFormatter.cs (1)
98
throw
ExceptionUtilities
.UnexpectedValue(diagnostic.Severity);
Diagnostic\DiagnosticInfo.cs (2)
125
throw
ExceptionUtilities
.UnexpectedValue(type);
514
throw
ExceptionUtilities
.Unreachable();
DiagnosticAnalyzer\AnalysisResultBuilder.cs (2)
123
throw
ExceptionUtilities
.Unreachable();
143
throw
ExceptionUtilities
.Unreachable();
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
1482
throw
ExceptionUtilities
.Unreachable();
1541
throw
ExceptionUtilities
.Unreachable();
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
712
throw
ExceptionUtilities
.Unreachable();
1056
throw
ExceptionUtilities
.UnexpectedValue(compilationEvent.GetType().ToString());
1105
throw
ExceptionUtilities
.Unreachable();
1279
throw
ExceptionUtilities
.Unreachable();
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
228
throw
ExceptionUtilities
.UnexpectedValue(_scope);
DocumentationComments\XmlDocumentationCommentTextReader.XmlStream.cs (2)
147
throw
ExceptionUtilities
.Unreachable();
153
throw
ExceptionUtilities
.Unreachable();
EmbeddedText.cs (1)
378
throw
ExceptionUtilities
.Unreachable();
Emit\CommonPEModuleBuilder.cs (1)
1071
throw
ExceptionUtilities
.UnexpectedValue(platformType);
Emit\EditAndContinue\DeletedMethodDefinition.cs (2)
164
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
170
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
538
throw
ExceptionUtilities
.UnexpectedValue(change);
Emit\EditAndContinue\SymbolChanges.cs (3)
288
throw
ExceptionUtilities
.UnexpectedValue(generatorChange);
360
throw
ExceptionUtilities
.UnexpectedValue(containerChange);
473
throw
ExceptionUtilities
.UnexpectedValue(edit.Kind);
Emit\ErrorType.cs (2)
196
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
202
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\NoPia\CommonEmbeddedMember.cs (4)
109
throw
ExceptionUtilities
.Unreachable();
114
throw
ExceptionUtilities
.Unreachable();
122
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
128
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\NoPia\CommonEmbeddedParameter.cs (3)
213
throw
ExceptionUtilities
.Unreachable();
276
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
282
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\NoPia\CommonEmbeddedType.cs (3)
552
throw
ExceptionUtilities
.Unreachable();
720
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
726
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\NoPia\CommonEmbeddedTypeParameter.cs (3)
199
throw
ExceptionUtilities
.Unreachable();
230
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
236
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emit\NoPia\VtblGap.cs (2)
263
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
269
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
EnumConstantHelper.cs (1)
111
throw
ExceptionUtilities
.UnexpectedValue(constantValue.Discriminator);
FileSystem\FileUtilities.cs (1)
184
throw
ExceptionUtilities
.UnexpectedValue(kind);
Generated\Operations.Generated.cs (319)
3643
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
3658
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3674
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3698
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
3713
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3729
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3762
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
3780
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3799
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3856
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
3880
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3905
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3944
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
3970
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
3997
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4048
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4078
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4109
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4159
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4172
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4186
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4206
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4220
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4245
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4258
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4272
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4303
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4319
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4336
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4372
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4393
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4415
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4450
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4466
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4483
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4507
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4520
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4534
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4565
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4581
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4598
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4612
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4626
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4655
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4673
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4692
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4710
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4743
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4756
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4770
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4806
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4824
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4843
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4873
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
4891
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4910
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
4932
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4951
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
4989
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5002
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5016
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5045
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5058
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5072
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5104
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5122
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5141
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5168
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5181
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5195
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5231
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5244
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5258
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5303
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5319
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5336
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5374
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5393
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5413
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5447
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5463
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5480
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5506
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5519
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5533
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5566
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5584
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5603
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5628
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5641
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5655
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5685
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5703
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5722
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5741
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
5770
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5783
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5797
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5822
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5835
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5849
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5889
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5905
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5922
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5964
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
5980
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
5997
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6023
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6036
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6050
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6082
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6098
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6115
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6145
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6161
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6178
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6195
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
6221
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6236
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6252
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6277
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6292
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6308
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6333
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6348
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6364
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6394
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6410
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6427
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6453
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6466
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6480
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6507
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6522
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6538
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6569
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6582
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6596
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6621
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6634
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6648
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6673
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6686
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6700
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6718
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
6737
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
6757
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
6782
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6795
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6809
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6839
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6855
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6872
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6908
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6921
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6935
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6960
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
6973
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
6987
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7013
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7029
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7046
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7071
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7084
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7098
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7115
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
7150
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7163
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7177
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7197
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7210
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7224
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7248
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7261
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7275
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7299
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7312
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7326
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7350
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7365
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7381
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7412
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7430
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7449
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7483
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7506
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7530
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7564
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7577
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7591
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7629
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7648
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7668
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7701
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7721
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7742
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7766
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
7796
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7812
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7829
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7858
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7874
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7891
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7917
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7930
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7944
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7968
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
7981
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
7995
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8024
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8037
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8051
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8085
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8104
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8124
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8159
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8172
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8186
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8208
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8240
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8256
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8273
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8307
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8323
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8340
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8372
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8391
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8411
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8430
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8456
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8469
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8483
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8505
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8531
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8544
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8558
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8575
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8594
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8620
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8636
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8653
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8687
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8703
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8720
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8746
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8761
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8777
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8806
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8824
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8843
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8878
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8898
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8919
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
8933
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
8965
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
8983
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9002
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9038
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9057
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9077
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9106
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9122
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9139
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9169
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9185
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9202
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9233
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9249
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9266
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9291
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9304
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9318
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9337
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
9366
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9382
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9399
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9427
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9440
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9454
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9478
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9491
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9505
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9536
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9552
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9569
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9587
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
9613
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9626
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9640
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9672
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9688
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9705
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9739
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9755
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9772
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9801
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9817
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9834
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9859
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9872
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9886
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9906
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
9936
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
9954
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
9973
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10003
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
10018
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10034
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10060
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
10073
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10087
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10121
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
10137
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10154
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10173
internal override IOperation GetCurrent(int slot, int index) => throw
ExceptionUtilities
.UnexpectedValue((slot, index));
10197
_ => throw
ExceptionUtilities
.UnexpectedValue((slot, index)),
10210
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10224
throw
ExceptionUtilities
.UnexpectedValue((previousSlot, previousIndex));
10243
public override IOperation DefaultVisit(IOperation operation, object? argument) => throw
ExceptionUtilities
.Unreachable();
InternalUtilities\FailFast.cs (2)
43
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
53
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
InternalUtilities\FatalError.cs (1)
140
if (
ExceptionUtilities
.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
InternalUtilities\RoslynParallel.cs (2)
34
throw
ExceptionUtilities
.Unreachable();
41
throw
ExceptionUtilities
.Unreachable();
MemberDescriptor.cs (2)
91
throw
ExceptionUtilities
.UnexpectedValue(memberKind);
184
throw
ExceptionUtilities
.UnexpectedValue(typeCode);
MetadataReader\MetadataDecoder.cs (1)
464
throw
ExceptionUtilities
.UnexpectedValue(handle.Kind);
MetadataReader\MetadataHelpers.cs (2)
251
throw
ExceptionUtilities
.UnexpectedValue(c);
348
throw
ExceptionUtilities
.UnexpectedValue(EndOfInput);
MetadataReader\MetadataTypeCodeExtensions.cs (2)
73
throw
ExceptionUtilities
.UnexpectedValue(typeCode);
176
throw
ExceptionUtilities
.UnexpectedValue(specialType);
MetadataReader\PEModule.cs (6)
1578
throw
ExceptionUtilities
.UnexpectedValue(attributeInfo.SignatureIndex);
1627
throw
ExceptionUtilities
.UnexpectedValue(attributeInfo.SignatureIndex);
1641
throw
ExceptionUtilities
.UnexpectedValue(attributeInfo.SignatureIndex);
1674
throw
ExceptionUtilities
.UnexpectedValue(attributeInfo.SignatureIndex);
1723
throw
ExceptionUtilities
.UnexpectedValue(info.SignatureIndex);
3061
throw
ExceptionUtilities
.UnexpectedValue(methodDefOrRef.Kind);
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
134
throw
ExceptionUtilities
.UnexpectedValue(_contentType);
MetadataReference\MetadataImageReference.cs (1)
36
throw
ExceptionUtilities
.Unreachable();
NativePdbWriter\PdbWriter.cs (1)
444
throw
ExceptionUtilities
.Unreachable();
Operations\ControlFlowGraphBuilder.cs (39)
339
throw
ExceptionUtilities
.UnexpectedValue(branch.Kind);
428
throw
ExceptionUtilities
.UnexpectedValue(enclosing.Kind);
448
throw
ExceptionUtilities
.Unreachable();
484
throw
ExceptionUtilities
.UnexpectedValue(@catch.Kind);
604
throw
ExceptionUtilities
.UnexpectedValue(region.Kind);
1312
throw
ExceptionUtilities
.Unreachable();
2264
throw
ExceptionUtilities
.UnexpectedValue(binOp.OperatorKind);
3807
throw
ExceptionUtilities
.Unreachable();
3832
throw
ExceptionUtilities
.UnexpectedValue(operation.Kind);
5137
throw
ExceptionUtilities
.Unreachable();
5540
throw
ExceptionUtilities
.UnexpectedValue(relationalValueClause.Relation);
5560
throw
ExceptionUtilities
.UnexpectedValue(caseClause.CaseKind);
5575
throw
ExceptionUtilities
.Unreachable();
5580
throw
ExceptionUtilities
.Unreachable();
5585
throw
ExceptionUtilities
.Unreachable();
5590
throw
ExceptionUtilities
.Unreachable();
5595
throw
ExceptionUtilities
.Unreachable();
5600
throw
ExceptionUtilities
.Unreachable();
5795
throw
ExceptionUtilities
.Unreachable();
5801
throw
ExceptionUtilities
.Unreachable();
5807
throw
ExceptionUtilities
.Unreachable();
5812
throw
ExceptionUtilities
.Unreachable();
5817
throw
ExceptionUtilities
.Unreachable();
5822
throw
ExceptionUtilities
.Unreachable();
5827
throw
ExceptionUtilities
.Unreachable();
6153
throw
ExceptionUtilities
.UnexpectedValue(originalTarget.Kind);
6268
throw
ExceptionUtilities
.Unreachable();
6676
throw
ExceptionUtilities
.UnexpectedValue(currentAddition.Left.Kind);
6688
throw
ExceptionUtilities
.UnexpectedValue(currentAddition.Left.Kind);
6718
throw
ExceptionUtilities
.Unreachable();
6723
throw
ExceptionUtilities
.Unreachable();
6762
throw
ExceptionUtilities
.UnexpectedValue(operation.PlaceholderKind);
6836
throw
ExceptionUtilities
.UnexpectedValue(element.Kind);
6850
throw
ExceptionUtilities
.Unreachable();
6855
throw
ExceptionUtilities
.Unreachable();
7302
throw
ExceptionUtilities
.Unreachable();
7636
throw
ExceptionUtilities
.Unreachable();
7641
throw
ExceptionUtilities
.Unreachable();
7646
throw
ExceptionUtilities
.Unreachable();
Operations\ControlFlowRegion.cs (1)
142
throw
ExceptionUtilities
.UnexpectedValue(kind);
Operations\OperationCloner.cs (4)
52
throw
ExceptionUtilities
.Unreachable();
57
throw
ExceptionUtilities
.Unreachable();
62
throw
ExceptionUtilities
.Unreachable();
67
throw
ExceptionUtilities
.Unreachable();
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\InheritedTypeParameter.cs (8)
228
throw
ExceptionUtilities
.Unreachable();
276
get { throw
ExceptionUtilities
.Unreachable(); }
281
get { throw
ExceptionUtilities
.Unreachable(); }
286
get { throw
ExceptionUtilities
.Unreachable(); }
291
get { throw
ExceptionUtilities
.Unreachable(); }
296
get { throw
ExceptionUtilities
.Unreachable(); }
302
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
308
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
PEWriter\MetadataVisitor.cs (1)
213
throw
ExceptionUtilities
.Unreachable();
PEWriter\MetadataWriter.cs (10)
1104
_ => throw
ExceptionUtilities
.Unreachable()
1592
throw
ExceptionUtilities
.Unreachable();
1683
_ => throw
ExceptionUtilities
.Unreachable()
2245
throw
ExceptionUtilities
.UnexpectedValue(exportedType);
2808
throw
ExceptionUtilities
.UnexpectedValue(typeRef);
3064
_ => throw
ExceptionUtilities
.UnexpectedValue(reference)
3244
throw
ExceptionUtilities
.UnexpectedValue(rawTokenEncoding);
3319
throw
ExceptionUtilities
.UnexpectedValue(operandType);
3955
throw
ExceptionUtilities
.UnexpectedValue(primitiveType);
4061
throw
ExceptionUtilities
.UnexpectedValue(primitiveType);
PEWriter\MetadataWriter.PortablePdb.cs (2)
317
throw
ExceptionUtilities
.Unreachable();
997
_ => throw
ExceptionUtilities
.UnexpectedValue(portableReference.Properties.Kind)
PEWriter\ModifiedTypeReference.cs (6)
47
get { throw
ExceptionUtilities
.Unreachable(); }
52
get { throw
ExceptionUtilities
.Unreachable(); }
57
throw
ExceptionUtilities
.Unreachable();
67
get { throw
ExceptionUtilities
.Unreachable(); }
153
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
159
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
PEWriter\ReferenceIndexer.cs (1)
128
throw
ExceptionUtilities
.Unreachable();
PEWriter\ReturnValueParameter.cs (2)
120
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
126
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
PEWriter\RootModuleStaticConstructor.cs (2)
173
throw
ExceptionUtilities
.Unreachable();
179
throw
ExceptionUtilities
.Unreachable();
PEWriter\RootModuleType.cs (9)
198
get { throw
ExceptionUtilities
.Unreachable(); }
211
get { throw
ExceptionUtilities
.Unreachable(); }
216
throw
ExceptionUtilities
.Unreachable();
221
get { throw
ExceptionUtilities
.Unreachable(); }
226
get { throw
ExceptionUtilities
.Unreachable(); }
236
get { throw
ExceptionUtilities
.Unreachable(); }
241
get { throw
ExceptionUtilities
.Unreachable(); }
330
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
336
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
PEWriter\SequencePoint.cs (2)
46
throw
ExceptionUtilities
.Unreachable();
51
throw
ExceptionUtilities
.Unreachable();
PEWriter\SourceSpan.cs (2)
39
throw
ExceptionUtilities
.Unreachable();
44
throw
ExceptionUtilities
.Unreachable();
PrimitiveTypeCodeExtensions.cs (1)
88
throw
ExceptionUtilities
.UnexpectedValue(type);
ReferenceManager\AssemblyDataForAssemblyBeingBuilt.cs (3)
73
throw
ExceptionUtilities
.Unreachable();
104
throw
ExceptionUtilities
.Unreachable();
111
throw
ExceptionUtilities
.Unreachable();
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
312
throw
ExceptionUtilities
.UnexpectedValue(compilationReference.Properties.Kind);
390
throw
ExceptionUtilities
.UnexpectedValue(peReference.Properties.Kind);
975
throw
ExceptionUtilities
.Unreachable();
Serialization\ObjectReader.cs (6)
146
throw
ExceptionUtilities
.UnexpectedValue(b);
157
throw
ExceptionUtilities
.UnexpectedValue(b);
309
throw
ExceptionUtilities
.UnexpectedValue(code);
379
throw
ExceptionUtilities
.UnexpectedValue(marker);
406
throw
ExceptionUtilities
.UnexpectedValue(kind);
507
throw
ExceptionUtilities
.UnexpectedValue(kind);
Serialization\ObjectWriter.cs (2)
237
throw
ExceptionUtilities
.UnexpectedValue(value.GetType());
671
throw
ExceptionUtilities
.UnexpectedValue(kind);
Serialization\TextEncodingKind.cs (1)
54
_ => throw
ExceptionUtilities
.UnexpectedValue(kind)
SignatureComparer.cs (1)
228
throw
ExceptionUtilities
.UnexpectedValue(typeCode);
SourceGeneration\IncrementalWrapper.cs (2)
29
void ISourceGenerator.Execute(GeneratorExecutionContext context) => throw
ExceptionUtilities
.Unreachable();
31
void ISourceGenerator.Initialize(GeneratorInitializationContext context) => throw
ExceptionUtilities
.Unreachable();
SourceGeneration\Nodes\InputNode.cs (1)
37
_registerOutput = registerOutput ?? (o => throw
ExceptionUtilities
.Unreachable());
SourceGeneration\Nodes\NodeStateTable.cs (2)
410
_ => throw
ExceptionUtilities
.UnexpectedValue((inputState, outputState))
528
_ => throw
ExceptionUtilities
.Unreachable()
SourceGeneration\Nodes\SourceOutputNode.cs (3)
88
IIncrementalGeneratorNode<TOutput> IIncrementalGeneratorNode<TOutput>.WithComparer(IEqualityComparer<TOutput> comparer) => throw
ExceptionUtilities
.Unreachable();
90
public IIncrementalGeneratorNode<(IEnumerable<GeneratedSourceText>, IEnumerable<Diagnostic>)> WithTrackingName(string name) => throw
ExceptionUtilities
.Unreachable();
92
void IIncrementalGeneratorNode<TOutput>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw
ExceptionUtilities
.Unreachable();
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (1)
85
catch (Exception e) when (!
ExceptionUtilities
.IsCurrentOperationBeingCancelled(e, cancellationToken))
SourceGeneration\UserFunction.cs (3)
33
catch (Exception e) when (!
ExceptionUtilities
.IsCurrentOperationBeingCancelled(e, token))
53
catch (Exception e) when (!
ExceptionUtilities
.IsCurrentOperationBeingCancelled(e, token))
68
catch (Exception e) when (!
ExceptionUtilities
.IsCurrentOperationBeingCancelled(e, token))
SpecialTypeExtensions.cs (1)
269
throw Roslyn.Utilities.
ExceptionUtilities
.UnexpectedValue(specialType);
SwitchConstantValueHelper.cs (1)
93
throw
ExceptionUtilities
.UnexpectedValue(first.Discriminator);
Symbols\Attributes\AttributeUsageInfo.cs (1)
229
throw
ExceptionUtilities
.UnexpectedValue(target);
Symbols\Attributes\CommonAttributeData.cs (2)
261
throw
ExceptionUtilities
.UnexpectedValue(kind);
320
private protected virtual bool IsStringProperty(string memberName) => throw
ExceptionUtilities
.Unreachable();
Symbols\PlatformInvokeInformation.cs (1)
82
throw
ExceptionUtilities
.UnexpectedValue(_flags);
Symbols\RefKind.cs (3)
54
default: throw
ExceptionUtilities
.UnexpectedValue(kind);
65
default: throw
ExceptionUtilities
.UnexpectedValue(kind);
77
default: throw
ExceptionUtilities
.UnexpectedValue(kind);
Symbols\SymbolKindExtensions.cs (1)
54
throw
ExceptionUtilities
.UnexpectedValue(kind);
Syntax\InternalSyntax\SyntaxList.cs (4)
153
throw
ExceptionUtilities
.Unreachable();
161
throw
ExceptionUtilities
.Unreachable();
167
throw
ExceptionUtilities
.Unreachable();
172
throw
ExceptionUtilities
.Unreachable();
Syntax\InternalSyntax\SyntaxList`1.cs (1)
52
throw
ExceptionUtilities
.Unreachable();
Syntax\SyntaxList.cs (11)
22
throw
ExceptionUtilities
.Unreachable();
31
throw
ExceptionUtilities
.Unreachable();
36
throw
ExceptionUtilities
.Unreachable();
41
throw
ExceptionUtilities
.Unreachable();
46
throw
ExceptionUtilities
.Unreachable();
51
throw
ExceptionUtilities
.Unreachable();
56
throw
ExceptionUtilities
.Unreachable();
61
throw
ExceptionUtilities
.Unreachable();
66
throw
ExceptionUtilities
.Unreachable();
71
throw
ExceptionUtilities
.Unreachable();
76
throw
ExceptionUtilities
.Unreachable();
Syntax\SyntaxNodeOrToken.cs (1)
960
throw
ExceptionUtilities
.Unreachable();
Text\SourceHashAlgorithms.cs (1)
40
_ => throw
ExceptionUtilities
.UnexpectedValue(algorithm),
Microsoft.CodeAnalysis.CSharp (1006)
Binder\Binder.CapturedParametersFinder.cs (1)
136
throw
ExceptionUtilities
.UnexpectedValue(syntaxNode);
Binder\Binder.cs (2)
265
_ => throw
ExceptionUtilities
.UnexpectedValue(context.AnnotationsState)
294
throw
ExceptionUtilities
.UnexpectedValue(Compilation.Options.NullableContextOptions);
Binder\Binder.IdentifierUsedAsValueFinder.cs (2)
414
throw
ExceptionUtilities
.UnexpectedValue(topClause.Kind());
535
(LambdaSymbol lambdaSymbol, Binder lambdaBodyBinder, BindingDiagnosticBag diagnostics) => throw
ExceptionUtilities
.Unreachable()),
Binder\Binder.QueryUnboundLambdaState.cs (1)
81
throw
ExceptionUtilities
.Unreachable();
Binder\Binder.ValueChecks.cs (15)
71
_ => throw
ExceptionUtilities
.UnexpectedValue(EscapeLevel)
726
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexer.IndexerOrSliceAccess.Kind);
1155
throw
ExceptionUtilities
.UnexpectedValue(fieldSymbol.RefKind);
1179
throw
ExceptionUtilities
.UnexpectedValue(fieldSymbol.RefKind);
2074
_ => throw
ExceptionUtilities
.UnexpectedValue(symbol)
2382
_ => throw
ExceptionUtilities
.UnexpectedValue(symbol)
2615
_ => throw
ExceptionUtilities
.UnexpectedValue(methodOrPropertySymbol)
2727
throw
ExceptionUtilities
.UnexpectedValue(kind);
2755
throw
ExceptionUtilities
.UnexpectedValue(kind);
2799
throw
ExceptionUtilities
.UnexpectedValue(kind);
3109
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
3359
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
3660
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
4108
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
4525
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
Binder\Binder_Constraints.cs (4)
286
throw
ExceptionUtilities
.UnexpectedValue(keyword);
294
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
425
_ => throw
ExceptionUtilities
.UnexpectedValue(containingSymbol)
586
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
Binder\Binder_Conversions.cs (21)
402
throw
ExceptionUtilities
.UnexpectedValue(v);
726
_ => throw
ExceptionUtilities
.UnexpectedValue(source),
884
throw
ExceptionUtilities
.UnexpectedValue(conversion.Kind);
1284
_ => throw
ExceptionUtilities
.UnexpectedValue(delegateType),
1411
_ => throw
ExceptionUtilities
.UnexpectedValue(type)
1419
_ => throw
ExceptionUtilities
.UnexpectedValue(type)
1754
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1774
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1794
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1814
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1834
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1853
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1873
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1893
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1913
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1933
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1953
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1977
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
1997
default: throw
ExceptionUtilities
.UnexpectedValue(destinationType);
2000
throw
ExceptionUtilities
.UnexpectedValue(value.Discriminator);
2103
default: throw
ExceptionUtilities
.UnexpectedValue(value.Discriminator);
Binder\Binder_Crefs.cs (4)
40
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
129
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
601
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
821
throw
ExceptionUtilities
.UnexpectedValue(candidate.Kind);
Binder\Binder_Deconstruct.cs (3)
383
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
847
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
923
throw
ExceptionUtilities
.Unreachable();
Binder\Binder_Expressions.cs (13)
955
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
1430
throw
ExceptionUtilities
.UnexpectedValue(managedKind);
2009
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
2017
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
2252
throw
ExceptionUtilities
.UnexpectedValue(symbol);
2921
throw
ExceptionUtilities
.UnexpectedValue(designation.Kind());
2985
throw
ExceptionUtilities
.Unreachable();
4459
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
4476
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
4784
throw
ExceptionUtilities
.Unreachable();
5912
throw
ExceptionUtilities
.UnexpectedValue(classCreation.Kind);
7261
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
7863
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Binder\Binder_Initializers.cs (1)
138
throw
ExceptionUtilities
.Unreachable();
Binder\Binder_InterpolatedString.cs (3)
178
throw
ExceptionUtilities
.UnexpectedValue(content.Kind());
425
_ => throw
ExceptionUtilities
.UnexpectedValue(unconvertedExpression.Kind)
1025
throw
ExceptionUtilities
.UnexpectedValue(argumentIndex);
Binder\Binder_Invocation.cs (1)
916
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
Binder\Binder_Lookup.cs (3)
213
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
1378
throw
ExceptionUtilities
.Unreachable();
1564
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
Binder\Binder_Operators.cs (7)
754
_ => throw
ExceptionUtilities
.UnexpectedValue(current.Right.Kind)
1650
throw
ExceptionUtilities
.UnexpectedValue(kind);
1671
throw
ExceptionUtilities
.UnexpectedValue(underlyingType);
1734
throw
ExceptionUtilities
.UnexpectedValue(newKind.Operator());
2225
default: throw
ExceptionUtilities
.UnexpectedValue(kind);
2977
default: throw
ExceptionUtilities
.UnexpectedValue(kind);
3612
throw
ExceptionUtilities
.UnexpectedValue(conversionKind);
Binder\Binder_Patterns.cs (4)
76
throw
ExceptionUtilities
.Unreachable();
185
_ => throw
ExceptionUtilities
.UnexpectedValue(node.Kind()),
913
throw
ExceptionUtilities
.UnexpectedValue(designation.Kind());
1444
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
Binder\Binder_Query.cs (3)
146
throw
ExceptionUtilities
.UnexpectedValue(firstClause.Kind());
160
throw
ExceptionUtilities
.UnexpectedValue(query.Body.SelectOrGroup.Kind());
354
throw
ExceptionUtilities
.UnexpectedValue(topClause.Kind());
Binder\Binder_QueryErrors.cs (1)
204
throw
ExceptionUtilities
.UnexpectedValue(queryClause.Kind());
Binder\Binder_Statements.cs (7)
547
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
1674
throw
ExceptionUtilities
.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
1725
_ => throw
ExceptionUtilities
.UnexpectedValue(e.Kind)
1746
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
3459
_ => throw
ExceptionUtilities
.UnexpectedValue(expressionBody.Parent.Kind()),
3543
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
3800
throw
ExceptionUtilities
.Unreachable();
Binder\Binder_Symbols.cs (3)
165
throw
ExceptionUtilities
.UnexpectedValue(keyword);
728
throw
ExceptionUtilities
.UnexpectedValue(typesArray.Length);
1482
throw
ExceptionUtilities
.UnexpectedValue(members[0].Kind);
Binder\Binder_TupleOperators.cs (2)
115
throw
ExceptionUtilities
.UnexpectedValue(comparison);
155
throw
ExceptionUtilities
.UnexpectedValue(binaryOperator);
Binder\BinderFactory.BinderFactoryVisitor.cs (4)
304
throw
ExceptionUtilities
.UnexpectedValue(propertyOrEventDecl.Kind());
460
throw
ExceptionUtilities
.UnexpectedValue(baseMethodDeclarationSyntax.Kind());
485
throw
ExceptionUtilities
.UnexpectedValue(basePropertyDeclarationSyntax.Kind());
1165
throw
ExceptionUtilities
.UnexpectedValue(elementKind);
Binder\BlockBinder.cs (2)
73
throw
ExceptionUtilities
.Unreachable();
91
throw
ExceptionUtilities
.Unreachable();
Binder\BuckStopsHereBinder.cs (14)
155
throw
ExceptionUtilities
.Unreachable();
178
throw
ExceptionUtilities
.Unreachable();
183
throw
ExceptionUtilities
.Unreachable();
189
throw
ExceptionUtilities
.Unreachable();
195
throw
ExceptionUtilities
.Unreachable();
201
throw
ExceptionUtilities
.Unreachable();
207
throw
ExceptionUtilities
.Unreachable();
213
throw
ExceptionUtilities
.Unreachable();
219
throw
ExceptionUtilities
.Unreachable();
225
throw
ExceptionUtilities
.Unreachable();
231
throw
ExceptionUtilities
.Unreachable();
237
throw
ExceptionUtilities
.Unreachable();
243
throw
ExceptionUtilities
.Unreachable();
249
throw
ExceptionUtilities
.Unreachable();
Binder\CatchClauseBinder.cs (2)
52
throw
ExceptionUtilities
.Unreachable();
57
throw
ExceptionUtilities
.Unreachable();
Binder\DecisionDagBuilder.cs (9)
260
throw
ExceptionUtilities
.UnexpectedValue(tests);
311
throw
ExceptionUtilities
.UnexpectedValue(pattern.Kind);
912
throw
ExceptionUtilities
.UnexpectedValue(n.Kind);
1012
throw
ExceptionUtilities
.UnexpectedValue(n?.Kind);
1096
throw
ExceptionUtilities
.UnexpectedValue(test);
1399
throw
ExceptionUtilities
.Unreachable();
1871
throw
ExceptionUtilities
.Unreachable();
1922
public virtual BoundDagTest ComputeSelectedTest() => throw
ExceptionUtilities
.Unreachable();
2135
_ => throw
ExceptionUtilities
.UnexpectedValue(negated),
Binder\EmbeddedStatementBinder.cs (2)
76
throw
ExceptionUtilities
.Unreachable();
94
throw
ExceptionUtilities
.Unreachable();
Binder\ExpressionListVariableBinder.cs (2)
48
throw
ExceptionUtilities
.Unreachable();
53
throw
ExceptionUtilities
.Unreachable();
Binder\ExpressionVariableBinder.cs (2)
41
throw
ExceptionUtilities
.Unreachable();
46
throw
ExceptionUtilities
.Unreachable();
Binder\ExpressionVariableFinder.cs (3)
268
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
382
throw
ExceptionUtilities
.UnexpectedValue(designation.Kind());
466
throw
ExceptionUtilities
.UnexpectedValue(designation.Kind());
Binder\FixedStatementBinder.cs (2)
67
throw
ExceptionUtilities
.Unreachable();
72
throw
ExceptionUtilities
.Unreachable();
Binder\ForEachLoopBinder.cs (7)
81
throw
ExceptionUtilities
.UnexpectedValue(_syntax.Kind());
157
throw
ExceptionUtilities
.UnexpectedValue(designation.Kind());
331
throw
ExceptionUtilities
.UnexpectedValue(local.RefKind);
394
throw
ExceptionUtilities
.UnexpectedValue(_syntax.Kind());
1401
throw
ExceptionUtilities
.UnexpectedValue(enumeratorType.TypeKind);
1687
throw
ExceptionUtilities
.Unreachable();
1692
throw
ExceptionUtilities
.Unreachable();
Binder\ForLoopBinder.cs (2)
147
throw
ExceptionUtilities
.Unreachable();
152
throw
ExceptionUtilities
.Unreachable();
Binder\LookupResultKind.cs (1)
98
throw
ExceptionUtilities
.UnexpectedValue(resultKind);
Binder\PatternExplainer.cs (5)
93
throw
ExceptionUtilities
.Unreachable();
164
throw
ExceptionUtilities
.UnexpectedValue(currentNode.Kind);
241
throw
ExceptionUtilities
.Unreachable();
444
throw
ExceptionUtilities
.UnexpectedValue(v);
688
throw
ExceptionUtilities
.Unreachable();
Binder\RefSafetyAnalysis.cs (2)
629
throw
ExceptionUtilities
.UnexpectedValue(placeholder.ArgumentIndex);
851
throw
ExceptionUtilities
.Unreachable();
Binder\ScriptLocalScopeBinder.cs (2)
44
throw
ExceptionUtilities
.Unreachable();
49
throw
ExceptionUtilities
.Unreachable();
Binder\Semantics\AccessCheck.cs (5)
83
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
103
throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility);
215
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
289
throw
ExceptionUtilities
.UnexpectedValue(declaredAccessibility);
407
throw
ExceptionUtilities
.UnexpectedValue(declaredAccessibility);
Binder\Semantics\Conversions\Conversion.cs (1)
963
throw
ExceptionUtilities
.UnexpectedValue(conversionResult.Kind);
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
72
throw
ExceptionUtilities
.UnexpectedValue(conversionKind);
Binder\Semantics\Conversions\ConversionsBase.cs (2)
897
throw
ExceptionUtilities
.UnexpectedValue(oppositeConversion.Kind);
2999
throw
ExceptionUtilities
.UnexpectedValue(typeParameterSymbol.Variance);
Binder\Semantics\Conversions\TypeConversions.cs (4)
41
throw
ExceptionUtilities
.Unreachable();
47
throw
ExceptionUtilities
.Unreachable();
53
throw
ExceptionUtilities
.Unreachable();
59
throw
ExceptionUtilities
.Unreachable();
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
670
throw
ExceptionUtilities
.UnexpectedValue(kind);
Binder\Semantics\Operators\BinaryOperatorAnalysisResult.cs (2)
41
throw
ExceptionUtilities
.Unreachable();
47
throw
ExceptionUtilities
.Unreachable();
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (2)
357
throw
ExceptionUtilities
.UnexpectedValue(kind);
660
throw
ExceptionUtilities
.UnexpectedValue(kind);
Binder\Semantics\Operators\OperatorFacts.cs (2)
184
throw
ExceptionUtilities
.UnexpectedValue(kind & UnaryOperatorKind.OpMask);
210
throw
ExceptionUtilities
.UnexpectedValue(kind & BinaryOperatorKind.OpMask);
Binder\Semantics\Operators\OperatorKindExtensions.cs (4)
161
throw
ExceptionUtilities
.UnexpectedValue(type);
179
throw
ExceptionUtilities
.UnexpectedValue(type);
377
throw
ExceptionUtilities
.UnexpectedValue(kind.Operator());
399
throw
ExceptionUtilities
.UnexpectedValue(kind.Operator());
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (3)
53
throw
ExceptionUtilities
.Unreachable();
58
throw
ExceptionUtilities
.Unreachable();
165
throw
ExceptionUtilities
.UnexpectedValue(argAnalysis.Kind);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
970
_ => throw
ExceptionUtilities
.UnexpectedValue(delegateOrFunctionPointerType)
1351
_ => throw
ExceptionUtilities
.UnexpectedValue(delegateOrFunctionPointerType),
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
1137
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
2682
throw
ExceptionUtilities
.Unreachable();
3837
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
456
throw
ExceptionUtilities
.UnexpectedValue(result.Result.Kind);
1456
throw
ExceptionUtilities
.UnexpectedValue(kind);
Binder\SimpleLocalScopeBinder.cs (2)
32
throw
ExceptionUtilities
.Unreachable();
37
throw
ExceptionUtilities
.Unreachable();
Binder\SimpleProgramBinder.cs (2)
94
throw
ExceptionUtilities
.Unreachable();
112
throw
ExceptionUtilities
.Unreachable();
Binder\SwitchBinder.cs (2)
331
throw
ExceptionUtilities
.Unreachable();
341
throw
ExceptionUtilities
.Unreachable();
Binder\SwitchBinder_Patterns.cs (2)
120
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
283
throw
ExceptionUtilities
.UnexpectedValue(node);
Binder\UsingStatementBinder.cs (2)
305
throw
ExceptionUtilities
.Unreachable();
310
throw
ExceptionUtilities
.Unreachable();
Binder\WhileBinder.cs (3)
62
throw
ExceptionUtilities
.UnexpectedValue(_syntax.Kind());
76
throw
ExceptionUtilities
.Unreachable();
81
throw
ExceptionUtilities
.Unreachable();
Binder\WithCrefTypeParametersBinder.cs (2)
72
throw
ExceptionUtilities
.UnexpectedValue(_crefSyntax.Kind());
99
throw
ExceptionUtilities
.UnexpectedValue(typeSyntax.Kind());
Binder\WithExternAndUsingAliasesBinder.cs (2)
95
throw
ExceptionUtilities
.Unreachable();
194
throw
ExceptionUtilities
.UnexpectedValue(_declarationSyntax);
Binder\WithLambdaParametersBinder.cs (2)
172
throw
ExceptionUtilities
.Unreachable();
177
throw
ExceptionUtilities
.Unreachable();
BoundTree\BoundDagEvaluation.cs (1)
45
_ => throw
ExceptionUtilities
.UnexpectedValue(this.Kind)
BoundTree\BoundDagTest.cs (1)
40
throw
ExceptionUtilities
.UnexpectedValue(this);
BoundTree\BoundDecisionDag.cs (3)
36
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
129
throw
ExceptionUtilities
.UnexpectedValue(dag);
191
throw
ExceptionUtilities
.UnexpectedValue(choice);
BoundTree\BoundDecisionDagNode.cs (1)
51
throw
ExceptionUtilities
.UnexpectedValue(this);
BoundTree\BoundExpression.cs (5)
137
public sealed override bool IsEquivalentToThisReference => throw
ExceptionUtilities
.Unreachable();
152
public sealed override bool IsEquivalentToThisReference => throw
ExceptionUtilities
.Unreachable();
172
public sealed override bool IsEquivalentToThisReference => throw
ExceptionUtilities
.Unreachable();
182
public sealed override bool IsEquivalentToThisReference => throw
ExceptionUtilities
.Unreachable();
192
public sealed override bool IsEquivalentToThisReference => throw
ExceptionUtilities
.Unreachable();
BoundTree\BoundExpressionExtensions.cs (1)
55
var s => throw
ExceptionUtilities
.UnexpectedValue(s?.Kind)
BoundTree\BoundInterpolatedStringArgumentPlaceholder.cs (1)
13
public sealed override bool IsEquivalentToThisReference => throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
BoundTree\BoundNode.cs (4)
237
var a => throw
ExceptionUtilities
.UnexpectedValue(a),
251
throw
ExceptionUtilities
.UnexpectedValue(value.FlowState);
274
var mask => throw
ExceptionUtilities
.UnexpectedValue(mask)
425
throw
ExceptionUtilities
.UnexpectedValue(conversion);
BoundTree\BoundNodeExtensions.cs (6)
131
throw
ExceptionUtilities
.UnexpectedValue(current.Left.Kind);
146
throw
ExceptionUtilities
.UnexpectedValue(current.Right.Kind);
214
_ => throw
ExceptionUtilities
.UnexpectedValue(currentBinary.Left.Kind)
225
_ => throw
ExceptionUtilities
.UnexpectedValue(currentBinary.Right.Kind)
255
BoundBinaryOperator or BoundInterpolatedString => throw
ExceptionUtilities
.Unreachable(),
256
_ => throw
ExceptionUtilities
.UnexpectedValue(e.Kind),
BoundTree\BoundStatementExtensions.cs (3)
23
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
50
throw
ExceptionUtilities
.Unreachable();
53
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
BoundTree\Formatting.cs (2)
108
get { throw
ExceptionUtilities
.Unreachable(); }
140
get { throw
ExceptionUtilities
.Unreachable(); }
BoundTree\NullabilityRewriter.cs (1)
66
_ => throw
ExceptionUtilities
.UnexpectedValue(currentBinary.Kind),
BoundTree\UnboundLambda.cs (1)
365
throw
ExceptionUtilities
.Unreachable();
BoundTree\VariablePendingInference.cs (2)
108
throw
ExceptionUtilities
.UnexpectedValue(this.VariableSymbol.Kind);
129
throw
ExceptionUtilities
.Unreachable();
CodeGen\EmitAddress.cs (2)
89
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
279
throw
ExceptionUtilities
.UnexpectedValue(local.RefKind);
CodeGen\EmitArrayInitializer.cs (1)
436
throw
ExceptionUtilities
.Unreachable();
CodeGen\EmitConversion.cs (5)
45
throw
ExceptionUtilities
.UnexpectedValue(conversion.ConversionKind);
132
throw
ExceptionUtilities
.UnexpectedValue(conversion.ConversionKind);
173
throw
ExceptionUtilities
.UnexpectedValue(conversion.ConversionKind); // Should be handled by caller.
177
throw
ExceptionUtilities
.UnexpectedValue(conversion.ConversionKind);
332
throw
ExceptionUtilities
.Unreachable();
CodeGen\EmitExpression.cs (7)
169
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
350
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
1630
throw
ExceptionUtilities
.Unreachable();
2736
throw
ExceptionUtilities
.UnexpectedValue(assignmentTarget.Kind);
2757
throw
ExceptionUtilities
.UnexpectedValue(assignmentTarget.Kind);
2944
throw
ExceptionUtilities
.UnexpectedValue(expression.Kind);
3834
throw
ExceptionUtilities
.Unreachable();
CodeGen\EmitOperators.cs (4)
54
throw
ExceptionUtilities
.UnexpectedValue(operatorKind.Operator());
245
throw
ExceptionUtilities
.UnexpectedValue(expression.OperatorKind.Operator());
418
throw
ExceptionUtilities
.UnexpectedValue(binOp.OperatorKind.OperatorWithLogical());
664
throw
ExceptionUtilities
.UnexpectedValue(expression.OperatorKind.Operator());
CodeGen\EmitStatement.cs (6)
105
throw
ExceptionUtilities
.UnexpectedValue(statement.Kind);
163
throw
ExceptionUtilities
.UnexpectedValue(statement.Flavor);
330
throw
ExceptionUtilities
.UnexpectedValue(op.OperatorKind.Operator());
496
throw
ExceptionUtilities
.Unreachable();
1157
throw
ExceptionUtilities
.UnexpectedValue(exceptionSource.Kind);
1967
throw
ExceptionUtilities
.Unreachable();
CodeGen\Optimizer.cs (4)
493
throw
ExceptionUtilities
.UnexpectedValue(context);
537
throw
ExceptionUtilities
.Unreachable();
1092
throw
ExceptionUtilities
.UnexpectedValue(lhs.Kind);
2153
throw
ExceptionUtilities
.Unreachable();
Compilation\BuiltInOperators.cs (1)
279
default: throw
ExceptionUtilities
.UnexpectedValue(kind.OperandTypes());
Compilation\CSharpDiagnosticFilter.cs (2)
162
_ => throw
ExceptionUtilities
.UnexpectedValue(warningsState)
257
throw
ExceptionUtilities
.UnexpectedValue(report);
Compilation\CSharpSemanticModel.cs (2)
3767
throw
ExceptionUtilities
.UnexpectedValue(containingMember.Kind);
3994
throw
ExceptionUtilities
.UnexpectedValue(boundNodeForSyntacticParent.Kind);
Compilation\InitializerSemanticModel.cs (3)
105
throw
ExceptionUtilities
.UnexpectedValue(rootSyntax.Kind());
182
throw
ExceptionUtilities
.UnexpectedValue(this.MemberSymbol.Kind);
286
throw
ExceptionUtilities
.UnexpectedValue(MemberSymbol.Kind);
Compilation\MemberSemanticModel.cs (4)
113
throw
ExceptionUtilities
.Unreachable();
123
throw
ExceptionUtilities
.Unreachable();
2327
throw
ExceptionUtilities
.Unreachable();
2332
throw
ExceptionUtilities
.Unreachable();
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
286
throw
ExceptionUtilities
.Unreachable();
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (7)
67
throw
ExceptionUtilities
.Unreachable();
72
throw
ExceptionUtilities
.Unreachable();
77
throw
ExceptionUtilities
.Unreachable();
82
throw
ExceptionUtilities
.Unreachable();
87
throw
ExceptionUtilities
.Unreachable();
92
throw
ExceptionUtilities
.Unreachable();
97
throw
ExceptionUtilities
.Unreachable();
Compilation\SpeculativeSemanticModelWithMemberModel.cs (12)
169
ExceptionUtilities
.UnexpectedValue(attributeOrParameter);
503
throw
ExceptionUtilities
.Unreachable();
508
throw
ExceptionUtilities
.Unreachable();
518
throw
ExceptionUtilities
.Unreachable();
523
throw
ExceptionUtilities
.Unreachable();
528
throw
ExceptionUtilities
.Unreachable();
533
throw
ExceptionUtilities
.Unreachable();
538
throw
ExceptionUtilities
.Unreachable();
543
throw
ExceptionUtilities
.Unreachable();
548
throw
ExceptionUtilities
.Unreachable();
553
throw
ExceptionUtilities
.Unreachable();
558
throw
ExceptionUtilities
.Unreachable();
Compilation\SyntaxTreeSemanticModel.cs (11)
1112
ExceptionUtilities
.UnexpectedValue(node.Parent);
1173
throw
ExceptionUtilities
.UnexpectedValue(node.Parent.Kind());
1189
ExceptionUtilities
.UnexpectedValue(node.Parent);
1599
throw
ExceptionUtilities
.UnexpectedValue(propertyOrEventDecl.Kind());
1623
ExceptionUtilities
.UnexpectedValue(containingMemberSyntax.Kind());
1707
throw
ExceptionUtilities
.UnexpectedValue(declaration.Kind());
1746
throw
ExceptionUtilities
.UnexpectedValue(name.Kind());
2150
throw
ExceptionUtilities
.UnexpectedValue(typeParameter.Parent.Kind());
2423
ExceptionUtilities
.UnexpectedValue(declaredSymbol.Kind);
2461
ExceptionUtilities
.UnexpectedValue(declaredSymbol.Kind);
2488
ExceptionUtilities
.UnexpectedValue(declaredSymbol.Kind);
Compiler\ClsComplianceChecker.cs (7)
215
throw
ExceptionUtilities
.Unreachable();
750
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
1001
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
1242
throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility);
1277
throw
ExceptionUtilities
.UnexpectedValue(compliance);
1293
throw
ExceptionUtilities
.UnexpectedValue(compliance);
1343
throw
ExceptionUtilities
.UnexpectedValue(x.Kind);
Compiler\DocumentationCommentCompiler.cs (1)
1174
throw
ExceptionUtilities
.UnexpectedValue(elementKind);
Compiler\MethodBodySynthesizer.Lowered.cs (2)
294
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
311
internal override ExecutableCodeBinder? TryGetBodyBinder(BinderFactory? binderFactoryOpt = null, bool ignoreAccessibility = false) => throw
ExceptionUtilities
.Unreachable();
Compiler\MethodCompiler.cs (8)
385
throw
ExceptionUtilities
.Unreachable();
431
throw
ExceptionUtilities
.Unreachable();
918
throw
ExceptionUtilities
.Unreachable();
923
throw
ExceptionUtilities
.Unreachable();
928
throw
ExceptionUtilities
.Unreachable();
933
throw
ExceptionUtilities
.Unreachable();
1925
throw
ExceptionUtilities
.UnexpectedValue(methodBody.Kind);
2059
throw
ExceptionUtilities
.UnexpectedValue(syntaxNode);
Compiler\SynthesizedMetadataCompiler.cs (1)
110
throw
ExceptionUtilities
.Unreachable();
Compiler\TypeCompilationState.cs (1)
212
throw
ExceptionUtilities
.Unreachable();
CSharpDeclarationComputer.cs (1)
411
ExceptionUtilities
.UnexpectedValue(node.Kind());
Declarations\DeclarationKind.cs (1)
46
throw
ExceptionUtilities
.UnexpectedValue(kind);
Declarations\DeclarationTreeBuilder.cs (1)
593
_ => throw
ExceptionUtilities
.UnexpectedValue(node.Kind())
Declarations\MergedTypeDeclaration.cs (1)
93
throw
ExceptionUtilities
.UnexpectedValue(typeDecl.Kind());
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (8)
149
throw
ExceptionUtilities
.UnexpectedValue(def);
348
throw
ExceptionUtilities
.Unreachable();
480
throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind);
576
throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind);
583
throw
ExceptionUtilities
.Unreachable();
658
_ => throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind),
973
throw
ExceptionUtilities
.UnexpectedValue(type.Kind);
1051
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\ExpandedVarargsMethodReference.cs (2)
233
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
239
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (2)
85
throw
ExceptionUtilities
.Unreachable();
89
public override int GetHashCode() => throw
ExceptionUtilities
.Unreachable();
Emitter\Model\MethodSymbolAdapter.cs (1)
694
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\MostCommonNullableValueBuilder.cs (1)
57
throw
ExceptionUtilities
.UnexpectedValue(value);
Emitter\Model\NamedTypeReference.cs (2)
171
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
177
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
217
throw
ExceptionUtilities
.Unreachable();
1046
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\ParameterSymbolAdapter.cs (2)
165
throw
ExceptionUtilities
.Unreachable();
275
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\ParameterTypeInformation.cs (4)
72
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
78
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
123
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
129
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emitter\Model\PEModuleBuilder.cs (7)
244
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
286
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
360
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
420
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
427
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
1145
throw
ExceptionUtilities
.UnexpectedValue(typeSymbol.Kind);
1256
throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility);
Emitter\Model\PENetModuleBuilder.cs (2)
30
throw
ExceptionUtilities
.Unreachable();
35
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\PropertySymbolAdapter.cs (1)
332
throw
ExceptionUtilities
.Unreachable();
Emitter\Model\SymbolAdapter.cs (5)
31
throw
ExceptionUtilities
.Unreachable();
38
throw
ExceptionUtilities
.Unreachable();
51
protected virtual SymbolAdapter GetCciAdapterImpl() => throw
ExceptionUtilities
.Unreachable();
183
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
189
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emitter\Model\TypeMemberReference.cs (2)
56
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
62
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Emitter\Model\TypeParameterSymbolAdapter.cs (2)
153
throw
ExceptionUtilities
.Unreachable();
326
throw
ExceptionUtilities
.UnexpectedValue(AdaptedTypeParameterSymbol.Variance);
Emitter\NoPia\EmbeddedTypesManager.cs (1)
505
throw
ExceptionUtilities
.UnexpectedValue(propertyOrEvent.Kind);
Errors\MessageID.cs (1)
598
throw
ExceptionUtilities
.UnexpectedValue(feature);
FlowAnalysis\AbstractFlowPass.cs (9)
865
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
1006
throw
ExceptionUtilities
.UnexpectedValue(pattern.Kind);
1048
throw
ExceptionUtilities
.UnexpectedValue(pattern.Kind);
1061
throw
ExceptionUtilities
.Unreachable();
2003
throw
ExceptionUtilities
.Unreachable();
2278
throw
ExceptionUtilities
.UnexpectedValue(binary.Kind);
3261
throw
ExceptionUtilities
.Unreachable();
3479
throw
ExceptionUtilities
.Unreachable();
3484
throw
ExceptionUtilities
.Unreachable();
FlowAnalysis\DefiniteAssignment.cs (1)
1967
throw
ExceptionUtilities
.UnexpectedValue(pattern.Kind);
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (3)
90
throw
ExceptionUtilities
.Unreachable();
96
throw
ExceptionUtilities
.Unreachable();
102
throw
ExceptionUtilities
.Unreachable();
FlowAnalysis\ExitPointsWalker.cs (1)
148
throw
ExceptionUtilities
.UnexpectedValue(pending.Branch.Kind);
FlowAnalysis\NullableWalker.cs (20)
541
throw
ExceptionUtilities
.UnexpectedValue(placeholder.Kind);
993
=> throw
ExceptionUtilities
.Unreachable(),
1887
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
3155
throw
ExceptionUtilities
.Unreachable();
3679
ExceptionUtilities
.UnexpectedValue(node.Kind);
3898
throw
ExceptionUtilities
.Unreachable();
4171
_ => throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
4259
_ => throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
5165
_ => throw
ExceptionUtilities
.UnexpectedValue(node.OperatorResultKind),
6106
throw
ExceptionUtilities
.Unreachable();
6630
throw
ExceptionUtilities
.UnexpectedValue(refKind);
6782
throw
ExceptionUtilities
.UnexpectedValue(refKind);
9525
throw
ExceptionUtilities
.Unreachable();
10159
_ => throw
ExceptionUtilities
.UnexpectedValue(node.Syntax)
10251
throw
ExceptionUtilities
.Unreachable();
10463
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
10499
_ => throw
ExceptionUtilities
.UnexpectedValue(node)
10828
throw
ExceptionUtilities
.Unreachable();
11529
(false, false) => throw
ExceptionUtilities
.Unreachable(),
11561
_ => throw
ExceptionUtilities
.Unreachable()
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (4)
54
internal override SyntaxToken IdentifierToken => throw
ExceptionUtilities
.Unreachable();
60
internal override SynthesizedLocalKind SynthesizedKind => throw
ExceptionUtilities
.Unreachable();
63
internal override SyntaxNode GetDeclaratorSyntax() => throw
ExceptionUtilities
.Unreachable();
71
) => throw
ExceptionUtilities
.Unreachable();
FlowAnalysis\NullableWalker_Patterns.cs (6)
206
throw
ExceptionUtilities
.UnexpectedValue(pattern);
399
(int inputSlot, TypeSymbol inputType) = tempMap.TryGetValue(evaluation.Input, out var slotAndType) ? slotAndType : throw
ExceptionUtilities
.Unreachable();
543
throw
ExceptionUtilities
.UnexpectedValue(p.Evaluation.Kind);
620
throw
ExceptionUtilities
.UnexpectedValue(test.Kind);
679
throw
ExceptionUtilities
.UnexpectedValue(dagNode.Kind);
818
_ => throw
ExceptionUtilities
.UnexpectedValue(e.Kind)
LanguageVersion.cs (2)
299
throw
ExceptionUtilities
.UnexpectedValue(version);
372
throw
ExceptionUtilities
.UnexpectedValue(version);
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (1)
336
throw
ExceptionUtilities
.UnexpectedValue(method);
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
333
throw
ExceptionUtilities
.Unreachable();
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (7)
125
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
188
throw
ExceptionUtilities
.Unreachable();
402
throw
ExceptionUtilities
.Unreachable();
578
throw
ExceptionUtilities
.UnexpectedValue(variable.Kind);
601
return Helper(treeRoot) ?? throw
ExceptionUtilities
.Unreachable();
643
throw
ExceptionUtilities
.Unreachable();
651
return helper(treeRoot) ?? throw
ExceptionUtilities
.Unreachable();
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
396
=> throw
ExceptionUtilities
.Unreachable();
Lowering\ClosureConversion\ClosureConversion.cs (2)
769
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
1763
throw
ExceptionUtilities
.Unreachable();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (10)
159
throw
ExceptionUtilities
.UnexpectedValue(stmt.Kind);
251
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
412
throw
ExceptionUtilities
.UnexpectedValue(opKind.Operator());
710
throw
ExceptionUtilities
.UnexpectedValue(BoundKind.MethodGroup);
726
throw
ExceptionUtilities
.UnexpectedValue(node.Argument);
841
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
856
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
900
throw
ExceptionUtilities
.UnexpectedValue(elementKind);
953
throw
ExceptionUtilities
.UnexpectedValue(initializerKind); // no other options at the top level of an initializer
1068
throw
ExceptionUtilities
.UnexpectedValue(op);
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
99
throw
ExceptionUtilities
.UnexpectedValue(syntaxOpt.Kind());
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (2)
78
throw
ExceptionUtilities
.UnexpectedValue(closureKind);
239
throw
ExceptionUtilities
.Unreachable();
Lowering\InitializerRewriter.cs (1)
128
throw
ExceptionUtilities
.UnexpectedValue(initializer.Kind);
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
139
=> throw
ExceptionUtilities
.Unreachable(); // we don't currently need this
Lowering\Instrumentation\DebugInfoInjector.cs (2)
113
throw
ExceptionUtilities
.UnexpectedValue(grandparent.Kind());
284
throw
ExceptionUtilities
.UnexpectedValue(original.Syntax.Kind());
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
148
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax.Parent.Kind());
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (2)
393
throw
ExceptionUtilities
.UnexpectedValue(original.Left);
492
_ => throw
ExceptionUtilities
.UnexpectedValue(localOrParameterSymbol)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (2)
107
throw
ExceptionUtilities
.Unreachable();
259
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
81
throw
ExceptionUtilities
.UnexpectedValue(method.ReturnType.OriginalDefinition.SpecialType);
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
42
public override bool AreLocalsZeroed => throw
ExceptionUtilities
.Unreachable();
Lowering\LocalRewriter\DynamicSiteContainer.cs (1)
36
get { throw
ExceptionUtilities
.Unreachable(); }
Lowering\LocalRewriter\LocalRewriter.cs (5)
392
throw
ExceptionUtilities
.Unreachable();
397
throw
ExceptionUtilities
.Unreachable();
489
throw
ExceptionUtilities
.Unreachable();
495
throw
ExceptionUtilities
.Unreachable();
984
throw
ExceptionUtilities
.UnexpectedValue(expr.Kind);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (12)
89
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
641
throw
ExceptionUtilities
.UnexpectedValue(otherwise);
673
throw
ExceptionUtilities
.UnexpectedValue(n);
803
throw
ExceptionUtilities
.UnexpectedValue(input.Type);
818
_ => throw
ExceptionUtilities
.UnexpectedValue(input.Type.SpecialType)
857
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
870
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
929
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
941
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
956
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
964
_ => throw
ExceptionUtilities
.UnexpectedValue(stringPatternInput),
1233
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
303
throw
ExceptionUtilities
.UnexpectedValue(evaluation);
363
throw
ExceptionUtilities
.UnexpectedValue(test);
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (1)
57
throw
ExceptionUtilities
.UnexpectedValue(constantValue);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
132
throw
ExceptionUtilities
.Unreachable();
178
throw
ExceptionUtilities
.UnexpectedValue(rewrittenLeft.Kind);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
523
throw
ExceptionUtilities
.UnexpectedValue(operatorKind);
1979
throw
ExceptionUtilities
.UnexpectedValue(operatorKind);
2285
throw
ExceptionUtilities
.UnexpectedValue(numericSpecialType);
2352
throw
ExceptionUtilities
.UnexpectedValue(numericSpecialType);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
630
var u => throw
ExceptionUtilities
.UnexpectedValue(u.Kind)
651
throw
ExceptionUtilities
.UnexpectedValue(argIndex);
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
413
throw
ExceptionUtilities
.UnexpectedValue(indexerAccess.Argument.Type);
729
throw
ExceptionUtilities
.UnexpectedValue(originalLHS.Kind);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (3)
21
throw
ExceptionUtilities
.Unreachable();
101
throw
ExceptionUtilities
.UnexpectedValue(loweringKind);
199
throw
ExceptionUtilities
.UnexpectedValue(loweringKind);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (5)
31
_ => throw
ExceptionUtilities
.UnexpectedValue(node.Operand.Kind)
195
throw
ExceptionUtilities
.UnexpectedValue(current);
1494
throw
ExceptionUtilities
.Unreachable();
1517
throw
ExceptionUtilities
.UnexpectedValue(typeTo.SpecialType);
1537
throw
ExceptionUtilities
.UnexpectedValue(typeFrom.SpecialType);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
325
throw
ExceptionUtilities
.Unreachable();
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
191
throw
ExceptionUtilities
.Unreachable(); //Should be handled by VisitFixedStatement
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (1)
156
throw
ExceptionUtilities
.UnexpectedValue(original.Kind);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (7)
172
throw
ExceptionUtilities
.Unreachable();
177
throw
ExceptionUtilities
.Unreachable();
182
throw
ExceptionUtilities
.Unreachable();
187
throw
ExceptionUtilities
.Unreachable();
324
throw
ExceptionUtilities
.UnexpectedValue(strategy);
430
throw
ExceptionUtilities
.UnexpectedValue(strategy);
686
throw
ExceptionUtilities
.UnexpectedValue(startStrategy);
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
64
throw
ExceptionUtilities
.UnexpectedValue(constantValue);
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (2)
81
throw
ExceptionUtilities
.UnexpectedValue(node);
299
throw
ExceptionUtilities
.UnexpectedValue(node.Kind);
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
89
throw
ExceptionUtilities
.Unreachable();
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
73
throw
ExceptionUtilities
.UnexpectedValue(temps.Length);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (5)
28
throw
ExceptionUtilities
.UnexpectedValue(initializerExpression.Kind);
63
throw
ExceptionUtilities
.UnexpectedValue(initializerExpression.Kind);
82
throw
ExceptionUtilities
.UnexpectedValue(initializerExpression.Kind);
447
throw
ExceptionUtilities
.UnexpectedValue((rewrittenLeft ?? assignment.Left).Kind);
550
throw
ExceptionUtilities
.UnexpectedValue(memberSymbol.Kind);
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
63
throw
ExceptionUtilities
.UnexpectedValue(rewrittenIndex.Type.SpecialType);
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
198
throw
ExceptionUtilities
.UnexpectedValue(constructionMethod.MethodKind);
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
93
throw
ExceptionUtilities
.UnexpectedValue(type);
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
128
throw
ExceptionUtilities
.UnexpectedValue(part.Kind);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
262
throw
ExceptionUtilities
.UnexpectedValue(@operator.InfoKind);
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
17
throw
ExceptionUtilities
.Unreachable();
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (5)
798
throw
ExceptionUtilities
.UnexpectedValue(oper.Operator());
943
throw
ExceptionUtilities
.UnexpectedValue(kind);
1033
throw
ExceptionUtilities
.UnexpectedValue(underlyingType.SpecialType);
1043
throw
ExceptionUtilities
.UnexpectedValue(unaryOperatorKind.OperandTypes());
1103
throw
ExceptionUtilities
.UnexpectedValue(binaryOperatorKind.OperandTypes());
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
83
throw
ExceptionUtilities
.UnexpectedValue(loop.Kind);
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
567
throw
ExceptionUtilities
.UnexpectedValue(loweredReceiver.Kind);
Lowering\MethodToClassRewriter.cs (5)
426
_ => throw
ExceptionUtilities
.UnexpectedValue(proxy)
491
throw
ExceptionUtilities
.Unreachable();
498
throw
ExceptionUtilities
.Unreachable();
638
throw
ExceptionUtilities
.Unreachable();
681
throw
ExceptionUtilities
.Unreachable();
Lowering\SpillSequenceSpiller.cs (2)
906
throw
ExceptionUtilities
.Unreachable();
1104
throw
ExceptionUtilities
.Unreachable();
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
163
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
640
throw
ExceptionUtilities
.UnexpectedValue(expr.Kind);
775
throw
ExceptionUtilities
.Unreachable(); // for statements have been lowered away by now
780
throw
ExceptionUtilities
.Unreachable(); // using statements have been lowered away by now
Lowering\SyntheticBoundNodeFactory.cs (2)
728
throw
ExceptionUtilities
.UnexpectedValue(input.Type);
1548
throw
ExceptionUtilities
.UnexpectedValue(refKind);
Operations\CSharpOperationFactory.cs (15)
330
throw
ExceptionUtilities
.UnexpectedValue(boundNode.Kind);
413
throw
ExceptionUtilities
.UnexpectedValue(declaration.Kind);
545
throw
ExceptionUtilities
.UnexpectedValue(declaration.Kind);
605
throw
ExceptionUtilities
.UnexpectedValue(boundNode.Kind);
796
throw
ExceptionUtilities
.UnexpectedValue(indexer.Kind);
811
throw
ExceptionUtilities
.UnexpectedValue(indexer.Kind);
896
throw
ExceptionUtilities
.UnexpectedValue(memberSymbol.Kind);
1408
{ Kind: var kind } => throw
ExceptionUtilities
.UnexpectedValue(kind)
2136
{ Kind: var kind } => throw
ExceptionUtilities
.UnexpectedValue(kind)
2223
throw
ExceptionUtilities
.UnexpectedValue(part.Kind);
2239
_ => throw
ExceptionUtilities
.UnexpectedValue(value.Kind),
2336
_ => throw
ExceptionUtilities
.UnexpectedValue(part.Kind)
2344
_ => throw
ExceptionUtilities
.UnexpectedValue(methodName)
2359
throw
ExceptionUtilities
.UnexpectedValue(current.Kind);
2382
_ => throw
ExceptionUtilities
.UnexpectedValue(placeholder.ArgumentIndex)
Operations\CSharpOperationFactory_Methods.cs (1)
274
throw
ExceptionUtilities
.UnexpectedValue(containingExpression.Kind);
Parser\Blender.Cursor.cs (1)
107
throw
ExceptionUtilities
.Unreachable();
Parser\LanguageParser.cs (10)
1441
throw
ExceptionUtilities
.UnexpectedValue(this.CurrentToken.Kind);
1689
throw
ExceptionUtilities
.UnexpectedValue(keyword.Kind);
6351
throw
ExceptionUtilities
.Unreachable();
6878
throw
ExceptionUtilities
.UnexpectedValue(mode);
8773
throw
ExceptionUtilities
.UnexpectedValue(decl.designation.Kind);
10194
throw
ExceptionUtilities
.UnexpectedValue(op);
10500
throw
ExceptionUtilities
.UnexpectedValue(tokensToCombine);
10623
_ => throw
ExceptionUtilities
.UnexpectedValue(node),
10966
_ => throw
ExceptionUtilities
.Unreachable(),
11606
throw
ExceptionUtilities
.UnexpectedValue(type);
Parser\LanguageParser_InterpolatedString.cs (2)
88
_ => throw
ExceptionUtilities
.UnexpectedValue(kind),
249
_ => throw
ExceptionUtilities
.UnexpectedValue(kind),
Parser\Lexer.cs (2)
279
throw
ExceptionUtilities
.UnexpectedValue(ModeOf(_mode));
380
throw
ExceptionUtilities
.UnexpectedValue(info.ValueKind);
Parser\Lexer_RawStringLiteral.cs (1)
119
throw
ExceptionUtilities
.UnexpectedValue(info.Kind);
SourceGeneration\CSharpSyntaxHelper.cs (2)
78
throw
ExceptionUtilities
.UnexpectedValue(node.KindText);
112
_ => throw
ExceptionUtilities
.UnexpectedValue(name.KindText),
SymbolDisplay\ObjectDisplay.cs (1)
13
using ExceptionUtilities = Roslyn.Utilities.
ExceptionUtilities
;
SymbolDisplay\SymbolDisplayVisitor.cs (2)
184
throw
ExceptionUtilities
.UnexpectedValue(format.GlobalNamespaceStyle);
360
throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility);
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
574
throw
ExceptionUtilities
.UnexpectedValue(symbol.MethodKind);
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
611
throw
ExceptionUtilities
.UnexpectedValue(symbol.TypeKind);
Symbols\AbstractTypeMap.cs (1)
209
throw
ExceptionUtilities
.Unreachable();
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
789
throw
ExceptionUtilities
.Unreachable();
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (6)
35
=> throw
ExceptionUtilities
.Unreachable();
39
throw
ExceptionUtilities
.Unreachable();
157
throw
ExceptionUtilities
.Unreachable();
231
get { throw
ExceptionUtilities
.Unreachable(); }
241
throw
ExceptionUtilities
.Unreachable();
264
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (3)
207
throw
ExceptionUtilities
.Unreachable();
232
throw
ExceptionUtilities
.Unreachable();
235
protected override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (3)
54
=> throw
ExceptionUtilities
.Unreachable();
294
throw
ExceptionUtilities
.Unreachable();
307
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\AssemblySymbol.cs (3)
391
throw
ExceptionUtilities
.Unreachable();
402
throw
ExceptionUtilities
.Unreachable();
411
throw
ExceptionUtilities
.Unreachable();
Symbols\Attributes\AttributeData.cs (1)
693
throw
ExceptionUtilities
.Unreachable();
Symbols\BaseTypeAnalysis.cs (1)
172
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\Compilation_WellKnownMembers.cs (3)
282
throw
ExceptionUtilities
.UnexpectedValue(descriptor.Flags);
350
throw
ExceptionUtilities
.UnexpectedValue(targetSymbolKind);
633
throw
ExceptionUtilities
.UnexpectedValue(attribute);
Symbols\ConstraintsHelper.cs (4)
258
throw
ExceptionUtilities
.UnexpectedValue(constraintType.TypeKind);
1032
throw
ExceptionUtilities
.UnexpectedValue(error);
1393
throw
ExceptionUtilities
.UnexpectedValue(typeArgument.TypeKind);
1535
throw
ExceptionUtilities
.UnexpectedValue(type2.NullableAnnotation);
Symbols\ConstructedNamedTypeSymbol.cs (3)
45
get { throw
ExceptionUtilities
.Unreachable(); }
50
throw
ExceptionUtilities
.Unreachable();
135
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\EnumConversions.cs (1)
40
throw
ExceptionUtilities
.UnexpectedValue(kind);
Symbols\ErrorMethodSymbol.cs (3)
244
get { throw
ExceptionUtilities
.Unreachable(); }
264
throw
ExceptionUtilities
.Unreachable();
269
throw
ExceptionUtilities
.Unreachable();
Symbols\ErrorTypeSymbol.cs (5)
164
throw
ExceptionUtilities
.Unreachable();
512
throw
ExceptionUtilities
.Unreachable();
532
get { throw
ExceptionUtilities
.Unreachable(); }
535
internal override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
712
=> throw
ExceptionUtilities
.Unreachable();
Symbols\ExtendedErrorTypeSymbol.cs (1)
96
throw
ExceptionUtilities
.Unreachable();
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (9)
186
throw
ExceptionUtilities
.UnexpectedValue(unexpected);
836
internal override bool GenerateDebugInfo => throw
ExceptionUtilities
.Unreachable();
837
internal override ObsoleteAttributeData? ObsoleteAttributeData => throw
ExceptionUtilities
.Unreachable();
839
public override bool AreLocalsZeroed => throw
ExceptionUtilities
.Unreachable();
840
public override DllImportData GetDllImportData() => throw
ExceptionUtilities
.Unreachable();
841
internal override int CalculateLocalSyntaxOffset(int localPosition, SyntaxTree localTree) => throw
ExceptionUtilities
.Unreachable();
842
internal override IEnumerable<SecurityAttribute> GetSecurityInformation() => throw
ExceptionUtilities
.Unreachable();
843
internal sealed override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
844
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\FunctionTypeSymbol.cs (22)
112
public override ImmutableArray<Location> Locations => throw
ExceptionUtilities
.Unreachable();
114
public override ImmutableArray<SyntaxReference> DeclaringSyntaxReferences => throw
ExceptionUtilities
.Unreachable();
116
public override Accessibility DeclaredAccessibility => throw
ExceptionUtilities
.Unreachable();
120
public override bool IsAbstract => throw
ExceptionUtilities
.Unreachable();
122
public override bool IsSealed => throw
ExceptionUtilities
.Unreachable();
126
internal override bool IsRecord => throw
ExceptionUtilities
.Unreachable();
128
internal override bool IsRecordStruct => throw
ExceptionUtilities
.Unreachable();
130
internal override ObsoleteAttributeData ObsoleteAttributeData => throw
ExceptionUtilities
.Unreachable();
132
public override void Accept(CSharpSymbolVisitor visitor) => throw
ExceptionUtilities
.Unreachable();
134
public override TResult Accept<TResult>(CSharpSymbolVisitor<TResult> visitor) => throw
ExceptionUtilities
.Unreachable();
136
public override ImmutableArray<Symbol> GetMembers() => throw
ExceptionUtilities
.Unreachable();
138
public override ImmutableArray<Symbol> GetMembers(string name) => throw
ExceptionUtilities
.Unreachable();
140
public override ImmutableArray<NamedTypeSymbol> GetTypeMembers() => throw
ExceptionUtilities
.Unreachable();
142
public override ImmutableArray<NamedTypeSymbol> GetTypeMembers(string name) => throw
ExceptionUtilities
.Unreachable();
144
protected override ISymbol CreateISymbol() => throw
ExceptionUtilities
.Unreachable();
146
protected override ITypeSymbol CreateITypeSymbol(CodeAnalysis.NullableAnnotation nullableAnnotation) => throw
ExceptionUtilities
.Unreachable();
148
internal override TResult Accept<TArgument, TResult>(CSharpSymbolVisitor<TArgument, TResult> visitor, TArgument a) => throw
ExceptionUtilities
.Unreachable();
150
internal override void AddNullableTransforms(ArrayBuilder<byte> transforms) => throw
ExceptionUtilities
.Unreachable();
152
internal override bool ApplyNullableTransforms(byte defaultTransformFlag, ImmutableArray<byte> transforms, ref int position, out TypeSymbol result) => throw
ExceptionUtilities
.Unreachable();
154
internal override ManagedKind GetManagedKind(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => throw
ExceptionUtilities
.Unreachable();
156
internal override bool GetUnificationUseSiteDiagnosticRecursive(ref DiagnosticInfo result, Symbol owner, ref HashSet<TypeSymbol> checkedTypes) => throw
ExceptionUtilities
.Unreachable();
197
internal override IEnumerable<(MethodSymbol Body, MethodSymbol Implemented)> SynthesizedInterfaceMethodImpls() => throw
ExceptionUtilities
.Unreachable();
Symbols\MemberSignatureComparer.cs (1)
787
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\MemberSymbolExtensions.cs (11)
44
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
62
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
76
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
94
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
110
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
236
throw
ExceptionUtilities
.UnexpectedValue(m.Kind);
282
throw
ExceptionUtilities
.UnexpectedValue(s.Kind);
336
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
354
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
579
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
609
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
139
throw
ExceptionUtilities
.UnexpectedValue(memberRefOrMethodDef.Kind);
Symbols\Metadata\PE\MetadataDecoder.cs (2)
148
throw
ExceptionUtilities
.Unreachable();
268
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
Symbols\Metadata\PE\PEMethodSymbol.cs (8)
459
throw
ExceptionUtilities
.Unreachable();
1053
throw
ExceptionUtilities
.Unreachable();
1116
throw
ExceptionUtilities
.UnexpectedValue(kind);
1524
throw
ExceptionUtilities
.Unreachable();
1613
throw
ExceptionUtilities
.Unreachable();
1618
throw
ExceptionUtilities
.Unreachable();
1623
get { throw
ExceptionUtilities
.Unreachable(); }
1635
internal sealed override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\Metadata\PE\PEModuleSymbol.cs (3)
159
throw
ExceptionUtilities
.Unreachable();
680
throw
ExceptionUtilities
.Unreachable();
809
throw
ExceptionUtilities
.UnexpectedValue(nullableMemberMetadata);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (9)
323
throw
ExceptionUtilities
.Unreachable();
660
throw
ExceptionUtilities
.UnexpectedValue(_flags & TypeAttributes.VisibilityMask);
746
throw
ExceptionUtilities
.Unreachable();
1139
throw
ExceptionUtilities
.Unreachable();
1696
get { throw
ExceptionUtilities
.Unreachable(); }
2299
throw
ExceptionUtilities
.Unreachable();
2464
=> throw
ExceptionUtilities
.Unreachable();
2544
=> throw
ExceptionUtilities
.Unreachable();
2588
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1134
_ => throw
ExceptionUtilities
.UnexpectedValue(this.ContainingSymbol.Kind)
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
200
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
146
_ => throw
ExceptionUtilities
.UnexpectedValue(underlyingType.SpecialType),
Symbols\MethodSymbol.cs (3)
282
throw
ExceptionUtilities
.Unreachable();
618
throw
ExceptionUtilities
.UnexpectedValue(kind);
1102
throw
ExceptionUtilities
.Unreachable();
Symbols\MethodSymbolExtensions.cs (1)
116
throw
ExceptionUtilities
.UnexpectedValue(hidingMemberKind);
Symbols\MissingAssemblySymbol.cs (3)
122
throw
ExceptionUtilities
.Unreachable();
132
throw
ExceptionUtilities
.Unreachable();
180
throw
ExceptionUtilities
.Unreachable();
Symbols\MissingMetadataTypeSymbol.cs (1)
446
throw
ExceptionUtilities
.Unreachable();
Symbols\MissingModuleSymbol.cs (3)
165
throw
ExceptionUtilities
.Unreachable();
175
throw
ExceptionUtilities
.Unreachable();
197
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\ModuleSymbol.cs (1)
338
throw
ExceptionUtilities
.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (9)
152
internal override ImmutableArray<Symbol> GetEarlyAttributeDecodingMembers() => throw
ExceptionUtilities
.Unreachable();
154
internal override ImmutableArray<Symbol> GetEarlyAttributeDecodingMembers(string name) => throw
ExceptionUtilities
.Unreachable();
156
internal override IEnumerable<FieldSymbol> GetFieldsToEmit() => throw
ExceptionUtilities
.Unreachable();
158
internal override ImmutableArray<NamedTypeSymbol> GetInterfacesToEmit() => throw
ExceptionUtilities
.Unreachable();
162
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) => throw
ExceptionUtilities
.Unreachable();
171
public override bool AreLocalsZeroed => throw
ExceptionUtilities
.Unreachable();
175
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
356
throw
ExceptionUtilities
.Unreachable();
359
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\NullableAnnotationExtensions.cs (3)
72
_ => throw
ExceptionUtilities
.UnexpectedValue(variance)
142
_ => throw
ExceptionUtilities
.UnexpectedValue(annotation)
154
_ => throw
ExceptionUtilities
.UnexpectedValue(annotation)
Symbols\NullableContextKind.cs (2)
65
throw
ExceptionUtilities
.UnexpectedValue(kind);
82
throw
ExceptionUtilities
.UnexpectedValue(value);
Symbols\NullableFlowStateExtensions.cs (2)
35
_ => throw
ExceptionUtilities
.UnexpectedValue(nullableFlowState)
45
_ => throw
ExceptionUtilities
.UnexpectedValue(flowState)
Symbols\OverriddenOrHiddenMembersHelpers.cs (3)
883
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
905
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
923
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\OverriddenOrHiddenMembersResult.cs (1)
77
throw
ExceptionUtilities
.Unreachable();
Symbols\PlaceholderTypeArgumentSymbol.cs (1)
31
throw
ExceptionUtilities
.Unreachable();
Symbols\PublicModel\MethodSymbol.cs (1)
73
throw
ExceptionUtilities
.UnexpectedValue(_underlying.MethodKind);
Symbols\ReducedExtensionMethodSymbol.cs (10)
325
get { throw
ExceptionUtilities
.Unreachable(); }
572
throw
ExceptionUtilities
.Unreachable();
575
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
590
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
636
get { throw
ExceptionUtilities
.Unreachable(); }
642
get { throw
ExceptionUtilities
.Unreachable(); }
648
get { throw
ExceptionUtilities
.Unreachable(); }
654
get { throw
ExceptionUtilities
.Unreachable(); }
657
internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => throw
ExceptionUtilities
.Unreachable();
659
internal override bool HasInterpolatedStringHandlerArgumentError => throw
ExceptionUtilities
.Unreachable();
Symbols\RefKindExtensions.cs (2)
34
throw
ExceptionUtilities
.UnexpectedValue(syntaxKind);
49
throw
ExceptionUtilities
.UnexpectedValue(refKind);
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
216
throw
ExceptionUtilities
.Unreachable();
Symbols\Retargeting\RetargetingMethodSymbol.cs (2)
375
throw
ExceptionUtilities
.Unreachable();
378
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
316
throw
ExceptionUtilities
.Unreachable();
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (2)
389
get { throw
ExceptionUtilities
.Unreachable(); }
394
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Retargeting\RetargetingSymbolTranslator.cs (3)
686
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
1093
throw
ExceptionUtilities
.Unreachable();
1393
throw
ExceptionUtilities
.Unreachable();
Symbols\SignatureOnlyMethodSymbol.cs (32)
97
internal sealed override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
101
internal override bool GenerateDebugInfo { get { throw
ExceptionUtilities
.Unreachable(); } }
103
internal override bool HasSpecialName { get { throw
ExceptionUtilities
.Unreachable(); } }
105
internal override System.Reflection.MethodImplAttributes ImplementationAttributes { get { throw
ExceptionUtilities
.Unreachable(); } }
107
internal override bool RequiresSecurityObject { get { throw
ExceptionUtilities
.Unreachable(); } }
111
internal override MarshalPseudoCustomAttributeData ReturnValueMarshallingInformation { get { throw
ExceptionUtilities
.Unreachable(); } }
113
internal override bool HasDeclarativeSecurity { get { throw
ExceptionUtilities
.Unreachable(); } }
115
internal override IEnumerable<Microsoft.Cci.SecurityAttribute> GetSecurityInformation() { throw
ExceptionUtilities
.Unreachable(); }
117
internal override ObsoleteAttributeData ObsoleteAttributeData { get { throw
ExceptionUtilities
.Unreachable(); } }
119
internal sealed override UnmanagedCallersOnlyAttributeData GetUnmanagedCallersOnlyAttributeData(bool forceComplete) => throw
ExceptionUtilities
.Unreachable();
121
internal override ImmutableArray<string> GetAppliedConditionalSymbols() { throw
ExceptionUtilities
.Unreachable(); }
123
public override ImmutableArray<TypeWithAnnotations> TypeArgumentsWithAnnotations { get { throw
ExceptionUtilities
.Unreachable(); } }
125
public override Symbol AssociatedSymbol { get { throw
ExceptionUtilities
.Unreachable(); } }
127
public override bool IsExtensionMethod { get { throw
ExceptionUtilities
.Unreachable(); } }
129
public override bool HidesBaseMethodsByName { get { throw
ExceptionUtilities
.Unreachable(); } }
131
public override ImmutableArray<Location> Locations { get { throw
ExceptionUtilities
.Unreachable(); } }
133
public override ImmutableArray<SyntaxReference> DeclaringSyntaxReferences { get { throw
ExceptionUtilities
.Unreachable(); } }
135
public override Accessibility DeclaredAccessibility { get { throw
ExceptionUtilities
.Unreachable(); } }
139
public override bool IsAsync { get { throw
ExceptionUtilities
.Unreachable(); } }
141
public override bool IsVirtual { get { throw
ExceptionUtilities
.Unreachable(); } }
143
public override bool IsOverride { get { throw
ExceptionUtilities
.Unreachable(); } }
145
public override bool IsAbstract { get { throw
ExceptionUtilities
.Unreachable(); } }
147
public override bool IsSealed { get { throw
ExceptionUtilities
.Unreachable(); } }
149
public override bool IsExtern { get { throw
ExceptionUtilities
.Unreachable(); } }
151
public override bool AreLocalsZeroed { get { throw
ExceptionUtilities
.Unreachable(); } }
153
public override AssemblySymbol ContainingAssembly { get { throw
ExceptionUtilities
.Unreachable(); } }
155
internal override ModuleSymbol ContainingModule { get { throw
ExceptionUtilities
.Unreachable(); } }
157
internal sealed override bool IsMetadataNewSlot(bool ignoreInterfaceImplementationChanges = false) { throw
ExceptionUtilities
.Unreachable(); }
159
internal sealed override bool IsMetadataVirtual(bool ignoreInterfaceImplementationChanges = false) { throw
ExceptionUtilities
.Unreachable(); }
165
throw
ExceptionUtilities
.Unreachable();
173
internal override int CalculateLocalSyntaxOffset(int localPosition, SyntaxTree localTree) { throw
ExceptionUtilities
.Unreachable(); }
175
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\SignatureOnlyParameterSymbol.cs (21)
60
internal override bool IsMetadataIn { get { throw
ExceptionUtilities
.Unreachable(); } }
62
internal override bool IsMetadataOut { get { throw
ExceptionUtilities
.Unreachable(); } }
64
internal override MarshalPseudoCustomAttributeData MarshallingInformation { get { throw
ExceptionUtilities
.Unreachable(); } }
66
public override int Ordinal { get { throw
ExceptionUtilities
.Unreachable(); } }
68
internal override bool IsMetadataOptional { get { throw
ExceptionUtilities
.Unreachable(); } }
70
internal override ConstantValue ExplicitDefaultConstantValue { get { throw
ExceptionUtilities
.Unreachable(); } }
72
internal override bool IsIDispatchConstant { get { throw
ExceptionUtilities
.Unreachable(); } }
74
internal override bool IsIUnknownConstant { get { throw
ExceptionUtilities
.Unreachable(); } }
76
internal override bool IsCallerFilePath { get { throw
ExceptionUtilities
.Unreachable(); } }
78
internal override bool IsCallerLineNumber { get { throw
ExceptionUtilities
.Unreachable(); } }
80
internal override bool IsCallerMemberName { get { throw
ExceptionUtilities
.Unreachable(); } }
82
internal override int CallerArgumentExpressionParameterIndex { get { throw
ExceptionUtilities
.Unreachable(); } }
84
internal override FlowAnalysisAnnotations FlowAnalysisAnnotations { get { throw
ExceptionUtilities
.Unreachable(); } }
86
internal override ImmutableHashSet<string> NotNullIfParameterNotNull { get { throw
ExceptionUtilities
.Unreachable(); } }
88
public override Symbol ContainingSymbol { get { throw
ExceptionUtilities
.Unreachable(); } }
90
public override ImmutableArray<Location> Locations { get { throw
ExceptionUtilities
.Unreachable(); } }
92
public override ImmutableArray<SyntaxReference> DeclaringSyntaxReferences { get { throw
ExceptionUtilities
.Unreachable(); } }
94
public override AssemblySymbol ContainingAssembly { get { throw
ExceptionUtilities
.Unreachable(); } }
96
internal override ModuleSymbol ContainingModule { get { throw
ExceptionUtilities
.Unreachable(); } }
98
internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => throw
ExceptionUtilities
.Unreachable();
100
internal override bool HasInterpolatedStringHandlerArgumentError => throw
ExceptionUtilities
.Unreachable();
Symbols\SignatureOnlyPropertySymbol.cs (17)
70
internal override bool HasSpecialName { get { throw
ExceptionUtilities
.Unreachable(); } }
72
internal override Cci.CallingConvention CallingConvention { get { throw
ExceptionUtilities
.Unreachable(); } }
74
public override ImmutableArray<Location> Locations { get { throw
ExceptionUtilities
.Unreachable(); } }
76
public override ImmutableArray<SyntaxReference> DeclaringSyntaxReferences { get { throw
ExceptionUtilities
.Unreachable(); } }
78
public override Accessibility DeclaredAccessibility { get { throw
ExceptionUtilities
.Unreachable(); } }
80
public override bool IsVirtual { get { throw
ExceptionUtilities
.Unreachable(); } }
84
public override bool IsAbstract { get { throw
ExceptionUtilities
.Unreachable(); } }
86
public override bool IsSealed { get { throw
ExceptionUtilities
.Unreachable(); } }
88
public override bool IsExtern { get { throw
ExceptionUtilities
.Unreachable(); } }
90
internal override bool IsRequired => throw
ExceptionUtilities
.Unreachable();
92
internal override ObsoleteAttributeData ObsoleteAttributeData { get { throw
ExceptionUtilities
.Unreachable(); } }
94
public override AssemblySymbol ContainingAssembly { get { throw
ExceptionUtilities
.Unreachable(); } }
96
internal override ModuleSymbol ContainingModule { get { throw
ExceptionUtilities
.Unreachable(); } }
98
internal override bool MustCallMethodsDirectly { get { throw
ExceptionUtilities
.Unreachable(); } }
100
public override MethodSymbol SetMethod { get { throw
ExceptionUtilities
.Unreachable(); } }
102
public override MethodSymbol GetMethod { get { throw
ExceptionUtilities
.Unreachable(); } }
104
public override bool IsIndexer { get { throw
ExceptionUtilities
.Unreachable(); } }
Symbols\Source\AttributeLocation.cs (1)
94
throw
ExceptionUtilities
.UnexpectedValue(i);
Symbols\Source\CrefTypeParameterSymbol.cs (2)
205
throw
ExceptionUtilities
.Unreachable();
211
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
140
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\GlobalExpressionVariable.cs (1)
158
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\ImplicitNamedTypeSymbol.cs (3)
32
=> throw
ExceptionUtilities
.Unreachable();
153
throw
ExceptionUtilities
.Unreachable();
170
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\LambdaSymbol.cs (2)
412
throw
ExceptionUtilities
.Unreachable();
415
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\LocalFunctionSymbol.cs (2)
351
throw
ExceptionUtilities
.Unreachable();
478
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\ModifierUtils.cs (2)
329
throw
ExceptionUtilities
.UnexpectedValue(modifier);
382
throw
ExceptionUtilities
.UnexpectedValue(kind);
Symbols\Source\ParameterHelpers.cs (1)
588
throw
ExceptionUtilities
.UnexpectedValue(modifier.Kind());
Symbols\Source\SourceAssemblySymbol.cs (4)
1665
_ => throw
ExceptionUtilities
.UnexpectedValue(attribute)
1850
throw
ExceptionUtilities
.Unreachable();
1864
throw
ExceptionUtilities
.Unreachable();
2073
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\Source\SourceClonedParameterSymbol.cs (2)
148
internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => throw
ExceptionUtilities
.Unreachable();
150
internal override bool HasInterpolatedStringHandlerArgumentError => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1309
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceConstructorSymbolBase.cs (1)
242
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceCustomEventSymbol.cs (1)
121
throw
ExceptionUtilities
.UnexpectedValue(accessor.Kind());
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
34
internal sealed override ExecutableCodeBinder TryGetBodyBinder(BinderFactory binderFactoryOpt = null, bool ignoreAccessibility = false) => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceEventSymbol.cs (1)
145
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
Symbols\Source\SourceFixedFieldSymbol.cs (1)
240
=> throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceLocalSymbol.cs (3)
242
throw
ExceptionUtilities
.Unreachable();
459
throw
ExceptionUtilities
.UnexpectedValue(_declarationKind);
769
throw
ExceptionUtilities
.UnexpectedValue(_nodeToBind.Parent);
Symbols\Source\SourceMemberContainerSymbol.cs (6)
673
throw
ExceptionUtilities
.Unreachable();
1088
throw
ExceptionUtilities
.Unreachable();
1108
throw
ExceptionUtilities
.Unreachable();
3407
throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind());
3814
throw
ExceptionUtilities
.UnexpectedValue(meth.MethodKind);
3825
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (4)
308
throw
ExceptionUtilities
.UnexpectedValue(matchResult);
524
throw
ExceptionUtilities
.UnexpectedValue(this.TypeKind);
1010
throw
ExceptionUtilities
.Unreachable();
1656
throw
ExceptionUtilities
.UnexpectedValue(hidingMember.DeclaredAccessibility);
Symbols\Source\SourceMethodSymbol.cs (1)
83
protected override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
984
throw
ExceptionUtilities
.UnexpectedValue(type.ManagedKindNoUseSiteDiagnostics);
1092
var unexpected => throw
ExceptionUtilities
.UnexpectedValue(unexpected)
Symbols\Source\SourceNamedTypeSymbol.cs (2)
181
throw
ExceptionUtilities
.UnexpectedValue(typeDecl.Kind());
486
throw
ExceptionUtilities
.UnexpectedValue(node.Kind());
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
614
throw
ExceptionUtilities
.UnexpectedValue(baseType.TypeKind);
750
throw
ExceptionUtilities
.UnexpectedValue(typeKind);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (8)
57
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
84
throw
ExceptionUtilities
.Unreachable();
126
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
157
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
189
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
221
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
428
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
559
throw
ExceptionUtilities
.UnexpectedValue(declarationSyntax);
Symbols\Source\SourceNamespaceSymbol.cs (1)
446
throw
ExceptionUtilities
.UnexpectedValue(declaration.Kind);
Symbols\Source\SourcePropertySymbol.cs (4)
152
_ => throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind())
221
throw
ExceptionUtilities
.UnexpectedValue(accessor.Kind());
249
throw
ExceptionUtilities
.Unreachable();
264
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\SourceTypeParameterSymbol.cs (1)
293
throw
ExceptionUtilities
.UnexpectedValue(this.ContainingSymbol);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
313
throw
ExceptionUtilities
.Unreachable();
830
throw
ExceptionUtilities
.Unreachable();
Symbols\Source\TypeParameterConstraintClause.cs (1)
113
ExceptionUtilities
.UnexpectedValue(constraints); // This call asserts.
Symbols\SubstitutedMethodSymbol.cs (2)
355
throw
ExceptionUtilities
.Unreachable();
358
internal override bool IsNullableAnalysisEnabled() => throw
ExceptionUtilities
.Unreachable();
Symbols\SubstitutedNamedTypeSymbol.cs (7)
160
throw
ExceptionUtilities
.Unreachable();
356
throw
ExceptionUtilities
.Unreachable();
414
throw
ExceptionUtilities
.Unreachable();
419
throw
ExceptionUtilities
.Unreachable();
424
throw
ExceptionUtilities
.Unreachable();
429
throw
ExceptionUtilities
.Unreachable();
434
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Symbol.cs (3)
570
throw
ExceptionUtilities
.UnexpectedValue(this.Kind);
1591
throw
ExceptionUtilities
.UnexpectedValue(variable);
1594
throw
ExceptionUtilities
.UnexpectedValue(variable.Kind);
Symbols\Symbol_Attributes.cs (2)
90
throw
ExceptionUtilities
.UnexpectedValue(namedType.TypeKind);
713
throw
ExceptionUtilities
.UnexpectedValue(attributeTarget.DefaultAttributeLocation);
Symbols\SymbolDistinguisher.cs (1)
83
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
Symbols\SymbolExtensions.cs (2)
210
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
528
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
Symbols\SymbolKindExtensions.cs (1)
43
throw
ExceptionUtilities
.UnexpectedValue(kind);
Symbols\Synthesized\GeneratedNameParser.cs (1)
240
static byte @throw(char c) => throw
ExceptionUtilities
.UnexpectedValue(c);
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
137
throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (1)
80
_ => throw
ExceptionUtilities
.Unreachable()
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (2)
71
throw
ExceptionUtilities
.Unreachable();
164
internal override ExecutableCodeBinder? TryGetBodyBinder(BinderFactory? binderFactoryOpt = null, bool ignoreAccessibility = false) => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
61
internal sealed override ExecutableCodeBinder? TryGetBodyBinder(BinderFactory? binderFactoryOpt = null, bool ignoreAccessibility = false) => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
88
internal sealed override ExecutableCodeBinder? TryGetBodyBinder(BinderFactory? binderFactoryOpt = null, bool ignoreAccessibility = false) => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
204
_ => throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
Symbols\Synthesized\RefKindVector.cs (1)
60
_ => throw
ExceptionUtilities
.UnexpectedValue(value)
Symbols\Synthesized\SynthesizedContainer.cs (3)
78
=> throw
ExceptionUtilities
.Unreachable();
192
throw
ExceptionUtilities
.Unreachable();
201
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (2)
130
throw
ExceptionUtilities
.Unreachable();
263
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (2)
132
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) => throw
ExceptionUtilities
.Unreachable();
189
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (3)
272
throw
ExceptionUtilities
.Unreachable();
282
throw
ExceptionUtilities
.Unreachable();
310
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (3)
141
throw
ExceptionUtilities
.Unreachable();
334
throw
ExceptionUtilities
.Unreachable();
339
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedImplementationMethod.cs (2)
261
throw
ExceptionUtilities
.Unreachable();
269
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
119
throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
71
throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (2)
220
throw
ExceptionUtilities
.Unreachable();
279
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
160
get { throw
ExceptionUtilities
.Unreachable(); }
412
throw
ExceptionUtilities
.Unreachable();
417
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedParameterSymbol.cs (5)
87
get { throw
ExceptionUtilities
.Unreachable(); }
92
get { throw
ExceptionUtilities
.Unreachable(); }
97
get { throw
ExceptionUtilities
.Unreachable(); }
102
get { throw
ExceptionUtilities
.Unreachable(); }
107
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
353
throw
ExceptionUtilities
.Unreachable();
Symbols\Synthesized\SynthesizedStaticConstructor.cs (2)
360
throw
ExceptionUtilities
.Unreachable();
432
protected sealed override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\Tuples\TupleTypeSymbol.cs (5)
50
throw
ExceptionUtilities
.Unreachable();
320
throw
ExceptionUtilities
.Unreachable();
348
throw
ExceptionUtilities
.Unreachable();
706
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
1097
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
Symbols\TypeSymbol.cs (10)
1574
throw
ExceptionUtilities
.UnexpectedValue(interfaceMethod.MethodKind);
1930
throw
ExceptionUtilities
.UnexpectedValue(interfaceMember.Kind);
1978
throw
ExceptionUtilities
.UnexpectedValue(interfaceMember.Kind);
2400
throw
ExceptionUtilities
.Unreachable();
2417
=> throw
ExceptionUtilities
.Unreachable();
2421
=> throw
ExceptionUtilities
.Unreachable();
2425
=> throw
ExceptionUtilities
.Unreachable();
2429
=> throw
ExceptionUtilities
.Unreachable();
2433
=> throw
ExceptionUtilities
.Unreachable();
2437
=> throw
ExceptionUtilities
.Unreachable();
Symbols\TypeSymbolExtensions.cs (3)
853
throw
ExceptionUtilities
.UnexpectedValue(current.TypeKind);
1086
throw
ExceptionUtilities
.UnexpectedValue(acc1);
1417
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
Symbols\TypeWithAnnotations.cs (1)
160
throw
ExceptionUtilities
.UnexpectedValue(NullableAnnotation);
Symbols\UpdatedContainingSymbolLocal.cs (1)
106
) => throw
ExceptionUtilities
.Unreachable();
Symbols\VarianceSafety.cs (3)
83
throw
ExceptionUtilities
.UnexpectedValue(member.TypeKind);
409
throw
ExceptionUtilities
.UnexpectedValue(typeParam.Variance);
458
throw
ExceptionUtilities
.UnexpectedValue(unsafeTypeParameter.Variance);
Syntax\CSharpLineDirectiveMap.cs (2)
214
throw
ExceptionUtilities
.UnexpectedValue(entry.State);
220
=> throw
ExceptionUtilities
.Unreachable();
Syntax\CSharpPragmaWarningStateMap.cs (1)
105
var kind => throw
ExceptionUtilities
.UnexpectedValue(kind)
Syntax\CSharpSyntaxNode.cs (1)
471
throw
ExceptionUtilities
.Unreachable();
Syntax\CSharpSyntaxTree.cs (1)
286
throw
ExceptionUtilities
.UnexpectedValue(directive.Kind());
Syntax\CSharpSyntaxTree.Dummy.cs (1)
61
=> throw
ExceptionUtilities
.Unreachable();
Syntax\DirectiveTriviaSyntax.cs (1)
62
throw
ExceptionUtilities
.UnexpectedValue(this.Kind());
Syntax\InternalSyntax\SyntaxToken.cs (2)
83
throw
ExceptionUtilities
.Unreachable();
477
throw
ExceptionUtilities
.Unreachable();
Syntax\InternalSyntax\SyntaxTrivia.cs (2)
64
throw
ExceptionUtilities
.Unreachable();
133
throw
ExceptionUtilities
.Unreachable();
Syntax\LambdaUtilities.cs (2)
119
throw
ExceptionUtilities
.UnexpectedValue(newLambda.Kind());
128
_ => throw
ExceptionUtilities
.UnexpectedValue(nestedFunction),
Syntax\LookupPosition.cs (2)
368
throw
ExceptionUtilities
.UnexpectedValue(statement.Kind());
451
throw
ExceptionUtilities
.UnexpectedValue(statement.Kind());
Syntax\NullableContextStateMap.cs (2)
159
var kind => throw
ExceptionUtilities
.UnexpectedValue(kind),
167
var kind => throw
ExceptionUtilities
.UnexpectedValue(kind)
Syntax\SyntaxExtensions.cs (4)
54
ExceptionUtilities
.UnexpectedValue(node.Kind());
152
throw
ExceptionUtilities
.UnexpectedValue(parentKind);
173
throw
ExceptionUtilities
.UnexpectedValue(parentName);
484
throw
ExceptionUtilities
.UnexpectedValue(type.Kind());
Syntax\SyntaxFacts.cs (2)
101
throw
ExceptionUtilities
.Unreachable();
377
throw
ExceptionUtilities
.UnexpectedValue(accessibility);
Syntax\SyntaxKindExtensions.cs (1)
49
throw
ExceptionUtilities
.UnexpectedValue(kind);
Syntax\TypeDeclarationSyntax.cs (3)
63
throw
ExceptionUtilities
.UnexpectedValue(kind);
81
throw
ExceptionUtilities
.UnexpectedValue(kind);
134
throw
ExceptionUtilities
.UnexpectedValue(kind);
Utilities\TypeSymbolExtensions.cs (1)
276
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
Utilities\ValueSetFactory.BoolValueSetFactory.cs (1)
48
_ => throw
ExceptionUtilities
.UnexpectedValue("random"),
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
67
throw
ExceptionUtilities
.Unreachable();
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
89
throw
ExceptionUtilities
.UnexpectedValue(relation);
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
49
throw
ExceptionUtilities
.UnexpectedValue(relation);
Utilities\ValueSetFactory.NumericValueSet.cs (2)
86
throw
ExceptionUtilities
.UnexpectedValue(relation);
127
throw
ExceptionUtilities
.UnexpectedValue(relation);
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
49
throw
ExceptionUtilities
.UnexpectedValue(relation);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
12799
_ => throw
ExceptionUtilities
.UnexpectedValue(expectedDiagnosticSeverity)
13220
throw
ExceptionUtilities
.UnexpectedValue(expectedEffectiveSeverity);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (2)
27525
throw
ExceptionUtilities
.UnexpectedValue(expectedValue);
27545
throw
ExceptionUtilities
.UnexpectedValue(expectedValue);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Attributes\AttributeTests_IsUnmanaged.cs (1)
850
throw
ExceptionUtilities
.UnexpectedValue(accessibility);
Diagnostics\DiagnosticAnalyzerTests.cs (3)
376
throw
ExceptionUtilities
.Unreachable();
1060
throw
ExceptionUtilities
.Unreachable();
4085
throw
ExceptionUtilities
.Unreachable();
Diagnostics\GetDiagnosticsTests.cs (2)
960
_ => throw
ExceptionUtilities
.UnexpectedValue(basePropertyDecl.Kind()),
971
_ => throw
ExceptionUtilities
.UnexpectedValue(baseMethodDecl.Kind()),
Emit\NumericIntPtrTests.cs (1)
7004
_ => throw
ExceptionUtilities
.Unreachable()
Semantics\PatternMatchingTestBase.cs (1)
458
var v => throw
ExceptionUtilities
.UnexpectedValue(v)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (75)
Binders\PlaceholderLocalBinder.cs (3)
84
throw
ExceptionUtilities
.UnexpectedValue(valueText);
115
throw
ExceptionUtilities
.Unreachable();
120
throw
ExceptionUtilities
.Unreachable();
CompilationContext.cs (1)
1157
throw
ExceptionUtilities
.UnexpectedValue(importRecord.TargetKind);
Rewriters\CapturedVariableRewriter.cs (1)
72
throw
ExceptionUtilities
.Unreachable();
Symbols\DisplayClassVariable.cs (12)
124
get { throw
ExceptionUtilities
.Unreachable(); }
134
get { throw
ExceptionUtilities
.Unreachable(); }
139
get { throw
ExceptionUtilities
.Unreachable(); }
162
internal override bool IsRequired => throw
ExceptionUtilities
.Unreachable();
171
get { throw
ExceptionUtilities
.Unreachable(); }
181
get { throw
ExceptionUtilities
.Unreachable(); }
186
get { throw
ExceptionUtilities
.Unreachable(); }
191
get { throw
ExceptionUtilities
.Unreachable(); }
196
get { throw
ExceptionUtilities
.Unreachable(); }
201
get { throw
ExceptionUtilities
.Unreachable(); }
206
get { throw
ExceptionUtilities
.Unreachable(); }
211
throw
ExceptionUtilities
.Unreachable();
Symbols\EEDisplayClassFieldLocalSymbol.cs (1)
47
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\EELocalConstantSymbol.cs (1)
59
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\EELocalSymbol.cs (1)
101
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\EELocalSymbolBase.cs (2)
65
throw
ExceptionUtilities
.Unreachable();
75
throw
ExceptionUtilities
.Unreachable();
Symbols\EEMethodSymbol.cs (6)
280
throw
ExceptionUtilities
.Unreachable();
374
throw
ExceptionUtilities
.Unreachable();
456
get { throw
ExceptionUtilities
.Unreachable(); }
459
internal sealed override UnmanagedCallersOnlyAttributeData GetUnmanagedCallersOnlyAttributeData(bool forceComplete) => throw
ExceptionUtilities
.Unreachable();
746
throw
ExceptionUtilities
.UnexpectedValue(bodyOpt.Kind);
757
protected override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\EENamedTypeSymbol.cs (12)
98
=> throw
ExceptionUtilities
.Unreachable();
147
throw
ExceptionUtilities
.Unreachable();
166
get { throw
ExceptionUtilities
.Unreachable(); }
191
throw
ExceptionUtilities
.Unreachable();
196
throw
ExceptionUtilities
.Unreachable();
206
throw
ExceptionUtilities
.Unreachable();
211
throw
ExceptionUtilities
.Unreachable();
221
throw
ExceptionUtilities
.Unreachable();
271
throw
ExceptionUtilities
.Unreachable();
276
throw
ExceptionUtilities
.Unreachable();
286
throw
ExceptionUtilities
.Unreachable();
351
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Symbols\EETypeParameterSymbol.cs (3)
49
get { throw
ExceptionUtilities
.Unreachable(); }
113
get { throw
ExceptionUtilities
.Unreachable(); }
123
get { throw
ExceptionUtilities
.Unreachable(); }
Symbols\PlaceholderLocalSymbol.cs (3)
80
throw
ExceptionUtilities
.UnexpectedValue(alias.Kind);
91
get { throw
ExceptionUtilities
.Unreachable(); }
145
throw
ExceptionUtilities
.Unreachable();
Symbols\PlaceholderMethodSymbol.cs (8)
67
get { throw
ExceptionUtilities
.Unreachable(); }
216
get { throw
ExceptionUtilities
.Unreachable(); }
219
internal sealed override UnmanagedCallersOnlyAttributeData GetUnmanagedCallersOnlyAttributeData(bool forceComplete) => throw
ExceptionUtilities
.Unreachable();
242
get { throw
ExceptionUtilities
.Unreachable(); }
247
throw
ExceptionUtilities
.Unreachable();
252
throw
ExceptionUtilities
.Unreachable();
275
throw
ExceptionUtilities
.Unreachable();
280
protected override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Symbols\SimpleTypeParameterSymbol.cs (5)
102
get { throw
ExceptionUtilities
.Unreachable(); }
107
get { throw
ExceptionUtilities
.Unreachable(); }
121
throw
ExceptionUtilities
.Unreachable();
126
throw
ExceptionUtilities
.Unreachable();
131
throw
ExceptionUtilities
.Unreachable();
Symbols\SynthesizedContextMethodSymbol.cs (16)
107
get { throw
ExceptionUtilities
.Unreachable(); }
132
get { throw
ExceptionUtilities
.Unreachable(); }
141
get { throw
ExceptionUtilities
.Unreachable(); }
156
get { throw
ExceptionUtilities
.Unreachable(); }
161
get { throw
ExceptionUtilities
.Unreachable(); }
166
get { throw
ExceptionUtilities
.Unreachable(); }
171
get { throw
ExceptionUtilities
.Unreachable(); }
176
get { throw
ExceptionUtilities
.Unreachable(); }
181
get { throw
ExceptionUtilities
.Unreachable(); }
186
get { throw
ExceptionUtilities
.Unreachable(); }
191
throw
ExceptionUtilities
.Unreachable();
196
throw
ExceptionUtilities
.Unreachable();
201
throw
ExceptionUtilities
.Unreachable();
214
throw
ExceptionUtilities
.Unreachable();
219
throw
ExceptionUtilities
.Unreachable();
222
protected override bool HasSetsRequiredMembersImpl => throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (6)
MissingAssemblyTests.cs (5)
423
throw
ExceptionUtilities
.Unreachable();
450
throw
ExceptionUtilities
.Unreachable();
461
throw
ExceptionUtilities
.Unreachable();
481
throw
ExceptionUtilities
.Unreachable();
768
throw
ExceptionUtilities
.Unreachable();
WinMdTests.cs (1)
358
throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\InterpolationTests.cs (1)
4735
_ => throw
ExceptionUtilities
.Unreachable()
Semantics\NativeIntegerTests.cs (2)
585
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
619
throw
ExceptionUtilities
.UnexpectedValue(nativeIntegerMember.Kind);
Semantics\OperatorTests.cs (2)
3254
_ => throw
ExceptionUtilities
.UnexpectedValue(node.Text)
8791
throw Roslyn.Utilities.
ExceptionUtilities
.UnexpectedValue(i);
Semantics\RawInterpolationTests_Handler.cs (1)
3062
_ => throw
ExceptionUtilities
.Unreachable()
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\CovariantReturnTests.cs (1)
507
throw
ExceptionUtilities
.Unreachable();
Symbols\MockNamedTypeSymbol.cs (2)
231
throw
ExceptionUtilities
.Unreachable();
327
internal sealed override NamedTypeSymbol AsNativeInteger() => throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTreeTests.cs (1)
91
_ => throw
ExceptionUtilities
.UnexpectedValue(factoryKind)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (7)
CompilationTestUtils.cs (1)
284
throw
ExceptionUtilities
.UnexpectedValue(node);
Extensions.cs (3)
722
throw
ExceptionUtilities
.UnexpectedValue(member.Kind);
789
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
815
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
NullableAttributesVisitor.cs (2)
121
throw
ExceptionUtilities
.Unreachable();
126
throw
ExceptionUtilities
.Unreachable();
UsesIsNullableVisitor.cs (1)
207
throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Metadata\WinMdDumpTest.cs (1)
335
throw
ExceptionUtilities
.UnexpectedValue(constant.Kind);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (18)
AbstractTypeParameterChecker.cs (3)
148
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
153
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
158
throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind);
DkmUtilities.cs (2)
98
throw
ExceptionUtilities
.Unreachable();
327
throw
ExceptionUtilities
.UnexpectedValue(accessibility);
EEMetadataReferenceResolver.cs (4)
49
=> throw
ExceptionUtilities
.Unreachable();
52
=> throw
ExceptionUtilities
.Unreachable();
55
=> throw
ExceptionUtilities
.Unreachable();
79
throw
ExceptionUtilities
.UnexpectedValue(compareResult);
ExpressionCompiler.cs (4)
81
throw
ExceptionUtilities
.Unreachable();
139
throw
ExceptionUtilities
.Unreachable();
180
throw
ExceptionUtilities
.Unreachable();
214
throw
ExceptionUtilities
.Unreachable();
FrameDecoder.cs (2)
61
throw
ExceptionUtilities
.Unreachable();
82
throw
ExceptionUtilities
.Unreachable();
LanguageInstructionDecoder.cs (1)
58
throw
ExceptionUtilities
.Unreachable();
MetadataContextId.cs (1)
37
_ => throw
ExceptionUtilities
.UnexpectedValue(kind),
MetadataUtilities.cs (1)
300
throw
ExceptionUtilities
.UnexpectedValue(compareResult);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (2)
NamespaceTypeDefinitionNoBase.cs (2)
133
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
139
throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler (3)
HostOutputNode.cs (3)
86
IIncrementalGeneratorNode<TOutput> IIncrementalGeneratorNode<TOutput>.WithComparer(IEqualityComparer<TOutput> comparer) => throw
ExceptionUtilities
.Unreachable();
88
public IIncrementalGeneratorNode<TOutput> WithTrackingName(string name) => throw
ExceptionUtilities
.Unreachable();
90
void IIncrementalGeneratorNode<TOutput>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.Rebuild (2)
RebuildSourceReferenceResolver.cs (2)
64
public override Stream OpenRead(string resolvedPath) => throw
ExceptionUtilities
.Unreachable();
66
public override string? ResolveReference(string path, string? baseFilePath) => throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
43
var pdbReader = embeddedPdbReader ?? portablePdbReader ?? throw
ExceptionUtilities
.Unreachable();
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
115
throw
ExceptionUtilities
.UnexpectedValue(GetPrimitiveSpecialType(type));
Microsoft.CodeAnalysis.Test.Utilities (13)
Compilation\OperationTreeVerifier.cs (1)
1508
throw
ExceptionUtilities
.Unreachable();
CustomDataFlowAnalysis.cs (4)
249
throw
ExceptionUtilities
.UnexpectedValue(branch.Semantics);
342
throw
ExceptionUtilities
.UnexpectedValue(enclosing.Kind);
361
throw
ExceptionUtilities
.Unreachable();
397
throw
ExceptionUtilities
.UnexpectedValue(@catch.Kind);
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
2523
throw
ExceptionUtilities
.Unreachable();
2638
throw
ExceptionUtilities
.Unreachable();
Diagnostics\ReportDiagnosticExtensions.cs (1)
22
_ => throw
ExceptionUtilities
.Unreachable(),
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (2)
304
throw
ExceptionUtilities
.Unreachable();
309
=> throw
ExceptionUtilities
.Unreachable();
Metadata\ILBuilderVisualizer.cs (1)
495
throw
ExceptionUtilities
.UnexpectedValue(opcode);
Metadata\MetadataReaderUtils.cs (2)
175
throw
ExceptionUtilities
.UnexpectedValue(token.Kind);
228
throw
ExceptionUtilities
.UnexpectedValue(token.Kind);
Microsoft.CodeAnalysis.UnitTests (11)
Collections\DebuggerAttributes.cs (1)
66
object proxyInstance = Activator.CreateInstance(proxyType, obj) ?? throw
ExceptionUtilities
.Unreachable();
Collections\ImmutableListTestBase.cs (2)
114
ForEachImpl(ImmutableSegmentedList<int>.Empty, n => { throw
ExceptionUtilities
.Unreachable(); });
162
Assert.Equal(0, FindLastImpl(ImmutableSegmentedList<int>.Empty, n => { throw
ExceptionUtilities
.Unreachable(); }));
Collections\ImmutableSegmentedListTest.cs (1)
416
list.RemoveRange(Enumerable.Range(1, 1).Select<int, int>(n => { throw
ExceptionUtilities
.Unreachable(); }));
Collections\ImmutableSetTest.nonnetstandard.cs (2)
73
_ => throw
ExceptionUtilities
.UnexpectedValue(set),
89
_ => throw
ExceptionUtilities
.UnexpectedValue(set),
Collections\SegmentedArrayHelperTests.cs (3)
44
_ => throw
ExceptionUtilities
.Unreachable(),
69
_ => throw
ExceptionUtilities
.Unreachable(),
94
_ => throw
ExceptionUtilities
.Unreachable(),
Collections\TestExtensionsMethods.nonnetstandard.cs (2)
38
_ => throw
ExceptionUtilities
.UnexpectedValue(dictionary),
50
_ => throw
ExceptionUtilities
.UnexpectedValue(dictionary),
Microsoft.CodeAnalysis.VisualBasic (785)
Analysis\FlowAnalysis\AbstractFlowPass.vb (5)
465
Throw
ExceptionUtilities
.UnexpectedValue(branch.Kind)
1372
Throw
ExceptionUtilities
.Unreachable
1376
Throw
ExceptionUtilities
.Unreachable
1836
Throw
ExceptionUtilities
.Unreachable
1854
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
Analysis\FlowAnalysis\DataFlowPass.Symbols.vb (1)
67
Throw
ExceptionUtilities
.Unreachable
Analysis\FlowAnalysis\DataFlowPass.vb (2)
905
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
1963
Throw
ExceptionUtilities
.UnexpectedValue(expr.Kind) ' TODO: is this reachable at all?
Analysis\FlowAnalysis\EntryPointsWalker.vb (1)
56
Throw
ExceptionUtilities
.UnexpectedValue(stmt.Kind)
Analysis\FlowAnalysis\ExitPointsWalker.vb (1)
120
Throw
ExceptionUtilities
.UnexpectedValue(pending.Branch.Kind) ' there are no other branch statements
Analysis\FlowAnalysis\ReadWriteWalker.vb (2)
73
Throw
ExceptionUtilities
.UnexpectedValue(Me._regionPlace)
90
Throw
ExceptionUtilities
.UnexpectedValue(Me._regionPlace)
Analysis\InitializerRewriter.vb (1)
243
Throw
ExceptionUtilities
.UnexpectedValue(initializer.Kind)
Binding\BackstopBinder.vb (18)
35
Throw
ExceptionUtilities
.Unreachable
39
Throw
ExceptionUtilities
.Unreachable
43
Throw
ExceptionUtilities
.Unreachable
63
Throw
ExceptionUtilities
.Unreachable
69
Throw
ExceptionUtilities
.Unreachable
76
Throw
ExceptionUtilities
.Unreachable
82
Throw
ExceptionUtilities
.Unreachable
88
Throw
ExceptionUtilities
.Unreachable
93
Throw
ExceptionUtilities
.Unreachable
97
Throw
ExceptionUtilities
.Unreachable
153
Throw
ExceptionUtilities
.Unreachable
159
Throw
ExceptionUtilities
.Unreachable
165
Throw
ExceptionUtilities
.Unreachable
171
Throw
ExceptionUtilities
.Unreachable
177
Throw
ExceptionUtilities
.Unreachable
194
Throw
ExceptionUtilities
.Unreachable
254
Throw
ExceptionUtilities
.Unreachable
277
Throw
ExceptionUtilities
.Unreachable
Binding\Binder_Constraints.vb (2)
36
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
96
Throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind)
Binding\Binder_Conversions.vb (8)
38
Throw
ExceptionUtilities
.UnexpectedValue(node.Keyword.Kind)
288
Throw
ExceptionUtilities
.UnexpectedValue(node.Keyword.Kind)
1261
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1326
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1388
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1486
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1550
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1601
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
Binding\Binder_Expressions.vb (11)
597
Throw
ExceptionUtilities
.Unreachable
906
Throw
ExceptionUtilities
.UnexpectedValue(group.Kind)
1154
Throw
ExceptionUtilities
.UnexpectedValue(result.Kind)
1379
Throw
ExceptionUtilities
.UnexpectedValue(propertyAccess.AccessKind)
1392
Throw
ExceptionUtilities
.UnexpectedValue(expr.GetLateBoundAccessKind())
1495
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1566
Throw
ExceptionUtilities
.UnexpectedValue(conversionSemantics)
1899
Throw
ExceptionUtilities
.UnexpectedValue(containingMember.Kind)
3341
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
3345
Throw
ExceptionUtilities
.UnexpectedValue(lookupResult.Symbols(0).Kind)
3512
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
Binding\Binder_Initializers.vb (2)
418
Throw
ExceptionUtilities
.UnexpectedValue(asNew.NewExpression.Kind)
526
Throw
ExceptionUtilities
.UnexpectedValue(asNewSyntax.NewExpression.Kind)
Binding\Binder_InterpolatedString.vb (1)
28
Throw
ExceptionUtilities
.Unreachable
Binding\Binder_Invocation.vb (3)
1022
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
1619
Throw
ExceptionUtilities
.UnexpectedValue(state)
3083
Throw
ExceptionUtilities
.UnexpectedValue(argumentSyntax.Kind)
Binding\Binder_Lambda.vb (3)
361
Throw
ExceptionUtilities
.Unreachable
501
Throw
ExceptionUtilities
.UnexpectedValue(lambdaSyntax.Kind)
1050
Throw
ExceptionUtilities
.Unreachable
Binding\Binder_Lookup.vb (4)
597
Throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
626
Throw
ExceptionUtilities
.UnexpectedValue(container.TypeKind)
1117
Throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
1140
Throw
ExceptionUtilities
.Unreachable
Binding\Binder_ObjectInitializer.vb (3)
278
Throw
ExceptionUtilities
.UnexpectedValue(coClass.TypeKind)
337
Throw
ExceptionUtilities
.UnexpectedValue(type0.TypeKind)
567
Throw
ExceptionUtilities
.UnexpectedValue(syntaxNode.Initializer.Kind)
Binding\Binder_Operators.vb (1)
1022
Throw
ExceptionUtilities
.UnexpectedValue(operatorKind)
Binding\Binder_Query.vb (9)
153
Throw
ExceptionUtilities
.UnexpectedValue(current.Kind)
1208
Throw
ExceptionUtilities
.UnexpectedValue(clauseSyntax.Kind)
1231
Throw
ExceptionUtilities
.UnexpectedValue(absorbNextOperator.Kind)
1329
Throw
ExceptionUtilities
.UnexpectedValue(absorbNextOperator.Kind)
2224
Throw
ExceptionUtilities
.UnexpectedValue(rangeVariables.Length)
3158
Throw
ExceptionUtilities
.UnexpectedValue(absorbNextOperator.Kind)
3567
Throw
ExceptionUtilities
.UnexpectedValue(outerSide)
3582
Throw
ExceptionUtilities
.UnexpectedValue(innerSide)
4040
Throw
ExceptionUtilities
.UnexpectedValue(item.Aggregation.Kind)
Binding\Binder_SelectCase.vb (3)
185
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
219
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
466
Throw
ExceptionUtilities
.UnexpectedValue(caseClause.Kind)
Binding\Binder_Statements.vb (9)
284
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
1077
Throw
ExceptionUtilities
.Unreachable
1202
Throw
ExceptionUtilities
.UnexpectedValue(asNew.NewExpression.Kind)
2097
Throw
ExceptionUtilities
.UnexpectedValue(localDecl.Kind)
2159
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
4886
Case Else :
ExceptionUtilities
.UnexpectedValue(node.Kind)
4907
Case Else :
ExceptionUtilities
.UnexpectedValue(node.Kind)
5243
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
5282
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
Binding\Binder_Symbols.vb (4)
595
Throw
ExceptionUtilities
.UnexpectedValue(typeSyntax.Kind)
671
Throw
ExceptionUtilities
.UnexpectedValue(typesArray.Length)
800
Throw
ExceptionUtilities
.UnexpectedValue(predefinedType)
1160
Throw
ExceptionUtilities
.UnexpectedValue(typeSyntax.Kind)
Binding\Binder_Utils.vb (5)
37
Throw
ExceptionUtilities
.UnexpectedValue(varianceKeywordOpt.Kind)
751
Throw
ExceptionUtilities
.UnexpectedValue(typeChar)
789
Throw
ExceptionUtilities
.UnexpectedValue(keywordSyntax.Kind)
808
Throw
ExceptionUtilities
.UnexpectedValue(keywordSyntax.Kind)
1537
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Binding\Binder_XmlLiterals.vb (4)
631
Throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind)
951
Throw
ExceptionUtilities
.UnexpectedValue(token.Kind)
1303
Throw
ExceptionUtilities
.UnexpectedValue(token.Kind)
1988
Throw
ExceptionUtilities
.Unreachable
Binding\BinderBuilder.vb (1)
361
Throw
ExceptionUtilities
.UnexpectedValue(binderType)
Binding\BinderFactory.vb (6)
331
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
421
Throw
ExceptionUtilities
.UnexpectedValue(methodSyntax.Kind)
433
Throw
ExceptionUtilities
.UnexpectedValue(usage)
555
Throw
ExceptionUtilities
.UnexpectedValue(parent.Kind)
613
Throw
ExceptionUtilities
.UnexpectedValue(childName.Kind)
625
Throw
ExceptionUtilities
.Unreachable
Binding\DocumentationCommentBinder.vb (3)
144
Throw
ExceptionUtilities
.Unreachable
148
Throw
ExceptionUtilities
.Unreachable
152
Throw
ExceptionUtilities
.Unreachable
Binding\DocumentationCommentCrefBinder.vb (7)
271
Throw
ExceptionUtilities
.UnexpectedValue(crefName.Kind)
371
Throw
ExceptionUtilities
.UnexpectedValue(name.Kind)
512
Throw
ExceptionUtilities
.UnexpectedValue(nameFromCref.Kind)
592
Throw
ExceptionUtilities
.UnexpectedValue(left.Kind)
667
Throw
ExceptionUtilities
.UnexpectedValue(left.Kind)
1070
Throw
ExceptionUtilities
.UnexpectedValue(crefOperator.OperatorToken.Kind)
1115
Throw
ExceptionUtilities
.UnexpectedValue(name.Kind)
Binding\DocumentationCommentCrefBinder_Compat.vb (4)
77
Throw
ExceptionUtilities
.UnexpectedValue(nameFromCref.Kind)
102
Throw
ExceptionUtilities
.UnexpectedValue(left.Kind)
386
Throw
ExceptionUtilities
.UnexpectedValue(node.Keyword.Kind)
410
Throw
ExceptionUtilities
.UnexpectedValue(genericSymbol.Kind)
Binding\InitializerSemanticModel.vb (1)
158
Throw
ExceptionUtilities
.UnexpectedValue(Me.MemberSymbol.Kind)
Binding\LocalBinderBuilder.vb (3)
136
Throw
ExceptionUtilities
.UnexpectedValue(methodBlock.BlockStatement.Kind)
156
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
188
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
Binding\LookupResult.vb (1)
80
Throw
ExceptionUtilities
.UnexpectedValue(resultKind)
Binding\MemberSemanticModel.vb (4)
66
Throw
ExceptionUtilities
.Unreachable()
74
Throw
ExceptionUtilities
.Unreachable()
400
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
1090
Throw
ExceptionUtilities
.UnexpectedValue(queryableSource.Source.Kind)
Binding\SpeculativeMemberSemanticModel.vb (3)
27
Throw
ExceptionUtilities
.Unreachable
31
Throw
ExceptionUtilities
.Unreachable
35
Throw
ExceptionUtilities
.Unreachable
BoundTree\BoundCaseClause.vb (1)
24
ExceptionUtilities
.UnexpectedValue(conditionOpt.Kind) ' This is going to assert
BoundTree\BoundExpressionExtensions.vb (4)
254
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
269
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
292
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
307
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
BoundTree\BoundMethodOrPropertyGroup.vb (2)
34
Throw
ExceptionUtilities
.UnexpectedValue(Me.Kind)
51
Throw
ExceptionUtilities
.UnexpectedValue(Me.Kind)
BoundTree\BoundNode.vb (1)
105
Throw
ExceptionUtilities
.Unreachable
BoundTree\BoundTreeWalker.vb (1)
120
Throw
ExceptionUtilities
.Unreachable
CodeGen\EmitAddress.vb (1)
124
Throw
ExceptionUtilities
.UnexpectedValue(kind)
CodeGen\EmitConversion.vb (1)
280
Throw
ExceptionUtilities
.Unreachable
CodeGen\EmitExpression.vb (5)
166
Throw
ExceptionUtilities
.UnexpectedValue(expression.Kind)
207
Throw
ExceptionUtilities
.UnexpectedValue(expression.Kind)
645
Throw
ExceptionUtilities
.Unreachable
1844
Throw
ExceptionUtilities
.UnexpectedValue(assignmentTarget.Kind)
1951
Throw
ExceptionUtilities
.UnexpectedValue(expression.Kind)
CodeGen\EmitOperators.vb (3)
80
Throw
ExceptionUtilities
.UnexpectedValue(expression.OperatorKind)
340
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
539
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
CodeGen\EmitStatement.vb (6)
73
Throw
ExceptionUtilities
.UnexpectedValue(statement.Kind)
112
Throw
ExceptionUtilities
.UnexpectedValue(statement.Flavor)
378
Throw
ExceptionUtilities
.UnexpectedValue(exceptionSource.Kind)
612
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
1013
Throw
ExceptionUtilities
.UnexpectedValue(caseClause.Kind)
1016
Throw
ExceptionUtilities
.UnexpectedValue(caseClause.Kind)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (4)
143
Throw
ExceptionUtilities
.UnexpectedValue(context)
203
Throw
ExceptionUtilities
.Unreachable
207
Throw
ExceptionUtilities
.Unreachable
652
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
CodeGen\Optimizer\StackScheduler.DummyLocal.vb (1)
20
Throw
ExceptionUtilities
.Unreachable
Compilation\ClsComplianceChecker.vb (9)
116
Throw
ExceptionUtilities
.Unreachable
160
Throw
ExceptionUtilities
.Unreachable
429
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
598
Throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
624
Throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
829
Throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility)
855
Throw
ExceptionUtilities
.UnexpectedValue(compliance)
927
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
949
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (3)
107
Throw
ExceptionUtilities
.UnexpectedValue(tag)
750
Throw
ExceptionUtilities
.UnexpectedValue(DirectCast(symbol, NamedTypeSymbol).TypeKind)
754
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (3)
147
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
708
Throw
ExceptionUtilities
.UnexpectedValue(attr.Kind)
782
Throw
ExceptionUtilities
.UnexpectedValue(attr.Kind)
Compilation\MethodCompiler.vb (3)
504
Throw
ExceptionUtilities
.Unreachable
537
Throw
ExceptionUtilities
.Unreachable
1112
Throw
ExceptionUtilities
.Unreachable
Compilation\SemanticModel.vb (2)
653
Throw
ExceptionUtilities
.Unreachable
1451
Throw
ExceptionUtilities
.UnexpectedValue(boundNodeOfSyntacticParent.Kind)
Compilation\SpeculativeSemanticModelWithMemberModel.vb (5)
278
Throw
ExceptionUtilities
.Unreachable()
282
Throw
ExceptionUtilities
.Unreachable()
294
Throw
ExceptionUtilities
.Unreachable()
298
Throw
ExceptionUtilities
.Unreachable()
302
Throw
ExceptionUtilities
.Unreachable()
Compilation\SyntaxTreeSemanticModel.vb (2)
747
Throw
ExceptionUtilities
.UnexpectedValue(implementingMember.Kind)
1596
Throw
ExceptionUtilities
.Unreachable
Compilation\SynthesizedMetadataCompiler.vb (2)
60
Throw
ExceptionUtilities
.Unreachable
64
Throw
ExceptionUtilities
.Unreachable
Compilation\VisualBasicCompilation.vb (2)
272
Throw
ExceptionUtilities
.Unreachable
292
Throw
ExceptionUtilities
.Unreachable
Compilation\VisualBasicDeterministicKeyBuilder.vb (1)
56
Throw
ExceptionUtilities
.UnexpectedValue(value)
Declarations\DeclarationModifiersExtensions.vb (1)
20
Throw
ExceptionUtilities
.UnexpectedValue(modifiers)
Declarations\DeclarationTreeBuilder.vb (2)
800
Throw
ExceptionUtilities
.UnexpectedValue(kind)
853
Throw
ExceptionUtilities
.UnexpectedValue(modifier.Kind)
Declarations\MergedTypeDeclaration.vb (1)
101
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
123
Throw
ExceptionUtilities
.UnexpectedValue(containingSymbol.Kind)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (8)
120
Throw
ExceptionUtilities
.UnexpectedValue(def)
275
Throw
ExceptionUtilities
.Unreachable
387
Throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind)
461
Throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind)
466
Throw
ExceptionUtilities
.Unreachable
493
Throw
ExceptionUtilities
.UnexpectedValue(otherContainer.Kind)
638
Throw
ExceptionUtilities
.UnexpectedValue(type.Kind)
708
Throw
ExceptionUtilities
.Unreachable
Emit\NamedTypeReference.vb (2)
126
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
131
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
Emit\NoPia\EmbeddedTypesManager.vb (2)
259
Throw
ExceptionUtilities
.UnexpectedValue(IsFrozen)
422
Throw
ExceptionUtilities
.UnexpectedValue(propertyOrEvent.Kind)
Emit\ParameterTypeInformation.vb (2)
53
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
58
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
Emit\PEModuleBuilder.vb (5)
220
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
259
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
265
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
671
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
706
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
Emit\PENetModuleBuilder.vb (1)
26
Throw
ExceptionUtilities
.Unreachable
Emit\SymbolAdapter.vb (5)
23
Throw
ExceptionUtilities
.Unreachable
33
Throw
ExceptionUtilities
.Unreachable
48
Throw
ExceptionUtilities
.Unreachable
157
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
162
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
Emit\SymbolTranslator.vb (2)
261
Throw
ExceptionUtilities
.UnexpectedValue(typeSymbol.Kind)
355
Throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility)
Emit\TypeMemberReference.vb (2)
45
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
50
Throw Roslyn.Utilities.
ExceptionUtilities
.Unreachable
Emit\TypeParameterSymbolAdapter.vb (3)
147
Throw
ExceptionUtilities
.UnexpectedValue(kind)
157
Throw
ExceptionUtilities
.UnexpectedValue(kind)
248
Throw
ExceptionUtilities
.UnexpectedValue(AdaptedTypeParameterSymbol.Variance)
Errors\ErrorMessageHelpers.vb (1)
30
Throw
ExceptionUtilities
.UnexpectedValue(access)
LanguageVersion.vb (2)
75
Throw
ExceptionUtilities
.UnexpectedValue(value)
136
Throw
ExceptionUtilities
.UnexpectedValue(version)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
698
Throw
ExceptionUtilities
.Unreachable
705
Throw
ExceptionUtilities
.Unreachable
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (5)
30
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
376
Throw
ExceptionUtilities
.Unreachable
383
Throw
ExceptionUtilities
.Unreachable
399
Throw
ExceptionUtilities
.UnexpectedValue(expr.Kind)
540
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
Lowering\AsyncRewriter\AsyncRewriter.vb (4)
65
Throw
ExceptionUtilities
.UnexpectedValue(Me._asyncMethodKind)
131
Throw
ExceptionUtilities
.Unreachable
337
Throw
ExceptionUtilities
.UnexpectedValue(Me._asyncMethodKind)
471
Throw
ExceptionUtilities
.UnexpectedValue(expression.Kind)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (5)
280
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
283
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
437
Throw
ExceptionUtilities
.Unreachable
559
Throw
ExceptionUtilities
.UnexpectedValue(initializerOpt.Kind)
588
Throw
ExceptionUtilities
.UnexpectedValue(left.Kind)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (6)
56
Throw
ExceptionUtilities
.UnexpectedValue(node.OperatorKind)
59
Throw
ExceptionUtilities
.UnexpectedValue(node.OperatorKind)
520
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
547
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
586
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
636
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
60
Throw
ExceptionUtilities
.UnexpectedValue(convTestExpr.Kind)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (5)
99
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
183
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
212
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
231
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
249
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
Lowering\LambdaRewriter\LambdaFrame.vb (1)
114
ExceptionUtilities
.UnexpectedValue(syntaxOpt.Kind())
Lowering\LambdaRewriter\LambdaFrameConstructor.vb (1)
67
Throw
ExceptionUtilities
.Unreachable
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (3)
298
Throw
ExceptionUtilities
.Unreachable
453
Throw
ExceptionUtilities
.UnexpectedValue(asVariable.IsByRef)
492
Throw
ExceptionUtilities
.Unreachable
Lowering\LambdaRewriter\LambdaRewriter.vb (3)
646
Throw
ExceptionUtilities
.UnexpectedValue(originalSymbol.Kind)
696
Throw
ExceptionUtilities
.Unreachable
1256
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter.vb (1)
477
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
183
Throw
ExceptionUtilities
.UnexpectedValue(setNode.Kind)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
615
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
150
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
677
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (4)
162
Throw
ExceptionUtilities
.Unreachable
381
Throw
ExceptionUtilities
.Unreachable
702
Throw
ExceptionUtilities
.UnexpectedValue(constStep)
773
Throw
ExceptionUtilities
.Unreachable
Lowering\LocalRewriter\LocalRewriter_If.vb (3)
55
Throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind)
154
Throw
ExceptionUtilities
.UnexpectedValue(instrumentationTargetOpt.Syntax.Kind)
198
Throw
ExceptionUtilities
.UnexpectedValue(instrumentationTargetOpt.Syntax.Kind)
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
159
Throw
ExceptionUtilities
.Unreachable()
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
425
Throw
ExceptionUtilities
.UnexpectedValue(rewrittenObjectCreationExpression.Kind)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
374
Throw
ExceptionUtilities
.UnexpectedValue(caseClause.Kind)
Lowering\LocalRewriter\LocalRewriter_While.vb (3)
70
Throw
ExceptionUtilities
.UnexpectedValue(statement.Kind)
87
Throw
ExceptionUtilities
.UnexpectedValue(statement.Kind)
110
Throw
ExceptionUtilities
.UnexpectedValue(statement.Kind)
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
319
Throw
ExceptionUtilities
.Unreachable
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (50)
470
Throw
ExceptionUtilities
.Unreachable
474
Throw
ExceptionUtilities
.Unreachable
478
Throw
ExceptionUtilities
.Unreachable
482
Throw
ExceptionUtilities
.Unreachable
486
Throw
ExceptionUtilities
.Unreachable
490
Throw
ExceptionUtilities
.Unreachable
494
Throw
ExceptionUtilities
.Unreachable
498
Throw
ExceptionUtilities
.Unreachable
502
Throw
ExceptionUtilities
.Unreachable
506
Throw
ExceptionUtilities
.Unreachable
510
Throw
ExceptionUtilities
.Unreachable
514
Throw
ExceptionUtilities
.Unreachable
518
Throw
ExceptionUtilities
.Unreachable
522
Throw
ExceptionUtilities
.Unreachable
526
Throw
ExceptionUtilities
.Unreachable
530
Throw
ExceptionUtilities
.Unreachable
534
Throw
ExceptionUtilities
.Unreachable
538
Throw
ExceptionUtilities
.Unreachable
542
Throw
ExceptionUtilities
.Unreachable
546
Throw
ExceptionUtilities
.Unreachable
550
Throw
ExceptionUtilities
.Unreachable
554
Throw
ExceptionUtilities
.Unreachable
558
Throw
ExceptionUtilities
.Unreachable
562
Throw
ExceptionUtilities
.Unreachable
566
Throw
ExceptionUtilities
.Unreachable
570
Throw
ExceptionUtilities
.Unreachable
574
Throw
ExceptionUtilities
.Unreachable
578
Throw
ExceptionUtilities
.Unreachable
582
Throw
ExceptionUtilities
.Unreachable
586
Throw
ExceptionUtilities
.Unreachable
590
Throw
ExceptionUtilities
.Unreachable
594
Throw
ExceptionUtilities
.Unreachable
598
Throw
ExceptionUtilities
.Unreachable
602
Throw
ExceptionUtilities
.Unreachable
606
Throw
ExceptionUtilities
.Unreachable
610
Throw
ExceptionUtilities
.Unreachable
614
Throw
ExceptionUtilities
.Unreachable
618
Throw
ExceptionUtilities
.Unreachable
622
Throw
ExceptionUtilities
.Unreachable
626
Throw
ExceptionUtilities
.Unreachable
630
Throw
ExceptionUtilities
.Unreachable
634
Throw
ExceptionUtilities
.Unreachable
638
Throw
ExceptionUtilities
.Unreachable
642
Throw
ExceptionUtilities
.Unreachable
646
Throw
ExceptionUtilities
.Unreachable
650
Throw
ExceptionUtilities
.Unreachable
654
Throw
ExceptionUtilities
.Unreachable
658
Throw
ExceptionUtilities
.Unreachable
662
Throw
ExceptionUtilities
.Unreachable
666
Throw
ExceptionUtilities
.Unreachable
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
337
Throw
ExceptionUtilities
.Unreachable
Lowering\StateMachineRewriter\SynthesizedContainer.vb (3)
183
Throw
ExceptionUtilities
.Unreachable()
193
Throw
ExceptionUtilities
.Unreachable
293
Throw
ExceptionUtilities
.Unreachable
Lowering\UseTwiceRewriter.vb (1)
201
Throw
ExceptionUtilities
.Unreachable
Lowering\WithExpressionRewriter.vb (2)
168
Throw
ExceptionUtilities
.Unreachable
330
Throw
ExceptionUtilities
.UnexpectedValue(value.Kind)
Operations\VisualBasicOperationFactory.vb (3)
327
Throw
ExceptionUtilities
.UnexpectedValue(boundNode.Kind)
494
Throw
ExceptionUtilities
.UnexpectedValue(boundOperator.Kind)
545
Throw
ExceptionUtilities
.UnexpectedValue(binaryOperator.Kind)
Operations\VisualBasicOperationFactory_Methods.vb (7)
35
Throw
ExceptionUtilities
.UnexpectedValue(boundAssignment.Kind)
48
Throw
ExceptionUtilities
.UnexpectedValue(boundAssignment.Kind)
65
Throw
ExceptionUtilities
.UnexpectedValue(boundAssignment.Kind)
76
Throw
ExceptionUtilities
.UnexpectedValue(boundAssignment.Kind)
162
Throw
ExceptionUtilities
.UnexpectedValue(index)
190
Throw
ExceptionUtilities
.UnexpectedValue(boundNode.Kind)
378
Throw
ExceptionUtilities
.UnexpectedValue(conditionOpt.Kind)
Parser\BlockContexts\BlockContext.vb (2)
718
Throw
ExceptionUtilities
.UnexpectedValue(kind)
814
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Parser\BlockContexts\CompilationUnitContext.vb (1)
89
Throw
ExceptionUtilities
.Unreachable
Parser\BlockContexts\MethodBlockContext.vb (1)
86
Throw
ExceptionUtilities
.UnexpectedValue(BlockKind)
Parser\BlockContexts\SingleLineElseContext.vb (2)
99
Throw
ExceptionUtilities
.UnexpectedValue(token.Kind)
177
Throw
ExceptionUtilities
.UnexpectedValue(context.BlockKind)
Parser\BlockContexts\SingleLineIfBlockContext.vb (2)
43
Throw
ExceptionUtilities
.Unreachable
101
Throw
ExceptionUtilities
.UnexpectedValue(token.Kind)
Parser\BlockContexts\SingleLineIfOrElseBlockContext.vb (1)
57
Throw
ExceptionUtilities
.UnexpectedValue(context.BlockKind)
Parser\BlockContexts\StatementBlockContext.vb (1)
45
Throw
ExceptionUtilities
.UnexpectedValue(BlockKind)
Parser\ParseExpression.vb (2)
498
Throw
ExceptionUtilities
.Unreachable
1629
Throw
ExceptionUtilities
.UnexpectedValue(keywordKind)
Parser\Parser.vb (3)
253
Throw
ExceptionUtilities
.Unreachable
1577
Throw
ExceptionUtilities
.UnexpectedValue(typeKeyword.Kind)
4890
Throw
ExceptionUtilities
.UnexpectedValue(keyword.Kind)
Parser\ParserFeature.vb (2)
109
Throw
ExceptionUtilities
.UnexpectedValue(feature)
182
Throw
ExceptionUtilities
.UnexpectedValue(feature)
Parser\ParseStatement.vb (1)
1193
Throw
ExceptionUtilities
.UnexpectedValue(operatorToken.Kind)
Parser\ParseXml.vb (1)
1255
Throw
ExceptionUtilities
.Unreachable
PredefinedPreprocessorSymbols.vb (1)
88
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Preprocessor\CConst.vb (1)
243
Throw
ExceptionUtilities
.Unreachable
Preprocessor\ExpressionEvaluator.vb (18)
108
Throw
ExceptionUtilities
.UnexpectedValue(specialType)
265
Throw
ExceptionUtilities
.UnexpectedValue(token.Kind)
321
Throw
ExceptionUtilities
.UnexpectedValue(typeChar)
403
Throw
ExceptionUtilities
.UnexpectedValue(kind)
535
Throw
ExceptionUtilities
.UnexpectedValue(expr.Keyword.Kind)
894
Throw
ExceptionUtilities
.UnexpectedValue(specialType)
933
Throw
ExceptionUtilities
.UnexpectedValue(specialType)
940
Throw
ExceptionUtilities
.UnexpectedValue(expr)
1009
Throw
ExceptionUtilities
.UnexpectedValue(expr)
1156
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1269
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1304
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1384
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1435
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1482
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1537
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1577
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
1583
Throw
ExceptionUtilities
.Unreachable
Preprocessor\OperatorResolution.vb (2)
65
Throw
ExceptionUtilities
.UnexpectedValue(specialType)
346
Throw
ExceptionUtilities
.UnexpectedValue(opcode)
Preprocessor\TypeHelpers.vb (1)
37
Throw
ExceptionUtilities
.UnexpectedValue(specialType)
Scanner\Directives.vb (2)
220
Throw
ExceptionUtilities
.UnexpectedValue(statement.Kind)
611
Throw
ExceptionUtilities
.UnexpectedValue(curToken.Kind)
Scanner\Scanner.vb (2)
1786
Throw
ExceptionUtilities
.UnexpectedValue(ch)
2116
Throw
ExceptionUtilities
.UnexpectedValue(literalKind)
Scanner\ScannerInterpolatedString.vb (1)
50
Throw
ExceptionUtilities
.Unreachable
Scanner\TokenStream.vb (1)
631
Throw
ExceptionUtilities
.UnexpectedValue(state)
Semantics\AccessCheck.vb (3)
125
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
195
Throw
ExceptionUtilities
.UnexpectedValue(declaredAccessibility)
271
Throw
ExceptionUtilities
.UnexpectedValue(declaredAccessibility)
Semantics\CompileTimeCalculations.vb (8)
159
Case Else : Throw
ExceptionUtilities
.UnexpectedValue(value.Discriminator)
178
Case Else : Throw
ExceptionUtilities
.UnexpectedValue(type)
229
Throw
ExceptionUtilities
.UnexpectedValue(resultType)
343
Throw
ExceptionUtilities
.Unreachable()
433
Throw
ExceptionUtilities
.Unreachable()
515
Throw
ExceptionUtilities
.Unreachable()
542
Throw
ExceptionUtilities
.UnexpectedValue(resultType)
570
Throw
ExceptionUtilities
.UnexpectedValue(resultType)
Semantics\Conversions.vb (3)
464
Throw
ExceptionUtilities
.Unreachable
4557
Throw
ExceptionUtilities
.Unreachable
4561
Throw
ExceptionUtilities
.Unreachable
Semantics\Operators.vb (20)
157
Throw
ExceptionUtilities
.UnexpectedValue(op)
213
Throw
ExceptionUtilities
.UnexpectedValue(op)
488
Throw
ExceptionUtilities
.UnexpectedValue(opCode)
685
Throw
ExceptionUtilities
.UnexpectedValue(opCode)
749
Throw
ExceptionUtilities
.UnexpectedValue(op)
769
Throw
ExceptionUtilities
.UnexpectedValue(op)
794
Throw
ExceptionUtilities
.UnexpectedValue(op)
837
Throw
ExceptionUtilities
.UnexpectedValue(opCode)
1172
Throw
ExceptionUtilities
.UnexpectedValue(op)
1281
Throw
ExceptionUtilities
.UnexpectedValue(op)
1333
Throw
ExceptionUtilities
.UnexpectedValue(op)
1397
Throw
ExceptionUtilities
.UnexpectedValue(op)
1457
Throw
ExceptionUtilities
.UnexpectedValue(op)
1483
Throw
ExceptionUtilities
.UnexpectedValue(op)
1569
Throw
ExceptionUtilities
.UnexpectedValue(op)
1624
Throw
ExceptionUtilities
.UnexpectedValue(op)
1694
Throw
ExceptionUtilities
.UnexpectedValue(opCode)
3007
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
3133
Throw
ExceptionUtilities
.UnexpectedValue(opKind)
3407
Throw
ExceptionUtilities
.Unreachable
Semantics\OverloadResolution.vb (4)
23
Throw
ExceptionUtilities
.Unreachable
375
Throw
ExceptionUtilities
.Unreachable
3870
Throw
ExceptionUtilities
.UnexpectedValue(candidate.State)
4722
Throw
ExceptionUtilities
.UnexpectedValue(this.Kind)
Semantics\TypeInference\Graph.vb (1)
119
Throw
ExceptionUtilities
.Unreachable
Semantics\TypeInference\TypeArgumentInference.vb (5)
800
Throw
ExceptionUtilities
.Unreachable
1210
Throw
ExceptionUtilities
.UnexpectedValue(argNode.Expression.Kind)
2020
Throw
ExceptionUtilities
.UnexpectedValue(argument.Kind)
2075
Throw
ExceptionUtilities
.UnexpectedValue(argument.Kind)
2238
Throw
ExceptionUtilities
.UnexpectedValue(argument.Kind)
SourceGeneration\VisualBasicSyntaxHelper.vb (1)
88
Throw
ExceptionUtilities
.UnexpectedValue(name.KindText)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (3)
284
Throw
ExceptionUtilities
.UnexpectedValue(symbol.MethodKind)
375
Throw
ExceptionUtilities
.UnexpectedValue(symbol.MethodKind)
474
Throw
ExceptionUtilities
.UnexpectedValue(data.CharacterSet)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
270
Throw
ExceptionUtilities
.UnexpectedValue(symbol.TypeKind)
SymbolDisplay\SymbolDisplayVisitor.vb (2)
242
Throw
ExceptionUtilities
.UnexpectedValue(format.GlobalNamespaceStyle)
338
Throw
ExceptionUtilities
.UnexpectedValue(symbol.DeclaredAccessibility)
Symbols\AccessibilityExtensions.vb (1)
32
Throw
ExceptionUtilities
.UnexpectedValue(a)
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (1)
121
Throw
ExceptionUtilities
.UnexpectedValue(t.TypeKind)
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
225
Throw
ExceptionUtilities
.UnexpectedValue(template.TypeKind)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (2)
23
Throw
ExceptionUtilities
.Unreachable
40
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (5)
223
Throw
ExceptionUtilities
.Unreachable
239
Throw
ExceptionUtilities
.Unreachable
246
Throw
ExceptionUtilities
.Unreachable
252
Throw
ExceptionUtilities
.Unreachable
309
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (1)
57
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (1)
100
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_GetHashCodeMethodSymbol.vb (1)
69
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (1)
106
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (1)
59
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (1)
74
Throw
ExceptionUtilities
.Unreachable
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (3)
199
Throw
ExceptionUtilities
.Unreachable
209
Throw
ExceptionUtilities
.Unreachable
377
Throw
ExceptionUtilities
.Unreachable
Symbols\AssemblySymbol.vb (2)
326
Throw
ExceptionUtilities
.Unreachable
335
Throw
ExceptionUtilities
.Unreachable
Symbols\Attributes\AttributeData.vb (1)
534
Throw
ExceptionUtilities
.Unreachable
Symbols\ConstraintsHelper.vb (1)
259
Throw
ExceptionUtilities
.UnexpectedValue(constraintType.TypeKind)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (2)
245
Throw
ExceptionUtilities
.UnexpectedValue(methKind)
354
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.vb (4)
50
Throw
ExceptionUtilities
.UnexpectedValue(kind)
59
Throw
ExceptionUtilities
.Unreachable
74
Throw
ExceptionUtilities
.Unreachable
86
Throw
ExceptionUtilities
.Unreachable
Symbols\ErrorMethodSymbol.vb (1)
263
Throw
ExceptionUtilities
.Unreachable
Symbols\ErrorTypeSymbol.vb (3)
289
Throw
ExceptionUtilities
.Unreachable
299
Throw
ExceptionUtilities
.Unreachable
402
Throw
ExceptionUtilities
.Unreachable
Symbols\FieldSymbol.vb (1)
257
Throw
ExceptionUtilities
.Unreachable
Symbols\MemberSignatureComparer.vb (1)
80
Throw
ExceptionUtilities
.UnexpectedValue(sym.Kind)
Symbols\MergedNamespaceSymbol.vb (9)
148
Throw
ExceptionUtilities
.Unreachable
424
Throw
ExceptionUtilities
.Unreachable
430
Throw
ExceptionUtilities
.Unreachable
436
Throw
ExceptionUtilities
.Unreachable
578
Throw
ExceptionUtilities
.Unreachable
629
Throw
ExceptionUtilities
.Unreachable
635
Throw
ExceptionUtilities
.Unreachable
640
Throw
ExceptionUtilities
.Unreachable
670
Throw
ExceptionUtilities
.Unreachable
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
115
Throw
ExceptionUtilities
.UnexpectedValue(memberRefOrMethodDef.Kind)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
138
Throw
ExceptionUtilities
.Unreachable
232
Throw
ExceptionUtilities
.UnexpectedValue(this.Kind)
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
380
Throw
ExceptionUtilities
.Unreachable
Symbols\Metadata\PE\PEMethodSymbol.vb (5)
440
Throw
ExceptionUtilities
.UnexpectedValue(opInfo.UnaryOperatorKind)
488
Throw
ExceptionUtilities
.UnexpectedValue(opInfo.BinaryOperatorKind)
723
Throw
ExceptionUtilities
.Unreachable
728
Throw
ExceptionUtilities
.Unreachable
1289
Throw
ExceptionUtilities
.Unreachable
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
401
Throw
ExceptionUtilities
.Unreachable
Symbols\Metadata\PE\PENamedTypeSymbol.vb (5)
599
Throw
ExceptionUtilities
.Unreachable
648
Throw
ExceptionUtilities
.UnexpectedValue(x.Kind)
1415
Throw
ExceptionUtilities
.Unreachable
1461
Throw
ExceptionUtilities
.Unreachable
1466
Throw
ExceptionUtilities
.Unreachable
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
166
Throw
ExceptionUtilities
.UnexpectedValue(type.TypeKind)
Symbols\MethodSymbol.vb (2)
604
Throw
ExceptionUtilities
.Unreachable
810
Throw
ExceptionUtilities
.Unreachable
Symbols\MissingAssemblySymbol.vb (3)
104
Throw
ExceptionUtilities
.Unreachable
112
Throw
ExceptionUtilities
.Unreachable
152
Throw
ExceptionUtilities
.Unreachable
Symbols\MissingModuleSymbol.vb (2)
134
Throw
ExceptionUtilities
.Unreachable
144
Throw
ExceptionUtilities
.Unreachable
Symbols\ModuleSymbol.vb (1)
253
Throw
ExceptionUtilities
.Unreachable
Symbols\OverriddenMembersResult.vb (1)
105
Throw
ExceptionUtilities
.Unreachable
Symbols\ParameterSymbol.vb (1)
250
Throw
ExceptionUtilities
.Unreachable
Symbols\PropertySymbol.vb (1)
371
Throw
ExceptionUtilities
.Unreachable
Symbols\ReducedExtensionMethodSymbol.vb (1)
654
Throw
ExceptionUtilities
.Unreachable
Symbols\Retargeting\RetargetingAssemblySymbol.vb (1)
184
Throw
ExceptionUtilities
.Unreachable
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
519
Throw
ExceptionUtilities
.Unreachable
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (4)
207
Throw
ExceptionUtilities
.Unreachable
211
Throw
ExceptionUtilities
.Unreachable
234
Throw
ExceptionUtilities
.Unreachable
524
Throw
ExceptionUtilities
.Unreachable
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (3)
208
Throw
ExceptionUtilities
.Unreachable
237
Throw
ExceptionUtilities
.Unreachable
290
Throw
ExceptionUtilities
.Unreachable
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
578
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
1026
Throw
ExceptionUtilities
.Unreachable
Symbols\SignatureOnlyMethodSymbol.vb (24)
176
Throw
ExceptionUtilities
.Unreachable
182
Throw
ExceptionUtilities
.Unreachable
188
Throw
ExceptionUtilities
.Unreachable
194
Throw
ExceptionUtilities
.Unreachable
200
Throw
ExceptionUtilities
.Unreachable
206
Throw
ExceptionUtilities
.Unreachable
212
Throw
ExceptionUtilities
.Unreachable
218
Throw
ExceptionUtilities
.Unreachable
224
Throw
ExceptionUtilities
.Unreachable
230
Throw
ExceptionUtilities
.Unreachable
242
Throw
ExceptionUtilities
.Unreachable
248
Throw
ExceptionUtilities
.Unreachable
254
Throw
ExceptionUtilities
.Unreachable
264
Throw
ExceptionUtilities
.Unreachable
270
Throw
ExceptionUtilities
.Unreachable
281
Throw
ExceptionUtilities
.Unreachable
286
Throw
ExceptionUtilities
.Unreachable
292
Throw
ExceptionUtilities
.Unreachable
297
Throw
ExceptionUtilities
.Unreachable
301
Throw
ExceptionUtilities
.Unreachable
306
Throw
ExceptionUtilities
.Unreachable
312
Throw
ExceptionUtilities
.Unreachable
318
Throw
ExceptionUtilities
.Unreachable
323
Throw
ExceptionUtilities
.Unreachable
Symbols\SignatureOnlyParameterSymbol.vb (12)
127
Throw
ExceptionUtilities
.Unreachable
133
Throw
ExceptionUtilities
.Unreachable
139
Throw
ExceptionUtilities
.Unreachable
145
Throw
ExceptionUtilities
.Unreachable
151
Throw
ExceptionUtilities
.Unreachable
157
Throw
ExceptionUtilities
.Unreachable
163
Throw
ExceptionUtilities
.Unreachable
169
Throw
ExceptionUtilities
.Unreachable
175
Throw
ExceptionUtilities
.Unreachable
181
Throw
ExceptionUtilities
.Unreachable
187
Throw
ExceptionUtilities
.Unreachable
193
Throw
ExceptionUtilities
.Unreachable
Symbols\SignatureOnlyPropertySymbol.vb (16)
126
Throw
ExceptionUtilities
.Unreachable
132
Throw
ExceptionUtilities
.Unreachable
138
Throw
ExceptionUtilities
.Unreachable
144
Throw
ExceptionUtilities
.Unreachable
150
Throw
ExceptionUtilities
.Unreachable
156
Throw
ExceptionUtilities
.Unreachable
162
Throw
ExceptionUtilities
.Unreachable
168
Throw
ExceptionUtilities
.Unreachable
174
Throw
ExceptionUtilities
.Unreachable
180
Throw
ExceptionUtilities
.Unreachable
186
Throw
ExceptionUtilities
.Unreachable
192
Throw
ExceptionUtilities
.Unreachable
210
Throw
ExceptionUtilities
.Unreachable
216
Throw
ExceptionUtilities
.Unreachable
222
Throw
ExceptionUtilities
.Unreachable
234
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\ImplementsHelper.vb (2)
61
Throw
ExceptionUtilities
.Unreachable
444
Throw
ExceptionUtilities
.UnexpectedValue(implementingSym.Kind)
Symbols\Source\LambdaSymbol.vb (2)
190
Throw
ExceptionUtilities
.Unreachable
350
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\LocalSymbol.vb (4)
366
Throw
ExceptionUtilities
.Unreachable
370
Throw
ExceptionUtilities
.Unreachable
576
Throw
ExceptionUtilities
.UnexpectedValue(Me.DeclarationKind)
898
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceAssemblySymbol.vb (2)
820
Throw
ExceptionUtilities
.Unreachable
832
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceClonedParameterSymbol.vb (1)
231
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceComplexParameterSymbol.vb (1)
453
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceDelegateClonedParameterSymbolForBeginAndEndInvoke.vb (4)
17
Throw
ExceptionUtilities
.Unreachable
24
Throw
ExceptionUtilities
.Unreachable
31
Throw
ExceptionUtilities
.Unreachable
38
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceEventSymbol.vb (3)
125
Throw
ExceptionUtilities
.UnexpectedValue(accessor.MethodKind)
360
Throw
ExceptionUtilities
.UnexpectedValue(blockSyntax.Kind)
407
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Symbols\Source\SourceFieldSymbol.vb (3)
559
Throw
ExceptionUtilities
.Unreachable
566
Throw
ExceptionUtilities
.Unreachable
573
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceMemberContainerTypeSymbol.vb (8)
177
Throw
ExceptionUtilities
.UnexpectedValue(declaration.Kind)
348
Throw
ExceptionUtilities
.UnexpectedValue(Me.TypeKind)
816
Throw
ExceptionUtilities
.UnexpectedValue(context)
958
Throw
ExceptionUtilities
.UnexpectedValue(type.Kind)
2477
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
2697
Throw
ExceptionUtilities
.UnexpectedValue(methodBaseSyntax.Kind)
3245
Throw
ExceptionUtilities
.Unreachable
3264
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceMemberMethodSymbol.vb (2)
542
Throw
ExceptionUtilities
.Unreachable
764
Throw
ExceptionUtilities
.UnexpectedValue(ContainingType.TypeKind)
Symbols\Source\SourceMethodSymbol.vb (9)
340
Throw
ExceptionUtilities
.UnexpectedValue(syntax.OperatorToken.Kind)
362
Throw
ExceptionUtilities
.UnexpectedValue(paramCountMismatchERRID)
881
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
1016
Throw
ExceptionUtilities
.UnexpectedValue(operatorStatement.OperatorToken.Kind)
1040
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
1228
Throw
ExceptionUtilities
.Unreachable
2211
Throw
ExceptionUtilities
.UnexpectedValue(decl.Kind)
2233
Throw
ExceptionUtilities
.UnexpectedValue(methodStatement.Kind)
2258
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceModuleSymbol.vb (7)
731
Throw
ExceptionUtilities
.Unreachable
854
Throw
ExceptionUtilities
.Unreachable
886
Throw
ExceptionUtilities
.Unreachable
914
Throw
ExceptionUtilities
.Unreachable
939
Throw
ExceptionUtilities
.Unreachable
963
Throw
ExceptionUtilities
.Unreachable
994
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceNamedTypeSymbol.vb (4)
140
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
452
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
660
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
1400
Throw
ExceptionUtilities
.UnexpectedValue(TypeKind)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (34)
459
Throw
ExceptionUtilities
.UnexpectedValue(memberKind)
631
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
727
Throw
ExceptionUtilities
.Unreachable
750
Throw
ExceptionUtilities
.Unreachable
756
Throw
ExceptionUtilities
.Unreachable
767
Throw
ExceptionUtilities
.Unreachable
775
Throw
ExceptionUtilities
.Unreachable
783
Throw
ExceptionUtilities
.Unreachable
787
Throw
ExceptionUtilities
.Unreachable
796
Throw
ExceptionUtilities
.Unreachable
802
Throw
ExceptionUtilities
.Unreachable
841
Throw
ExceptionUtilities
.Unreachable
851
Throw
ExceptionUtilities
.Unreachable
855
Throw
ExceptionUtilities
.Unreachable
872
Throw
ExceptionUtilities
.Unreachable
900
Throw
ExceptionUtilities
.Unreachable
906
Throw
ExceptionUtilities
.Unreachable
1118
Throw
ExceptionUtilities
.Unreachable
1124
Throw
ExceptionUtilities
.Unreachable
1130
Throw
ExceptionUtilities
.Unreachable
1136
Throw
ExceptionUtilities
.Unreachable
1208
Throw
ExceptionUtilities
.Unreachable
1260
Throw
ExceptionUtilities
.Unreachable
1295
Throw
ExceptionUtilities
.Unreachable
1374
Throw
ExceptionUtilities
.Unreachable
1443
Throw
ExceptionUtilities
.Unreachable
1547
Throw
ExceptionUtilities
.Unreachable
1553
Throw
ExceptionUtilities
.Unreachable
1559
Throw
ExceptionUtilities
.Unreachable
1565
Throw
ExceptionUtilities
.Unreachable
1591
Throw
ExceptionUtilities
.Unreachable
1719
Throw
ExceptionUtilities
.Unreachable
1743
Throw
ExceptionUtilities
.Unreachable
1785
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
165
Throw
ExceptionUtilities
.UnexpectedValue(argumentSyntax.Kind)
Symbols\Source\SourceNamespaceSymbol.vb (1)
488
Throw
ExceptionUtilities
.UnexpectedValue(node.Kind)
Symbols\Source\SourceParameterSymbol.vb (1)
471
Throw
ExceptionUtilities
.UnexpectedValue(pinvoke.CharacterSet)
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
243
Throw
ExceptionUtilities
.Unreachable()
Symbols\Source\SourcePropertyClonedParameterSymbolForAccessors.vb (4)
15
Throw
ExceptionUtilities
.Unreachable
21
Throw
ExceptionUtilities
.Unreachable
27
Throw
ExceptionUtilities
.Unreachable
33
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SourceSimpleParameterSymbol.vb (1)
207
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
186
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
515
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
99
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
137
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (1)
111
Throw
ExceptionUtilities
.Unreachable
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
108
Throw
ExceptionUtilities
.Unreachable
Symbols\SpecialTypeExtensions.vb (3)
310
Throw
ExceptionUtilities
.UnexpectedValue(this)
330
Throw
ExceptionUtilities
.UnexpectedValue(this)
372
Throw
ExceptionUtilities
.UnexpectedValue(this)
Symbols\SubstitutedMethodSymbol.vb (1)
466
Throw
ExceptionUtilities
.Unreachable
Symbols\SubstitutedNamedType.vb (5)
388
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
431
Throw
ExceptionUtilities
.Unreachable
492
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
783
Throw
ExceptionUtilities
.Unreachable
1187
Throw
ExceptionUtilities
.Unreachable
Symbols\SubstitutedTypeParameterSymbol.vb (1)
194
Throw
ExceptionUtilities
.Unreachable
Symbols\Symbol.vb (2)
81
Throw
ExceptionUtilities
.Unreachable
552
Throw
ExceptionUtilities
.UnexpectedValue(Me.Kind)
Symbols\Symbol_Attributes.vb (2)
115
Throw
ExceptionUtilities
.UnexpectedValue(namedType.TypeKind)
381
Throw
ExceptionUtilities
.UnexpectedValue(targetOpt.AttributeModifier.Kind)
Symbols\SymbolExtensions.vb (3)
80
Throw
ExceptionUtilities
.UnexpectedValue(target.Kind)
331
Throw
ExceptionUtilities
.UnexpectedValue(sym.Kind)
477
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
50
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (2)
170
Throw
ExceptionUtilities
.Unreachable
450
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (2)
312
Throw
ExceptionUtilities
.Unreachable
322
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (2)
290
Throw
ExceptionUtilities
.Unreachable
352
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
211
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
185
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
211
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (1)
111
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedSimpleConstructorSymbol.vb (1)
68
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (1)
114
Throw
ExceptionUtilities
.Unreachable
Symbols\Tuples\TupleMethodSymbol.vb (1)
128
Throw
ExceptionUtilities
.Unreachable
Symbols\Tuples\TupleTypeSymbol.vb (12)
374
Throw
ExceptionUtilities
.Unreachable
586
Throw
ExceptionUtilities
.Unreachable
594
Throw
ExceptionUtilities
.Unreachable
798
Throw
ExceptionUtilities
.UnexpectedValue(member.Kind)
916
Throw
ExceptionUtilities
.UnexpectedValue(symbol.Kind)
1034
Throw
ExceptionUtilities
.Unreachable
1038
Throw
ExceptionUtilities
.Unreachable
1042
Throw
ExceptionUtilities
.Unreachable
1046
Throw
ExceptionUtilities
.Unreachable
1050
Throw
ExceptionUtilities
.Unreachable
1054
Throw
ExceptionUtilities
.Unreachable
1068
Throw
ExceptionUtilities
.Unreachable
Symbols\TypeParameterConstraint.vb (1)
82
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Symbols\TypeParameterSymbol.vb (2)
192
Throw
ExceptionUtilities
.Unreachable
202
Throw
ExceptionUtilities
.Unreachable
Symbols\TypeSymbol.vb (6)
306
Throw
ExceptionUtilities
.Unreachable
311
Throw
ExceptionUtilities
.Unreachable
316
Throw
ExceptionUtilities
.Unreachable
321
Throw
ExceptionUtilities
.Unreachable
326
Throw
ExceptionUtilities
.Unreachable
331
Throw
ExceptionUtilities
.Unreachable
Symbols\TypeSymbolExtensions.vb (2)
417
Throw
ExceptionUtilities
.UnexpectedValue(this.TypeKind)
888
Throw
ExceptionUtilities
.UnexpectedValue(current.TypeKind)
Symbols\UnboundGenericType.vb (4)
250
Throw
ExceptionUtilities
.Unreachable
326
Throw
ExceptionUtilities
.Unreachable
334
Throw
ExceptionUtilities
.Unreachable
650
Throw
ExceptionUtilities
.Unreachable
Symbols\WellKnownMembers.vb (3)
194
Throw
ExceptionUtilities
.Unreachable
452
Throw
ExceptionUtilities
.UnexpectedValue(descriptor.Flags)
505
Throw
ExceptionUtilities
.UnexpectedValue(targetSymbolKind)
Syntax\InternalSyntax\SyntaxNode.vb (1)
93
Throw
ExceptionUtilities
.Unreachable
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
401
Throw
ExceptionUtilities
.UnexpectedValue(trivia(i).Kind)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (3)
443
Throw
ExceptionUtilities
.UnexpectedValue(kind)
544
Throw
ExceptionUtilities
.UnexpectedValue(blockKind)
563
Throw
ExceptionUtilities
.UnexpectedValue(statementKind)
Syntax\InternalSyntax\SyntaxToken.vb (3)
221
Throw
ExceptionUtilities
.Unreachable
472
Throw
ExceptionUtilities
.UnexpectedValue(kind)
507
Throw
ExceptionUtilities
.Unreachable
Syntax\InternalSyntax\SyntaxTrivia.vb (2)
88
Throw
ExceptionUtilities
.Unreachable
143
Throw
ExceptionUtilities
.Unreachable
Syntax\LambdaUtilities.vb (6)
94
Throw
ExceptionUtilities
.UnexpectedValue(oldLambda.Kind)
298
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
395
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
415
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
429
Throw
ExceptionUtilities
.UnexpectedValue(lambda.Kind)
594
Throw
ExceptionUtilities
.UnexpectedValue(clause.Kind)
Syntax\SyntaxEquivalence.vb (1)
163
Throw
ExceptionUtilities
.Unreachable
Syntax\SyntaxExtensions.vb (3)
61
Throw
ExceptionUtilities
.UnexpectedValue(newExpressionSyntax.Kind)
76
Throw
ExceptionUtilities
.UnexpectedValue(asClauseSyntax.Kind)
91
Throw
ExceptionUtilities
.UnexpectedValue(asClauseSyntax.Kind)
Syntax\SyntaxFactory.vb (2)
434
Throw
ExceptionUtilities
.UnexpectedValue(blockKind)
453
Throw
ExceptionUtilities
.UnexpectedValue(statementKind)
Syntax\SyntaxNodeExtensions.vb (1)
371
Throw
ExceptionUtilities
.UnexpectedValue(syntax.Kind)
Syntax\SyntaxNodeFactories.vb (1)
739
Throw
ExceptionUtilities
.UnexpectedValue(kind)
Syntax\SyntaxNodePartials.vb (1)
127
Throw
ExceptionUtilities
.UnexpectedValue(Me.Kind)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (2)
57
Throw
ExceptionUtilities
.Unreachable
99
Throw
ExceptionUtilities
.Unreachable
Utilities\VarianceAmbiguity.vb (1)
154
Throw
ExceptionUtilities
.UnexpectedValue(variance)
VisualBasicDeclarationComputer.vb (1)
232
Throw
ExceptionUtilities
.UnexpectedValue(methodBase.Kind)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
10163
Throw
ExceptionUtilities
.UnexpectedValue(expectedEffectiveSeverity)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
CodeGen\CodeGenTuples.vb (2)
23202
Throw
ExceptionUtilities
.UnexpectedValue(expectedValue)
23220
Throw
ExceptionUtilities
.UnexpectedValue(expectedValue)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (44)
Binders\ParametersAndLocalsBinder.vb (1)
76
Throw
ExceptionUtilities
.Unreachable
CompilationContext.vb (2)
882
Throw
ExceptionUtilities
.UnexpectedValue(importRecord.TargetKind)
884
Throw
ExceptionUtilities
.UnexpectedValue(importRecord.TargetKind)
Symbols\DisplayClassVariable.vb (9)
130
Throw
ExceptionUtilities
.Unreachable
148
Throw
ExceptionUtilities
.Unreachable
182
Throw
ExceptionUtilities
.Unreachable
194
Throw
ExceptionUtilities
.Unreachable
200
Throw
ExceptionUtilities
.Unreachable
206
Throw
ExceptionUtilities
.Unreachable
212
Throw
ExceptionUtilities
.Unreachable
218
Throw
ExceptionUtilities
.Unreachable
224
Throw
ExceptionUtilities
.Unreachable
Symbols\EEDisplayClassFieldLocalSymbol.vb (1)
50
Throw
ExceptionUtilities
.Unreachable
Symbols\EELocalConstantSymbol.vb (1)
65
Throw
ExceptionUtilities
.Unreachable
Symbols\EELocalSymbol.vb (1)
91
Throw
ExceptionUtilities
.Unreachable
Symbols\EELocalSymbolBase.vb (1)
39
Throw
ExceptionUtilities
.Unreachable
Symbols\EEMethodSymbol.vb (4)
235
Throw
ExceptionUtilities
.Unreachable
325
Throw
ExceptionUtilities
.Unreachable
428
Throw
ExceptionUtilities
.Unreachable
605
Throw
ExceptionUtilities
.UnexpectedValue(body.Kind)
Symbols\EENamedTypeSymbol.vb (9)
144
Throw
ExceptionUtilities
.Unreachable
163
Throw
ExceptionUtilities
.Unreachable
182
Throw
ExceptionUtilities
.Unreachable
186
Throw
ExceptionUtilities
.Unreachable
244
Throw
ExceptionUtilities
.Unreachable
248
Throw
ExceptionUtilities
.Unreachable
271
Throw
ExceptionUtilities
.Unreachable
352
Throw
ExceptionUtilities
.Unreachable
356
Throw
ExceptionUtilities
.Unreachable
Symbols\EEStaticLocalSymbol.vb (1)
62
Throw
ExceptionUtilities
.Unreachable
Symbols\EETypeParameterSymbol.vb (3)
45
Throw
ExceptionUtilities
.Unreachable
69
Throw
ExceptionUtilities
.Unreachable
81
Throw
ExceptionUtilities
.Unreachable
Symbols\PlaceholderLocalSymbol.vb (3)
60
Throw
ExceptionUtilities
.UnexpectedValue([alias].Kind)
78
Throw
ExceptionUtilities
.Unreachable
103
Throw
ExceptionUtilities
.Unreachable
Symbols\PlaceholderMethodSymbol.vb (1)
150
Throw
ExceptionUtilities
.Unreachable
Symbols\SimpleTypeParameterSymbol.vb (3)
87
Throw
ExceptionUtilities
.Unreachable
93
Throw
ExceptionUtilities
.Unreachable
98
Throw
ExceptionUtilities
.Unreachable
Symbols\SynthesizedContextMethodSymbol.vb (4)
59
Throw
ExceptionUtilities
.Unreachable
77
Throw
ExceptionUtilities
.Unreachable
89
Throw
ExceptionUtilities
.Unreachable
100
Throw
ExceptionUtilities
.Unreachable
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (6)
ExpressionCompilerTestBase.vb (1)
273
Throw
ExceptionUtilities
.Unreachable
ImportDebugInfoTests.vb (4)
222
Throw
ExceptionUtilities
.Unreachable
246
Throw
ExceptionUtilities
.Unreachable
335
Throw
ExceptionUtilities
.Unreachable
355
Throw
ExceptionUtilities
.Unreachable
MissingAssemblyTests.vb (1)
582
Throw
ExceptionUtilities
.Unreachable
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
120
Throw
ExceptionUtilities
.Unreachable
Semantics\BinaryOperators.vb (1)
1439
Throw
ExceptionUtilities
.UnexpectedValue(i)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
MockSymbols.vb (1)
638
Throw
ExceptionUtilities
.Unreachable
Roslyn.Test.PdbUtilities (1)
Reader\MockSymUnmanagedReader.cs (1)
54
throw
ExceptionUtilities
.Unreachable();