11 references to IsNegativeNumeric
Microsoft.CodeAnalysis (4)
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
372
bool hasNegativeCaseLabels = startConstant.
IsNegativeNumeric
;
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (2)
188
if (startConstant.
IsNegativeNumeric
|| endConstant.
IsNegativeNumeric
)
Operations\ControlFlowGraphBuilder.cs (1)
5090
if (value.
IsNegativeNumeric
)
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Expressions.cs (1)
9744
if (constant != null && constant.
IsNegativeNumeric
)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
2899
Assert.Equal(negative, value.
IsNegativeNumeric
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NativeIntegerTests.cs (1)
7062
Assert.Equal(negative, value.
IsNegativeNumeric
);
Microsoft.CodeAnalysis.UnitTests (4)
CorLibTypesTests.cs (4)
160
Assert.True(cv1.
IsNegativeNumeric
);
163
Assert.True(cv2.
IsNegativeNumeric
);
166
Assert.True(cv3.
IsNegativeNumeric
);
169
Assert.True(cv4.
IsNegativeNumeric
);