18 references to ExceptionUtilities
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (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.Utilities (16)
Debugger\Engine\DkmClrType.cs (1)
260throw ExceptionUtilities.UnexpectedValue(state);
Debugger\Engine\DkmClrValue.cs (1)
519throw ExceptionUtilities.UnexpectedValue((MemberTypes)MemberType);
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();