20 writes to _bPrec
System.Data.Common (20)
System\Data\SQLTypes\SQLDecimal.cs (20)
417_bPrec = MaxPrecision; // BActualPrec does not work if m_bPrec uninitialized! 419_bPrec = bPrec; // restore current value 471_bPrec = 520_bPrec = 0; // The this object cannot be used before all of its fields are assigned to 523_bPrec = CalculatePrecision(); 550_bPrec = BGetPrecUI4(_data1); 578_bPrec = BGetPrecUI8(dwl); 591_bPrec = bPrecision; 627_bPrec = bPrecision; 683_bPrec = s_NUMERIC_MAX_PRECISION; 752_bPrec = (byte)(ulLen + _bScale); 789_bPrec = bPrec; 1010snResult._bPrec = 1; 1099snResult._bPrec = (byte)iData; 1104snResult._bPrec = (byte)(iData - 1); 2309_bPrec = bNewPrec; 2349_bPrec = bNewPrec; 2409ret._bPrec = (byte)precision; 3271n._bPrec = MaxPrecision; 3370_bPrec = dec._bPrec;
22 references to _bPrec
System.Data.Common (22)
System\Data\SQLTypes\SQLDecimal.cs (22)
416byte bPrec = _bPrec; // store current value 850return _bPrec; 1105snResult._bScale = (byte)(snResult._bPrec - lDecPnt); 1109if (snResult._bPrec > s_NUMERIC_MAX_PRECISION) 1114if (snResult._bPrec == 0) 1258ResInteger = Math.Max(x._bPrec - MyScale, y._bPrec - OpScale); 1455ResInteger = (x._bPrec - x._bScale) + (y._bPrec - y._bScale) + 1; 1694bPrecD = x._bPrec; 1695ResScale = Math.Max(x._bScale + y._bPrec + 1, s_cNumeDivScaleMin); 1696ResInteger = x._bPrec - x._bScale + y._bScale; 1697ResPrec = ResScale + x._bPrec + y._bPrec + 1; 1817Debug.Assert(_bScale <= _bPrec, "m_bScale <= m_bPrec", "In AssertValid"); 1819Debug.Assert(_bPrec > 0, "m_bPrec > 0", "In AssertValid"); 1821Debug.Assert(CLenFromPrec(_bPrec) >= _bLen, "CLenFromPrec(m_bPrec) >= m_bLen", "In AssertValid"); 2078if (_bPrec == 0 || _bLen < 1) 2304bNewPrec = (byte)(Math.Min(s_NUMERIC_MAX_PRECISION, Math.Max(1, lAdjust + _bPrec))); 3041Debug.Assert(_bPrec >= 1); 3185if (lPosition < n._bScale - n._bPrec) 3370_bPrec = dec._bPrec;