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