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