2 writes to _sb
System.Data.Common (2)
System\Data\SQLTypes\SQLBytes.cs (2)
621_sb = sb; 812_sb = null!;
21 references to _sb
System.Data.Common (21)
System\Data\SQLTypes\SQLBytes.cs (21)
636return _sb != null && !_sb.IsNull; 644return _sb != null; 652return _sb != null && (!_sb.IsNull || _sb._rgbBuf != null); 661return _sb.Length; 676ArgumentOutOfRangeException.ThrowIfGreaterThan(value, _sb.Length); 695ArgumentOutOfRangeException.ThrowIfGreaterThan(offset, _sb.Length); 702ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition, _sb.Length, nameof(offset)); 707lPosition = _sb.Length + offset; 709ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition, _sb.Length, nameof(offset)); 738int bytesRead = (int)_sb.Read(_lPosition, buffer); 762_sb.Write(_lPosition, buffer); 773if (_lPosition >= _sb.Length) 776int ret = _sb[_lPosition]; 785_sb[_lPosition] = value; 793_sb.SetLength(value); 801if (_sb.FStream()) 802_sb._stream!.Flush(); 826return _sb == null;