19 references to IsPositive
System.Data.Common (19)
System\Data\SQLTypes\SQLDecimal.cs (15)
968
if (
IsPositive
)
1140
return
IsPositive
? dRet : -dRet;
1153
return new decimal((int)_data1, (int)_data2, (int)_data3, !
IsPositive
, _bScale);
1210
s.SetSignBit(!s.
IsPositive
);
1242
fMySignPos = x.
IsPositive
;
1243
fOpSignPos = y.
IsPositive
;
1471
fResPositive = (x.
IsPositive
== y.
IsPositive
); //positive if both signs same.
1681
fResSignPos = (x.
IsPositive
== y.
IsPositive
); //sign of result
2788
Sign1 =
IsPositive
? 1 : -1;
2789
Sign2 = snumOp.
IsPositive
? 1 : -1;
3106
if (fFraction && n.
IsPositive
)
3134
if (fFraction && !n.
IsPositive
)
3157
(n.
IsPositive
? new SqlInt32(1) : new SqlInt32(-1));
System\Data\SQLTypes\SQLInt32.cs (1)
262
if (!x.
IsPositive
)
System\Data\SQLTypes\SQLInt64.cs (2)
315
if (dwl > SqlDecimal.s_llMax && (ssnumTemp.
IsPositive
|| dwl != 1 + SqlDecimal.s_llMax))
324
if (!ssnumTemp.
IsPositive
)
System\Data\SQLTypes\SQLMoney.cs (1)
88
bool fPositive = snum.
IsPositive
;