2 writes to _cachedBytes
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
278
_cachedBytes
= sqlBuf.CachedBytes;
328
_cachedBytes
= null;
17 references to _cachedBytes
System.Data (17)
fx\src\data\System\Data\SqlClient\SqlStream.cs (17)
310
pos +=
_cachedBytes
[ii].Length;
317
if (null ==
_cachedBytes
) {
326
if (disposing &&
_cachedBytes
!= null)
327
_cachedBytes
.Clear();
346
if (null ==
_cachedBytes
) {
362
if (
_cachedBytes
.Count <= _currentArrayIndex) {
367
if (
_cachedBytes
[_currentArrayIndex].Length <= _currentPosition) {
369
if (
_cachedBytes
.Count > _currentArrayIndex) {
376
cb =
_cachedBytes
[_currentArrayIndex].Length - _currentPosition;
379
Array.Copy(
_cachedBytes
[_currentArrayIndex], _currentPosition, buffer, offset, cb);
393
if (null ==
_cachedBytes
) {
432
for (int ii = 0 ; ii <
_cachedBytes
.Count ; ii++) {
433
if (pos >
_cachedBytes
[ii].Length) {
434
pos -=
_cachedBytes
[ii].Length;
448
if ((_totalLength == 0) && (
_cachedBytes
!= null)) {
450
for (int ii = 0 ; ii <
_cachedBytes
.Count ; ii++) {
451
pos +=
_cachedBytes
[ii].Length;