9 references to MaxPrecision
System.Data.Common (9)
System\Data\SQLTypes\SQLDecimal.cs (9)
409
Debug.Assert((precision ==
MaxPrecision
+ 1) || VerifyPrecision(precision), "Calcualted precision too low?");
417
_bPrec =
MaxPrecision
; // BActualPrec does not work if m_bPrec uninitialized!
434
Debug.Assert(precision <=
MaxPrecision
, "Precision > MaxPrecision");
1252
Debug.Assert(ResInteger <=
MaxPrecision
);
1261
ResPrec = Math.Min(
MaxPrecision
, ResPrec);
1912
Debug.Assert(bPrec <=
MaxPrecision
&& bPrec > 0, "bPrec <= MaxPrecision && bPrec > 0",
2852
if (bPrec < 1 || bPrec >
MaxPrecision
|| bScale > MaxScale || bScale > bPrec)
2858
if (iPrec < 1 || iPrec >
MaxPrecision
|| iScale < 0 || iScale > MaxScale || iScale > iPrec)
3264
n._bPrec =
MaxPrecision
;