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