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)
519
throw
ExceptionUtilities
.UnexpectedValue((MemberTypes)MemberType);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (2)
43
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
53
throw
ExceptionUtilities
.Unreachable(); // to satisfy [DoesNotReturn]
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (2)
142
if (
ExceptionUtilities
.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
218
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)
225
throw
ExceptionUtilities
.UnexpectedValue(member.MemberType);
868
throw
ExceptionUtilities
.UnexpectedValue(memberType);
872
throw
ExceptionUtilities
.Unreachable();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (3)
114
throw
ExceptionUtilities
.Unreachable();
217
throw
ExceptionUtilities
.Unreachable();
437
throw
ExceptionUtilities
.UnexpectedValue(result.Kind);