7 references to SwitchConstantValueHelper
Microsoft.CodeAnalysis (6)
CodeGen\SwitchIntegralJumpTableEmitter.cs (5)
152
Debug.Assert(
SwitchConstantValueHelper
.IsValidSwitchCaseLabelConstant(firstConstant)
156
Debug.Assert(
SwitchConstantValueHelper
.IsValidSwitchCaseLabelConstant(secondConstant)
159
return
SwitchConstantValueHelper
.CompareSwitchCaseLabelConstants(firstConstant, secondConstant);
425
SwitchConstantValueHelper
.IsValidSwitchCaseLabelConstant(constant));
440
SwitchConstantValueHelper
.IsValidSwitchCaseLabelConstant(constant));
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (1)
264
&&
SwitchConstantValueHelper
.IsValidSwitchCaseLabelConstant(constant)
Microsoft.CodeAnalysis.CSharp (1)
Binder\SwitchBinder.cs (1)
97
var map = new Dictionary<object, SourceLabelSymbol>(labels.Length, new
SwitchConstantValueHelper
.SwitchLabelsComparer());