3 writes to _leftOverBytes
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (3)
31
_leftOverBytes
= null;
405
_leftOverBytes
= new byte[inBufferCount - bytesUsed];
412
_leftOverBytes
= null;
10 references to _leftOverBytes
System.Data (10)
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (10)
355
if (
_leftOverBytes
!= null)
358
if (
_leftOverBytes
.Length > byteBufferSize)
360
byteBuffer =
_leftOverBytes
;
367
Array.Copy(
_leftOverBytes
, byteBuffer,
_leftOverBytes
.Length);
368
byteBufferUsed =
_leftOverBytes
.Length;
406
Array.Copy(inBuffer, bytesUsed,
_leftOverBytes
, 0,
_leftOverBytes
.Length);
415
Debug.Assert(((_reader == null) || (_reader.ColumnDataBytesRemaining() > 0) || (!completed) || (
_leftOverBytes
== null)), "Stream has run out of data and the decoder finished, but there are leftover bytes");
435
get { return ((
_leftOverBytes
!= null) || (_reader.ColumnDataBytesRemaining() > 0)); }