12 references to Throw
Microsoft.Extensions.AsyncState (12)
AsyncState.cs (1)
86
Throw
.InvalidOperationException("Context is not initialized");
AsyncStateExtensions.cs (1)
25
_ =
Throw
.IfNull(services);
src\Shared\Pools\PoolFactory.cs (10)
42
_ =
Throw
.IfLessThan(maxCapacity, 1);
57
_ =
Throw
.IfNull(policy);
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);