10 references to IsNegative
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (6)
778
if (!
IsNegative
(d))
801
if (!
IsNegative
(d))
846
if (!
IsNegative
(d) || i == 0)
863
if (!
IsNegative
(d) || l == 0)
1434
return
IsNegative
(x) ? y : x;
1455
return
IsNegative
(x) ? x : y;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (2)
1711
return decimal.
IsNegative
(value) ? -flt : flt;
1720
return decimal.
IsNegative
(value) ? -dbl : dbl;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
470
if (decimal.
IsNegative
(value))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (1)
617
number.IsNegative = decimal.
IsNegative
(d);