16 references to ExceptionUtilities
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (16)
Debugger\Engine\DkmClrType.cs (1)
261
throw
ExceptionUtilities
.UnexpectedValue(state);
Debugger\Engine\DkmClrValue.cs (1)
517
throw
ExceptionUtilities
.UnexpectedValue((MemberTypes)MemberType);
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\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
400
throw
ExceptionUtilities
.UnexpectedValue(typeCode);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\MemberAndDeclarationInfo.cs (3)
161
throw
ExceptionUtilities
.UnexpectedValue(member.MemberType);
201
throw
ExceptionUtilities
.UnexpectedValue(member.MemberType);
216
throw
ExceptionUtilities
.UnexpectedValue(_member.MemberType);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (3)
224
throw
ExceptionUtilities
.UnexpectedValue(member.MemberType);
867
throw
ExceptionUtilities
.UnexpectedValue(memberType);
871
throw
ExceptionUtilities
.Unreachable();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (3)
112
throw
ExceptionUtilities
.Unreachable();
215
throw
ExceptionUtilities
.Unreachable();
435
throw
ExceptionUtilities
.UnexpectedValue(result.Kind);