15 references to ThrowIfZero
Microsoft.AspNetCore.Components.Endpoints (1)
Discovery\PageComponentBuilder.cs (1)
32ArgumentOutOfRangeException.ThrowIfZero(value.Count, nameof(value));
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Http.Connections.Client (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.AspNetCore.WebUtilities (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
67ArgumentOutOfRangeException.ThrowIfZero(value, paramName);
Microsoft.Extensions.Features (1)
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.Linq.Expressions (2)
System\Dynamic\DynamicMetaObjectBinder.cs (2)
55ArgumentOutOfRangeException.ThrowIfZero(args.Length); 56ArgumentOutOfRangeException.ThrowIfZero(parameters.Count);
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocketOptions.cs (1)
256ArgumentOutOfRangeException.ThrowIfZero(buffer.Count, nameof(buffer));
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
85ArgumentOutOfRangeException.ThrowIfZero(value, nameof(MaxDegreeOfParallelism));