43 references to ThrowIfNullOrWhiteSpace
Microsoft.AspNetCore.DataProtection.Extensions (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.AspNetCore.HttpOverrides (8)
ForwardedHeadersMiddleware.cs (8)
53ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.ForwardedForHeaderName); 54ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.ForwardedHostHeaderName); 55ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.ForwardedProtoHeaderName); 56ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.ForwardedPrefixHeaderName); 57ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.OriginalForHeaderName); 58ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.OriginalHostHeaderName); 59ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.OriginalProtoHeaderName); 60ArgumentException.ThrowIfNullOrWhiteSpace(options.Value.OriginalPrefixHeaderName);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (3)
UserStore.cs (3)
322ArgumentException.ThrowIfNullOrWhiteSpace(normalizedRoleName); 344ArgumentException.ThrowIfNullOrWhiteSpace(normalizedRoleName); 389ArgumentException.ThrowIfNullOrWhiteSpace(normalizedRoleName);
Microsoft.AspNetCore.InternalTesting (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.Extensions.Caching.SqlServer (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.Extensions.FileProviders.Embedded (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.Extensions.Localization (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.JSInterop (2)
Infrastructure\DotNetDispatcher.cs (2)
353ArgumentException.ThrowIfNullOrWhiteSpace(assemblyKey.AssemblyName); 354ArgumentException.ThrowIfNullOrWhiteSpace(methodIdentifier);
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\Schema\ColumnAttribute.cs (2)
31ArgumentException.ThrowIfNullOrWhiteSpace(name); 63ArgumentException.ThrowIfNullOrWhiteSpace(value);
System\ComponentModel\DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
26ArgumentException.ThrowIfNullOrWhiteSpace(name);
System\ComponentModel\DataAnnotations\Schema\InversePropertyAttribute.cs (1)
20ArgumentException.ThrowIfNullOrWhiteSpace(property);
System\ComponentModel\DataAnnotations\Schema\TableAttribute.cs (2)
23ArgumentException.ThrowIfNullOrWhiteSpace(name); 41ArgumentException.ThrowIfNullOrWhiteSpace(value);
System.Net.Http (15)
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (1)
276ArgumentException.ThrowIfNullOrWhiteSpace(dispositionType, parameterName);
System\Net\Http\Headers\EntityTagHeaderValue.cs (1)
38ArgumentException.ThrowIfNullOrWhiteSpace(tag);
System\Net\Http\Headers\HeaderUtilities.cs (3)
145ArgumentException.ThrowIfNullOrWhiteSpace(value, parameterName); 155ArgumentException.ThrowIfNullOrWhiteSpace(value, parameterName); 167ArgumentException.ThrowIfNullOrWhiteSpace(value, parameterName);
System\Net\Http\Headers\HttpHeaders.cs (1)
1029ArgumentException.ThrowIfNullOrWhiteSpace(name);
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
278ArgumentException.ThrowIfNullOrWhiteSpace(mediaType, parameterName);
System\Net\Http\Headers\ViaHeaderValue.cs (1)
278ArgumentException.ThrowIfNullOrWhiteSpace(receivedBy);
System\Net\Http\Headers\WarningHeaderValue.cs (1)
285ArgumentException.ThrowIfNullOrWhiteSpace(agent);
System\Net\Http\HttpMethod.cs (1)
31ArgumentException.ThrowIfNullOrWhiteSpace(method);
System\Net\Http\MultipartContent.cs (2)
46ArgumentException.ThrowIfNullOrWhiteSpace(subtype); 68ArgumentException.ThrowIfNullOrWhiteSpace(boundary);
System\Net\Http\MultipartFormDataContent.cs (3)
38ArgumentException.ThrowIfNullOrWhiteSpace(name); 46ArgumentException.ThrowIfNullOrWhiteSpace(name); 47ArgumentException.ThrowIfNullOrWhiteSpace(fileName);
System.Net.HttpListener (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
66ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);
System.Net.WebSockets (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
66ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
66ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);