14 references to IfLessThan
Shared (14)
BufferWriterPool\BufferWriter.cs (2)
74_ = Throw.IfLessThan(value, 0); 189_ = Throw.IfLessThan(sizeHint, 0);
BufferWriterPool\BufferWriterPool.cs (2)
28_ = Throw.IfLessThan(maxCapacity, 1); 29_ = Throw.IfLessThan(maxBufferWriterCapacity, 1);
BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
37MaximumRetainedCapacity = Throw.IfLessThan(maximumRetainedCapacity, 1);
Pools\PoolFactory.cs (9)
42_ = Throw.IfLessThan(maxCapacity, 1); 58_ = Throw.IfLessThan(maxCapacity, 1); 75_ = Throw.IfLessThan(maxCapacity, 1); 88_ = Throw.IfLessThan(maxCapacity, 1); 89_ = Throw.IfLessThan(maxStringBuilderCapacity, 1); 116_ = Throw.IfLessThan(maxCapacity, 1); 136_ = Throw.IfLessThan(maxCapacity, 1); 155_ = Throw.IfLessThan(maxCapacity, 1); 177_ = Throw.IfLessThan(maxCapacity, 1);