4 references to MAX_SEGMENT_SIZE
mscorlib (4)
system\threading\Tasks\ProducerConsumerQueues.cs (4)
149
Contract.Assert(INIT_SEGMENT_SIZE <=
MAX_SEGMENT_SIZE
, "Initial segment size should be <= maximum.");
150
Contract.Assert(
MAX_SEGMENT_SIZE
< Int32.MaxValue / 2, "Max segment size * 2 must be < Int32.MaxValue, or else overflow could occur.");
191
if (newSegmentSize >
MAX_SEGMENT_SIZE
) newSegmentSize =
MAX_SEGMENT_SIZE
;