14 references to ExceptionUtilities
Microsoft.CodeAnalysis.Extensions.Package (14)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (2)
271throw ExceptionUtilities.UnexpectedValue(specialType); 387_ => throw ExceptionUtilities.UnexpectedValue(enumUnderlyingType),
src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1096throw ExceptionUtilities.Unreachable(); 1106throw ExceptionUtilities.Unreachable();
src\Dependencies\Collections\TemporaryArray`1.cs (3)
317_ => throw ExceptionUtilities.Unreachable(), 379throw ExceptionUtilities.Unreachable(); 432throw ExceptionUtilities.Unreachable();
src\Dependencies\Contracts\ErrorReporting\FailFast.cs (2)
45throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn] 55throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn]
src\Dependencies\Contracts\ErrorReporting\FatalError.cs (2)
145if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException) 221if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
Symbols\ISymbolExtensions_Accessibility.cs (3)
171throw ExceptionUtilities.UnexpectedValue(symbol.Kind); 241throw ExceptionUtilities.UnexpectedValue(declaredAccessibility); 327throw ExceptionUtilities.UnexpectedValue(declaredAccessibility);