1 write to m_InternalBuffer
System (1)
net\System\Net\WebSockets\WebSocketBase.cs (1)
102
m_InternalBuffer
= internalBuffer;
20 references to m_InternalBuffer
System (20)
net\System\Net\WebSockets\WebSocketBase.cs (20)
106
Logging.Associate(Logging.WebSockets, this,
m_InternalBuffer
);
179
Contract.Assert(
m_InternalBuffer
!= null, "'m_InternalBuffer' MUST NOT be NULL.");
180
return
m_InternalBuffer
;
1256
m_InternalBuffer
.ValidateNativeBuffers(action, bufferType, dataBuffers, dataBufferCount);
1390
if (
m_InternalBuffer
!= null)
1392
m_InternalBuffer
.Dispose(this.State);
1745
ArraySegment<byte> payload = m_WebSocket.
m_InternalBuffer
.ConvertNativeBuffer(action, dataBuffers[0], bufferType);
1803
ArraySegment<byte> framingBuffer = m_WebSocket.
m_InternalBuffer
.ConvertNativeBuffer(action, dataBuffers[0], bufferType);
1818
if (m_WebSocket.
m_InternalBuffer
.IsPinnedSendPayloadBuffer(dataBuffers[1], bufferType))
1820
payload = m_WebSocket.
m_InternalBuffer
.ConvertPinnedSendPayloadFromNative(dataBuffers[1], bufferType);
1824
payload = m_WebSocket.
m_InternalBuffer
.ConvertNativeBuffer(action, dataBuffers[1], bufferType);
1926
if (!m_WebSocket.
m_InternalBuffer
.ReceiveFromBufferedPayload(buffer.Value, out receiveResult))
2016
m_WebSocket.
m_InternalBuffer
.ConvertCloseBuffer(action, dataBuffers[0], out closeStatus, out reason);
2023
payload = m_WebSocket.
m_InternalBuffer
.ConvertNativeBuffer(action, dataBuffers[0], bufferType);
2032
m_WebSocket.
m_InternalBuffer
.BufferPayload(payload, buffer.Value.Count, messageType, endOfMessage);
2091
m_WebSocket.
m_InternalBuffer
.PinSendBuffer(buffer.Value, out m_BufferHasBeenPinned);
2092
payloadBuffer.Data.BufferData = m_WebSocket.
m_InternalBuffer
.ConvertPinnedSendPayloadToNative(buffer.Value);
2107
m_WebSocket.
m_InternalBuffer
.ReleasePinnedSendBuffer();
2173
m_WebSocket.
m_InternalBuffer
.PinSendBuffer(closeBuffer, out m_BufferHasBeenPinned);
2174
payloadBuffer.CloseStatus.ReasonData = m_WebSocket.
m_InternalBuffer
.ConvertPinnedSendPayloadToNative(closeBuffer);