2 writes to Buffer
System (2)
net\System\Net\_BufferOffsetSize.cs (1)
35
Buffer
= buffer;
net\System\Net\SecureProtocols\_SslStream.cs (1)
513
buffer.
Buffer
= outBuffer;
11 references to Buffer
System (11)
net\System\Net\_ConnectStream.cs (1)
675
Logging.Dump(Logging.Web, this, "ResubmitWrite", bufferOffsetSize.
Buffer
, bufferOffsetSize.Offset, bufferOffsetSize.Size);
net\System\Net\Internal.cs (2)
2311
_RealBuffers[j++] = new BufferOffsetSize(_UserBuffers[curIndex].
Buffer
, _UserBuffers[curIndex].Offset + firstBufferConsumed, _UserBuffers[curIndex].Size-firstBufferConsumed, false);
2317
_RealBuffers[j] = new BufferOffsetSize(_UserBuffers[curIndex].
Buffer
, _UserBuffers[curIndex].Offset + _LastBufferConsumed, lastChunkSize, false);
net\System\Net\SecureProtocols\_SslStream.cs (3)
326
ValidateParameters(buffer.
Buffer
, buffer.Offset, buffer.Size);
480
status = _SslState.EncryptData(buffer.
Buffer
, buffer.Offset, chunkBytes, ref outBuffer, out outSize);
505
status = _SslState.EncryptData(buffer.
Buffer
, buffer.Offset, chunkBytes, ref outBuffer, out outSize);
net\System\Net\Sockets\_OverlappedAsyncResult.cs (2)
119
objectsToPin[i] = buffers[i].
Buffer
;
127
m_WSABuffers[i].Pointer = Marshal.UnsafeAddrOfPinnedArrayElement(buffers[i].
Buffer
, buffers[i].Offset);
net\System\Net\Sockets\Socket.cs (2)
6999
objectsToPin[i] = GCHandle.Alloc(buffers[i].
Buffer
, GCHandleType.Pinned);
7001
WSABuffers[i].Pointer = Marshal.UnsafeAddrOfPinnedArrayElement(buffers[i].
Buffer
, buffers[i].Offset);
net\System\Net\webclient.cs (1)
1185
Buffer.BlockCopy(bufferOffsetSize.
Buffer
, 0, newbuf, newBufOffset, bufferOffsetSize.Size);