9 references to IsValidSwitchCaseLabelConstant
Microsoft.CodeAnalysis (9)
CodeGen\SwitchIntegralJumpTableEmitter.cs (4)
152
Debug.Assert(SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(firstConstant)
156
Debug.Assert(SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(secondConstant)
425
SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(constant));
440
SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(constant));
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (1)
264
&& SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(constant)
SwitchConstantValueHelper.cs (4)
55
RoslynDebug.Assert(
IsValidSwitchCaseLabelConstant
(first));
56
RoslynDebug.Assert(
IsValidSwitchCaseLabelConstant
(second));
109
if (!
IsValidSwitchCaseLabelConstant
(firstConstant)
110
|| !
IsValidSwitchCaseLabelConstant
(secondConstant))