439 references to ThrowIfNullOrEmpty
dotnet-openapi (9)
Commands\AddFileCommand.cs (2)
34ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value); 63ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value);
Commands\AddProjectCommand.cs (1)
53ArgumentException.ThrowIfNullOrEmpty(_sourceProjectArg.Value);
Commands\AddURLCommand.cs (2)
34ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value); 52ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value);
Commands\RefreshCommand.cs (2)
29ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value); 58ArgumentException.ThrowIfNullOrEmpty(_sourceFileArg.Value);
Commands\RemoveCommand.cs (2)
29ArgumentException.ThrowIfNullOrEmpty(_sourceProjectArg.Value); 75ArgumentException.ThrowIfNullOrEmpty(_sourceProjectArg.Value);
dotnet-sql-cache (2)
SqlQueries.cs (2)
33ArgumentException.ThrowIfNullOrEmpty(schemaName); 34ArgumentException.ThrowIfNullOrEmpty(tableName);
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\MsBuildProjectFinder.cs (1)
14ArgumentException.ThrowIfNullOrEmpty(directory);
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\MsBuildProjectFinder.cs (1)
14ArgumentException.ThrowIfNullOrEmpty(directory);
Microsoft.AspNetCore.Authentication.Facebook (2)
FacebookOptions.cs (2)
53ArgumentException.ThrowIfNullOrEmpty(AppId); 54ArgumentException.ThrowIfNullOrEmpty(AppSecret);
Microsoft.AspNetCore.Authentication.Negotiate (2)
LdapSettings.cs (1)
85ArgumentException.ThrowIfNullOrEmpty(Domain);
NegotiateOptions.cs (1)
48ArgumentException.ThrowIfNullOrEmpty(domain);
Microsoft.AspNetCore.Authentication.OAuth (4)
OAuthOptions.cs (4)
29ArgumentException.ThrowIfNullOrEmpty(ClientId); 30ArgumentException.ThrowIfNullOrEmpty(ClientSecret); 31ArgumentException.ThrowIfNullOrEmpty(AuthorizationEndpoint); 32ArgumentException.ThrowIfNullOrEmpty(TokenEndpoint);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (1)
1050ArgumentException.ThrowIfNullOrEmpty(nonce);
OpenIdConnectOptions.cs (1)
100ArgumentException.ThrowIfNullOrEmpty(ClientId);
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterOptions.cs (2)
107ArgumentException.ThrowIfNullOrEmpty(ConsumerKey); 108ArgumentException.ThrowIfNullOrEmpty(ConsumerSecret);
Microsoft.AspNetCore.Components (5)
Rendering\RenderTreeBuilder.cs (1)
671ArgumentException.ThrowIfNullOrEmpty(assignedName);
src\Http\Routing\src\Patterns\RoutePatternFactory.cs (4)
730ArgumentException.ThrowIfNullOrEmpty(content); 753ArgumentException.ThrowIfNullOrEmpty(content); 990ArgumentException.ThrowIfNullOrEmpty(constraint); 1020ArgumentException.ThrowIfNullOrEmpty(parameterPolicy);
Microsoft.AspNetCore.Components.Endpoints (1)
Discovery\AssemblyComponentLibraryDescriptor.cs (1)
24ArgumentException.ThrowIfNullOrEmpty(nameof(name));
Microsoft.AspNetCore.Components.Server (3)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (3)
36ArgumentException.ThrowIfNullOrEmpty(storeName); 71ArgumentException.ThrowIfNullOrEmpty(purpose); 72ArgumentException.ThrowIfNullOrEmpty(key);
Microsoft.AspNetCore.Components.Web (1)
JSComponents\JSComponentConfigurationStore.cs (1)
59ArgumentException.ThrowIfNullOrEmpty(javaScriptInitializer);
Microsoft.AspNetCore.CookiePolicy (1)
CookiePolicyOptions.cs (1)
62ArgumentException.ThrowIfNullOrEmpty(value);
Microsoft.AspNetCore.DataProtection.Extensions (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.AspNetCore.Hosting (2)
Internal\HostingEnvironmentExtensions.cs (2)
16ArgumentException.ThrowIfNullOrEmpty(contentRootPath); 67ArgumentException.ThrowIfNullOrEmpty(contentRootPath);
Microsoft.AspNetCore.Http (1)
Timeouts\RequestTimeoutOptions.cs (1)
43ArgumentException.ThrowIfNullOrEmpty(policyName);
Microsoft.AspNetCore.Http.Abstractions (2)
Internal\ParsingHelpers.cs (2)
52ArgumentException.ThrowIfNullOrEmpty(key); 90ArgumentException.ThrowIfNullOrEmpty(key);
Microsoft.AspNetCore.Http.Results (4)
TypedResults.cs (4)
510ArgumentException.ThrowIfNullOrEmpty(path); 543ArgumentException.ThrowIfNullOrEmpty(path); 569ArgumentException.ThrowIfNullOrEmpty(url); 589ArgumentException.ThrowIfNullOrEmpty(localUrl);
Microsoft.AspNetCore.HttpLogging (2)
W3CLoggerOptions.cs (2)
67ArgumentException.ThrowIfNullOrEmpty(value); 83ArgumentException.ThrowIfNullOrEmpty(value);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
UserStore.cs (1)
608ArgumentException.ThrowIfNullOrEmpty(normalizedRoleName);
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryStore.cs (1)
60ArgumentException.ThrowIfNullOrEmpty(roleName);
Microsoft.AspNetCore.InternalTesting (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Metadata\ModelMetadataIdentity.cs (1)
54ArgumentException.ThrowIfNullOrEmpty(name);
Microsoft.AspNetCore.Mvc.Core (19)
ApiConventionMethodAttribute.cs (1)
42ArgumentException.ThrowIfNullOrEmpty(methodName);
ApplicationParts\ProvideApplicationPartFactoryAttribute.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(factoryTypeName);
ApplicationParts\RelatedAssemblyAttribute.cs (1)
23ArgumentException.ThrowIfNullOrEmpty(assemblyFileName);
AreaAttribute.cs (1)
21ArgumentException.ThrowIfNullOrEmpty(areaName);
Builder\ControllerEndpointRouteBuilderExtensions.cs (1)
135ArgumentException.ThrowIfNullOrEmpty(areaName);
Builder\MvcAreaRouteBuilderExtensions.cs (1)
121ArgumentException.ThrowIfNullOrEmpty(areaName);
ControllerBase.cs (8)
330ArgumentException.ThrowIfNullOrEmpty(url); 344ArgumentException.ThrowIfNullOrEmpty(url); 359ArgumentException.ThrowIfNullOrEmpty(url); 374ArgumentException.ThrowIfNullOrEmpty(url); 388ArgumentException.ThrowIfNullOrEmpty(localUrl); 402ArgumentException.ThrowIfNullOrEmpty(localUrl); 417ArgumentException.ThrowIfNullOrEmpty(localUrl); 432ArgumentException.ThrowIfNullOrEmpty(localUrl);
Formatters\FormatterMappings.cs (1)
95ArgumentException.ThrowIfNullOrEmpty(format);
LocalRedirectResult.cs (2)
48ArgumentException.ThrowIfNullOrEmpty(localUrl); 75ArgumentException.ThrowIfNullOrEmpty(value);
RedirectResult.cs (2)
51ArgumentException.ThrowIfNullOrEmpty(url); 77ArgumentException.ThrowIfNullOrEmpty(value);
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataTypeAttributeAdapter.cs (1)
19ArgumentException.ThrowIfNullOrEmpty(ruleName);
Microsoft.AspNetCore.Mvc.Razor (5)
RazorFileHierarchy.cs (1)
14ArgumentException.ThrowIfNullOrEmpty(path);
RazorViewEngine.cs (4)
110ArgumentException.ThrowIfNullOrEmpty(pageName); 133ArgumentException.ThrowIfNullOrEmpty(pagePath); 158ArgumentException.ThrowIfNullOrEmpty(viewName); 173ArgumentException.ThrowIfNullOrEmpty(viewPath);
Microsoft.AspNetCore.Mvc.RazorPages (40)
ApplicationModels\PageConventionCollection.cs (6)
89ArgumentException.ThrowIfNullOrEmpty(areaName); 133ArgumentException.ThrowIfNullOrEmpty(areaName); 174ArgumentException.ThrowIfNullOrEmpty(areaName); 215ArgumentException.ThrowIfNullOrEmpty(areaName); 252ArgumentException.ThrowIfNullOrEmpty(pageName); 263ArgumentException.ThrowIfNullOrEmpty(folderPath);
DependencyInjection\MvcRazorPagesMvcBuilderExtensions.cs (1)
41ArgumentException.ThrowIfNullOrEmpty(rootDirectory);
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (1)
72ArgumentException.ThrowIfNullOrEmpty(rootDirectory);
DependencyInjection\PageConventionCollectionExtensions.cs (15)
74ArgumentException.ThrowIfNullOrEmpty(pageName); 109ArgumentException.ThrowIfNullOrEmpty(areaName); 110ArgumentException.ThrowIfNullOrEmpty(pageName); 135ArgumentException.ThrowIfNullOrEmpty(folderPath); 170ArgumentException.ThrowIfNullOrEmpty(areaName); 171ArgumentException.ThrowIfNullOrEmpty(folderPath); 197ArgumentException.ThrowIfNullOrEmpty(pageName); 259ArgumentException.ThrowIfNullOrEmpty(areaName); 260ArgumentException.ThrowIfNullOrEmpty(pageName); 286ArgumentException.ThrowIfNullOrEmpty(folderPath); 348ArgumentException.ThrowIfNullOrEmpty(areaName); 349ArgumentException.ThrowIfNullOrEmpty(folderPath); 379ArgumentException.ThrowIfNullOrEmpty(pageName); 413ArgumentException.ThrowIfNullOrEmpty(areaName); 414ArgumentException.ThrowIfNullOrEmpty(pageName);
PageBase.cs (8)
413ArgumentException.ThrowIfNullOrEmpty(localUrl); 426ArgumentException.ThrowIfNullOrEmpty(localUrl); 440ArgumentException.ThrowIfNullOrEmpty(localUrl); 454ArgumentException.ThrowIfNullOrEmpty(localUrl); 490ArgumentException.ThrowIfNullOrEmpty(url); 503ArgumentException.ThrowIfNullOrEmpty(url); 517ArgumentException.ThrowIfNullOrEmpty(url); 531ArgumentException.ThrowIfNullOrEmpty(url);
PageModel.cs (8)
720ArgumentException.ThrowIfNullOrEmpty(localUrl); 733ArgumentException.ThrowIfNullOrEmpty(localUrl); 747ArgumentException.ThrowIfNullOrEmpty(localUrl); 761ArgumentException.ThrowIfNullOrEmpty(localUrl); 819ArgumentException.ThrowIfNullOrEmpty(url); 832ArgumentException.ThrowIfNullOrEmpty(url); 846ArgumentException.ThrowIfNullOrEmpty(url); 860ArgumentException.ThrowIfNullOrEmpty(url);
RazorPagesOptions.cs (1)
33ArgumentException.ThrowIfNullOrEmpty(value);
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
RemoteAttributeBase.cs (2)
83ArgumentException.ThrowIfNullOrEmpty(property); 104ArgumentException.ThrowIfNullOrEmpty(property);
Rendering\TagBuilder.cs (2)
37ArgumentException.ThrowIfNullOrEmpty(tagName); 279ArgumentException.ThrowIfNullOrEmpty(key);
ViewEngines\CompositeViewEngine.cs (2)
31ArgumentException.ThrowIfNullOrEmpty(viewName); 80ArgumentException.ThrowIfNullOrEmpty(viewPath);
Microsoft.AspNetCore.Rewrite (10)
ApacheModRewrite\CookieActionFactory.cs (1)
19ArgumentException.ThrowIfNullOrEmpty(flagValue);
ApacheModRewrite\FlagParser.cs (1)
57ArgumentException.ThrowIfNullOrEmpty(flagString);
IISUrlRewrite\IISRewriteMap.cs (3)
12ArgumentException.ThrowIfNullOrEmpty(name); 26ArgumentException.ThrowIfNullOrEmpty(key); 27ArgumentException.ThrowIfNullOrEmpty(value);
RedirectRule.cs (2)
19ArgumentException.ThrowIfNullOrEmpty(regex); 20ArgumentException.ThrowIfNullOrEmpty(replacement);
RewriteRule.cs (2)
19ArgumentException.ThrowIfNullOrEmpty(regex); 20ArgumentException.ThrowIfNullOrEmpty(replacement);
UrlActions\ChangeCookieAction.cs (1)
21ArgumentException.ThrowIfNullOrEmpty(name);
Microsoft.AspNetCore.Routing (12)
DefaultLinkGenerator.cs (1)
158ArgumentException.ThrowIfNullOrEmpty(scheme);
LinkGeneratorEndpointNameAddressExtensions.cs (2)
308ArgumentException.ThrowIfNullOrEmpty(scheme); 357ArgumentException.ThrowIfNullOrEmpty(scheme);
Patterns\RoutePatternFactory.cs (9)
730ArgumentException.ThrowIfNullOrEmpty(content); 753ArgumentException.ThrowIfNullOrEmpty(content); 771ArgumentException.ThrowIfNullOrEmpty(parameterName); 794ArgumentException.ThrowIfNullOrEmpty(parameterName); 821ArgumentException.ThrowIfNullOrEmpty(parameterName); 855ArgumentException.ThrowIfNullOrEmpty(parameterName); 891ArgumentException.ThrowIfNullOrEmpty(parameterName); 990ArgumentException.ThrowIfNullOrEmpty(constraint); 1020ArgumentException.ThrowIfNullOrEmpty(parameterPolicy);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\ResponseBody.cs (1)
604ArgumentException.ThrowIfNullOrEmpty(fileName);
UrlPrefix.cs (1)
70ArgumentException.ThrowIfNullOrEmpty(host);
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.FeatureCollection.cs (2)
288ArgumentException.ThrowIfNullOrEmpty(variableName); 298ArgumentException.ThrowIfNullOrEmpty(variableName);
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
80ArgumentException.ThrowIfNullOrEmpty(pairingToken);
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Common\DeploymentParameters.cs (1)
55ArgumentException.ThrowIfNullOrEmpty(applicationPath);
Deployers\ApplicationDeployer.cs (1)
44ArgumentException.ThrowIfNullOrEmpty(DeploymentParameters.ApplicationPath);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelConfigurationLoader.cs (1)
85ArgumentException.ThrowIfNullOrEmpty(name);
Microsoft.AspNetCore.Session (2)
DistributedSession.cs (1)
67ArgumentException.ThrowIfNullOrEmpty(sessionKey);
DistributedSessionStore.cs (1)
35ArgumentException.ThrowIfNullOrEmpty(sessionKey);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.AspNetCore.SpaServices.Extensions (8)
AngularCli\AngularCliBuilder.cs (1)
33ArgumentException.ThrowIfNullOrEmpty(npmScript);
AngularCli\AngularCliMiddleware.cs (1)
34ArgumentException.ThrowIfNullOrEmpty(scriptName);
Npm\NodeScriptRunner.cs (3)
27ArgumentException.ThrowIfNullOrEmpty(workingDirectory); 28ArgumentException.ThrowIfNullOrEmpty(scriptName); 29ArgumentException.ThrowIfNullOrEmpty(pkgManagerCommand);
ReactDevelopmentServer\ReactDevelopmentServerMiddleware.cs (1)
34ArgumentException.ThrowIfNullOrEmpty(scriptName);
SpaOptions.cs (2)
47ArgumentException.ThrowIfNullOrEmpty(value.Value); 86ArgumentException.ThrowIfNullOrEmpty(value);
Microsoft.Extensions.Caching.SqlServer (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.Extensions.FileProviders.Embedded (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.Extensions.Localization (1)
src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(argument, paramName);
Microsoft.JSInterop (1)
JSInvokableAttribute.cs (1)
38ArgumentException.ThrowIfNullOrEmpty(identifier);
PresentationFramework (1)
System\Windows\LogicalTreeHelper.cs (1)
69ArgumentException.ThrowIfNullOrEmpty(elementName);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MaskedTextProvider.cs (1)
221ArgumentException.ThrowIfNullOrEmpty(mask);
System.Diagnostics.Process (1)
System\Diagnostics\ProcessManager.cs (1)
13ArgumentException.ThrowIfNullOrEmpty(machineName);
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\DelimitedListTraceListener.cs (1)
67ArgumentException.ThrowIfNullOrEmpty(value, nameof(Delimiter));
System.Diagnostics.TraceSource (2)
System\Diagnostics\SwitchAttribute.cs (1)
29ArgumentException.ThrowIfNullOrEmpty(value);
System\Diagnostics\TraceSource.cs (1)
30ArgumentException.ThrowIfNullOrEmpty(name);
System.Formats.Tar (18)
System\Formats\Tar\TarEntry.cs (5)
36ArgumentException.ThrowIfNullOrEmpty(entryName); 127ArgumentException.ThrowIfNullOrEmpty(value); 159ArgumentException.ThrowIfNullOrEmpty(value); 196ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 230ArgumentException.ThrowIfNullOrEmpty(destinationFileName);
System\Formats\Tar\TarFile.cs (12)
33ArgumentException.ThrowIfNullOrEmpty(sourceDirectoryName); 72ArgumentException.ThrowIfNullOrEmpty(sourceDirectoryName); 103ArgumentException.ThrowIfNullOrEmpty(sourceDirectoryName); 104ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 139ArgumentException.ThrowIfNullOrEmpty(sourceDirectoryName); 140ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 174ArgumentException.ThrowIfNullOrEmpty(destinationDirectoryName); 219ArgumentException.ThrowIfNullOrEmpty(destinationDirectoryName); 256ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 257ArgumentException.ThrowIfNullOrEmpty(destinationDirectoryName); 303ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 304ArgumentException.ThrowIfNullOrEmpty(destinationDirectoryName);
System\Formats\Tar\TarWriter.cs (1)
371ArgumentException.ThrowIfNullOrEmpty(fileName);
System.IO.Compression (1)
System\IO\Compression\ZipArchive.cs (1)
394ArgumentException.ThrowIfNullOrEmpty(entryName);
System.IO.IsolatedStorage (11)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (11)
237ArgumentException.ThrowIfNullOrEmpty(path); 253ArgumentException.ThrowIfNullOrEmpty(path); 269ArgumentException.ThrowIfNullOrEmpty(path); 285ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 286ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 293ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 294ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 321ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 322ArgumentException.ThrowIfNullOrEmpty(destinationFileName); 349ArgumentException.ThrowIfNullOrEmpty(sourceDirectoryName); 350ArgumentException.ThrowIfNullOrEmpty(destinationDirectoryName);
System.IO.MemoryMappedFiles (2)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (2)
63ArgumentException.ThrowIfNullOrEmpty(mapName); 348ArgumentException.ThrowIfNullOrEmpty(mapName);
System.IO.Pipes (2)
System\IO\Pipes\NamedPipeClientStream.cs (1)
60ArgumentException.ThrowIfNullOrEmpty(pipeName);
System\IO\Pipes\NamedPipeServerStream.cs (1)
95ArgumentException.ThrowIfNullOrEmpty(pipeName);
System.Net.Mail (19)
System\Net\Mail\Attachment.cs (2)
71ArgumentException.ThrowIfNullOrEmpty(fileName); 79ArgumentException.ThrowIfNullOrEmpty(fileName);
System\Net\Mail\MailAddress.cs (1)
124ArgumentException.ThrowIfNullOrEmpty(address);
System\Net\Mail\MailAddressCollection.cs (1)
21ArgumentException.ThrowIfNullOrEmpty(addresses);
System\Net\Mail\MailMessage.cs (2)
44ArgumentException.ThrowIfNullOrEmpty(from); 45ArgumentException.ThrowIfNullOrEmpty(to);
System\Net\Mail\MailPriority.cs (2)
47ArgumentException.ThrowIfNullOrEmpty(from); 48ArgumentException.ThrowIfNullOrEmpty(to);
System\Net\Mail\SmtpClient.cs (1)
167ArgumentException.ThrowIfNullOrEmpty(value);
System\Net\Mime\ContentDisposition.cs (1)
80ArgumentException.ThrowIfNullOrEmpty(value);
System\Net\Mime\ContentType.cs (2)
48ArgumentException.ThrowIfNullOrEmpty(contentType); 95ArgumentException.ThrowIfNullOrEmpty(value);
System\Net\Mime\HeaderCollection.cs (7)
25ArgumentException.ThrowIfNullOrEmpty(name); 35ArgumentException.ThrowIfNullOrEmpty(name); 44ArgumentException.ThrowIfNullOrEmpty(name); 72ArgumentException.ThrowIfNullOrEmpty(name); 73ArgumentException.ThrowIfNullOrEmpty(value); 93ArgumentException.ThrowIfNullOrEmpty(name); 94ArgumentException.ThrowIfNullOrEmpty(value);
System.Net.Primitives (3)
System\Net\CredentialCache.cs (2)
50ArgumentException.ThrowIfNullOrEmpty(host); 147ArgumentException.ThrowIfNullOrEmpty(host);
System\Net\DnsEndPoint.cs (1)
19ArgumentException.ThrowIfNullOrEmpty(host);
System.Net.Requests (4)
System\Net\FileWebRequest.cs (1)
85ArgumentException.ThrowIfNullOrEmpty(value);
System\Net\FtpWebRequest.cs (2)
264ArgumentException.ThrowIfNullOrEmpty(value); 301ArgumentException.ThrowIfNullOrEmpty(value);
System\Net\HttpWebRequest.cs (1)
931ArgumentException.ThrowIfNullOrEmpty(value);
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
135ArgumentException.ThrowIfNullOrEmpty(serviceName);
System.Net.WebHeaderCollection (1)
System\Net\WebHeaderCollection.cs (1)
331ArgumentException.ThrowIfNullOrEmpty(name);
System.Private.CoreLib (72)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (2)
103ArgumentException.ThrowIfNullOrEmpty(switchName); 130ArgumentException.ThrowIfNullOrEmpty(switchName);
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
98ArgumentException.ThrowIfNullOrEmpty(assemblyName);
src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
15ArgumentException.ThrowIfNullOrEmpty(name);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipe.cs (1)
48ArgumentException.ThrowIfNullOrEmpty(providerName);
src\libraries\System.Private.CoreLib\src\System\Environment.cs (2)
108ArgumentException.ThrowIfNullOrEmpty(value); 239ArgumentException.ThrowIfNullOrEmpty(variable);
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (3)
261ArgumentException.ThrowIfNullOrEmpty(value); 565ArgumentException.ThrowIfNullOrEmpty(value); 682ArgumentException.ThrowIfNullOrEmpty(value);
src\libraries\System.Private.CoreLib\src\System\IO\Directory.cs (5)
18ArgumentException.ThrowIfNullOrEmpty(path); 30ArgumentException.ThrowIfNullOrEmpty(path); 263ArgumentException.ThrowIfNullOrEmpty(path); 270ArgumentException.ThrowIfNullOrEmpty(sourceDirName); 271ArgumentException.ThrowIfNullOrEmpty(destDirName);
src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
13ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (1)
207ArgumentException.ThrowIfNullOrEmpty(destDirName);
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (9)
53ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 54ArgumentException.ThrowIfNullOrEmpty(destFileName); 685ArgumentException.ThrowIfNullOrEmpty(path); 706ArgumentException.ThrowIfNullOrEmpty(path); 733ArgumentException.ThrowIfNullOrEmpty(path); 879ArgumentException.ThrowIfNullOrEmpty(sourceFileName); 880ArgumentException.ThrowIfNullOrEmpty(destFileName); 1065ArgumentException.ThrowIfNullOrEmpty(path); 1220ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (2)
93ArgumentException.ThrowIfNullOrEmpty(destFileName); 155ArgumentException.ThrowIfNullOrEmpty(destFileName);
src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
184ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.cs (1)
24ArgumentException.ThrowIfNullOrEmpty(path, argName);
src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (1)
28ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.cs (1)
61ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (2)
217ArgumentException.ThrowIfNullOrEmpty(path); 230ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (2)
174ArgumentException.ThrowIfNullOrEmpty(path); 187ArgumentException.ThrowIfNullOrEmpty(path);
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
32ArgumentException.ThrowIfNullOrEmpty(assemblyName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\AssemblyBuilder.cs (2)
22ArgumentException.ThrowIfNullOrEmpty(name); 31ArgumentException.ThrowIfNullOrEmpty(name);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ModuleBuilder.cs (6)
24ArgumentException.ThrowIfNullOrEmpty(name); 53ArgumentException.ThrowIfNullOrEmpty(url); 81ArgumentException.ThrowIfNullOrEmpty(name); 129ArgumentException.ThrowIfNullOrEmpty(name); 145ArgumentException.ThrowIfNullOrEmpty(name); 162ArgumentException.ThrowIfNullOrEmpty(methodName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilder.cs (9)
64ArgumentException.ThrowIfNullOrEmpty(name); 77ArgumentException.ThrowIfNullOrEmpty(fieldName); 123ArgumentException.ThrowIfNullOrEmpty(name); 165ArgumentException.ThrowIfNullOrEmpty(name); 184ArgumentException.ThrowIfNullOrEmpty(name); 211ArgumentException.ThrowIfNullOrEmpty(name); 212ArgumentException.ThrowIfNullOrEmpty(dllName); 213ArgumentException.ThrowIfNullOrEmpty(entryName); 246ArgumentException.ThrowIfNullOrEmpty(name);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs (1)
11ArgumentException.ThrowIfNullOrEmpty(assemblyFullName);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OSPlatform.cs (1)
22ArgumentException.ThrowIfNullOrEmpty(osPlatform);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (2)
440ArgumentException.ThrowIfNullOrEmpty(unmanagedDllPath); 649ArgumentException.ThrowIfNullOrEmpty(requestedSimpleName, "AssemblyName.Name");
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (2)
97ArgumentException.ThrowIfNullOrEmpty(identifier); 111ArgumentException.ThrowIfNullOrEmpty(frameworkName);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1206ArgumentException.ThrowIfNullOrEmpty(oldValue); 1327ArgumentException.ThrowIfNullOrEmpty(oldValue);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
2064ArgumentException.ThrowIfNullOrEmpty(oldValue);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
2145ArgumentException.ThrowIfNullOrEmpty(id);
src\System\Reflection\Emit\RuntimeILGenerator.cs (1)
1196ArgumentException.ThrowIfNullOrEmpty(usingNamespace);
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
64ArgumentException.ThrowIfNullOrEmpty(name);
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (1)
36ArgumentException.ThrowIfNullOrEmpty(name);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
472ArgumentException.ThrowIfNullOrEmpty(name);
src\System\Reflection\RuntimeAssembly.cs (1)
250ArgumentException.ThrowIfNullOrEmpty(name);
src\System\Reflection\RuntimeModule.cs (1)
404ArgumentException.ThrowIfNullOrEmpty(className);
src\System\Reflection\TypeNameResolver.CoreCLR.cs (1)
110ArgumentException.ThrowIfNullOrEmpty(typeName);
src\System\Threading\Mutex.CoreCLR.Unix.cs (1)
38ArgumentException.ThrowIfNullOrEmpty(name);
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseWriter.cs (2)
540ArgumentException.ThrowIfNullOrEmpty(localName); 830ArgumentException.ThrowIfNullOrEmpty(localName);
System.Private.Xml (35)
System\Xml\Core\XmlCharCheckingWriter.cs (3)
112ArgumentException.ThrowIfNullOrEmpty(localName); 129ArgumentException.ThrowIfNullOrEmpty(localName); 293ArgumentException.ThrowIfNullOrEmpty(name);
System\Xml\Core\XmlCharCheckingWriterAsync.cs (3)
62ArgumentException.ThrowIfNullOrEmpty(localName); 78ArgumentException.ThrowIfNullOrEmpty(localName); 239ArgumentException.ThrowIfNullOrEmpty(name);
System\Xml\Core\XmlReader.cs (8)
915ArgumentException.ThrowIfNullOrEmpty(name); 934ArgumentException.ThrowIfNullOrEmpty(localName); 955ArgumentException.ThrowIfNullOrEmpty(name); 995ArgumentException.ThrowIfNullOrEmpty(localName); 1037ArgumentException.ThrowIfNullOrEmpty(name); 1062ArgumentException.ThrowIfNullOrEmpty(localName); 1412ArgumentException.ThrowIfNullOrEmpty(localName); 1611ArgumentException.ThrowIfNullOrEmpty(inputUri);
System\Xml\Core\XmlReaderSettings.cs (1)
321ArgumentException.ThrowIfNullOrEmpty(inputUri);
System\Xml\Core\XmlTextReaderImpl.cs (1)
567ArgumentException.ThrowIfNullOrEmpty(url);
System\Xml\Core\XmlTextWriter.cs (3)
1099ArgumentException.ThrowIfNullOrEmpty(ns); 1150ArgumentException.ThrowIfNullOrEmpty(name); 1689ArgumentException.ThrowIfNullOrEmpty(name);
System\Xml\Core\XmlWellFormedWriter.cs (5)
363ArgumentException.ThrowIfNullOrEmpty(name); 428ArgumentException.ThrowIfNullOrEmpty(localName); 889ArgumentException.ThrowIfNullOrEmpty(name); 934ArgumentException.ThrowIfNullOrEmpty(name); 1282ArgumentException.ThrowIfNullOrEmpty(localName);
System\Xml\Core\XmlWellFormedWriterAsync.cs (5)
63ArgumentException.ThrowIfNullOrEmpty(name); 182ArgumentException.ThrowIfNullOrEmpty(localName); 790ArgumentException.ThrowIfNullOrEmpty(name); 835ArgumentException.ThrowIfNullOrEmpty(name); 1133ArgumentException.ThrowIfNullOrEmpty(localName);
System\Xml\Core\XmlWriter.cs (1)
215ArgumentException.ThrowIfNullOrEmpty(name);
System\Xml\Core\XmlWriterAsync.cs (1)
201ArgumentException.ThrowIfNullOrEmpty(name);
System\Xml\Dom\XmlProcessingInstruction.cs (1)
19ArgumentException.ThrowIfNullOrEmpty(target);
System\Xml\Schema\DtdParser.cs (1)
272ArgumentException.ThrowIfNullOrEmpty(docTypeName);
System\Xml\XmlConvert.cs (2)
314ArgumentException.ThrowIfNullOrEmpty(name); 372ArgumentException.ThrowIfNullOrEmpty(name);
System.Private.Xml.Linq (2)
System\Xml\Linq\XElement.cs (1)
482ArgumentException.ThrowIfNullOrEmpty(prefix);
System\Xml\Linq\XName.cs (1)
74ArgumentException.ThrowIfNullOrEmpty(expandedName);
System.Reflection.Emit (4)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
820ArgumentException.ThrowIfNullOrEmpty(usingNamespace);
System\Reflection\Emit\PersistedAssemblyBuilder.cs (1)
37ArgumentException.ThrowIfNullOrEmpty(name.Name, "AssemblyName.Name");
System\Reflection\Emit\PropertyBuilderImpl.cs (1)
31ArgumentException.ThrowIfNullOrEmpty(name);
System\Reflection\Emit\TypeBuilderImpl.cs (1)
444ArgumentException.ThrowIfNullOrEmpty(name);
System.Security.Cryptography (85)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (2)
24ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 44ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (3)
732ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 758ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 826ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\CngAlgorithm.cs (1)
20ArgumentException.ThrowIfNullOrEmpty(algorithm);
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
21ArgumentException.ThrowIfNullOrEmpty(algorithmGroup);
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
21ArgumentException.ThrowIfNullOrEmpty(format);
System\Security\Cryptography\CngProvider.cs (1)
20ArgumentException.ThrowIfNullOrEmpty(provider);
System\Security\Cryptography\CryptoConfig.cs (2)
320ArgumentException.ThrowIfNullOrEmpty(name, nameof(names)); 512ArgumentException.ThrowIfNullOrEmpty(name, nameof(names));
System\Security\Cryptography\CryptographicOperations.cs (1)
773ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\DSA.cs (14)
129ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 146ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 203ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 244ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 274ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 317ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 377ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 388ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 543ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 587ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 631ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 666ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 703ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 755ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\ECDsa.cs (18)
60ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 117ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 204ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 235ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 468ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 507ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 549ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 581ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 613ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 661ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 709ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 737ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 797ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 834ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 843ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 872ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 919ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 956ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\IncrementalHash.cs (2)
310ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 369ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (1)
323ArgumentException.ThrowIfNullOrEmpty(hashAlgorithmName, nameof(hashAlgorithm));
System\Security\Cryptography\RSA.cs (10)
394ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 404ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 413ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 458ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 521ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 564ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 623ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 658ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 669ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 678ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\RSAEncryptionPadding.cs (1)
68ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\SafeEvpPKeyHandle.OpenSsl.cs (4)
117ArgumentException.ThrowIfNullOrEmpty(engineName); 118ArgumentException.ThrowIfNullOrEmpty(keyId); 170ArgumentException.ThrowIfNullOrEmpty(engineName); 171ArgumentException.ThrowIfNullOrEmpty(keyId);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (6)
75ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 102ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 133ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 169ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 197ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 228ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (2)
39ArgumentException.ThrowIfNullOrEmpty(signerHashAlgorithm.Name, nameof(signerHashAlgorithm)); 121ArgumentException.ThrowIfNullOrEmpty(signerHashAlgorithm.Name, nameof(signerHashAlgorithm));
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
143ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm)); 327ArgumentException.ThrowIfNullOrEmpty(hashAlgorithm.Name, nameof(hashAlgorithm));
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (10)
65ArgumentException.ThrowIfNullOrEmpty(oidValue); 100ArgumentException.ThrowIfNullOrEmpty(oid.Value); 133ArgumentException.ThrowIfNullOrEmpty(emailAddress); 162ArgumentException.ThrowIfNullOrEmpty(commonName); 185ArgumentException.ThrowIfNullOrEmpty(localityName); 217ArgumentException.ThrowIfNullOrEmpty(twoLetterCode); 259ArgumentException.ThrowIfNullOrEmpty(organizationName); 282ArgumentException.ThrowIfNullOrEmpty(organizationalUnitName); 305ArgumentException.ThrowIfNullOrEmpty(stateOrProvinceName); 331ArgumentException.ThrowIfNullOrEmpty(domainComponent);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
172ArgumentException.ThrowIfNullOrEmpty(accessMethodOid.Value);
System\Security\Cryptography\X509Certificates\X509Extension.cs (2)
41ArgumentException.ThrowIfNullOrEmpty(base.Oid?.Value, "oid.Value"); 71ArgumentException.ThrowIfNullOrEmpty(base.Oid?.Value, "oid.Value");
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompilationInfo.cs (1)
50ArgumentException.ThrowIfNullOrEmpty(value, nameof(Name));
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
202ArgumentException.ThrowIfNullOrEmpty(text);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
128ArgumentException.ThrowIfNullOrEmpty(text);