18 references to ExceptionUtilities
Microsoft.CodeAnalysis.InteractiveHost (18)
Interactive\Core\InteractiveHost.cs (2)
263
throw
ExceptionUtilities
.Unreachable();
350
throw
ExceptionUtilities
.Unreachable();
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
129
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)
1170
throw
ExceptionUtilities
.Unreachable();
1180
throw
ExceptionUtilities
.Unreachable();
src\Dependencies\Collections\TemporaryArray`1.cs (3)
317
_ => throw
ExceptionUtilities
.Unreachable(),
379
throw
ExceptionUtilities
.Unreachable();
432
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)
275
throw
ExceptionUtilities
.Unreachable();
288
throw
ExceptionUtilities
.Unreachable();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (2)
446
throw
ExceptionUtilities
.Unreachable();
450
throw
ExceptionUtilities
.Unreachable();