2 writes to m_PayloadOffset
System (2)
net\System\Net\WebSockets\WebSocketBuffer.cs (2)
360
m_PayloadOffset
= 0;
366
m_PayloadOffset
+= bytesTransferred;
5 references to m_PayloadOffset
System (5)
net\System\Net\WebSockets\WebSocketBuffer.cs (5)
326
Contract.Assert(
m_PayloadOffset
== 0,
352
m_PayloadBuffer.Offset +
m_PayloadOffset
,
579
Contract.Assert(
m_PayloadOffset
>= 0, "'m_PayloadOffset' MUST NOT be smaller than 0.");
580
Contract.Assert(
m_PayloadOffset
<= m_PayloadBuffer.Count,
582
Contract.Assert(
m_PayloadOffset
+ m_BufferedPayloadReceiveResult.Count <= m_PayloadBuffer.Count,