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); 2302_bPrec = bNewPrec; 2342_bPrec = bNewPrec; 2402ret._bPrec = (byte)precision; 3264n._bPrec = MaxPrecision; 3363_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) 1251ResInteger = Math.Max(x._bPrec - MyScale, y._bPrec - OpScale); 1448ResInteger = (x._bPrec - x._bScale) + (y._bPrec - y._bScale) + 1; 1687bPrecD = x._bPrec; 1688ResScale = Math.Max(x._bScale + y._bPrec + 1, s_cNumeDivScaleMin); 1689ResInteger = x._bPrec - x._bScale + y._bScale; 1690ResPrec = ResScale + x._bPrec + y._bPrec + 1; 1810Debug.Assert(_bScale <= _bPrec, "m_bScale <= m_bPrec", "In AssertValid"); 1812Debug.Assert(_bPrec > 0, "m_bPrec > 0", "In AssertValid"); 1814Debug.Assert(CLenFromPrec(_bPrec) >= _bLen, "CLenFromPrec(m_bPrec) >= m_bLen", "In AssertValid"); 2071if (_bPrec == 0 || _bLen < 1) 2297bNewPrec = (byte)(Math.Min(s_NUMERIC_MAX_PRECISION, Math.Max(1, lAdjust + _bPrec))); 3034Debug.Assert(_bPrec >= 1); 3178if (lPosition < n._bScale - n._bPrec) 3363_bPrec = dec._bPrec;