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)
636
return
_sb
!= null && !
_sb
.IsNull;
644
return
_sb
!= null;
652
return
_sb
!= null && (!
_sb
.IsNull ||
_sb
._rgbBuf != null);
661
return
_sb
.Length;
676
ArgumentOutOfRangeException.ThrowIfGreaterThan(value,
_sb
.Length);
695
ArgumentOutOfRangeException.ThrowIfGreaterThan(offset,
_sb
.Length);
702
ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition,
_sb
.Length, nameof(offset));
707
lPosition =
_sb
.Length + offset;
709
ArgumentOutOfRangeException.ThrowIfGreaterThan(lPosition,
_sb
.Length, nameof(offset));
738
int bytesRead = (int)
_sb
.Read(_lPosition, buffer);
762
_sb
.Write(_lPosition, buffer);
773
if (_lPosition >=
_sb
.Length)
776
int ret =
_sb
[_lPosition];
785
_sb
[_lPosition] = value;
793
_sb
.SetLength(value);
801
if (
_sb
.FStream())
802
_sb
._stream!.Flush();
826
return
_sb
== null;