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