16 references to IfLessThan
Shared (16)
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)
37
MaximumRetainedCapacity = 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);
StringSplit\StringRange.cs (2)
25
_ = Throw.
IfLessThan
(index, 0);
26
_ = Throw.
IfLessThan
(count, 0);