14 references to ExceptionUtilities
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (14)
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);