63 references to ThrowIfNullOrWhiteSpace
Aspire.Dashboard (5)
Model\ResourceViewModel.cs (5)
187ArgumentException.ThrowIfNullOrWhiteSpace(name); 188ArgumentException.ThrowIfNullOrWhiteSpace(displayName); 331ArgumentException.ThrowIfNullOrWhiteSpace(name); 425ArgumentException.ThrowIfNullOrWhiteSpace(resourceName); 426ArgumentException.ThrowIfNullOrWhiteSpace(type);
Aspire.Hosting (10)
ApplicationModel\AspireStore.cs (1)
37ArgumentException.ThrowIfNullOrWhiteSpace(filenameTemplate);
ApplicationModel\AspireStoreExtensions.cs (2)
22ArgumentException.ThrowIfNullOrWhiteSpace(filenameTemplate); 23ArgumentException.ThrowIfNullOrWhiteSpace(sourceFilename);
ApplicationModel\ContainerFileSystemCallbackAnnotation.cs (1)
23ArgumentException.ThrowIfNullOrWhiteSpace(value, nameof(value));
Dcp\DcpKubernetesClient.cs (5)
46ArgumentException.ThrowIfNullOrWhiteSpace(group, nameof(group)); 47ArgumentException.ThrowIfNullOrWhiteSpace(version, nameof(version)); 48ArgumentException.ThrowIfNullOrWhiteSpace(plural, nameof(plural)); 49ArgumentException.ThrowIfNullOrWhiteSpace(name, nameof(name)); 50ArgumentException.ThrowIfNullOrWhiteSpace(subResource, nameof(subResource));
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
12ArgumentException.ThrowIfNullOrWhiteSpace(url);
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.AspNetCore.SignalR.Common (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
59ArgumentException.ThrowIfNullOrWhiteSpace(argument, paramName);
Microsoft.DotNet.Internal.SymbolHelper (4)
SymbolPromotionHelper.cs (3)
81ArgumentException.ThrowIfNullOrWhiteSpace(symbolRequestProject); 185ArgumentException.ThrowIfNullOrWhiteSpace(symbolRequestProject); 242ArgumentException.ThrowIfNullOrWhiteSpace(symbolRequestProject);
SymbolUploadHelperFactory.cs (1)
97ArgumentException.ThrowIfNullOrWhiteSpace(azdoOrg);
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.Extensions.Logging.AzureAppServices (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);
PresentationCore (2)
System\Windows\clipboard.cs (2)
162ArgumentException.ThrowIfNullOrWhiteSpace(format); 495ArgumentException.ThrowIfNullOrWhiteSpace(format);
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 (6)
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)
42ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);
System.Net.WebSockets (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
42ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
42ArgumentException.ThrowIfNullOrWhiteSpace(subProtocol);
System.Private.Windows.Core (4)
System\Private\Windows\Ole\DataObjectCore.cs (1)
19ArgumentException.ThrowIfNullOrWhiteSpace(format);
System\Private\Windows\Ole\DataStore.cs (1)
84ArgumentException.ThrowIfNullOrWhiteSpace(format, nameof(format));
System\Private\Windows\Ole\TypeBinder.cs (2)
57ArgumentException.ThrowIfNullOrWhiteSpace(assemblyName); 58ArgumentException.ThrowIfNullOrWhiteSpace(typeName);
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (2)
435ArgumentException.ThrowIfNullOrWhiteSpace(format); 446ArgumentException.ThrowIfNullOrWhiteSpace(format);
System\Windows\Forms\OLE\DataFormats.cs (1)
128ArgumentException.ThrowIfNullOrWhiteSpace(format);