17 references to ExceptionUtilities
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (17)
BuildHost.cs (1)
182_ => throw ExceptionUtilities.UnexpectedValue(languageName)
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (2)
649throw ExceptionUtilities.Unreachable(); 659throw ExceptionUtilities.Unreachable();
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (3)
314_ => throw ExceptionUtilities.Unreachable(), 376throw ExceptionUtilities.Unreachable(); 429throw ExceptionUtilities.Unreachable();
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
185throw ExceptionUtilities.UnexpectedValue(kind);
src\Compilers\Core\Portable\InternalUtilities\EmptyComparer.cs (1)
24=> throw ExceptionUtilities.Unreachable();
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (2)
43throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn] 53throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn]
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (2)
142if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException) 218if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
51=> throw ExceptionUtilities.Unreachable();
src\Compilers\Core\Portable\InternalUtilities\RoslynParallel.cs (2)
34throw ExceptionUtilities.Unreachable(); 41throw ExceptionUtilities.Unreachable();
src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (2)
76return ReadIfInitialized() ?? throw ExceptionUtilities.Unreachable(); 79throw ExceptionUtilities.UnexpectedValue(unexpectedValue);