18 writes to m_bPrec
System.Data (18)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (18)
479
m_bPrec
=
525
m_bPrec
= 0; // The this object cannot be used before all of its fields are assigned to
528
m_bPrec
= CalculatePrecision();
556
m_bPrec
= BGetPrecUI4(m_data1);
585
m_bPrec
= BGetPrecUI8(dwl);
601
m_bPrec
= bPrecision;
636
m_bPrec
= bPrecision;
692
m_bPrec
= NUMERIC_MAX_PRECISION;
754
m_bPrec
= (byte)(ulLen + m_bScale);
787
m_bPrec
= bPrec;
1009
snResult.
m_bPrec
= 1;
1085
snResult.
m_bPrec
= (byte)iData;
1089
snResult.
m_bPrec
= (byte)(iData - 1);
2240
m_bPrec
= bNewPrec;
2273
m_bPrec
= bNewPrec;
2340
ret.
m_bPrec
= (byte)precision;
3155
n.
m_bPrec
= MaxPrecision;
3267
this.
m_bPrec
= dec.m_bPrec;
21 references to m_bPrec
System.Data (21)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (21)
851
return
m_bPrec
;
1090
snResult.m_bScale = (byte) (snResult.
m_bPrec
- lDecPnt);
1094
if (snResult.
m_bPrec
> NUMERIC_MAX_PRECISION)
1099
if (snResult.
m_bPrec
== 0)
1222
ResInteger = Math.Max((int)x.
m_bPrec
- MyScale, (int)y.
m_bPrec
- OpScale);
1416
ResInteger = (x.
m_bPrec
- x.m_bScale) + (y.
m_bPrec
- y.m_bScale) + 1;
1648
bPrecD = x.
m_bPrec
;
1649
ResScale = Math.Max(x.m_bScale + y.
m_bPrec
+ 1, x_cNumeDivScaleMin);
1650
ResInteger = x.
m_bPrec
- x.m_bScale + y.m_bScale;
1651
ResPrec = ResScale + x.
m_bPrec
+ y.
m_bPrec
+ 1;
1786
SQLDebug.Check(m_bScale <=
m_bPrec
, "m_bScale <= m_bPrec", "In AssertValid");
1788
SQLDebug.Check(
m_bPrec
> 0, "m_bPrec > 0", "In AssertValid");
1790
SQLDebug.Check(CLenFromPrec(
m_bPrec
) >= m_bLen, "CLenFromPrec(m_bPrec) >= m_bLen", "In AssertValid");
2236
bNewPrec = (byte) (Math.Min(NUMERIC_MAX_PRECISION,Math.Max(1,lAdjust +
m_bPrec
)));
2314
int lPrecAdjust = precision - (int)ret.
m_bPrec
;//Adjustment to precision
2925
SQLDebug.Check(
m_bPrec
>= 1);
3068
if (lPosition < n.m_bScale - n.
m_bPrec
) {
3267
this.m_bPrec = dec.
m_bPrec
;