43 references to ThrowIfLessThanOrEqual
aspire (3)
Commands\InstallationInfoOutput.cs (1)
30ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(timeout, TimeSpan.Zero);
Utils\EnvironmentChecker\EnvironmentChecker.cs (2)
32ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(checkTimeout, TimeSpan.Zero); 33ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(totalTimeout, TimeSpan.Zero);
Aspire.Dashboard (1)
Components\Controls\Chart\MetricInstrumentDataCache.cs (1)
15ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(dataPointInterval, TimeSpan.Zero);
Aspire.Hosting (2)
IInteractionService.cs (2)
398ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(v, 0); 430ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(v, 0);
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.Components.Endpoints (2)
DependencyInjection\RazorComponentsServiceOptions.cs (2)
56ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, 1); 93ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value.TotalMilliseconds, 0);
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.Http.Connections.Client (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
354ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, 1);
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ArgHelper.cs (1)
172ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
ListenOptionsHttpsExtensions.cs (1)
310ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(timeout.Value, TimeSpan.Zero, nameof(timeout));
Microsoft.AspNetCore.WebUtilities (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.Extensions.Features (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
Microsoft.Extensions.Identity.Core (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
180ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
423ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(scale, 0.0);
System.Collections.Concurrent (4)
System\Collections\Concurrent\PartitionerStatic.cs (4)
184ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(toExclusive, fromInclusive); 202ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(toExclusive, fromInclusive); 238ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(toExclusive, fromInclusive); 256ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(toExclusive, fromInclusive);
System.Diagnostics.Process (2)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
133ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(processId, 0);
System\Diagnostics\Process.cs (1)
1034ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(processId, 0);
System.Net.Http (1)
System\Net\Http\HttpClient.cs (1)
112ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, TimeSpan.Zero);
System.Private.CoreLib (14)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (14)
1178ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1179ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f); 1211ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1212ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f); 1247ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(fieldOfView, 0.0f); 1250ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1251ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f); 1287ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(fieldOfView, 0.0f); 1290ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1291ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f); 1326ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1327ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f); 1368ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(nearPlaneDistance, 0.0f); 1369ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(farPlaneDistance, 0.0f);
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeNameParseOptions.cs (1)
25ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, 0, nameof(value));
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1508ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, 0.015625f);