11 references to ThrowIfZero
Microsoft.AspNetCore.Http.Connections (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 (3)
MS\Internal\TextFormatting\FullTextLine.cs (1)
1501ArgumentOutOfRangeException.ThrowIfZero(textLength);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
810ArgumentOutOfRangeException.ThrowIfZero(textLength);
System\Windows\Media\Imaging\WmpBitmapEncoder.cs (1)
228ArgumentOutOfRangeException.ThrowIfZero(value);
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)
227ArgumentOutOfRangeException.ThrowIfZero(buffer.Count, nameof(buffer));
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
85ArgumentOutOfRangeException.ThrowIfZero(value, nameof(MaxDegreeOfParallelism));