18 references to ExceptionUtilities
Microsoft.CodeAnalysis.InteractiveHost (18)
Interactive\Core\InteractiveHost.cs (2)
264
throw
ExceptionUtilities
.Unreachable();
351
throw
ExceptionUtilities
.Unreachable();
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
131
throw
ExceptionUtilities
.Unreachable();
Interactive\Core\InteractiveHost.RemoteService.cs (1)
104
throw
ExceptionUtilities
.Unreachable();
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
186
throw
ExceptionUtilities
.UnexpectedValue(kind);
src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
721
throw
ExceptionUtilities
.Unreachable();
731
throw
ExceptionUtilities
.Unreachable();
src\Dependencies\Collections\TemporaryArray`1.cs (3)
316
_ => throw
ExceptionUtilities
.Unreachable(),
378
throw
ExceptionUtilities
.Unreachable();
431
throw
ExceptionUtilities
.Unreachable();
src\Dependencies\Contracts\ErrorReporting\FailFast.cs (2)
45
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
55
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
src\Dependencies\Contracts\ErrorReporting\FatalError.cs (2)
145
if (
ExceptionUtilities
.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
221
if (
ExceptionUtilities
.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
276
throw
ExceptionUtilities
.Unreachable();
289
throw
ExceptionUtilities
.Unreachable();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (2)
446
throw
ExceptionUtilities
.Unreachable();
450
throw
ExceptionUtilities
.Unreachable();