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