9 references to IsValidSwitchCaseLabelConstant
Microsoft.CodeAnalysis (9)
CodeGen\SwitchIntegralJumpTableEmitter.cs (4)
145
Debug.Assert(SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(firstConstant)
149
Debug.Assert(SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(secondConstant)
418
SwitchConstantValueHelper.
IsValidSwitchCaseLabelConstant
(constant));
433
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))