11 references to MinReceiveBufferSize
System (11)
net\System\Net\WebSockets\WebSocketBase.cs (1)
891
new ArraySegment<byte>(new byte[WebSocketBuffer.
MinReceiveBufferSize
]);
net\System\Net\WebSockets\WebSocketBuffer.cs (8)
61
Contract.Assert(receiveBufferSize >=
MinReceiveBufferSize
,
62
"'receiveBufferSize' MUST be at least " +
MinReceiveBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
659
Contract.Assert(receiveBufferSize >=
MinReceiveBufferSize
,
660
"'receiveBufferSize' MUST be at least " +
MinReceiveBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
670
Contract.Assert(receiveBufferSize >=
MinReceiveBufferSize
,
671
"'receiveBufferSize' MUST be at least " +
MinReceiveBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
685
Contract.Assert(receiveBufferSize >=
MinReceiveBufferSize
,
686
"'receiveBufferSize' MUST be at least " +
MinReceiveBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
472
if (receiveBufferSize < WebSocketBuffer.
MinReceiveBufferSize
)
475
SR.GetString(SR.net_WebSockets_ArgumentOutOfRange_TooSmall, WebSocketBuffer.
MinReceiveBufferSize
));