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