212 references to Unreachable
Microsoft.CodeAnalysis (212)
CodeGen\ArrayMembers.cs (2)
368throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 374throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
CodeGen\LocalDefinition.cs (2)
109get { throw ExceptionUtilities.Unreachable(); } 117get { throw ExceptionUtilities.Unreachable(); }
CodeGen\LocalScopeManager.cs (1)
229throw ExceptionUtilities.Unreachable();
CodeGen\PrivateImplementationDetails.cs (10)
660get { throw ExceptionUtilities.Unreachable(); } 679throw ExceptionUtilities.Unreachable(); 702get { throw ExceptionUtilities.Unreachable(); } 708throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 714throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 859get { throw ExceptionUtilities.Unreachable(); } 888throw ExceptionUtilities.Unreachable(); 897throw ExceptionUtilities.Unreachable(); 905throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 911throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
CodeGen\SignatureOnlyLocalDefinition.cs (6)
31get { throw ExceptionUtilities.Unreachable(); } 36get { throw ExceptionUtilities.Unreachable(); } 57get { throw ExceptionUtilities.Unreachable(); } 62get { throw ExceptionUtilities.Unreachable(); } 67get { throw ExceptionUtilities.Unreachable(); } 78get { throw ExceptionUtilities.Unreachable(); }
Collections\ImmutableArrayExtensions.cs (2)
720throw ExceptionUtilities.Unreachable(); 730throw ExceptionUtilities.Unreachable();
Collections\TemporaryArray`1.cs (3)
314_ => throw ExceptionUtilities.Unreachable(), 376throw ExceptionUtilities.Unreachable(); 429throw ExceptionUtilities.Unreachable();
Compilation.EmitStreamProvider.cs (1)
68throw ExceptionUtilities.Unreachable();
Diagnostic\DiagnosticInfo.cs (1)
457throw ExceptionUtilities.Unreachable();
DiagnosticAnalyzer\AnalysisResultBuilder.cs (2)
123throw ExceptionUtilities.Unreachable(); 143throw ExceptionUtilities.Unreachable();
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
1571throw ExceptionUtilities.Unreachable(); 1630throw ExceptionUtilities.Unreachable();
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
809throw ExceptionUtilities.Unreachable(); 1289throw ExceptionUtilities.Unreachable();
DocumentationComments\XmlDocumentationCommentTextReader.XmlStream.cs (2)
147throw ExceptionUtilities.Unreachable(); 153throw ExceptionUtilities.Unreachable();
EmbeddedText.cs (1)
378throw ExceptionUtilities.Unreachable();
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (29)
99=> throw ExceptionUtilities.Unreachable(); 102=> throw ExceptionUtilities.Unreachable(); 105=> throw ExceptionUtilities.Unreachable(); 108=> throw ExceptionUtilities.Unreachable(); 111=> throw ExceptionUtilities.Unreachable(); 114=> throw ExceptionUtilities.Unreachable(); 117=> throw ExceptionUtilities.Unreachable(); 120=> throw ExceptionUtilities.Unreachable(); 123=> throw ExceptionUtilities.Unreachable(); 126=> throw ExceptionUtilities.Unreachable(); 129=> throw ExceptionUtilities.Unreachable(); 132=> throw ExceptionUtilities.Unreachable(); 135=> throw ExceptionUtilities.Unreachable(); 138=> throw ExceptionUtilities.Unreachable(); 141=> throw ExceptionUtilities.Unreachable(); 144=> throw ExceptionUtilities.Unreachable(); 147=> throw ExceptionUtilities.Unreachable(); 150=> throw ExceptionUtilities.Unreachable(); 153=> throw ExceptionUtilities.Unreachable(); 156=> throw ExceptionUtilities.Unreachable(); 159=> throw ExceptionUtilities.Unreachable(); 162=> throw ExceptionUtilities.Unreachable(); 165=> throw ExceptionUtilities.Unreachable(); 168=> throw ExceptionUtilities.Unreachable(); 171=> throw ExceptionUtilities.Unreachable(); 174=> throw ExceptionUtilities.Unreachable(); 177=> throw ExceptionUtilities.Unreachable(); 181=> throw ExceptionUtilities.Unreachable(); 185=> throw ExceptionUtilities.Unreachable();
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
41=> throw ExceptionUtilities.Unreachable();
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
86=> throw ExceptionUtilities.Unreachable();
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (6)
33=> throw ExceptionUtilities.Unreachable(); 77public ITypeDefinition ContainingTypeDefinition => throw ExceptionUtilities.Unreachable(); 115=> throw ExceptionUtilities.Unreachable(); 134=> throw ExceptionUtilities.Unreachable(); 144throw ExceptionUtilities.Unreachable(); 150throw ExceptionUtilities.Unreachable();
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (9)
61=> throw ExceptionUtilities.Unreachable(); 108=> throw ExceptionUtilities.Unreachable(); 111=> throw ExceptionUtilities.Unreachable(); 114=> throw ExceptionUtilities.Unreachable(); 117=> throw ExceptionUtilities.Unreachable(); 120=> throw ExceptionUtilities.Unreachable(); 123=> throw ExceptionUtilities.Unreachable(); 126=> throw ExceptionUtilities.Unreachable(); 129=> throw ExceptionUtilities.Unreachable();
Emit\ErrorType.cs (2)
196throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 202throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Emit\NoPia\CommonEmbeddedMember.cs (4)
112throw ExceptionUtilities.Unreachable(); 117throw ExceptionUtilities.Unreachable(); 125throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 131throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Emit\NoPia\CommonEmbeddedParameter.cs (3)
214throw ExceptionUtilities.Unreachable(); 277throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 283throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Emit\NoPia\CommonEmbeddedType.cs (3)
553throw ExceptionUtilities.Unreachable(); 721throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 727throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Emit\NoPia\CommonEmbeddedTypeParameter.cs (3)
211throw ExceptionUtilities.Unreachable(); 242throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 248throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Emit\NoPia\VtblGap.cs (2)
262throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 268throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
Generated\Operations.Generated.cs (1)
10793public override IOperation DefaultVisit(IOperation operation, object? argument) => throw ExceptionUtilities.Unreachable();
InternalUtilities\EmptyComparer.cs (1)
24=> throw ExceptionUtilities.Unreachable();
InternalUtilities\FailFast.cs (2)
43throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn] 53throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn]
InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
51=> throw ExceptionUtilities.Unreachable();
InternalUtilities\RoslynParallel.cs (2)
34throw ExceptionUtilities.Unreachable(); 41throw ExceptionUtilities.Unreachable();
InternalUtilities\SingleInitNullable.cs (1)
76return ReadIfInitialized() ?? throw ExceptionUtilities.Unreachable();
MetadataReference\MetadataImageReference.cs (1)
36throw ExceptionUtilities.Unreachable();
NativePdbWriter\PdbWriter.cs (1)
456throw ExceptionUtilities.Unreachable();
Operations\ControlFlowGraphBuilder.cs (27)
448throw ExceptionUtilities.Unreachable(); 1312throw ExceptionUtilities.Unreachable(); 3824throw ExceptionUtilities.Unreachable(); 5234throw ExceptionUtilities.Unreachable(); 5672throw ExceptionUtilities.Unreachable(); 5677throw ExceptionUtilities.Unreachable(); 5682throw ExceptionUtilities.Unreachable(); 5687throw ExceptionUtilities.Unreachable(); 5692throw ExceptionUtilities.Unreachable(); 5697throw ExceptionUtilities.Unreachable(); 5892throw ExceptionUtilities.Unreachable(); 5898throw ExceptionUtilities.Unreachable(); 5904throw ExceptionUtilities.Unreachable(); 5909throw ExceptionUtilities.Unreachable(); 5914throw ExceptionUtilities.Unreachable(); 5919throw ExceptionUtilities.Unreachable(); 5924throw ExceptionUtilities.Unreachable(); 6467throw ExceptionUtilities.Unreachable(); 6577throw ExceptionUtilities.Unreachable(); 6956throw ExceptionUtilities.Unreachable(); 6961throw ExceptionUtilities.Unreachable(); 7088throw ExceptionUtilities.Unreachable(); 7093throw ExceptionUtilities.Unreachable(); 7540throw ExceptionUtilities.Unreachable(); 7902throw ExceptionUtilities.Unreachable(); 7907throw ExceptionUtilities.Unreachable(); 7912throw ExceptionUtilities.Unreachable();
Operations\OperationCloner.cs (4)
52throw ExceptionUtilities.Unreachable(); 57throw ExceptionUtilities.Unreachable(); 62throw ExceptionUtilities.Unreachable(); 67throw ExceptionUtilities.Unreachable();
PEWriter\InheritedTypeParameter.cs (8)
236throw ExceptionUtilities.Unreachable(); 284get { throw ExceptionUtilities.Unreachable(); } 289get { throw ExceptionUtilities.Unreachable(); } 294get { throw ExceptionUtilities.Unreachable(); } 299get { throw ExceptionUtilities.Unreachable(); } 304get { throw ExceptionUtilities.Unreachable(); } 310throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 316throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
PEWriter\MetadataVisitor.cs (1)
214throw ExceptionUtilities.Unreachable();
PEWriter\MetadataWriter.cs (3)
1094_ => throw ExceptionUtilities.Unreachable() 1592throw ExceptionUtilities.Unreachable(); 1683_ => throw ExceptionUtilities.Unreachable()
PEWriter\MetadataWriter.PortablePdb.cs (1)
317throw ExceptionUtilities.Unreachable();
PEWriter\ModifiedTypeReference.cs (6)
47get { throw ExceptionUtilities.Unreachable(); } 52get { throw ExceptionUtilities.Unreachable(); } 57throw ExceptionUtilities.Unreachable(); 67get { throw ExceptionUtilities.Unreachable(); } 153throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 159throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
PEWriter\ReturnValueParameter.cs (2)
122throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 128throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
PEWriter\RootModuleStaticConstructor.cs (2)
177throw ExceptionUtilities.Unreachable(); 183throw ExceptionUtilities.Unreachable();
PEWriter\RootModuleType.cs (9)
200get { throw ExceptionUtilities.Unreachable(); } 213get { throw ExceptionUtilities.Unreachable(); } 218throw ExceptionUtilities.Unreachable(); 223get { throw ExceptionUtilities.Unreachable(); } 228get { throw ExceptionUtilities.Unreachable(); } 238get { throw ExceptionUtilities.Unreachable(); } 243get { throw ExceptionUtilities.Unreachable(); } 332throw Roslyn.Utilities.ExceptionUtilities.Unreachable(); 338throw Roslyn.Utilities.ExceptionUtilities.Unreachable();
PEWriter\SequencePoint.cs (2)
46throw ExceptionUtilities.Unreachable(); 51throw ExceptionUtilities.Unreachable();
PEWriter\SourceSpan.cs (2)
39throw ExceptionUtilities.Unreachable(); 44throw ExceptionUtilities.Unreachable();
ReferenceManager\AssemblyDataForAssemblyBeingBuilt.cs (3)
76throw ExceptionUtilities.Unreachable(); 107throw ExceptionUtilities.Unreachable(); 114throw ExceptionUtilities.Unreachable();
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
975throw ExceptionUtilities.Unreachable();
SourceGeneration\IncrementalWrapper.cs (2)
29void ISourceGenerator.Execute(GeneratorExecutionContext context) => throw ExceptionUtilities.Unreachable(); 31void ISourceGenerator.Initialize(GeneratorInitializationContext context) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\HostOutputNode.cs (3)
98IIncrementalGeneratorNode<OutputType> IIncrementalGeneratorNode<OutputType>.WithComparer(IEqualityComparer<OutputType> comparer) => throw ExceptionUtilities.Unreachable(); 100public IIncrementalGeneratorNode<OutputType> WithTrackingName(string name) => throw ExceptionUtilities.Unreachable(); 102void IIncrementalGeneratorNode<OutputType>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\InputNode.cs (1)
40_registerOutput = registerOutput ?? (o => throw ExceptionUtilities.Unreachable());
SourceGeneration\Nodes\NodeStateTable.cs (2)
213_ => throw ExceptionUtilities.Unreachable(), 662_ => throw ExceptionUtilities.Unreachable()
SourceGeneration\Nodes\SourceOutputNode.cs (3)
92IIncrementalGeneratorNode<TOutput> IIncrementalGeneratorNode<TOutput>.WithComparer(IEqualityComparer<TOutput> comparer) => throw ExceptionUtilities.Unreachable(); 94public IIncrementalGeneratorNode<(IEnumerable<GeneratedSourceText>, IEnumerable<Diagnostic>)> WithTrackingName(string name) => throw ExceptionUtilities.Unreachable(); 96void IIncrementalGeneratorNode<TOutput>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
Symbols\Attributes\CommonAttributeData.cs (1)
362private protected virtual bool IsStringProperty(string memberName) => throw ExceptionUtilities.Unreachable();
Symbols\CommonGeneratedNameParser.cs (1)
106throw ExceptionUtilities.Unreachable();
Syntax\GreenNode.cs (1)
181throw ExceptionUtilities.Unreachable();
Syntax\InternalSyntax\SyntaxList.cs (4)
148throw ExceptionUtilities.Unreachable(); 156throw ExceptionUtilities.Unreachable(); 162throw ExceptionUtilities.Unreachable(); 167throw ExceptionUtilities.Unreachable();
Syntax\InternalSyntax\SyntaxList`1.cs (1)
52throw ExceptionUtilities.Unreachable();
Syntax\SyntaxList.cs (11)
22throw ExceptionUtilities.Unreachable(); 31throw ExceptionUtilities.Unreachable(); 36throw ExceptionUtilities.Unreachable(); 41throw ExceptionUtilities.Unreachable(); 46throw ExceptionUtilities.Unreachable(); 51throw ExceptionUtilities.Unreachable(); 56throw ExceptionUtilities.Unreachable(); 61throw ExceptionUtilities.Unreachable(); 66throw ExceptionUtilities.Unreachable(); 71throw ExceptionUtilities.Unreachable(); 76throw ExceptionUtilities.Unreachable();
Syntax\SyntaxNodeOrToken.cs (1)
946throw ExceptionUtilities.Unreachable();