12 references to MaxBufferSize
System (12)
net\System\Net\WebSockets\WebSocketBuffer.cs (8)
65
Contract.Assert(receiveBufferSize <=
MaxBufferSize
,
66
"'receiveBufferSize' MUST NOT exceed " +
MaxBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
67
Contract.Assert(sendBufferSize <=
MaxBufferSize
,
68
"'sendBufferSize' MUST NOT exceed " +
MaxBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
690
Contract.Assert(receiveBufferSize <=
MaxBufferSize
,
691
"'receiveBufferSize' MUST be less than or equal to " +
MaxBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
692
Contract.Assert(sendBufferSize <=
MaxBufferSize
,
693
"'sendBufferSize' MUST be at less than or equal to " +
MaxBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
net\System\Net\WebSockets\WebSocketHelpers.cs (4)
484
if (receiveBufferSize > WebSocketBuffer.
MaxBufferSize
)
490
WebSocketBuffer.
MaxBufferSize
));
493
if (sendBufferSize > WebSocketBuffer.
MaxBufferSize
)
499
WebSocketBuffer.
MaxBufferSize
));