19 references to ThrowIfZero
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\Guard.cs (1)
126ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Components.Endpoints (1)
Discovery\PageComponentBuilder.cs (1)
32ArgumentOutOfRangeException.ThrowIfZero(value.Count, nameof(value));
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Http.Connections.Client (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ArgHelper.cs (1)
70ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.WebUtilities (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.Extensions.Features (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.Extensions.Identity.Core (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
PresentationCore (4)
MS\Internal\TextFormatting\FullTextLine.cs (1)
1487ArgumentOutOfRangeException.ThrowIfZero(textLength);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
794ArgumentOutOfRangeException.ThrowIfZero(textLength);
System\Windows\Media\Imaging\WmpBitmapEncoder.cs (1)
214ArgumentOutOfRangeException.ThrowIfZero(value);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
425ArgumentOutOfRangeException.ThrowIfZero(bufferSize);
System.IO.FileSystem.AccessControl (1)
System\IO\FileSystemAclExtensions.cs (1)
250ArgumentOutOfRangeException.ThrowIfZero((int)access, nameof(rights));
System.Linq.Expressions (2)
System\Dynamic\DynamicMetaObjectBinder.cs (2)
55ArgumentOutOfRangeException.ThrowIfZero(args.Length); 56ArgumentOutOfRangeException.ThrowIfZero(parameters.Count);
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
87ArgumentOutOfRangeException.ThrowIfZero(value, nameof(MaxDegreeOfParallelism));