431 references to Unreachable
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
628
_ => throw ExceptionUtilities.
Unreachable
(),
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
94
_ => throw ExceptionUtilities.
Unreachable
()
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (17)
CodeActions\ConvertIfToSwitch\ConvertIfToSwitchTests.cs (1)
545
_ => throw ExceptionUtilities.
Unreachable
(),
CodeActions\EnableNullable\EnableNullableTests.cs (1)
585
_ => throw ExceptionUtilities.
Unreachable
(),
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (2)
1790
_ => throw ExceptionUtilities.
Unreachable
(),
1849
_ => throw ExceptionUtilities.
Unreachable
(),
EditAndContinue\ActiveStatementTrackingServiceTests.cs (1)
175
_ => throw ExceptionUtilities.
Unreachable
()
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
(),
Structure\CommentStructureTests.cs (1)
50
throw Roslyn.Utilities.ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.Features (37)
CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
87
throw ExceptionUtilities.
Unreachable
();
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (4)
60
throw ExceptionUtilities.
Unreachable
();
78
throw ExceptionUtilities.
Unreachable
();
89
throw ExceptionUtilities.
Unreachable
();
259
throw ExceptionUtilities.
Unreachable
();
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
681
throw ExceptionUtilities.
Unreachable
();
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
103
throw ExceptionUtilities.
Unreachable
();
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
241
throw ExceptionUtilities.
Unreachable
();
Completion\CompletionProviders\PropertySubPatternCompletionProvider.cs (2)
116
throw ExceptionUtilities.
Unreachable
();
132
_ => throw ExceptionUtilities.
Unreachable
(),
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (2)
94
throw ExceptionUtilities.
Unreachable
();
295
throw ExceptionUtilities.
Unreachable
();
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (2)
161
throw ExceptionUtilities.
Unreachable
();
182
throw ExceptionUtilities.
Unreachable
();
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (1)
210
throw ExceptionUtilities.
Unreachable
();
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
140
_ => throw ExceptionUtilities.
Unreachable
()
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
74
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpMakeMemberRequiredCodeFixProvider.cs (1)
103
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpRemoveAsyncModifierCodeFixProvider.cs (1)
46
_ => throw ExceptionUtilities.
Unreachable
()
CSharpRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
31
node is BinaryExpressionSyntax binary ? TextSpan.FromBounds(binary.OperatorToken.SpanStart, node.Span.End) : throw ExceptionUtilities.
Unreachable
();
CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
202
throw ExceptionUtilities.
Unreachable
();
CSharpUseAutoPropertyAnalyzer.cs (1)
180
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpUseNullCheckOverTypeCheckCodeFixProvider.cs (1)
61
_ => throw ExceptionUtilities.
Unreachable
()
CSharpUseRangeOperatorCodeFixProvider.cs (1)
132
_ => throw ExceptionUtilities.
Unreachable
(),
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
163
_ => throw ExceptionUtilities.
Unreachable
()
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (1)
57
throw ExceptionUtilities.
Unreachable
();
GenerateType\CSharpGenerateTypeService.cs (2)
324
throw ExceptionUtilities.
Unreachable
();
717
throw ExceptionUtilities.
Unreachable
();
PositionalParameterInfo.cs (1)
69
_ => throw ExceptionUtilities.
Unreachable
(),
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (1)
132
throw ExceptionUtilities.
Unreachable
();
SignatureHelp\InvocationExpressionSignatureHelpProvider.cs (1)
150
throw ExceptionUtilities.
Unreachable
();
TaskList\CSharpTaskListService.cs (1)
59
throw ExceptionUtilities.
Unreachable
();
UseUtf8StringLiteralCodeFixProvider.cs (2)
105
throw ExceptionUtilities.
Unreachable
();
139
throw ExceptionUtilities.
Unreachable
();
Wrapping\SeparatedSyntaxList\CSharpInitializerExpressionWrapper.cs (3)
26
protected override string Align_wrapped_items => throw ExceptionUtilities.
Unreachable
();
27
protected override string Indent_wrapped_items => throw ExceptionUtilities.
Unreachable
();
28
protected override string Unwrap_and_indent_all_items => throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
CSharpAddImportsService.cs (1)
174
var rewritten = (CompilationUnitSyntax)(base.VisitCompilationUnit(node) ?? throw ExceptionUtilities.
Unreachable
());
CSharpCodeStyleOptions_Parsing.cs (1)
139
_ => throw ExceptionUtilities.
Unreachable
(),
CSharpSyntaxFacts.cs (1)
630
=> throw ExceptionUtilities.
Unreachable
();
CSharpSyntaxGeneratorInternal.cs (1)
146
=> throw ExceptionUtilities.
Unreachable
();
CSharpTriviaFormatter.cs (1)
396
throw ExceptionUtilities.
Unreachable
();
ExpressionGenerator.cs (1)
268
? (integerMinValueString ?? throw ExceptionUtilities.
Unreachable
())
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.cs\ITypeSymbolExtensions.cs (1)
138
throw ExceptionUtilities.
Unreachable
();
ParenthesizedExpressionSyntaxExtensions.cs (1)
455
throw ExceptionUtilities.
Unreachable
();
Rename\CSharpRenameRewriterLanguageService.cs (3)
433
throw ExceptionUtilities.
Unreachable
();
934
throw ExceptionUtilities.
Unreachable
();
962
throw ExceptionUtilities.
Unreachable
();
TriviaDataFactory.CodeShapeAnalyzer.cs (1)
221
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
Formatting\FormattingTests_Patterns.cs (4)
69
_ => throw ExceptionUtilities.
Unreachable
(),
159
_ => throw ExceptionUtilities.
Unreachable
(),
217
_ => throw ExceptionUtilities.
Unreachable
(),
306
_ => throw ExceptionUtilities.
Unreachable
(),
Microsoft.CodeAnalysis.EditorFeatures (14)
Classification\Semantic\ClassificationUtilities.cs (1)
182
throw ExceptionUtilities.
Unreachable
();
CodeActions\CodeActionEditHandlerService.cs (2)
158
throw ExceptionUtilities.
Unreachable
();
184
throw ExceptionUtilities.
Unreachable
();
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
153
throw ExceptionUtilities.
Unreachable
();
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
579
throw ExceptionUtilities.
Unreachable
();
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (2)
272
throw ExceptionUtilities.
Unreachable
();
476
throw ExceptionUtilities.
Unreachable
();
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (1)
109
throw ExceptionUtilities.
Unreachable
();
IntelliSense\ViewTextSpan.cs (1)
82
throw ExceptionUtilities.
Unreachable
();
Interactive\InteractiveSession.cs (1)
355
throw ExceptionUtilities.
Unreachable
();
RenameTracking\RenameTrackingTaggerProvider.cs (1)
139
throw ExceptionUtilities.
Unreachable
();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
326
throw ExceptionUtilities.
Unreachable
();
Structure\AbstractStructureTaggerProvider.cs (1)
207
throw ExceptionUtilities.
Unreachable
();
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
112
=> throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (4)
Controller.Session_ComputeModel.cs (1)
130
throw ExceptionUtilities.
Unreachable
();
SuggestedActionsSource.cs (3)
245
_ => throw ExceptionUtilities.
Unreachable
()
255
_ => throw ExceptionUtilities.
Unreachable
(),
295
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Classification\FormattedClassification.cs (1)
99
_ => throw ExceptionUtilities.
Unreachable
(),
QuickInfo\ToolTipAssert.cs (2)
51
throw ExceptionUtilities.
Unreachable
();
200
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (61)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
693
_ => throw ExceptionUtilities.
Unreachable
(),
1026
throw ExceptionUtilities.
Unreachable
();
1127
throw ExceptionUtilities.
Unreachable
();
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
412
throw ExceptionUtilities.
Unreachable
();
1976
_ => throw ExceptionUtilities.
Unreachable
(),
2007
_ => throw ExceptionUtilities.
Unreachable
(),
2034
_ => throw ExceptionUtilities.
Unreachable
(),
2058
_ => throw ExceptionUtilities.
Unreachable
(),
MetadataAsSource\MetadataAsSourceTests.cs (51)
99
_ => throw ExceptionUtilities.
Unreachable
(),
156
_ => throw ExceptionUtilities.
Unreachable
(),
215
_ => throw ExceptionUtilities.
Unreachable
(),
284
_ => throw ExceptionUtilities.
Unreachable
(),
349
_ => throw ExceptionUtilities.
Unreachable
(),
414
_ => throw ExceptionUtilities.
Unreachable
(),
488
_ => throw ExceptionUtilities.
Unreachable
(),
562
_ => throw ExceptionUtilities.
Unreachable
(),
631
_ => throw ExceptionUtilities.
Unreachable
(),
700
_ => throw ExceptionUtilities.
Unreachable
(),
769
_ => throw ExceptionUtilities.
Unreachable
(),
830
_ => throw ExceptionUtilities.
Unreachable
(),
899
_ => throw ExceptionUtilities.
Unreachable
(),
969
_ => throw ExceptionUtilities.
Unreachable
(),
1100
_ => throw ExceptionUtilities.
Unreachable
(),
1173
_ => throw ExceptionUtilities.
Unreachable
(),
1236
_ => throw ExceptionUtilities.
Unreachable
(),
1307
_ => throw ExceptionUtilities.
Unreachable
(),
1372
_ => throw ExceptionUtilities.
Unreachable
(),
1449
_ => throw ExceptionUtilities.
Unreachable
(),
1519
_ => throw ExceptionUtilities.
Unreachable
(),
1583
_ => throw ExceptionUtilities.
Unreachable
(),
1667
_ => throw ExceptionUtilities.
Unreachable
(),
2128
_ => throw ExceptionUtilities.
Unreachable
(),
2379
_ => throw ExceptionUtilities.
Unreachable
(),
2493
_ => throw ExceptionUtilities.
Unreachable
(),
2577
_ => throw ExceptionUtilities.
Unreachable
(),
2665
_ => throw ExceptionUtilities.
Unreachable
(),
2863
_ => throw ExceptionUtilities.
Unreachable
(),
2969
_ => throw ExceptionUtilities.
Unreachable
(),
3051
_ => throw ExceptionUtilities.
Unreachable
(),
3058
_ => throw ExceptionUtilities.
Unreachable
(),
3172
_ => throw ExceptionUtilities.
Unreachable
(),
3452
_ => throw ExceptionUtilities.
Unreachable
(),
3518
_ => throw ExceptionUtilities.
Unreachable
(),
3588
_ => throw ExceptionUtilities.
Unreachable
(),
3658
_ => throw ExceptionUtilities.
Unreachable
(),
3735
_ => throw ExceptionUtilities.
Unreachable
(),
3813
_ => throw ExceptionUtilities.
Unreachable
(),
3879
_ => throw ExceptionUtilities.
Unreachable
(),
3945
_ => throw ExceptionUtilities.
Unreachable
(),
3952
_ => throw ExceptionUtilities.
Unreachable
(),
4018
_ => throw ExceptionUtilities.
Unreachable
(),
4086
_ => throw ExceptionUtilities.
Unreachable
(),
4176
_ => throw ExceptionUtilities.
Unreachable
(),
4266
_ => throw ExceptionUtilities.
Unreachable
(),
4356
_ => throw ExceptionUtilities.
Unreachable
(),
4434
_ => throw ExceptionUtilities.
Unreachable
(),
4530
_ => throw ExceptionUtilities.
Unreachable
(),
4624
_ => throw ExceptionUtilities.
Unreachable
(),
4719
_ => throw ExceptionUtilities.
Unreachable
(),
SolutionCrawler\WorkCoordinatorTests.cs (2)
985
_ => throw ExceptionUtilities.
Unreachable
(),
992
_ => throw ExceptionUtilities.
Unreachable
(),
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
InlineHints\InlineHintsTagger.cs (1)
199
throw ExceptionUtilities.
Unreachable
();
Interactive\InteractiveEvaluator.cs (1)
263
throw ExceptionUtilities.
Unreachable
();
Interactive\InteractiveWindowResetCommand.cs (1)
179
_ => throw ExceptionUtilities.
Unreachable
()
QuickInfo\Extensions.cs (2)
27
throw ExceptionUtilities.
Unreachable
();
43
throw ExceptionUtilities.
Unreachable
();
SignatureHelp\Controller.Session_ComputeModel.cs (1)
130
throw ExceptionUtilities.
Unreachable
();
Suggestions\SuggestedActionsSource.cs (3)
245
_ => throw ExceptionUtilities.
Unreachable
()
255
_ => throw ExceptionUtilities.
Unreachable
(),
295
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.Features (79)
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
();
AddImport\AbstractAddImportFeatureService.cs (1)
599
_ => throw ExceptionUtilities.
Unreachable
(),
BraceCompletion\AbstractBraceCompletionService.cs (1)
110
throw ExceptionUtilities.
Unreachable
();
ChangeSignature\AbstractChangeSignatureService.cs (1)
195
_ => throw ExceptionUtilities.
Unreachable
(),
ChangeSignature\Parameter.cs (1)
71
throw ExceptionUtilities.
Unreachable
();
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
313
var analyzerConfigDirectory = PathUtilities.GetDirectoryName(analyzerConfigPath) ?? throw ExceptionUtilities.
Unreachable
();
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
68
throw ExceptionUtilities.
Unreachable
();
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.State.cs (1)
123
throw ExceptionUtilities.
Unreachable
();
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (1)
117
throw ExceptionUtilities.
Unreachable
();
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
129
throw ExceptionUtilities.
Unreachable
();
Debugging\DebugInformationReaderProvider.cs (3)
33
=> throw ExceptionUtilities.
Unreachable
();
36
=> throw ExceptionUtilities.
Unreachable
();
39
=> throw ExceptionUtilities.
Unreachable
();
Diagnostics\DiagnosticAnalyzerExtensions.cs (1)
56
=> analyzer.GetType().Assembly.GetName().Name ?? throw ExceptionUtilities.
Unreachable
();
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
4649
throw ExceptionUtilities.
Unreachable
();
4667
throw ExceptionUtilities.
Unreachable
();
EditAndContinue\DebuggingSession.cs (3)
769
throw ExceptionUtilities.
Unreachable
();
846
throw ExceptionUtilities.
Unreachable
();
1048
throw ExceptionUtilities.
Unreachable
();
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (3)
58
throw ExceptionUtilities.
Unreachable
();
99
throw ExceptionUtilities.
Unreachable
();
201
throw ExceptionUtilities.
Unreachable
();
EditAndContinue\EditAndContinueWorkspaceService.cs (1)
158
throw ExceptionUtilities.
Unreachable
();
EditAndContinue\EditSession.cs (2)
661
throw ExceptionUtilities.
Unreachable
();
1104
throw ExceptionUtilities.
Unreachable
();
Emit\CompilationOutputFilesWithImplicitPdbPath.cs (1)
42
=> throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\AbstractUnitTestingDocumentDifferenceService.cs (1)
100
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (1)
216
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncDocumentWorkItemQueue.cs (1)
74
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncProjectWorkItemQueue.cs (1)
77
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncWorkItemQueue.cs (1)
306
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (2)
366
throw ExceptionUtilities.
Unreachable
();
388
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingLowPriorityProcessor.cs (2)
72
throw ExceptionUtilities.
Unreachable
();
184
throw ExceptionUtilities.
Unreachable
();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (5)
156
throw ExceptionUtilities.
Unreachable
();
261
throw ExceptionUtilities.
Unreachable
();
343
throw ExceptionUtilities.
Unreachable
();
465
throw ExceptionUtilities.
Unreachable
();
537
throw ExceptionUtilities.
Unreachable
();
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
96
public override SyntaxAnnotation IdentifierTokenAnnotation => throw ExceptionUtilities.
Unreachable
();
FindUsages\IRemoteFindUsagesService.cs (2)
133
throw ExceptionUtilities.
Unreachable
();
146
throw ExceptionUtilities.
Unreachable
();
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (2)
225
_ => throw ExceptionUtilities.
Unreachable
(),
265
_ => throw ExceptionUtilities.
Unreachable
(),
GenerateMember\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
429
throw ExceptionUtilities.
Unreachable
();
InheritanceMargin\InheritanceMarginItem.cs (1)
62
=> throw ExceptionUtilities.
Unreachable
();
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
561
_ => throw ExceptionUtilities.
Unreachable
(),
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (3)
314
throw ExceptionUtilities.
Unreachable
();
374
throw ExceptionUtilities.
Unreachable
();
496
throw ExceptionUtilities.
Unreachable
();
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
371
throw ExceptionUtilities.
Unreachable
();
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.cs (1)
37
var invokeMethod = anonymousType.DelegateInvokeMethod ?? throw ExceptionUtilities.
Unreachable
();
MetadataAsSource\MetadataAsSourceFileService.cs (1)
117
throw ExceptionUtilities.
Unreachable
();
Shared\Extensions\DocumentExtensions.cs (3)
122
throw ExceptionUtilities.
Unreachable
();
135
throw ExceptionUtilities.
Unreachable
();
148
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\AbstractDocumentDifferenceService.cs (2)
76
throw ExceptionUtilities.
Unreachable
();
99
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\SolutionCrawlerLogger.cs (1)
210
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.AsyncDocumentWorkItemQueue.cs (1)
65
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.AsyncProjectWorkItemQueue.cs (1)
67
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.AsyncWorkItemQueue.cs (1)
288
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (2)
153
throw ExceptionUtilities.
Unreachable
();
212
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs (3)
224
throw ExceptionUtilities.
Unreachable
();
296
throw ExceptionUtilities.
Unreachable
();
318
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.LowPriorityProcessor.cs (2)
68
throw ExceptionUtilities.
Unreachable
();
163
throw ExceptionUtilities.
Unreachable
();
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (5)
150
throw ExceptionUtilities.
Unreachable
();
247
throw ExceptionUtilities.
Unreachable
();
327
throw ExceptionUtilities.
Unreachable
();
427
throw ExceptionUtilities.
Unreachable
();
491
throw ExceptionUtilities.
Unreachable
();
Structure\Syntax\AbstractBlockStructureProvider.cs (1)
47
throw ExceptionUtilities.
Unreachable
();
UseCoalesceExpressionForIfNullStatementCheckCodeFixProvider.cs (1)
78
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
370
throw ExceptionUtilities.
Unreachable
();
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.Executor.cs (6)
67
throw ExceptionUtilities.
Unreachable
();
161
throw ExceptionUtilities.
Unreachable
();
256
throw ExceptionUtilities.
Unreachable
();
339
throw ExceptionUtilities.
Unreachable
();
380
throw ExceptionUtilities.
Unreachable
();
496
throw ExceptionUtilities.
Unreachable
();
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
242
throw ExceptionUtilities.
Unreachable
();
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_IncrementalAnalyzer.cs (2)
101
throw ExceptionUtilities.
Unreachable
();
179
throw ExceptionUtilities.
Unreachable
();
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
423
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.Remote.ServiceHub (10)
Host\RemoteWorkspace.cs (3)
127
throw ExceptionUtilities.
Unreachable
();
155
throw ExceptionUtilities.
Unreachable
();
267
throw ExceptionUtilities.
Unreachable
();
Host\RemoteWorkspace.SolutionCreator.cs (1)
102
throw ExceptionUtilities.
Unreachable
();
Services\BrokeredServiceBase.cs (2)
122
throw ExceptionUtilities.
Unreachable
();
172
throw ExceptionUtilities.
Unreachable
();
Services\BrokeredServiceBase.FactoryBase.cs (2)
80
throw ExceptionUtilities.
Unreachable
();
125
=> throw ExceptionUtilities.
Unreachable
();
Services\ConvertTupleToStructCodeRefactoringProvider\RemoteConvertTupleToStructCodeRefactoringService.cs (1)
86
throw ExceptionUtilities.
Unreachable
();
Services\EditAndContinue\RemoteEditAndContinueService.cs (1)
137
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.Remote.Workspaces (4)
RemoteCallback.cs (2)
142
throw ExceptionUtilities.
Unreachable
();
187
throw ExceptionUtilities.
Unreachable
();
ServiceDescriptors.cs (1)
144
_ => throw ExceptionUtilities.
Unreachable
()
SolutionAssetProvider.cs (1)
48
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Structure\CommentStructureTests.vb (1)
32
Throw Roslyn.Utilities.ExceptionUtilities.
Unreachable
Microsoft.CodeAnalysis.VisualBasic.Features (29)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
269
Throw ExceptionUtilities.
Unreachable
CodeRefactorings\SyncNamespace\VisualBasicChangeNamespaceService.vb (4)
66
Throw ExceptionUtilities.
Unreachable
71
Throw ExceptionUtilities.
Unreachable
76
Throw ExceptionUtilities.
Unreachable
81
Throw ExceptionUtilities.
Unreachable
Completion\CompletionProviders\AwaitCompletionProvider.vb (1)
47
Throw ExceptionUtilities.
Unreachable
ConvertIfToSwitch\VisualBasicConvertIfToSwitchCodeRefactoringProvider.Rewriting.vb (1)
23
Throw ExceptionUtilities.
Unreachable
EditAndContinue\SyntaxUtilities.vb (1)
54
Throw ExceptionUtilities.
Unreachable
ExtractMethod\VisualBasicSelectionResult.vb (1)
294
Throw ExceptionUtilities.
Unreachable
GenerateType\VisualBasicGenerateTypeService.vb (1)
214
Throw ExceptionUtilities.
Unreachable
IntroduceVariable\VisualBasicIntroduceLocalForExpressionCodeRefactoringProvider.vb (1)
48
Throw ExceptionUtilities.
Unreachable
()
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
97
Throw ExceptionUtilities.
Unreachable
TaskList\VisualBasicTaskListService.vb (1)
39
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
()
Wrapping\SeparatedSyntaxList\VisualBasicCollectionCreationExpressionWrapper.vb (3)
25
Throw ExceptionUtilities.
Unreachable
31
Throw ExceptionUtilities.
Unreachable
37
Throw ExceptionUtilities.
Unreachable
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
Formatting\Engine\Trivia\TriviaDataFactory.AbstractLineBreakTrivia.vb (2)
32
throw ExceptionUtilities.
Unreachable
39
throw ExceptionUtilities.
Unreachable
Formatting\Rules\BaseFormattingRule.vb (2)
74
Throw ExceptionUtilities.
Unreachable
79
Throw ExceptionUtilities.
Unreachable
Formatting\VisualBasicSyntaxFormattingService.vb (2)
29
Throw ExceptionUtilities.
Unreachable
33
Throw ExceptionUtilities.
Unreachable
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
1032
Throw ExceptionUtilities.
Unreachable
SyntaxNodeExtensions.vb (1)
675
Throw ExceptionUtilities.
Unreachable
VisualBasicSyntaxFacts.vb (1)
1593
Throw ExceptionUtilities.
Unreachable
Microsoft.CodeAnalysis.Workspaces (79)
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
();
Classification\SyntaxClassification\AbstractSyntaxClassificationService.cs (1)
47
throw ExceptionUtilities.
Unreachable
();
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (1)
242
throw ExceptionUtilities.
Unreachable
();
CodeFixesAndRefactorings\FixAllProviderInfo.cs (1)
159
=> throw ExceptionUtilities.
Unreachable
();
CustomDataFlowAnalysis.cs (1)
361
throw ExceptionUtilities.
Unreachable
();
Diagnostics\DiagnosticData.cs (1)
355
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]
FindSymbols\FindReferences\StreamingFindReferencesProgress.cs (1)
63
throw ExceptionUtilities.
Unreachable
();
FindSymbols\StreamingProgressCollector.cs (1)
78
throw ExceptionUtilities.
Unreachable
();
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
();
Options\OptionSet.cs (1)
85
=> throw ExceptionUtilities.
Unreachable
();
Rename\ConflictEngine\ConflictResolver.cs (1)
323
throw ExceptionUtilities.
Unreachable
();
Rename\ConflictEngine\ConflictResolver.Session.cs (7)
258
throw ExceptionUtilities.
Unreachable
();
465
throw ExceptionUtilities.
Unreachable
();
643
throw ExceptionUtilities.
Unreachable
();
685
throw ExceptionUtilities.
Unreachable
();
720
throw ExceptionUtilities.
Unreachable
();
764
throw ExceptionUtilities.
Unreachable
();
848
throw ExceptionUtilities.
Unreachable
();
Serialization\SerializerService_Reference.cs (1)
650
throw ExceptionUtilities.
Unreachable
();
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
492
throw ExceptionUtilities.
Unreachable
();
Shared\Utilities\AsyncBatchingWorkQueue`2.cs (1)
251
throw ExceptionUtilities.
Unreachable
();
Shared\Utilities\XmlFragmentParser.cs (2)
212
throw ExceptionUtilities.
Unreachable
();
218
throw ExceptionUtilities.
Unreachable
();
Storage\AbstractPersistentStorageService.cs (1)
196
return new PersistentStorageReferenceCountedDisposableWrapper(storage.TryAddReference() ?? throw ExceptionUtilities.
Unreachable
());
Storage\SQLite\v2\Interop\SqlStatement.cs (1)
62
throw ExceptionUtilities.
Unreachable
();
Storage\SQLite\v2\SQLiteConnectionPoolService.cs (2)
87
return pool.TryAddReference() ?? throw ExceptionUtilities.
Unreachable
();
106
return pool.TryAddReference() ?? 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
();
TextDocumentExtensions.cs (1)
29
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\Document.cs (2)
317
throw ExceptionUtilities.
Unreachable
();
421
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\DocumentState.cs (2)
195
throw ExceptionUtilities.
Unreachable
();
217
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\ProjectState_Checksum.cs (1)
85
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\SolutionState.CompilationTracker.cs (6)
462
throw ExceptionUtilities.
Unreachable
();
535
throw ExceptionUtilities.
Unreachable
();
564
throw ExceptionUtilities.
Unreachable
();
604
throw ExceptionUtilities.
Unreachable
();
669
throw ExceptionUtilities.
Unreachable
();
973
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\SolutionState.cs (3)
1696
throw ExceptionUtilities.
Unreachable
();
1971
throw ExceptionUtilities.
Unreachable
();
2005
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\SolutionState.GeneratedFileReplacingCompilationTracker.cs (1)
72
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\SolutionState_Checksum.cs (1)
171
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\TextDocumentState_Checksum.cs (1)
50
throw ExceptionUtilities.
Unreachable
();
Workspace\Solution\TextDocumentStates.cs (1)
76
=> _map.TryGetValue(documentId, out var state) ? state : throw ExceptionUtilities.
Unreachable
();
Workspace\Workspace_Editor.cs (1)
620
throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Remote\InProcRemostHostClient.cs (1)
129
=> throw ExceptionUtilities.
Unreachable
();
TestExportJoinableTaskContext+DenyExecutionSynchronizationContext.cs (1)
85
private void MainThreadStart() => throw ExceptionUtilities.
Unreachable
();
Microsoft.CodeAnalysis.Workspaces.UnitTests (13)
Options\OptionSerializerTests.cs (1)
56
throw ExceptionUtilities.
Unreachable
();
UtilityTest\ExceptionHelpersTests.cs (1)
45
throw ExceptionUtilities.
Unreachable
();
UtilityTest\SpecializedTasksTests.cs (11)
215
throw ExceptionUtilities.
Unreachable
();
275
throw ExceptionUtilities.
Unreachable
();
342
throw ExceptionUtilities.
Unreachable
();
366
var fault = ExceptionUtilities.
Unreachable
();
388
var fault = ExceptionUtilities.
Unreachable
();
410
var fault = ExceptionUtilities.
Unreachable
();
443
var fault = ExceptionUtilities.
Unreachable
();
468
var fault = ExceptionUtilities.
Unreachable
();
493
var fault = ExceptionUtilities.
Unreachable
();
522
var fault = ExceptionUtilities.
Unreachable
();
537
var fault = ExceptionUtilities.
Unreachable
();
Microsoft.VisualStudio.IntegrationTest.Utilities (1)
WellKnownGlobalOptions.cs (1)
33
_ => throw ExceptionUtilities.
Unreachable
()
Microsoft.VisualStudio.LanguageServices (25)
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.WorkspaceEventListener.cs (1)
67
throw ExceptionUtilities.
Unreachable
();
EditorConfigSettings\SettingsEditorControl.xaml.cs (1)
153
throw ExceptionUtilities.
Unreachable
();
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (2)
348
throw ExceptionUtilities.
Unreachable
();
425
throw ExceptionUtilities.
Unreachable
();
Implementation\AbstractVsTextViewFilter.cs (2)
56
throw ExceptionUtilities.
Unreachable
();
159
throw ExceptionUtilities.
Unreachable
();
InheritanceMargin\MarginGlyph\MenuItemContainerTemplateSelector.cs (1)
42
throw ExceptionUtilities.
Unreachable
();
Interactive\VsInteractiveWindowProvider.cs (1)
106
_ => throw ExceptionUtilities.
Unreachable
()
LanguageService\AbstractLanguageService`2.IVsLanguageDebugInfo.cs (7)
27
throw ExceptionUtilities.
Unreachable
();
39
throw ExceptionUtilities.
Unreachable
();
51
throw ExceptionUtilities.
Unreachable
();
63
throw ExceptionUtilities.
Unreachable
();
75
throw ExceptionUtilities.
Unreachable
();
87
throw ExceptionUtilities.
Unreachable
();
99
throw ExceptionUtilities.
Unreachable
();
Progression\GraphNodeIdCreation.cs (2)
145
throw ExceptionUtilities.
Unreachable
();
557
throw ExceptionUtilities.
Unreachable
();
Progression\GraphQueryManager.cs (1)
169
throw ExceptionUtilities.
Unreachable
();
ProjectSystem\InvisibleEditor.cs (1)
158
throw ExceptionUtilities.
Unreachable
();
ProjectSystem\MetadataReferences\VisualStudioMetadataReference.Snapshot.cs (1)
88
throw ExceptionUtilities.
Unreachable
();
TableDataSource\VisualStudioDiagnosticListTable.BuildTableDataSource.cs (1)
116
public override DocumentId TrackingDocumentId => throw ExceptionUtilities.
Unreachable
();
TaskList\VisualStudioTaskListService.cs (1)
188
throw ExceptionUtilities.
Unreachable
();
UnusedReferences\UnusedReferenceExtensions.cs (1)
31
_ => throw ExceptionUtilities.
Unreachable
()
Venus\ContainedDocument.cs (2)
163
throw ExceptionUtilities.
Unreachable
();
601
throw ExceptionUtilities.
Unreachable
();
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\Style\NamingPreferences\SymbolSpecification\SymbolSpecificationViewModel.cs (1)
215
throw ExceptionUtilities.
Unreachable
();
SolutionExplorer\RuleSetDocumentExtensions.cs (1)
73
throw ExceptionUtilities.
Unreachable
();
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
InProcess\EditorInProcess.cs (1)
528
throw ExceptionUtilities.
Unreachable
();
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
LanguageService\VisualBasicPackage.vb (1)
81
Throw ExceptionUtilities.
Unreachable
ProjectSystemShim\VisualBasicProject.vb (1)
148
Throw ExceptionUtilities.
Unreachable