16 references to ExceptionUtilities
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (2)
GeneratedNameParser.cs (1)
240static byte @throw(char c) => throw ExceptionUtilities.UnexpectedValue(c);
ObjectDisplay.cs (1)
13using ExceptionUtilities = Roslyn.Utilities.ExceptionUtilities;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (14)
FailFast.cs (2)
43throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn] 53throw ExceptionUtilities.Unreachable(); // to satisfy [DoesNotReturn]
FatalError.cs (2)
140if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException) 216if (ExceptionUtilities.IsCurrentOperationBeingCancelled(exception, contextCancellationToken) || exception is OperationCanceledIgnoringCallerTokenException)
Formatter.Values.cs (1)
394throw ExceptionUtilities.UnexpectedValue(typeCode);
MemberAndDeclarationInfo.cs (3)
154throw ExceptionUtilities.UnexpectedValue(member.MemberType); 194throw ExceptionUtilities.UnexpectedValue(member.MemberType); 209throw ExceptionUtilities.UnexpectedValue(_member.MemberType);
ResultProvider.cs (3)
105throw ExceptionUtilities.Unreachable(); 208throw ExceptionUtilities.Unreachable(); 428throw ExceptionUtilities.UnexpectedValue(result.Kind);
TypeHelpers.cs (3)
210throw ExceptionUtilities.UnexpectedValue(member.MemberType); 853throw ExceptionUtilities.UnexpectedValue(memberType); 857throw ExceptionUtilities.Unreachable();