16 references to ExceptionUtilities
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (16)
Debugger\Engine\DkmClrType.cs (1)
251throw ExceptionUtilities.UnexpectedValue(state);
Debugger\Engine\DkmClrValue.cs (1)
519throw ExceptionUtilities.UnexpectedValue((MemberTypes)MemberType);
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\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
400throw ExceptionUtilities.UnexpectedValue(typeCode);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\MemberAndDeclarationInfo.cs (3)
161throw ExceptionUtilities.UnexpectedValue(member.MemberType); 201throw ExceptionUtilities.UnexpectedValue(member.MemberType); 216throw ExceptionUtilities.UnexpectedValue(_member.MemberType);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (3)
225throw ExceptionUtilities.UnexpectedValue(member.MemberType); 868throw ExceptionUtilities.UnexpectedValue(memberType); 872throw ExceptionUtilities.Unreachable();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (3)
114throw ExceptionUtilities.Unreachable(); 217throw ExceptionUtilities.Unreachable(); 437throw ExceptionUtilities.UnexpectedValue(result.Kind);