6 writes to _buffer
mscorlib (6)
system\io\filestream.cs (6)
1526
if (_buffer == null)
_buffer
= new byte[_bufferSize];
1817
if (_buffer==null)
_buffer
= new byte[_bufferSize];
1956
if (_buffer == null)
_buffer
= new byte[_bufferSize];
2167
if (_buffer == null)
_buffer
= new byte[_bufferSize];
2251
if (_writePos == 0)
_buffer
= new byte[_bufferSize];
2423
if (_buffer==null)
_buffer
= new byte[_bufferSize];
25 references to _buffer
mscorlib (25)
system\io\filestream.cs (25)
1378
IAsyncResult asyncResult = BeginWriteCore(
_buffer
, 0, _writePos, null, null);
1397
WriteCore(
_buffer
, 0, _writePos);
1526
if (
_buffer
== null) _buffer = new byte[_bufferSize];
1527
n = ReadCore(
_buffer
, 0, _bufferSize);
1535
Buffer.InternalBlockCopy(
_buffer
, _readPos, array, offset, n);
1657
Buffer.InternalBlockCopy(
_buffer
, _readPos,
_buffer
, 0, _readLen - _readPos);
1669
Buffer.InternalBlockCopy(
_buffer
, _readPos+diff,
_buffer
, 0, _readLen - (_readPos + diff));
1786
Buffer.InternalBlockCopy(array, offset,
_buffer
, _writePos, numBytes);
1797
IAsyncResult result = BeginWriteCore(
_buffer
, 0, _writePos, null, null);
1802
WriteCore(
_buffer
, 0, _writePos);
1817
if (
_buffer
==null) _buffer = new byte[_bufferSize];
1819
Buffer.InternalBlockCopy(array, offset,
_buffer
, _writePos, count);
1924
Buffer.InternalBlockCopy(
_buffer
, _readPos, array, offset, n);
1956
if (
_buffer
== null) _buffer = new byte[_bufferSize];
1957
IAsyncResult bufferRead = BeginReadCore(
_buffer
, 0, _bufferSize, null, null, 0);
1961
Buffer.InternalBlockCopy(
_buffer
, 0, array, offset, n);
1980
Buffer.InternalBlockCopy(
_buffer
, _readPos, array, offset, n);
2167
if (
_buffer
== null) _buffer = new byte[_bufferSize];
2168
_readLen = ReadCore(
_buffer
, 0, _bufferSize);
2174
int result =
_buffer
[_readPos];
2252
Buffer.InternalBlockCopy(array, offset,
_buffer
, _writePos, numBytes);
2423
if (
_buffer
==null) _buffer = new byte[_bufferSize];
2428
_buffer
[_writePos] = value;