15 references to ExceptionUtilities
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
src\Compilers\CSharp\Portable\Symbols\Synthesized\GeneratedNameParser.cs (1)
248static byte @throw(char c) => throw ExceptionUtilities.UnexpectedValue(c);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (14)
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)
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)
224throw ExceptionUtilities.UnexpectedValue(member.MemberType); 867throw ExceptionUtilities.UnexpectedValue(memberType); 871throw ExceptionUtilities.Unreachable();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (3)
112throw ExceptionUtilities.Unreachable(); 215throw ExceptionUtilities.Unreachable(); 435throw ExceptionUtilities.UnexpectedValue(result.Kind);