2 writes to Count
System (2)
net\System\Net\WebSockets\WebSocketReceiveResult.cs (2)
28
this.
Count
= count;
45
this.
Count
-= count;
17 references to Count
System (12)
net\System\Net\WebSockets\WebSocketBase.cs (5)
245
if (s_LoggingEnabled && receiveResult.
Count
> 0)
252
receiveResult.
Count
);
922
if (s_LoggingEnabled && receiveResult.
Count
> 0)
929
receiveResult.
Count
);
1689
Contract.Assert(ReceiveResult.
Count
== 0, "'receiveResult.Count' MUST be 0.");
net\System\Net\WebSockets\WebSocketBuffer.cs (5)
328
Contract.Assert(m_BufferedPayloadReceiveResult == null || m_BufferedPayloadReceiveResult.
Count
== 0,
348
int bytesTransferred = Math.Min(buffer.Count, m_BufferedPayloadReceiveResult.
Count
);
358
if (m_BufferedPayloadReceiveResult.
Count
== 0)
577
Contract.Assert(m_BufferedPayloadReceiveResult.
Count
>= 0,
582
Contract.Assert(m_PayloadOffset + m_BufferedPayloadReceiveResult.
Count
<= m_PayloadBuffer.Count,
net\System\Net\WebSockets\WebSocketReceiveResult.cs (2)
44
Contract.Assert(count <= this.
Count
, "'count' MUST NOT be bigger than 'this.Count'.");
48
this.
Count
== 0 && this.EndOfMessage,
System.ServiceModel (5)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (5)
673
receivedByteCount += result.
Count
;
884
this.pendingMessage = this.PrepareMessage(result, buffer, result.
Count
);
890
result.
Count
,
1197
int receivedBytes = t.Result.
Count
;
1269
receivedBytes = task.Result.
Count
;