44 references to Unreachable
Microsoft.CodeAnalysis.CodeStyle (44)
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (2)
649
throw ExceptionUtilities.
Unreachable
();
659
throw ExceptionUtilities.
Unreachable
();
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (3)
314
_ => throw ExceptionUtilities.
Unreachable
(),
376
throw ExceptionUtilities.
Unreachable
();
429
throw ExceptionUtilities.
Unreachable
();
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (2)
43
throw ExceptionUtilities.
Unreachable
(); // to satisfy [DoesNotReturn]
53
throw ExceptionUtilities.
Unreachable
(); // to satisfy [DoesNotReturn]
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
51
=> throw ExceptionUtilities.
Unreachable
();
src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
76
return ReadIfInitialized() ?? throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\MutableIntervalTree`1.Node.cs (1)
57
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
192
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
361
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\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
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
455
throw ExceptionUtilities.
Unreachable
();
563
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageResult.cs (1)
67
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (1)
181
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
105
_commonRoot = startToken.GetCommonRoot(endToken) ?? throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.AbstractComplexTrivia.cs (2)
70
throw ExceptionUtilities.
Unreachable
();
112
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenData.cs (1)
98
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
378
_ => throw ExceptionUtilities.
Unreachable
()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
142
public string ReadRequiredString() => ReadString() ?? throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (4)
357
=> throw ExceptionUtilities.
Unreachable
();
360
=> throw ExceptionUtilities.
Unreachable
();
363
=> throw ExceptionUtilities.
Unreachable
();
392
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (2)
445
throw ExceptionUtilities.
Unreachable
();
449
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
176
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ProducerConsumer.cs (1)
326
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
83
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
165
throw ExceptionUtilities.
Unreachable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskFactoryExtensions.cs (2)
29
throw ExceptionUtilities.
Unreachable
();
47
throw ExceptionUtilities.
Unreachable
();