2 writes to m_PinnedSendBuffer
System (2)
net\System\Net\WebSockets\WebSocketBuffer.cs (2)
208
m_PinnedSendBuffer
= payload;
315
m_PinnedSendBuffer
= WebSocketHelpers.EmptyPayload;
15 references to m_PinnedSendBuffer
System (15)
net\System\Net\WebSockets\WebSocketBuffer.cs (15)
209
m_PinnedSendBufferHandle = GCHandle.Alloc(
m_PinnedSendBuffer
.Array, GCHandleType.Pinned);
212
Marshal.UnsafeAddrOfPinnedArrayElement(
m_PinnedSendBuffer
.Array,
m_PinnedSendBuffer
.Offset).ToInt64();
213
m_PinnedSendBufferEndAddress = m_PinnedSendBufferStartAddress +
m_PinnedSendBuffer
.Count;
232
Contract.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(
m_PinnedSendBuffer
.Array,
233
m_PinnedSendBuffer
.Offset).ToInt64() == m_PinnedSendBufferStartAddress,
236
return new IntPtr(m_PinnedSendBufferStartAddress + offset -
m_PinnedSendBuffer
.Offset);
250
Contract.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(
m_PinnedSendBuffer
.Array,
251
m_PinnedSendBuffer
.Offset).ToInt64() == m_PinnedSendBufferStartAddress,
261
return new ArraySegment<byte>(
m_PinnedSendBuffer
.Array,
m_PinnedSendBuffer
.Offset + internalOffset, (int)bufferSize);
272
return object.ReferenceEquals(buffer,
m_PinnedSendBuffer
.Array) &&
273
offset >=
m_PinnedSendBuffer
.Offset &&
274
offset + count <=
m_PinnedSendBuffer
.Offset +
m_PinnedSendBuffer
.Count;