92 references to Unreachable
Microsoft.CodeAnalysis.CodeStyle (35)
AbstractFormatEngine.cs (1)
75
_commonRoot = startToken.GetCommonRoot(endToken) ?? throw ExceptionUtilities.
Unreachable
();
AbstractTriviaDataFactory.AbstractComplexTrivia.cs (2)
74
throw ExceptionUtilities.
Unreachable
();
116
throw ExceptionUtilities.
Unreachable
();
AsyncLazy`1.cs (2)
432
throw ExceptionUtilities.
Unreachable
();
436
throw ExceptionUtilities.
Unreachable
();
BottomUpBaseIndentationFinder.cs (1)
181
throw ExceptionUtilities.
Unreachable
();
CustomDataFlowAnalysis.cs (1)
361
throw ExceptionUtilities.
Unreachable
();
EventMap.cs (1)
180
throw ExceptionUtilities.
Unreachable
();
FailFast.cs (2)
43
throw ExceptionUtilities.
Unreachable
(); // to satisfy [DoesNotReturn]
53
throw ExceptionUtilities.
Unreachable
(); // to satisfy [DoesNotReturn]
IntervalTree`1.Node.cs (1)
57
throw ExceptionUtilities.
Unreachable
();
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs\TaskExtensions.cs (1)
165
throw ExceptionUtilities.
Unreachable
();
SymbolKey.SymbolKeyWriter.cs (4)
351
=> throw ExceptionUtilities.
Unreachable
();
354
=> throw ExceptionUtilities.
Unreachable
();
357
=> throw ExceptionUtilities.
Unreachable
();
386
throw ExceptionUtilities.
Unreachable
();
SymbolSpecification.cs (1)
411
_ => throw ExceptionUtilities.
Unreachable
()
SymbolUsageAnalysis.OperationTreeAnalysisData.cs (10)
60
=> throw ExceptionUtilities.
Unreachable
();
63
=> throw ExceptionUtilities.
Unreachable
();
65
=> throw ExceptionUtilities.
Unreachable
();
67
=> throw ExceptionUtilities.
Unreachable
();
69
=> throw ExceptionUtilities.
Unreachable
();
73
=> throw ExceptionUtilities.
Unreachable
();
75
=> throw ExceptionUtilities.
Unreachable
();
77
=> throw ExceptionUtilities.
Unreachable
();
79
=> throw ExceptionUtilities.
Unreachable
();
81
=> throw ExceptionUtilities.
Unreachable
();
SymbolUsageAnalysis.Walker.cs (2)
427
throw ExceptionUtilities.
Unreachable
();
535
throw ExceptionUtilities.
Unreachable
();
SymbolUsageResult.cs (1)
72
throw ExceptionUtilities.
Unreachable
();
SyntaxPath.cs (1)
83
throw ExceptionUtilities.
Unreachable
();
TaskFactoryExtensions.cs (2)
29
throw ExceptionUtilities.
Unreachable
();
47
throw ExceptionUtilities.
Unreachable
();
TemporaryArray`1.cs (2)
242
_ => throw ExceptionUtilities.
Unreachable
(),
304
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
AbstractPopulateSwitchExpressionCodeFixProvider.cs (1)
44
=> switchExpression.Value.Type ?? throw ExceptionUtilities.
Unreachable
();
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
60
=> switchOperation.Value.Type ?? throw ExceptionUtilities.
Unreachable
();
AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
367
throw ExceptionUtilities.
Unreachable
();
TextDocumentExtensions.cs (1)
29
throw ExceptionUtilities.
Unreachable
();
UseCoalesceExpressionForIfNullStatementCheckCodeFixProvider.cs (1)
78
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
74
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpCodeStyleOptions_Parsing.cs (1)
139
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
31
node is BinaryExpressionSyntax binary ? TextSpan.FromBounds(binary.OperatorToken.SpanStart, node.Span.End) : throw ExceptionUtilities.
Unreachable
();
CSharpSyntaxFacts.cs (1)
630
=> throw ExceptionUtilities.
Unreachable
();
CSharpTriviaFormatter.cs (1)
396
throw ExceptionUtilities.
Unreachable
();
CSharpUseAutoPropertyAnalyzer.cs (1)
180
_ => throw ExceptionUtilities.
Unreachable
(),
ParenthesizedExpressionSyntaxExtensions.cs (1)
455
throw ExceptionUtilities.
Unreachable
();
TriviaDataFactory.CodeShapeAnalyzer.cs (1)
221
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
CSharpAddImportsService.cs (1)
174
var rewritten = (CompilationUnitSyntax)(base.VisitCompilationUnit(node) ?? throw ExceptionUtilities.
Unreachable
());
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
140
_ => throw ExceptionUtilities.
Unreachable
()
CSharpMakeMemberRequiredCodeFixProvider.cs (1)
103
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpRemoveAsyncModifierCodeFixProvider.cs (1)
46
_ => throw ExceptionUtilities.
Unreachable
()
CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
202
throw ExceptionUtilities.
Unreachable
();
CSharpSyntaxGeneratorInternal.cs (1)
146
=> throw ExceptionUtilities.
Unreachable
();
CSharpUseNullCheckOverTypeCheckCodeFixProvider.cs (1)
61
_ => throw ExceptionUtilities.
Unreachable
()
CSharpUseRangeOperatorCodeFixProvider.cs (1)
132
_ => throw ExceptionUtilities.
Unreachable
(),
ExpressionGenerator.cs (1)
268
? (integerMinValueString ?? throw ExceptionUtilities.
Unreachable
())
ITypeSymbolExtensions.cs (1)
138
throw ExceptionUtilities.
Unreachable
();
PositionalParameterInfo.cs (1)
69
_ => throw ExceptionUtilities.
Unreachable
(),
UseUtf8StringLiteralCodeFixProvider.cs (2)
105
throw ExceptionUtilities.
Unreachable
();
139
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (11)
RemoveUnusedValueAssignmentTests.cs (11)
496
_ => throw ExceptionUtilities.
Unreachable
(),
554
_ => throw ExceptionUtilities.
Unreachable
(),
1069
_ => throw ExceptionUtilities.
Unreachable
(),
1164
_ => throw ExceptionUtilities.
Unreachable
(),
1243
_ => throw ExceptionUtilities.
Unreachable
(),
1360
_ => throw ExceptionUtilities.
Unreachable
(),
2574
_ => throw ExceptionUtilities.
Unreachable
(),
2773
_ => throw ExceptionUtilities.
Unreachable
()
2898
_ => throw ExceptionUtilities.
Unreachable
(),
3049
_ => throw ExceptionUtilities.
Unreachable
(),
7808
_ => throw ExceptionUtilities.
Unreachable
(),
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (6)
BaseFormattingRule.vb (2)
74
Throw ExceptionUtilities.
Unreachable
79
Throw ExceptionUtilities.
Unreachable
SyntaxNodeExtensions.vb (1)
675
Throw ExceptionUtilities.
Unreachable
TriviaDataFactory.AbstractLineBreakTrivia.vb (2)
32
throw ExceptionUtilities.
Unreachable
39
throw ExceptionUtilities.
Unreachable
VisualBasicSyntaxFacts.vb (1)
1593
Throw ExceptionUtilities.
Unreachable
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (14)
SyntaxTreeExtensions.vb (1)
1032
Throw ExceptionUtilities.
Unreachable
VisualBasicConvertGetTypeToNameOfCodeFixProvider.vb (1)
47
Throw ExceptionUtilities.
Unreachable
VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
56
Throw ExceptionUtilities.
Unreachable
VisualBasicRemoveUnusedValuesCodeFixProvider.vb (5)
34
Throw ExceptionUtilities.
Unreachable
39
Throw ExceptionUtilities.
Unreachable
58
Throw ExceptionUtilities.
Unreachable
63
Throw ExceptionUtilities.
Unreachable
68
Throw ExceptionUtilities.
Unreachable
VisualBasicUseCompoundAssignmentCodeFixProvider.vb (2)
34
Throw ExceptionUtilities.
Unreachable
38
Throw ExceptionUtilities.
Unreachable
VisualBasicUseConditionalExpressionForAssignmentCodeFixProvider.vb (1)
32
Throw ExceptionUtilities.
Unreachable
VisualBasicUseConditionalExpressionForReturnCodeFixProvider.vb (1)
32
Throw ExceptionUtilities.
Unreachable
VisualBasicUseNullPropagationCodeFixProvider.vb (2)
39
Throw ExceptionUtilities.
Unreachable
()
43
Throw ExceptionUtilities.
Unreachable
()