5 references to IfLessThan
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
ResourceUtilization.cs (1)
66
MemoryUsedInBytes = Throw.
IfLessThan
(memoryUsedInBytes, 0);
Snapshot.cs (2)
51
_ = Throw.
IfLessThan
(memoryUsageInBytes, 0);
75
_ = Throw.
IfLessThan
(memoryUsageInBytes, 0);
SystemResources.cs (2)
59
GuaranteedMemoryInBytes = Throw.
IfLessThan
(guaranteedMemoryInBytes, 1UL);
60
MaximumMemoryInBytes = Throw.
IfLessThan
(maximumMemoryInBytes, 1UL);