9202 instantiations of ArgumentNullException
aspire (4)
Projects\AppHostServerSession.cs (2)
73_project = project ?? throw new ArgumentNullException(nameof(project)); 77_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Utils\AspireAnsiConsoleOutput.cs (2)
58_writer = writer ?? throw new ArgumentNullException(nameof(writer)); 59_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
Aspire.Azure.AI.Inference (2)
AspireChatCompletionsClientBuilder.cs (1)
40public IHostApplicationBuilder HostBuilder { get; } = hostBuilder ?? throw new ArgumentNullException(nameof(hostBuilder));
AspireEmbeddingsClientBuilder.cs (1)
40public IHostApplicationBuilder HostBuilder { get; } = hostBuilder ?? throw new ArgumentNullException(nameof(hostBuilder));
Aspire.Azure.Storage.Files.DataLake (2)
AzureDataLakeFileSystemHealthCheck.cs (1)
16dataLakeFileSystemClient ?? throw new ArgumentNullException(nameof(dataLakeFileSystemClient));
AzureDataLakeStorageHealthCheck.cs (1)
16dataLakeServiceClient ?? throw new ArgumentNullException(nameof(dataLakeServiceClient));
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\Guard.cs (1)
66throw new ArgumentNullException(paramName, "Must not be null");
Aspire.Dashboard (4)
Authentication\Connection\ConnectionTypeMiddleware.cs (1)
21_next = next ?? throw new ArgumentNullException(nameof(next));
Components\Resize\DimensionManager.cs (2)
14public ViewportInformation ViewportInformation => _viewportInformation ?? throw new ArgumentNullException(nameof(_viewportInformation)); 15public ViewportSize ViewportSize => _viewportSize ?? throw new ArgumentNullException(nameof(_viewportSize));
Terminal\DefaultTerminalConnectionResolver.cs (1)
38_client = client ?? throw new ArgumentNullException(nameof(client));
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (1)
24TemplatePackageIds = templatePackageIds ?? throw new ArgumentNullException(nameof(templatePackageIds));
Aspire.Hosting (71)
ApplicationModel\CertificateTrustConfigurationCallbackAnnotation.cs (1)
18public Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback));
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (2)
107: this(args, cancellationToken) => _resource = resource ?? throw new ArgumentNullException(nameof(resource)); 112public IList<object> Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
ApplicationModel\CommandLineArgsEditor.cs (1)
12private readonly IList<object> _args = args ?? throw new ArgumentNullException(nameof(args));
ApplicationModel\ConnectionStringRedirectAnnotation.cs (1)
15public IResourceWithConnectionString Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource));
ApplicationModel\ConnectionStringReference.cs (1)
13public IResourceWithConnectionString Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource));
ApplicationModel\ContainerBuildOptionsCallbackAnnotation.cs (5)
20public Func<ContainerBuildOptionsCallbackContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback)); 58Resource = resource ?? throw new ArgumentNullException(nameof(resource)); 59Services = services ?? throw new ArgumentNullException(nameof(services)); 60Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 62ExecutionContext = executionContext ?? throw new ArgumentNullException(nameof(executionContext));
ApplicationModel\ContainerExecutableResource.cs (1)
33public ContainerResource? TargetContainerResource { get; } = containerResource ?? throw new ArgumentNullException(nameof(containerResource));
ApplicationModel\ContainerMountAnnotation.cs (1)
28throw new ArgumentNullException(nameof(source), MessageStrings.ContainerMountBindMountsRequireSourceExceptionMessage);
ApplicationModel\ContainerRuntimeArgsCallbackAnnotation.cs (1)
56public IList<object> Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
ApplicationModel\DistributedApplicationModel.cs (1)
28public IResourceCollection Resources { get; } = resources ?? throw new ArgumentNullException(nameof(resources));
ApplicationModel\DockerBuildArg.cs (1)
18public string Name { get; init; } = name ?? throw new ArgumentNullException(nameof(name));
ApplicationModel\DockerfileBuilderCallbackContext.cs (3)
25Resource = resource ?? throw new ArgumentNullException(nameof(resource)); 26Builder = builder ?? throw new ArgumentNullException(nameof(builder)); 27Services = services ?? throw new ArgumentNullException(nameof(services));
ApplicationModel\EndpointReference.cs (1)
326public EndpointReference Endpoint { get; } = endpointReference ?? throw new ArgumentNullException(nameof(endpointReference));
ApplicationModel\EndpointReferenceAnnotation.cs (1)
17public IResourceWithEndpoints Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource));
ApplicationModel\EndpointUpdateContext.cs (1)
14private readonly EndpointAnnotation _endpointAnnotation = endpointAnnotation ?? throw new ArgumentNullException(nameof(endpointAnnotation));
ApplicationModel\EnvironmentCallbackContext.cs (2)
30_resource = resource ?? throw new ArgumentNullException(nameof(resource)); 75public DistributedApplicationExecutionContext ExecutionContext { get; } = executionContext ?? throw new ArgumentNullException(nameof(executionContext));
ApplicationModel\EnvironmentEditor.cs (1)
12private readonly Dictionary<string, object> _environmentVariables = environmentVariables ?? throw new ArgumentNullException(nameof(environmentVariables));
ApplicationModel\ExecutableLaunchRecipe.cs (10)
36public IExecutableLaunchRecipe Recipe { get; } = recipe ?? throw new ArgumentNullException(nameof(recipe)); 106public string LaunchMode { get; } = launchMode ?? throw new ArgumentNullException(nameof(launchMode)); 152public IResource Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource)); 157public IConfiguration Configuration { get; } = configuration ?? throw new ArgumentNullException(nameof(configuration)); 162public DistributedApplicationOptions DistributedApplicationOptions { get; } = distributedApplicationOptions ?? throw new ArgumentNullException(nameof(distributedApplicationOptions)); 167public IExecutionConfigurationResult ExecutionConfiguration { get; } = executionConfiguration ?? throw new ArgumentNullException(nameof(executionConfiguration)); 172public ExecutableLaunchDecision Decision { get; } = decision ?? throw new ArgumentNullException(nameof(decision)); 177public ILogger ResourceLogger { get; } = resourceLogger ?? throw new ArgumentNullException(nameof(resourceLogger)); 216public string WorkingDirectory { get; } = workingDirectory ?? throw new ArgumentNullException(nameof(workingDirectory)); 264public string Value { get; } = value ?? throw new ArgumentNullException(nameof(value));
ApplicationModel\ExecutableResource.cs (1)
34WorkingDirectory = workingDirectory ?? throw new ArgumentNullException(nameof(workingDirectory)),
ApplicationModel\HttpsCertificateConfigurationCallbackAnnotaion.cs (1)
18public Func<HttpsCertificateConfigurationCallbackAnnotationContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback));
ApplicationModel\LogFacade.cs (1)
24_loggerAccessor = loggerAccessor ?? throw new ArgumentNullException(nameof(loggerAccessor));
ApplicationModel\ModelName.cs (4)
25throw new ArgumentNullException(nameof(target)); 29throw new ArgumentNullException(nameof(name)); 45throw new ArgumentNullException(nameof(target)); 49throw new ArgumentNullException(nameof(name));
ApplicationModel\RequiredCommandAnnotation.cs (1)
20public string Command { get; } = command ?? throw new ArgumentNullException(nameof(command));
ApplicationModel\RequiredCommandValidationContext.cs (2)
21public string ResolvedPath { get; } = resolvedPath ?? throw new ArgumentNullException(nameof(resolvedPath)); 26public IServiceProvider Services { get; } = services ?? throw new ArgumentNullException(nameof(services));
ApplicationModel\RequiredCommandValidator.cs (3)
31_serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); 32_interactionService = interactionService ?? throw new ArgumentNullException(nameof(interactionService)); 33_logger = logger ?? throw new ArgumentNullException(nameof(logger));
ApplicationModel\ResourceIconAnnotation.cs (1)
23public string IconName { get; } = iconName ?? throw new ArgumentNullException(nameof(iconName));
ApplicationModel\ResourceNotificationService.cs (3)
55_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 74_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 76_resourceLoggerService = resourceLoggerService ?? throw new ArgumentNullException(nameof(resourceLoggerService));
ApplicationModel\ResourceSnapshotAnnotation.cs (1)
14public CustomResourceSnapshot InitialSnapshot { get; } = initialSnapshot ?? throw new ArgumentNullException(nameof(initialSnapshot));
ApplicationModel\ResourceUrlsCallbackContext.cs (1)
83public DistributedApplicationExecutionContext ExecutionContext { get; } = executionContext ?? throw new ArgumentNullException(nameof(executionContext));
ApplicationModel\ResourceUrlsEditor.cs (2)
12private readonly DistributedApplicationExecutionContext _executionContext = executionContext ?? throw new ArgumentNullException(nameof(executionContext)); 13private readonly List<ResourceUrlAnnotation> _urls = urls ?? throw new ArgumentNullException(nameof(urls));
Ats\AspireExportAttribute.cs (2)
100Id = id ?? throw new ArgumentNullException(nameof(id)); 132Type = type ?? throw new ArgumentNullException(nameof(type));
Ats\AspireUnionAttribute.cs (1)
47Types = types ?? throw new ArgumentNullException(nameof(types));
DefaultLaunchProfileAnnotation.cs (1)
14private readonly string _launchProfileName = launchProfileName ?? throw new ArgumentNullException(nameof(launchProfileName));
ExternalServiceResource.cs (2)
28_uri = uri ?? throw new ArgumentNullException(nameof(uri), "The URI for the external service cannot be null."); 43_urlParameter = urlParameter ?? throw new ArgumentNullException(nameof(urlParameter), "The URL parameter for the external service cannot be null.");
LaunchProfileAnnotation.cs (1)
14private readonly string _launchProfileName = launchProfileName ?? throw new ArgumentNullException(nameof(launchProfileName));
Lifecycle\RequiredCommandValidationEventingSubscriber.cs (1)
21private readonly IRequiredCommandValidator _validator = validator ?? throw new ArgumentNullException(nameof(validator));
Lifecycle\TerminalHostEventingSubscriber.cs (2)
39private readonly IOptions<DcpOptions> _dcpOptions = dcpOptions ?? throw new ArgumentNullException(nameof(dcpOptions)); 40private readonly ILogger<TerminalHostEventingSubscriber> _logger = logger ?? throw new ArgumentNullException(nameof(logger));
Pipelines\PipelineEditor.cs (1)
17private readonly IReadOnlyList<PipelineStep> _steps = steps ?? throw new ArgumentNullException(nameof(steps));
Pipelines\PipelineSummaryItem.cs (2)
21public string Key { get; } = key ?? throw new ArgumentNullException(nameof(key)); 26public string Value { get; } = value ?? throw new ArgumentNullException(nameof(value));
Publishing\ContainerRuntimeBase.cs (2)
26_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 27_processRunner = processRunner ?? throw new ArgumentNullException(nameof(processRunner));
Aspire.Hosting.Analyzers (4)
src\Aspire.Hosting\ApplicationModel\ModelName.cs (4)
25throw new ArgumentNullException(nameof(target)); 29throw new ArgumentNullException(nameof(name)); 45throw new ArgumentNullException(nameof(target)); 49throw new ArgumentNullException(nameof(name));
Aspire.Hosting.Azure (9)
AcrLoginService.cs (4)
61_httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); 62_containerRuntimeResolver = containerRuntimeResolver ?? throw new ArgumentNullException(nameof(containerRuntimeResolver)); 63_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 64_timeProvider = timeProvider ?? throw new ArgumentNullException(nameof(timeProvider));
AzureProvisioningResource.cs (1)
24public Action<AzureResourceInfrastructure> ConfigureInfrastructure { get; internal set; } = configureInfrastructure ?? throw new ArgumentNullException(nameof(configureInfrastructure));
AzureRoleAssignmentResource.cs (1)
35public AzureProvisioningResource TargetAzureResource { get; } = targetAzureResource ?? throw new ArgumentNullException(nameof(targetAzureResource));
ExistingAzureResourceExtensions.cs (1)
755throw new ArgumentNullException(paramName);
PrivateEndpointTargetAnnotation.cs (1)
22public AzureProvisioningResource PrivateEndpointResource { get; } = privateEndpointResource ?? throw new ArgumentNullException(nameof(privateEndpointResource));
Provisioning\Internal\BicepCompiler.cs (1)
20_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Aspire.Hosting.Azure.AppConfiguration (1)
AzureAppConfigurationEmulatorResource.cs (1)
14private readonly AzureAppConfigurationResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppCustomizationAnnotation.cs (1)
18public Action<AzureResourceInfrastructure, ContainerApp> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
AzureContainerAppJobCustomizationAnnotation.cs (1)
18public Action<AzureResourceInfrastructure, ContainerAppJob> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceWebsiteCustomizationAnnotation.cs (1)
18public Action<AzureResourceInfrastructure, WebSite> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
AzureAppServiceWebsiteSlotCustomizationAnnotation.cs (1)
19public Action<AzureResourceInfrastructure, WebSiteSlot> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
Aspire.Hosting.Azure.CosmosDB (4)
AzureCosmosDBContainerResource.cs (2)
43Parent = parent ?? throw new ArgumentNullException(nameof(parent)); 58Parent = parent ?? throw new ArgumentNullException(nameof(parent));
AzureCosmosDBDatabaseResource.cs (1)
34public AzureCosmosDBResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
AzureCosmosDBEmulatorResource.cs (1)
15internal AzureCosmosDBResource InnerResource { get; } = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubConsumerGroupResource.cs (1)
32public AzureEventHubResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
AzureEventHubResource.cs (1)
41public AzureEventHubsResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
AzureEventHubsEmulatorResource.cs (1)
21private readonly AzureEventHubsResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
ConfigFileAnnotation.cs (1)
15SourcePath = sourcePath ?? throw new ArgumentNullException(nameof(sourcePath));
Aspire.Hosting.Azure.FrontDoor (1)
AzureFrontDoorOriginAnnotation.cs (1)
16public IResourceWithEndpoints Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource));
Aspire.Hosting.Azure.KeyVault (2)
AzureKeyVaultSecretResource.cs (2)
30public AzureKeyVaultResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent)); 35public object Value { get; } = value ?? throw new ArgumentNullException(nameof(value));
Aspire.Hosting.Azure.Kubernetes (2)
AksNodePoolResource.cs (2)
24public AzureKubernetesEnvironmentResource AksParent { get; } = parent ?? throw new ArgumentNullException(nameof(parent)); 29public AksNodePoolConfig Config { get; } = config ?? throw new ArgumentNullException(nameof(config));
Aspire.Hosting.Azure.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Azure.Kusto (1)
AzureKustoEmulatorResource.cs (1)
18: base(innerResource?.Name ?? throw new ArgumentNullException(nameof(innerResource)))
Aspire.Hosting.Azure.Network (4)
AzureSubnetResource.cs (4)
39Parent = parent ?? throw new ArgumentNullException(nameof(parent)); 53_addressPrefix = addressPrefix ?? throw new ArgumentNullException(nameof(addressPrefix)); 54Parent = parent ?? throw new ArgumentNullException(nameof(parent)); 93=> !string.IsNullOrEmpty(argument) ? argument : throw new ArgumentNullException(paramName);
Aspire.Hosting.Azure.PostgreSQL (2)
AzurePostgresFlexibleServerDatabaseResource.cs (1)
24public AzurePostgresFlexibleServerResource Parent { get; } = postgresParentResource ?? throw new ArgumentNullException(nameof(postgresParentResource));
AzurePostgresResource.cs (1)
17private readonly PostgresServerResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
Aspire.Hosting.Azure.Redis (1)
AzureRedisResource.cs (1)
17private readonly RedisResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
Aspire.Hosting.Azure.ServiceBus (5)
AzureServiceBusEmulatorResource.cs (1)
19private readonly AzureServiceBusResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
AzureServiceBusQueueResource.cs (1)
42public AzureServiceBusResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
AzureServiceBusSubscriptionResource.cs (1)
42public AzureServiceBusTopicResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
AzureServiceBusTopicResource.cs (1)
42public AzureServiceBusResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
ConfigFileAnnotation.cs (1)
15SourcePath = sourcePath ?? throw new ArgumentNullException(nameof(sourcePath));
Aspire.Hosting.Azure.SignalR (1)
AzureSignalREmulatorResource.cs (1)
14private readonly AzureSignalRResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
Aspire.Hosting.Azure.Sql (2)
AdminDeploymentScriptSubnetAnnotation.cs (1)
19public AzureSubnetResource Subnet { get; } = subnet ?? throw new ArgumentNullException(nameof(subnet));
AzureSqlDatabaseResource.cs (1)
31public AzureSqlServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.Azure.Storage (8)
AzureBlobStorageContainerResource.cs (1)
36public AzureBlobStorageResource Parent => parent ?? throw new ArgumentNullException(nameof(parent));
AzureBlobStorageResource.cs (1)
24public AzureStorageResource Parent => storage ?? throw new ArgumentNullException(nameof(storage));
AzureDataLakeStorageFileSystemResource.cs (1)
35public AzureDataLakeStorageResource Parent => parent ?? throw new ArgumentNullException(nameof(parent));
AzureDataLakeStorageResource.cs (1)
22public AzureStorageResource Parent => storage ?? throw new ArgumentNullException(nameof(storage));
AzureQueueStorageQueueResource.cs (1)
36public AzureQueueStorageResource Parent => parent ?? throw new ArgumentNullException(nameof(parent));
AzureQueueStorageResource.cs (1)
24public AzureStorageResource Parent => storage ?? throw new ArgumentNullException(nameof(storage));
AzureStorageEmulatorResource.cs (1)
14private readonly AzureStorageResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
AzureTableStorageResource.cs (1)
26public AzureStorageResource Parent => storage ?? throw new ArgumentNullException(nameof(storage));
Aspire.Hosting.Azure.Tests (2)
FakeAcrLoginService.cs (1)
23_containerRuntimeResolver = containerRuntimeResolver ?? throw new ArgumentNullException(nameof(containerRuntimeResolver));
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Azure.WebPubSub (6)
AzureWebPubSubHubResource.cs (2)
26HubName = hubName ?? throw new ArgumentNullException(nameof(hubName)); 29private readonly AzureWebPubSubResource _webpubsub = webpubsub ?? throw new ArgumentNullException(nameof(webpubsub));
src\Aspire.Hosting\ApplicationModel\ModelName.cs (4)
25throw new ArgumentNullException(nameof(target)); 29throw new ArgumentNullException(nameof(name)); 45throw new ArgumentNullException(nameof(target)); 49throw new ArgumentNullException(nameof(name));
Aspire.Hosting.Browsers (2)
IBrowserHost.cs (2)
93Host = host ?? throw new ArgumentNullException(nameof(host)); 94_releaseAsync = releaseAsync ?? throw new ArgumentNullException(nameof(releaseAsync));
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\IBrowserHost.cs (2)
93Host = host ?? throw new ArgumentNullException(nameof(host)); 94_releaseAsync = releaseAsync ?? throw new ArgumentNullException(nameof(releaseAsync));
Aspire.Hosting.DevTunnels (4)
DevTunnelHealthCheck.cs (3)
16private readonly IDevTunnelClient _devTunnelClient = devTunnelClient ?? throw new ArgumentNullException(nameof(devTunnelClient)); 18private readonly LoggedOutNotificationManager _loggedOutNotificationManager = loggedOutNotificationManager ?? throw new ArgumentNullException(nameof(loggedOutNotificationManager)); 20private readonly DevTunnelResource _tunnelResource = tunnelResource ?? throw new ArgumentNullException(nameof(tunnelResource));
DevTunnelPortHealthCheck.cs (1)
11private readonly DevTunnelPortResource _portResource = portResource ?? throw new ArgumentNullException(nameof(portResource));
Aspire.Hosting.Docker (1)
DockerComposeServiceCustomizationAnnotation.cs (1)
22public Action<DockerComposeServiceResource, Service> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
Aspire.Hosting.Docker.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Foundry (1)
Project\AzureCognitiveServicesBase.cs (1)
85Parent = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.Foundry.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Keycloak (1)
KeycloakResource.cs (1)
42public ParameterResource AdminPasswordParameter { get; } = adminPassword ?? throw new ArgumentNullException(nameof(adminPassword));
Aspire.Hosting.Kubernetes (11)
Annotations\HelmChartDescriptionAnnotation.cs (1)
18public ReferenceExpression Description { get; } = description ?? throw new ArgumentNullException(nameof(description));
Annotations\HelmChartNameAnnotation.cs (1)
18public ReferenceExpression Name { get; } = name ?? throw new ArgumentNullException(nameof(name));
Annotations\HelmChartVersionAnnotation.cs (1)
18public ReferenceExpression Version { get; } = version ?? throw new ArgumentNullException(nameof(version));
Annotations\HelmReleaseNameAnnotation.cs (1)
18public ReferenceExpression ReleaseName { get; } = releaseName ?? throw new ArgumentNullException(nameof(releaseName));
Annotations\KubernetesNamespaceAnnotation.cs (1)
18public ReferenceExpression Namespace { get; } = @namespace ?? throw new ArgumentNullException(nameof(@namespace));
Annotations\KubernetesPersistentVolumeBindingAnnotation.cs (1)
24public KubernetesPersistentVolumeResource Volume { get; } = volume ?? throw new ArgumentNullException(nameof(volume));
KubernetesGatewayResource.cs (1)
43public KubernetesEnvironmentResource Parent { get; } = environment ?? throw new ArgumentNullException(nameof(environment));
KubernetesIngressResource.cs (1)
43public KubernetesEnvironmentResource Parent { get; } = environment ?? throw new ArgumentNullException(nameof(environment));
KubernetesNodePoolResource.cs (1)
24public KubernetesEnvironmentResource Parent { get; } = environment ?? throw new ArgumentNullException(nameof(environment));
KubernetesPersistentVolumeResource.cs (1)
72public KubernetesEnvironmentResource Parent { get; } = environment ?? throw new ArgumentNullException(nameof(environment));
KubernetesServiceCustomizationAnnotation.cs (1)
20public Action<KubernetesResource> Configure { get; } = configure ?? throw new ArgumentNullException(nameof(configure));
Aspire.Hosting.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Maui (3)
MauiMacCatalystPlatformResource.cs (1)
28public MauiProjectResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
MauiProjectResource.cs (1)
26public string ProjectPath { get; } = projectPath ?? throw new ArgumentNullException(nameof(projectPath));
MauiWindowsPlatformResource.cs (1)
28public MauiProjectResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.Milvus (1)
MilvusDatabaseResource.cs (1)
25public MilvusServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.MongoDB (1)
MongoDBDatabaseResource.cs (1)
38public MongoDBServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.MySql (1)
MySqlDatabaseResource.cs (1)
26public MySqlServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.OpenAI (2)
OpenAIHealthCheck.cs (2)
35_httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); 36_resource = resource ?? throw new ArgumentNullException(nameof(resource));
Aspire.Hosting.Oracle (1)
OracleDatabaseResource.cs (1)
25public OracleDatabaseServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.PostgreSQL (1)
PostgresDatabaseResource.cs (1)
26public PostgresServerResource Parent { get; } = postgresParentResource ?? throw new ArgumentNullException(nameof(postgresParentResource));
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
743throw new ArgumentNullException(nameof(scriptArgs), $"Array params contains null item: [{values}]");
Aspire.Hosting.RemoteHost.Tests (1)
CapabilityDispatcherTests.cs (1)
2286NestedContext = nestedContext ?? throw new ArgumentNullException(nameof(nestedContext));
Aspire.Hosting.Rust (3)
RustCargoArgsCallbackAnnotation.cs (3)
31public Func<RustCargoArgsCallbackContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback)); 56public RustAppResource Resource { get; } = resource ?? throw new ArgumentNullException(nameof(resource)); 61public IList<string> Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
Aspire.Hosting.Rust.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.SqlServer (1)
SqlServerDatabaseResource.cs (1)
25public SqlServerServerResource Parent { get; } = parent ?? throw new ArgumentNullException(nameof(parent));
Aspire.Hosting.Testing (3)
DistributedApplicationFactory.cs (2)
22private readonly Type _entryPoint = entryPoint ?? throw new ArgumentNullException(nameof(entryPoint)); 161throw new ArgumentNullException(nameof(args), $"Array params contains null item: [{values}]");
DistributedApplicationTestingBuilder.cs (1)
448throw new ArgumentNullException(nameof(args), $"Array params contains null item: [{values}]");
Aspire.Hosting.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
25_testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Aspire.Hosting.Yarp (4)
ConfigurationBuilder\Transforms\PathTransformExtensions.cs (4)
25throw new ArgumentNullException(nameof(path)); 57throw new ArgumentNullException(nameof(prefix)); 89throw new ArgumentNullException(nameof(prefix)); 121throw new ArgumentNullException(nameof(pattern));
Aspire.OpenAI (1)
AspireOpenAIClientBuilder.cs (1)
30public IHostApplicationBuilder HostBuilder { get; } = hostBuilder ?? throw new ArgumentNullException(nameof(hostBuilder));
Aspire.StackExchange.Redis (1)
AspireRedisClientBuilder.cs (1)
20public IHostApplicationBuilder HostBuilder { get; } = hostBuilder ?? throw new ArgumentNullException(nameof(hostBuilder));
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (1)
24TemplatePackageIds = templatePackageIds ?? throw new ArgumentNullException(nameof(templatePackageIds));
Aspire.TerminalHost (2)
DcpUpstreamAdapter.cs (2)
84_streamFactory = streamFactory ?? throw new ArgumentNullException(nameof(streamFactory)); 85_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Binding.UDS.IntegrationTests (1)
.packages\corewcf.primitives\1.8.0\contentFiles\CoreWCFWebApplicationExtensions.cs (1)
18throw new ArgumentNullException(nameof(app));
Crossgen2Tasks (1)
CommonFilePulledFromSdkRepo\RuntimeGraphCache.cs (1)
26throw new ArgumentNullException(nameof(runtimeJsonPath));
dotnet (51)
BuildServer\RazorPidFile.cs (1)
21public string PipeName { get; } = pipeName ?? throw new ArgumentNullException(pipeName);
BuildServer\RazorServer.cs (1)
23public RazorPidFile PidFile { get; } = pidFile ?? throw new ArgumentNullException(nameof(pidFile));
CommandFactory\CommandResolution\AbstractPathBasedCommandResolver.cs (2)
21throw new ArgumentNullException(nameof(environment)); 26throw new ArgumentNullException(nameof(commandSpecFactory));
CommandFactory\CommandResolution\ProjectDependenciesCommandResolver.cs (2)
26throw new ArgumentNullException(nameof(environment)); 31throw new ArgumentNullException(nameof(packagedCommandSpecFactory));
CommandFactory\CommandResolution\ToolPathCalculator.cs (4)
20throw new ArgumentNullException(nameof(versionRange)); 25throw new ArgumentNullException(nameof(framework)); 45throw new ArgumentNullException(nameof(version)); 50throw new ArgumentNullException(nameof(framework));
Commands\Hidden\Complete\CompleteCommand.cs (1)
30throw new ArgumentNullException(nameof(reporter));
Commands\New\MSBuildEvaluation\CapabilityExpressionEvaluator.cs (1)
38_presentTerms = presentTerms ?? throw new ArgumentNullException(nameof(presentTerms));
Commands\NuGet\NuGetCommand.cs (1)
58throw new ArgumentNullException(nameof(nugetCommandRunner));
Commands\Test\MTP\CtrlCCancellationManager.cs (1)
41_onFirstCtrlC = onFirstCtrlC ?? throw new ArgumentNullException(nameof(onFirstCtrlC));
Commands\Tool\Install\LocalToolsResolverCacheExtensions.cs (2)
21throw new ArgumentNullException(nameof(localToolsResolverCache)); 26throw new ArgumentNullException(nameof(toolDownloadedPackage));
Commands\Tool\Search\NugetSearchSerializables.cs (5)
25public string LatestVersion { get; } = latestVersion ?? throw new ArgumentNullException(nameof(latestVersion)); 28public IReadOnlyCollection<string> Tags { get; } = tags ?? throw new ArgumentNullException(nameof(tags)); 29public IReadOnlyCollection<string> Authors { get; } = authors ?? throw new ArgumentNullException(nameof(authors)); 32public IReadOnlyCollection<SearchResultPackageVersion> Versions { get; } = versions ?? throw new ArgumentNullException(nameof(versions)); 37public string Version { get; } = version ?? throw new ArgumentNullException(nameof(version));
Commands\Tool\Search\SearchResultPrinter.cs (1)
13private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
916_ = source ?? throw new ArgumentNullException(nameof(source));
PrintableTable.cs (4)
28throw new ArgumentNullException(nameof(getContent)); 51throw new ArgumentNullException(nameof(rows)); 56throw new ArgumentNullException(nameof(writeLine)); 86throw new ArgumentNullException(nameof(rows));
ShellShim\LinuxEnvironmentPath.cs (3)
30_fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem)); 32= environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 34= reporter ?? throw new ArgumentNullException(nameof(reporter));
ShellShim\OsxBashEnvironmentPath.cs (3)
21private readonly IFile _fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem)); 22private readonly IEnvironmentProvider _environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 23private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
ShellShim\OsxZshEnvironmentPathInstruction.cs (2)
19private readonly IEnvironmentProvider _environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 20private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
ShellShim\WindowsEnvironmentPath.cs (5)
17private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter)); 19private readonly string _expandedPackageExecutablePath = packageExecutablePath ?? throw new ArgumentNullException(nameof(packageExecutablePath)); 20private readonly string _nonExpandedPackageExecutablePath = nonExpandedPackageExecutablePath ?? throw new ArgumentNullException(nameof(packageExecutablePath)); 26private readonly IEnvironmentProvider _expandedEnvironmentReader = expandedEnvironmentReader ?? throw new ArgumentNullException(nameof(expandedEnvironmentReader)); 32private readonly IWindowsRegistryEnvironmentPathEditor _environmentPathEditor = environmentPathEditor ?? throw new ArgumentNullException(nameof(environmentPathEditor));
Telemetry\TelemetryFilter.cs (1)
16private readonly Func<string, string> _hash = hash ?? throw new ArgumentNullException(nameof(hash));
ToolManifest\ToolManifestPackage.cs (2)
21public NuGetVersion Version { get; } = version ?? throw new ArgumentNullException(nameof(version)); 22public ToolCommandName[] CommandNames { get; } = toolCommandNames ?? throw new ArgumentNullException(nameof(toolCommandNames));
ToolPackage\PackageId.cs (1)
10private readonly string _id = id?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(id));
ToolPackage\ToolCommand.cs (1)
18public string Runner { get; private set; } = runner ?? throw new ArgumentNullException(nameof(runner));
ToolPackage\ToolPackageDownloaderBase.cs (2)
50_toolPackageStore = store ?? throw new ArgumentNullException(nameof(store)); 51_fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
ToolPackage\ToolPackageInstance.cs (1)
51Version = version ?? throw new ArgumentNullException(nameof(version));
ToolPackage\ToolPackageStoreAndQuery.cs (2)
50throw new ArgumentNullException(nameof(version)); 103throw new ArgumentNullException(nameof(version));
TransactionalAction.cs (1)
63throw new ArgumentNullException(nameof(action));
dotnet-aot (33)
src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\AbstractPathBasedCommandResolver.cs (2)
21throw new ArgumentNullException(nameof(environment)); 26throw new ArgumentNullException(nameof(commandSpecFactory));
src\sdk\src\Cli\dotnet\Commands\NuGet\NuGetCommand.cs (1)
58throw new ArgumentNullException(nameof(nugetCommandRunner));
src\sdk\src\Cli\dotnet\Commands\Tool\Search\NugetSearchSerializables.cs (5)
25public string LatestVersion { get; } = latestVersion ?? throw new ArgumentNullException(nameof(latestVersion)); 28public IReadOnlyCollection<string> Tags { get; } = tags ?? throw new ArgumentNullException(nameof(tags)); 29public IReadOnlyCollection<string> Authors { get; } = authors ?? throw new ArgumentNullException(nameof(authors)); 32public IReadOnlyCollection<SearchResultPackageVersion> Versions { get; } = versions ?? throw new ArgumentNullException(nameof(versions)); 37public string Version { get; } = version ?? throw new ArgumentNullException(nameof(version));
src\sdk\src\Cli\dotnet\Commands\Tool\Search\SearchResultPrinter.cs (1)
13private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
src\sdk\src\Cli\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (1)
916_ = source ?? throw new ArgumentNullException(nameof(source));
src\sdk\src\Cli\dotnet\PrintableTable.cs (4)
28throw new ArgumentNullException(nameof(getContent)); 51throw new ArgumentNullException(nameof(rows)); 56throw new ArgumentNullException(nameof(writeLine)); 86throw new ArgumentNullException(nameof(rows));
src\sdk\src\Cli\dotnet\ShellShim\LinuxEnvironmentPath.cs (3)
30_fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem)); 32= environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 34= reporter ?? throw new ArgumentNullException(nameof(reporter));
src\sdk\src\Cli\dotnet\ShellShim\OsxBashEnvironmentPath.cs (3)
21private readonly IFile _fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem)); 22private readonly IEnvironmentProvider _environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 23private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
src\sdk\src\Cli\dotnet\ShellShim\OsxZshEnvironmentPathInstruction.cs (2)
19private readonly IEnvironmentProvider _environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider)); 20private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
src\sdk\src\Cli\dotnet\ShellShim\WindowsEnvironmentPath.cs (5)
17private readonly IReporter _reporter = reporter ?? throw new ArgumentNullException(nameof(reporter)); 19private readonly string _expandedPackageExecutablePath = packageExecutablePath ?? throw new ArgumentNullException(nameof(packageExecutablePath)); 20private readonly string _nonExpandedPackageExecutablePath = nonExpandedPackageExecutablePath ?? throw new ArgumentNullException(nameof(packageExecutablePath)); 26private readonly IEnvironmentProvider _expandedEnvironmentReader = expandedEnvironmentReader ?? throw new ArgumentNullException(nameof(expandedEnvironmentReader)); 32private readonly IWindowsRegistryEnvironmentPathEditor _environmentPathEditor = environmentPathEditor ?? throw new ArgumentNullException(nameof(environmentPathEditor));
src\sdk\src\Cli\dotnet\Telemetry\TelemetryFilter.cs (1)
16private readonly Func<string, string> _hash = hash ?? throw new ArgumentNullException(nameof(hash));
src\sdk\src\Cli\dotnet\ToolManifest\ToolManifestPackage.cs (2)
21public NuGetVersion Version { get; } = version ?? throw new ArgumentNullException(nameof(version)); 22public ToolCommandName[] CommandNames { get; } = toolCommandNames ?? throw new ArgumentNullException(nameof(toolCommandNames));
src\sdk\src\Cli\dotnet\ToolPackage\PackageId.cs (1)
10private readonly string _id = id?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(id));
src\sdk\src\Cli\dotnet\ToolPackage\ToolCommand.cs (1)
18public string Runner { get; private set; } = runner ?? throw new ArgumentNullException(nameof(runner));
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
27_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
dotnet-dev-certs (2)
ReporterEventListener.cs (1)
18_reporter = reporter ?? throw new ArgumentNullException(nameof(reporter));
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
dotnet-getdocument (3)
src\aspnetcore\src\Tools\GetDocumentInsider\src\Commands\CommandBase.cs (1)
22_console = console ?? throw new ArgumentNullException(nameof(console));
src\aspnetcore\src\Tools\GetDocumentInsider\src\ProgramBase.cs (1)
19_console = console ?? throw new ArgumentNullException(nameof(console));
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
dotnet-Microsoft.XmlSerializer.Generator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
dotnet-openapi (1)
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
dotnet-sourcelink (2)
dotnet-sql-cache (1)
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
dotnet-suggest (4)
CombineSuggestionRegistration.cs (1)
17suggestionRegistration ?? throw new ArgumentNullException(nameof(suggestionRegistration));
GlobalToolsSuggestionRegistration.cs (1)
51throw new ArgumentNullException(nameof(soughtExecutable));
RegistrationPair.cs (1)
7ExecutablePath = executablePath ?? throw new ArgumentNullException(nameof(executablePath));
SuggestionDispatcher.cs (1)
19_suggestionRegistration = suggestionRegistration ?? throw new ArgumentNullException(nameof(suggestionRegistration));
dotnet-svcutil-lib (749)
Bootstrapper\SvcutilBootstrapper.cs (1)
27this.Options = options ?? throw new ArgumentNullException(nameof(options));
FrameworkFork\Microsoft.CodeDom\Compiler\CodeCompiler.cs (15)
34throw new ArgumentNullException("options"); 54throw new ArgumentNullException("options"); 72throw new ArgumentNullException("options"); 90throw new ArgumentNullException("options"); 110throw new ArgumentNullException("options"); 113throw new ArgumentNullException("fileNames"); 137throw new ArgumentNullException("options"); 188throw new ArgumentNullException("options"); 208throw new ArgumentNullException("options"); 211throw new ArgumentNullException("fileName"); 232throw new ArgumentNullException("options"); 253throw new ArgumentNullException("options"); 256throw new ArgumentNullException("ea"); 370throw new ArgumentNullException("options"); 373throw new ArgumentNullException("sources");
FrameworkFork\Microsoft.CodeDom\Compiler\CodeDOMProvider.cs (2)
66throw new ArgumentNullException("language"); 76throw new ArgumentNullException("extension");
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
820throw new ArgumentNullException("e");
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
829throw new ArgumentNullException("e");
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerErrorCollection.cs (2)
81throw new ArgumentNullException("value"); 98throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (1)
92throw new ArgumentNullException("providerOptions");
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (20)
40throw new ArgumentNullException("providerOptions"); 1965throw new ArgumentNullException("e"); 3867throw new ArgumentNullException("options"); 3870throw new ArgumentNullException("fileNames"); 3972throw new ArgumentNullException("options"); 3990throw new ArgumentNullException("options"); 4008throw new ArgumentNullException("options"); 4026throw new ArgumentNullException("options"); 4044throw new ArgumentNullException("options"); 4047throw new ArgumentNullException("fileNames"); 4071throw new ArgumentNullException("options"); 4100throw new ArgumentNullException("options"); 4118throw new ArgumentNullException("options"); 4121throw new ArgumentNullException("fileName"); 4142throw new ArgumentNullException("options"); 4161throw new ArgumentNullException("options"); 4164throw new ArgumentNullException("ea"); 4227throw new ArgumentNullException("options"); 4230throw new ArgumentNullException("sources"); 4655throw new ArgumentNullException("destinationType");
FrameworkFork\Microsoft.CodeDom\Microsoft\VBCodeProvider.cs (4)
42throw new ArgumentNullException("providerOptions"); 3196throw new ArgumentNullException("options"); 3199throw new ArgumentNullException("fileNames"); 3547throw new ArgumentNullException("destinationType");
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeArgumentCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclarationCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeCatchClauseCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeCommentStatementCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeDirectiveCollection.cs (2)
54throw new ArgumentNullException("value"); 66throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeGotoStatement.cs (1)
46throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpressionCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeStatementCollection.cs (2)
93throw new ArgumentNullException("value"); 110throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclarationCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMemberCollection.cs (2)
84throw new ArgumentNullException("value"); 101throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameterCollection.cs (2)
58throw new ArgumentNullException("value"); 70throw new ArgumentNullException("value");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (1)
60throw new ArgumentNullException("type");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceCollection.cs (2)
100throw new ArgumentNullException("value"); 117throw new ArgumentNullException("value");
FrameworkFork\Microsoft.Xml\Xml\Base64Decoder.cs (2)
54throw new ArgumentNullException("chars"); 89throw new ArgumentNullException("str");
FrameworkFork\Microsoft.Xml\Xml\Base64Encoder.cs (1)
34throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
681throw new ArgumentNullException("name"); 729throw new ArgumentNullException("name");
FrameworkFork\Microsoft.Xml\Xml\BinHexDecoder.cs (3)
47throw new ArgumentNullException("chars"); 83throw new ArgumentNullException("str"); 142throw new ArgumentNullException("chars");
FrameworkFork\Microsoft.Xml\Xml\BinHexEncoder.cs (2)
19throw new ArgumentNullException("buffer"); 50throw new ArgumentNullException("inArray");
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (2)
181throw new ArgumentNullException("value"); 236throw new ArgumentNullException("value");
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentIterator.cs (2)
67if (namespaceURI == null) throw new ArgumentNullException("namespaceURI"); 179if (namespaceURI == null) throw new ArgumentNullException("namespaceURI");
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (4)
72throw new ArgumentNullException("buffer"); 128throw new ArgumentNullException("buffer"); 184throw new ArgumentNullException("buffer"); 240throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelperAsync.cs (4)
22throw new ArgumentNullException("buffer"); 78throw new ArgumentNullException("buffer"); 134throw new ArgumentNullException("buffer"); 190throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (2)
496throw new ArgumentNullException("buffer"); 557throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
312throw new ArgumentNullException("buffer"); 373throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingWriter.cs (1)
289throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlRawWriter.cs (1)
194throw new ArgumentNullException("value");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (5)
1034throw new ArgumentNullException("namespaceURI"); 1103throw new ArgumentNullException("namespaceURI"); 1178throw new ArgumentNullException("namespaceURI"); 1554throw new ArgumentNullException("namespaceURI"); 1873throw new ArgumentNullException("input");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderSettings.cs (4)
426throw new ArgumentNullException("inputUri"); 461throw new ArgumentNullException("input"); 497throw new ArgumentNullException("input"); 526throw new ArgumentNullException("reader");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (1)
1565throw new ArgumentNullException("buffer");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextEncoder.cs (2)
123throw new ArgumentNullException("array"); 486throw new ArgumentNullException("array");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (7)
581throw new ArgumentNullException("url"); 1604throw new ArgumentNullException("buffer"); 1664throw new ArgumentNullException("buffer"); 1723throw new ArgumentNullException("buffer"); 1783throw new ArgumentNullException("buffer"); 1856throw new ArgumentNullException("buffer"); 8283throw new ArgumentNullException((_incReadDecoder is IncrementalReadCharsDecoder) ? "buffer" : "array");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReader.cs (2)
38throw new ArgumentNullException("xmlFragment"); 48throw new ArgumentNullException("xmlFragment");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (4)
1110throw new ArgumentNullException("buffer"); 1148throw new ArgumentNullException("buffer"); 1212throw new ArgumentNullException("buffer"); 1314throw new ArgumentNullException("ns");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (5)
276throw new ArgumentNullException("value"); 356throw new ArgumentNullException("reader"); 404throw new ArgumentNullException("reader"); 475throw new ArgumentNullException("navigator"); 730throw new ArgumentNullException("output");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriterSettings.cs (6)
153throw new ArgumentNullException("value"); 186throw new ArgumentNullException("value"); 461throw new ArgumentNullException("outputFileName"); 495throw new ArgumentNullException("output"); 597throw new ArgumentNullException("output"); 656throw new ArgumentNullException("output");
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (3)
47throw new ArgumentNullException("value"); 1617throw new ArgumentNullException("lastSiblingToReplace"); 1675throw new ArgumentNullException("lastSiblingToDelete");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (1)
1155throw new ArgumentNullException("node");
FrameworkFork\Microsoft.Xml\Xml\NameTable.cs (2)
71throw new ArgumentNullException("key"); 141throw new ArgumentNullException("value");
FrameworkFork\Microsoft.Xml\Xml\Resolvers\XmlPreloadedResolver.cs (9)
228throw new ArgumentNullException("absoluteUri"); 270throw new ArgumentNullException("absoluteUri"); 290throw new ArgumentNullException("uri"); 294throw new ArgumentNullException("value"); 303throw new ArgumentNullException("uri"); 307throw new ArgumentNullException("value"); 329throw new ArgumentNullException("uri"); 333throw new ArgumentNullException("value"); 351throw new ArgumentNullException("uri");
FrameworkFork\Microsoft.Xml\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
25throw new ArgumentNullException("absoluteUri");
FrameworkFork\Microsoft.Xml\Xml\Resolvers\XmlSystemPathResolver.cs (1)
25throw new ArgumentNullException("uri");
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (4)
587return new ArgumentNullException("value"); 1052throw new ArgumentNullException("value"); 1308throw new ArgumentNullException("value"); 3819throw new ArgumentNullException("nsmgr");
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
200throw new ArgumentNullException("instanceDocument");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlAtomicValue.cs (13)
82if (xmlType == null) throw new ArgumentNullException("xmlType"); 90if (xmlType == null) throw new ArgumentNullException("xmlType"); 98if (xmlType == null) throw new ArgumentNullException("xmlType"); 106if (xmlType == null) throw new ArgumentNullException("xmlType"); 114if (xmlType == null) throw new ArgumentNullException("xmlType"); 122if (value == null) throw new ArgumentNullException("value"); 123if (xmlType == null) throw new ArgumentNullException("xmlType"); 130if (value == null) throw new ArgumentNullException("value"); 131if (xmlType == null) throw new ArgumentNullException("xmlType"); 143if (value == null) throw new ArgumentNullException("value"); 144if (xmlType == null) throw new ArgumentNullException("xmlType"); 151if (value == null) throw new ArgumentNullException("value"); 152if (xmlType == null) throw new ArgumentNullException("xmlType");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (8)
54throw new ArgumentNullException("nametable"); 112throw new ArgumentNullException("uri"); 144throw new ArgumentNullException("reader"); 186throw new ArgumentNullException("schema"); 201throw new ArgumentNullException("schema"); 234throw new ArgumentNullException("schema"); 266throw new ArgumentNullException("array"); 282throw new ArgumentNullException("array");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (5)
58throw new ArgumentNullException("value"); 62throw new ArgumentNullException("targetType"); 75throw new ArgumentNullException("value"); 79throw new ArgumentNullException("targetType"); 83throw new ArgumentNullException("namespaceResolver");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
218throw new ArgumentNullException("array"); 273throw new ArgumentNullException("array");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (11)
96throw new ArgumentNullException("nameTable"); 316throw new ArgumentNullException("schemaUri"); 365throw new ArgumentNullException("schemaDocument"); 400throw new ArgumentNullException("schemas"); 487throw new ArgumentNullException("schema"); 510throw new ArgumentNullException("schemaToRemove"); 594throw new ArgumentNullException("schema"); 713throw new ArgumentNullException("schema"); 802throw new ArgumentNullException("schemas"); 943throw new ArgumentNullException("reader"); 1180throw new ArgumentNullException("schema");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (2)
43throw new ArgumentNullException("qualifiedName"); 78throw new ArgumentNullException("qualifiedName");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (17)
177throw new ArgumentNullException("nameTable"); 181throw new ArgumentNullException("schemas"); 185throw new ArgumentNullException("namespaceResolver"); 328throw new ArgumentNullException("schema"); 397throw new ArgumentNullException("partialValidationType"); 423throw new ArgumentNullException("localName"); 427throw new ArgumentNullException("namespaceUri"); 512throw new ArgumentNullException("attributeValue"); 521throw new ArgumentNullException("attributeValue"); 530throw new ArgumentNullException("localName"); 534throw new ArgumentNullException("namespaceUri"); 745throw new ArgumentNullException("defaultAttributes"); 771throw new ArgumentNullException("elementValue"); 780throw new ArgumentNullException("elementValue"); 854throw new ArgumentNullException("elementValue"); 863throw new ArgumentNullException("elementValue"); 927throw new ArgumentNullException("typedValue");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (118)
1013if (value == null) throw new ArgumentNullException("value"); 1020if (value == null) throw new ArgumentNullException("value"); 1059if (value == null) throw new ArgumentNullException("value"); 1066if (value == null) throw new ArgumentNullException("value"); 1098if (value == null) throw new ArgumentNullException("value"); 1105if (value == null) throw new ArgumentNullException("value"); 1145if (value == null) throw new ArgumentNullException("value"); 1151if (value == null) throw new ArgumentNullException("value"); 1171if (destinationType == null) throw new ArgumentNullException("destinationType"); 1186if (destinationType == null) throw new ArgumentNullException("destinationType"); 1201if (destinationType == null) throw new ArgumentNullException("destinationType"); 1216if (value == null) throw new ArgumentNullException("value"); 1217if (destinationType == null) throw new ArgumentNullException("destinationType"); 1232if (value == null) throw new ArgumentNullException("value"); 1233if (destinationType == null) throw new ArgumentNullException("destinationType"); 1354if (value == null) throw new ArgumentNullException("value"); 1361if (value == null) throw new ArgumentNullException("value"); 1402if (value == null) throw new ArgumentNullException("value"); 1409if (value == null) throw new ArgumentNullException("value"); 1438if (value == null) throw new ArgumentNullException("value"); 1444if (value == null) throw new ArgumentNullException("value"); 1463if (destinationType == null) throw new ArgumentNullException("destinationType"); 1477if (destinationType == null) throw new ArgumentNullException("destinationType"); 1491if (value == null) throw new ArgumentNullException("value"); 1492if (destinationType == null) throw new ArgumentNullException("destinationType"); 1506if (value == null) throw new ArgumentNullException("value"); 1507if (destinationType == null) throw new ArgumentNullException("destinationType"); 1571if (value == null) throw new ArgumentNullException("value"); 1587if (value == null) throw new ArgumentNullException("value"); 1615if (value == null) throw new ArgumentNullException("value"); 1632if (value == null) throw new ArgumentNullException("value"); 1715if (value == null) throw new ArgumentNullException("value"); 1721if (value == null) throw new ArgumentNullException("value"); 1740if (destinationType == null) throw new ArgumentNullException("destinationType"); 1754if (destinationType == null) throw new ArgumentNullException("destinationType"); 1768if (value == null) throw new ArgumentNullException("value"); 1769if (destinationType == null) throw new ArgumentNullException("destinationType"); 1783if (value == null) throw new ArgumentNullException("value"); 1784if (destinationType == null) throw new ArgumentNullException("destinationType"); 1835if (value == null) throw new ArgumentNullException("value"); 1841if (value == null) throw new ArgumentNullException("value"); 1905if (value == null) throw new ArgumentNullException("value"); 1911if (value == null) throw new ArgumentNullException("value"); 1929if (destinationType == null) throw new ArgumentNullException("destinationType"); 1942if (value == null) throw new ArgumentNullException("value"); 1943if (destinationType == null) throw new ArgumentNullException("destinationType"); 1956if (value == null) throw new ArgumentNullException("value"); 1957if (destinationType == null) throw new ArgumentNullException("destinationType"); 2050if (value == null) throw new ArgumentNullException("value"); 2056if (value == null) throw new ArgumentNullException("value"); 2098if (value == null) throw new ArgumentNullException("value"); 2099if (destinationType == null) throw new ArgumentNullException("destinationType"); 2136if (value == null) throw new ArgumentNullException("value"); 2137if (destinationType == null) throw new ArgumentNullException("destinationType"); 2338if (value == null) throw new ArgumentNullException("value"); 2344if (value == null) throw new ArgumentNullException("value"); 2361if (value == null) throw new ArgumentNullException("value"); 2362if (destinationType == null) throw new ArgumentNullException("destinationType"); 2374if (value == null) throw new ArgumentNullException("value"); 2375if (destinationType == null) throw new ArgumentNullException("destinationType"); 2422if (value == null) throw new ArgumentNullException("value"); 2428if (value == null) throw new ArgumentNullException("value"); 2444if (value == null) throw new ArgumentNullException("value"); 2450if (value == null) throw new ArgumentNullException("value"); 2465if (value == null) throw new ArgumentNullException("value"); 2472if (value == null) throw new ArgumentNullException("value"); 2487if (value == null) throw new ArgumentNullException("value"); 2493if (value == null) throw new ArgumentNullException("value"); 2509if (value == null) throw new ArgumentNullException("value"); 2515if (value == null) throw new ArgumentNullException("value"); 2531if (value == null) throw new ArgumentNullException("value"); 2537if (value == null) throw new ArgumentNullException("value"); 2553if (value == null) throw new ArgumentNullException("value"); 2559if (value == null) throw new ArgumentNullException("value"); 2575if (value == null) throw new ArgumentNullException("value"); 2581if (value == null) throw new ArgumentNullException("value"); 2629if (value == null) throw new ArgumentNullException("value"); 2635if (value == null) throw new ArgumentNullException("value"); 2670if (destinationType == null) throw new ArgumentNullException("destinationType"); 2680if (destinationType == null) throw new ArgumentNullException("destinationType"); 2690if (destinationType == null) throw new ArgumentNullException("destinationType"); 2700if (destinationType == null) throw new ArgumentNullException("destinationType"); 2710if (destinationType == null) throw new ArgumentNullException("destinationType"); 2720if (destinationType == null) throw new ArgumentNullException("destinationType"); 2730if (destinationType == null) throw new ArgumentNullException("destinationType"); 2740if (destinationType == null) throw new ArgumentNullException("destinationType"); 2750if (value == null) throw new ArgumentNullException("value"); 2751if (destinationType == null) throw new ArgumentNullException("destinationType"); 2781if (value == null) throw new ArgumentNullException("value"); 2782if (destinationType == null) throw new ArgumentNullException("destinationType"); 3021if (value == null) throw new ArgumentNullException("value"); 3022if (destinationType == null) throw new ArgumentNullException("destinationType"); 3058if (value == null) throw new ArgumentNullException("value"); 3074if (value == null) throw new ArgumentNullException("value"); 3089if (value == null) throw new ArgumentNullException("value"); 3105if (value == null) throw new ArgumentNullException("value"); 3121if (value == null) throw new ArgumentNullException("value"); 3137if (value == null) throw new ArgumentNullException("value"); 3153if (value == null) throw new ArgumentNullException("value"); 3169if (value == null) throw new ArgumentNullException("value"); 3192if (destinationType == null) throw new ArgumentNullException("destinationType"); 3202if (destinationType == null) throw new ArgumentNullException("destinationType"); 3212if (destinationType == null) throw new ArgumentNullException("destinationType"); 3222if (destinationType == null) throw new ArgumentNullException("destinationType"); 3232if (destinationType == null) throw new ArgumentNullException("destinationType"); 3242if (destinationType == null) throw new ArgumentNullException("destinationType"); 3252if (destinationType == null) throw new ArgumentNullException("destinationType"); 3262if (destinationType == null) throw new ArgumentNullException("destinationType"); 3272if (value == null) throw new ArgumentNullException("value"); 3273if (destinationType == null) throw new ArgumentNullException("destinationType"); 3283if (value == null) throw new ArgumentNullException("value"); 3284if (destinationType == null) throw new ArgumentNullException("destinationType"); 3408if (value == null) throw new ArgumentNullException("value"); 3409if (destinationType == null) throw new ArgumentNullException("destinationType"); 3464if (value == null) throw new ArgumentNullException("value"); 3465if (destinationType == null) throw new ArgumentNullException("destinationType"); 3706if (value == null) throw new ArgumentNullException("value"); 3707if (destinationType == null) throw new ArgumentNullException("destinationType");
FrameworkFork\Microsoft.Xml\Xml\Serialization\TypeExtensions.cs (1)
19throw new ArgumentNullException("targetType");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCountingReader.cs (1)
21throw new ArgumentNullException("xmlReader");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
171throw new ArgumentNullException("type"); 486throw new ArgumentNullException("MethodName");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (1)
1010throw new ArgumentNullException(string.Format(ResXml.XmlMissingArrayType, CurrentTag()));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (4)
210throw new ArgumentNullException("type"); 258throw new ArgumentNullException("type"); 287throw new ArgumentNullException("xmlMapping"); 675throw new ArgumentNullException("type");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerFactory.cs (1)
92throw new ArgumentNullException("type");
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (16)
332throw new ArgumentNullException("s"); 341throw new ArgumentNullException("inArray"); 358throw new ArgumentNullException("name"); 362throw new ArgumentNullException("name", ResXml.Xml_EmptyName); 401throw new ArgumentNullException("name"); 428throw new ArgumentNullException("name"); 432throw new ArgumentNullException("name", ResXml.Xml_EmptyLocalName); 502throw new ArgumentNullException("name"); 557throw new ArgumentNullException("content"); 569throw new ArgumentNullException("publicId"); 588throw new ArgumentNullException("content"); 930throw new ArgumentNullException("s"); 1430throw new ArgumentNullException("s"); 1441throw new ArgumentNullException("s"); 1450throw new ArgumentNullException("s"); 1880return (name == null) ? new ArgumentNullException(argumentName) : new ArgumentException(ResXml.Xml_EmptyName, argumentName);
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (4)
134throw new ArgumentNullException("uri"); 137throw new ArgumentNullException("prefix"); 201throw new ArgumentNullException("uri"); 205throw new ArgumentNullException("prefix");
FrameworkFork\Microsoft.Xml\Xml\XmlResolver.cs (1)
82throw new ArgumentNullException("absoluteUri");
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathAxisIterator.cs (2)
36if (name == null) throw new ArgumentNullException("name"); 37if (namespaceURI == null) throw new ArgumentNullException("namespaceURI");
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (3)
64throw new ArgumentNullException("nameTable"); 82throw new ArgumentNullException("reader"); 171throw new ArgumentNullException("reader");
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (14)
125throw new ArgumentNullException("typedValue"); 622throw new ArgumentNullException("writer"); 1369throw new ArgumentNullException("newNode"); 1387throw new ArgumentNullException("newNode"); 1493throw new ArgumentNullException("value"); 1529throw new ArgumentNullException("newChild"); 1540throw new ArgumentNullException("newChild"); 1560throw new ArgumentNullException("newChild"); 1571throw new ArgumentNullException("newChild"); 1591throw new ArgumentNullException("newSibling"); 1602throw new ArgumentNullException("newSibling"); 1622throw new ArgumentNullException("newSibling"); 1633throw new ArgumentNullException("newSibling"); 2094throw new ArgumentNullException("xml");
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorKeyComparer.cs (1)
38throw new ArgumentNullException("obj");
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (2)
467throw new ArgumentNullException("localName"); 566throw new ArgumentNullException("localName");
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltArgumentList.cs (1)
97throw new ArgumentNullException(paramName);
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltCommand.cs (6)
156throw new ArgumentNullException("inputUri"); 159throw new ArgumentNullException("resultsFile"); 184throw new ArgumentNullException("input"); 187throw new ArgumentNullException("results"); 193throw new ArgumentNullException("inputUri"); 196throw new ArgumentNullException("results");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
37throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("dataContractSet"));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (2)
631throw new ArgumentNullException("dictMap"); 636throw new ArgumentNullException("exceptionNamespace");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
356throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(name));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XsdDataContractImporter.cs (18)
75throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 83throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 86throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeNames")); 94throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 97throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeName")); 106throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 109throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("element")); 120throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 128throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 131throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeNames")); 139throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 142throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeName")); 150throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("schemas")); 153throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("element")); 170throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("element")); 172throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeName")); 182throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeName")); 197throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typeName"));
FrameworkFork\System.Runtime.Serialization\System\Text\Base64Encoding.cs (9)
66throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 125throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 138throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bytes")); 209throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 221throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bytes")); 302throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bytes")); 314throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 396throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bytes")); 408throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars"));
FrameworkFork\System.Runtime.Serialization\System\Text\BinHexEncoding.cs (4)
53throw new ArgumentNullException("chars"); 63throw new ArgumentNullException("bytes"); 124throw new ArgumentNullException("bytes"); 135throw new ArgumentNullException("chars");
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (4)
87throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("guid")); 127throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 270throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 357throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (8)
535throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 583throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 610throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 982throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 989throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 1146throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 1176throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer")); 1336throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (11)
189throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 476throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 521throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 759throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns")); 792throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 811throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 1000throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 1057throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 1132throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 1154throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 1427throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (1)
1208throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (1)
113throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriter.cs (2)
1130throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("stream")); 1270throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionary.cs (1)
91throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (1)
894throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReaderQuotas.cs (1)
71throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("quotas"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryString.cs (3)
28throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("dictionary")); 30throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 133throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (3)
158throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName")); 353throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reader")); 406throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextReader.cs (1)
565throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextWriter.cs (2)
26throw new ArgumentNullException("stream"); 28throw new ArgumentNullException("encoding");
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
158throw new ArgumentNullException("source");
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (2)
178return TraceException<ArgumentNullException>(new ArgumentNullException(paramName)); 183return TraceException<ArgumentNullException>(new ArgumentNullException(paramName, message));
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
51return (ArgumentNullException)this.ThrowHelperError(new ArgumentNullException(paramName)); 56return (ArgumentNullException)this.ThrowHelperError(new ArgumentNullException(paramName, message));
FrameworkFork\System.ServiceModel\System\IdentityModel\IdentityModelDictionary.cs (2)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key")); 79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key"));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\BinaryKeyIdentifierClause.cs (1)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("identificationData"));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SamlAssertion.cs (1)
36throw new ArgumentNullException("value"); // TODO: DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.SAMLAssertionIdRequired);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
75throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("clause"));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SymmetricKey.cs (1)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("symmetricKey"));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (3)
95throw new ArgumentNullException("valueTypeUris"); // TODO: DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("valueTypeUris"); 616throw new ArgumentNullException("reader"); 631throw new ArgumentNullException("writer");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (8)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 159throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 168throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 175throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageVersion")); 250throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeaderCollection.cs (4)
73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 75throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns")); 93throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 95throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (14)
69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("action")); 78throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("action")); 191throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("from")); 288throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("faultTo")); 408throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("to")); 579throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("replyTo")); 581throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("addressingVersion")); 679throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageId")); 681throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("addressingVersion")); 777throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageId")); 779throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("addressingVersion")); 786throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageId")); 788throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("addressingVersion")); 790throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("relationshipType"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parts1")); 179throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parts2"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
729throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 733throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("stream"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BodyWriter.cs (1)
105throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
83throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (24)
121throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 123throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 145throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 147throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("body")); 154throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 156throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("body")); 163throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 170throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 182throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("envelopeReader")); 184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 192throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 194throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("faultCode")); 196throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reason")); 204throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("faultCode")); 208throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reason")); 216throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("fault")); 218throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 246throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 422throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this); 514throw TraceUtility.ThrowHelperError(new ArgumentNullException("localName"), this); 516throw TraceUtility.ThrowHelperError(new ArgumentNullException("ns"), this); 613throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this); 659throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageBuffer.cs (2)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("stream")); 182throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("stream"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncoder.cs (1)
139throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contentType"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElement.cs (2)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("context")); 41throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("context"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (7)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 49throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("code")); 51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reason")); 53throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("actor")); 55throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("node")); 62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (9)
97throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 99throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageVersion")); 108throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageVersion")); 123throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageVersion")); 180throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 351throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 571throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageVersion"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (20)
60throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("version")); 62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reader")); 391throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("headerInfo")); 481throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 527throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 534throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("collection")); 593throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 595throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns")); 661throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 663throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns")); 665throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("actors")); 850throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 873throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serializer")); 990throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("relationshipType")); 1112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("actors")); 1209throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("header")); 1280throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("headerInfo")); 1379throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("headerInfo")); 1398throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 1400throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("ns"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (11)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array")); 287throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("property")); 438throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 547throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 609throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 726throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("array")); 767throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 777throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 779throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Key")); 839throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 841throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Key"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (2)
55throw new ArgumentNullException("buffer"); 112throw new ArgumentNullException("buffer");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
172throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 222throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (6)
404throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bufferManager")); 440throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("stream")); 474throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 476throw TraceUtility.ThrowHelperError(new ArgumentNullException("bufferManager"), message); 525throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 527throw TraceUtility.ThrowHelperError(new ArgumentNullException("stream"), message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("context"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UriGenerator.cs (1)
28throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("scheme"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerMessageContractImporter.cs (4)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("endpointContext")); 43throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contractContext")); 63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("endpointContext")); 71throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contractContext"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\FaultDescription.cs (1)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("action"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
1683throw new ArgumentNullException("ex");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationContractGenerationContext.cs (13)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serviceContractGenerator")); 32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contract")); 34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("declaringType")); 46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncMethod")); 48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("beginMethod")); 50throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("endMethod")); 52throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("taskMethod")); 64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncMethod")); 66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("beginMethod")); 68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("endMethod")); 79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncMethod")); 81throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("taskMethod")); 91throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("method"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("context"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerationContext.cs (3)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("serviceContractGenerator")); 36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contract")); 38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contractType"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (1)
256return (ArgumentNullException)TraceUtility.ThrowHelperError(new ArgumentNullException(paramName), message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
190if (writer == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 191if (parameters == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parameters")); 339if (reader == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reader")); 340if (parameters == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parameters"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
235throw TraceUtility.ThrowHelperError(new ArgumentNullException("IOperationInvoker.BeginDispatch"),
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
76throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
55throw new ArgumentNullException("rpc.InstanceContext");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageOperationFormatter.cs (4)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 39throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parameters"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
113throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 177throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 574throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("description")); 579throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(string.Format(SRServiceModel.SFxTypedMessageCannotBeNull, description.Action)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
372throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 374throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 412throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("message")); 414throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (3)
243throw TraceUtility.ThrowHelperError(new ArgumentNullException("buffer"), _message); 372throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 408throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("method"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
29throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("taskMethod"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (1)
112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reader"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
263if (writer == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("writer")); 264if (parameters == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parameters")); 361if (reader == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("reader")); 362if (parameters == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parameters"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultCode.cs (2)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("name")); 122throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("subCode"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultContractAttribute.cs (1)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("detailType"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReason.cs (2)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("translations")); 80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("cultureInfo"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReasonText.cs (6)
17throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("text")); 25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("text")); 27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("xmlLang")); 35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("text")); 37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("cultureInfo")); 45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("cultureInfo"));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpBinding.cs (1)
120throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationContext.cs (2)
37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("channel")); 66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("outgoingMessageVersion"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (6)
40throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("other")); 51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("other")); 99throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("protectionRequirements")); 209throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("contract")); 344throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("faults")); 346throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("requirements"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ReferenceList.cs (3)
51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("id")); 60throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("id")); 94throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("id"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityToken.cs (4)
104throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager")); 131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager")); 259throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index))); 340throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
111throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager")); 138throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ScopedMessagePartSpecification.cs (5)
52throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("other")); 77throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parts")); 87throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("action")); 89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("parts")); 101throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("action"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityChannel.cs (1)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
377throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 449throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 560throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityStandardsManager.cs (1)
46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageSecurityVersion"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
763throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("securityVersion"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\GenericXmlSecurityToken.cs (1)
43throw new ArgumentNullException("tokenXml"); // TODO: DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("tokenXml");
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (4)
80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("securityVersion")); 536throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("dictionaryStrings")); 544throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 575throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (1)
303throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("idPrefix"));
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
439throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot"));
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceModelDictionary.cs (2)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key")); 95throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key"));
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (5)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("list")); 45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("list"));
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedKeyedCollection.cs (5)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("comparer")); 48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("comparer")); 66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key")); 138throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key")); 199throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("key"));
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (7)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 33throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("list")); 44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("list")); 58throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("syncRoot")); 60throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("list"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (1)
73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBindingBase.cs (1)
118throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpSecurity.cs (2)
58throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 71throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
Metadata\HttpAuthenticationHelper.cs (2)
73throw new ArgumentNullException(nameof(httpResponse)); 94throw new ArgumentNullException(nameof(challenge));
Metadata\MetadaExchangeResolver.cs (1)
69throw new ArgumentNullException(nameof(endpointAddress));
Metadata\MetadataDocumentLoader.cs (2)
92throw new ArgumentNullException(nameof(uri)); 132throw new ArgumentNullException(nameof(metadataFiles));
Metadata\MetadataDocumentSaver.cs (2)
40this.DirectoryPath = directoryPath ?? throw new ArgumentNullException(nameof(directoryPath)); 97throw new ArgumentNullException(nameof(documents));
Metadata\MetadataFileNameManager.cs (2)
28throw new ArgumentNullException(nameof(fileName)); 69throw new ArgumentNullException(nameof(fileName));
Metadata\ServiceDescriptor.cs (1)
58this.metadataDocumentLoader = metadataDocumentLoader ?? throw new ArgumentNullException(nameof(metadataDocumentLoader));
Shared\FrameworkInfo.cs (1)
36throw new ArgumentNullException(nameof(fullFrameworkName));
Shared\MSBuildProj.cs (2)
383throw new ArgumentNullException(nameof(fullPath)); 962throw new ArgumentNullException(nameof(propertyNames));
Shared\Options\OptionBase.cs (1)
31throw new ArgumentNullException(nameof(name));
Shared\Options\OptionValueParser.cs (2)
91throw new ArgumentNullException(nameof(value)); 267throw new ArgumentNullException(nameof(option));
Shared\ProjectPropertyResolver.cs (2)
229throw new ArgumentNullException(nameof(propertyTable)); 239throw new ArgumentNullException(nameof(propertyNames));
dotnet-user-jwts (1)
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
dotnet-user-secrets (1)
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
EventSourceGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Extensibility.MessageEncoder.IntegrationTests (8)
CustomTextMessageBindingElement.cs (8)
29throw new ArgumentNullException(nameof(encoding)); 32throw new ArgumentNullException(nameof(mediaType)); 35throw new ArgumentNullException(nameof(msgVersion)); 63throw new ArgumentNullException(nameof(value)); 78throw new ArgumentNullException(nameof(value)); 93throw new ArgumentNullException(nameof(value)); 123throw new ArgumentNullException(nameof(context)); 132throw new ArgumentNullException(nameof(context));
GenerateDocumentationAndConfigFiles (110)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (10)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (4)
20throw new ArgumentNullException(nameof(source)); 47throw new ArgumentNullException(nameof(source)); 84throw new ArgumentNullException(nameof(source)); 121throw new ArgumentNullException(nameof(source));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
136throw new ArgumentNullException(nameof(root)); 170throw new ArgumentNullException(nameof(root));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
29throw new ArgumentNullException(nameof(text)); 34throw new ArgumentNullException(nameof(parser));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
53analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\OptionKey.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
35this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (2)
106_text = text ?? throw new ArgumentNullException(nameof(text)); 240throw new ArgumentNullException(nameof(words));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (4)
160throw new ArgumentNullException(nameof(destination)); 177throw new ArgumentNullException(nameof(destination)); 197throw new ArgumentNullException(nameof(destination)); 468throw new ArgumentNullException(nameof(namespaceOrType));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
53throw new ArgumentNullException(nameof(documentId));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
22=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName);
GetDocument.Insider (4)
Commands\CommandBase.cs (1)
22_console = console ?? throw new ArgumentNullException(nameof(console));
Commands\GetDocumentCommandWorker.cs (1)
51_context = context ?? throw new ArgumentNullException(nameof(context));
ProgramBase.cs (1)
19_console = console ?? throw new ArgumentNullException(nameof(console));
src\aspnetcore\src\Tools\Shared\CommandLine\Ensure.cs (1)
15throw new ArgumentNullException(paramName);
ILCompiler.ReadyToRun (1)
Compiler\ProfileData.cs (1)
40Method = method ?? throw new ArgumentNullException("method");
ILCompiler.RyuJit (1)
src\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\Compiler\ProfileData.cs (1)
40Method = method ?? throw new ArgumentNullException("method");
ILLink.RoslynAnalyzer (2)
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\AssemblyNameInfo.cs (1)
44Name = name ?? throw new ArgumentNullException(nameof(name));
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (1)
345throw new ArgumentNullException(paramName);
Microsoft.Analyzers.Local (4)
InternalReferencedInPublicDocAnalyzer.cs (1)
106_ = context ?? throw new ArgumentNullException(nameof(context));
JsonArray.cs (1)
30throw new ArgumentNullException(nameof(values));
JsonReader.cs (2)
34throw new ArgumentNullException(nameof(reader)); 49throw new ArgumentNullException(nameof(source));
Microsoft.Analyzers.Local.Tests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Arcade.Common (2)
NupkgInfo.cs (1)
29throw new ArgumentNullException(nameof(id));
NupkgInfoFactory.cs (1)
26throw new ArgumentNullException(nameof(path));
Microsoft.AspNetCore (3)
BootstrapHostBuilder.cs (3)
45_configureHostActions.Add(configureDelegate ?? throw new ArgumentNullException(nameof(configureDelegate))); 51_configureAppActions.Add(configureDelegate ?? throw new ArgumentNullException(nameof(configureDelegate))); 57_configureServicesActions.Add(configureDelegate ?? throw new ArgumentNullException(nameof(configureDelegate)));
Microsoft.AspNetCore.Analyzers (6)
StartupAnalyzer.cs (1)
21throw new ArgumentNullException(nameof(context));
StartupFacts.cs (5)
15throw new ArgumentNullException(nameof(symbols)); 20throw new ArgumentNullException(nameof(type)); 57throw new ArgumentNullException(nameof(symbol)); 95throw new ArgumentNullException(nameof(symbol)); 133throw new ArgumentNullException(nameof(symbol));
Microsoft.AspNetCore.Antiforgery (4)
AntiforgeryOptions.cs (2)
59set => _cookieBuilder = value ?? throw new ArgumentNullException(nameof(value)); 68set => _formFieldName = value ?? throw new ArgumentNullException(nameof(value));
Internal\DefaultAntiforgeryTokenGenerator.cs (2)
116throw new ArgumentNullException( 123throw new ArgumentNullException(
Microsoft.AspNetCore.App.Analyzers (12)
src\aspnetcore\src\Shared\Roslyn\CodeAnalysisExtensions.cs (7)
35attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 56typeSymbol = typeSymbol ?? throw new ArgumentNullException(nameof(typeSymbol)); 57attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 75propertySymbol = propertySymbol ?? throw new ArgumentNullException(nameof(propertySymbol)); 76attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 99source = source ?? throw new ArgumentNullException(nameof(source)); 100target = target ?? throw new ArgumentNullException(nameof(target));
src\aspnetcore\src\Shared\Roslyn\MvcFacts.cs (5)
13type = type ?? throw new ArgumentNullException(nameof(type)); 14controllerAttribute = controllerAttribute ?? throw new ArgumentNullException(nameof(controllerAttribute)); 15nonControllerAttribute = nonControllerAttribute ?? throw new ArgumentNullException(nameof(nonControllerAttribute)); 59method = method ?? throw new ArgumentNullException(nameof(method)); 60nonActionAttribute = nonActionAttribute ?? throw new ArgumentNullException(nameof(nonActionAttribute));
Microsoft.AspNetCore.AsyncState (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationOptions.cs (1)
155set => _correlationCookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationOptions.cs (1)
55set => _cookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
35_schemes = schemes ?? throw new ArgumentNullException(nameof(schemes));
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectOptions.cs (1)
330set => _nonceCookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterOptions.cs (1)
98set => _stateCookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationOptions.cs (2)
118_securityTokenHandlers = value ?? throw new ArgumentNullException(nameof(SecurityTokenHandlers)); 147_tokenValidationParameters = value ?? throw new ArgumentNullException(nameof(TokenValidationParameters));
Microsoft.AspNetCore.Authorization.Policy (7)
AuthorizationEndpointConventionBuilderExtensions.cs (5)
25throw new ArgumentNullException(nameof(builder)); 41throw new ArgumentNullException(nameof(builder)); 62throw new ArgumentNullException(nameof(builder)); 87throw new ArgumentNullException(nameof(builder)); 108throw new ArgumentNullException(nameof(builder));
AuthorizationMiddleware.cs (2)
51_next = next ?? throw new ArgumentNullException(nameof(next)); 52_policyProvider = policyProvider ?? throw new ArgumentNullException(nameof(policyProvider));
Microsoft.AspNetCore.Components (12)
ComponentFactory.cs (3)
36_componentActivator = componentActivator ?? throw new ArgumentNullException(nameof(componentActivator)); 37_propertyActivator = propertyActivator ?? throw new ArgumentNullException(nameof(propertyActivator)); 38_renderer = renderer ?? throw new ArgumentNullException(nameof(renderer));
LayoutAttribute.cs (1)
21LayoutType = layoutType ?? throw new ArgumentNullException(nameof(layoutType));
PersistentComponentState.cs (1)
42_existingState = existingState ?? throw new ArgumentNullException(nameof(existingState));
RenderHandle.cs (1)
21_renderer = renderer ?? throw new ArgumentNullException(nameof(renderer));
Rendering\ComponentState.cs (2)
39Component = component ?? throw new ArgumentNullException(nameof(component)); 43_renderer = renderer ?? throw new ArgumentNullException(nameof(renderer));
Rendering\RenderQueueEntry.cs (1)
17RenderFragment = renderFragment ?? throw new ArgumentNullException(nameof(renderFragment));
RenderTree\StackObjectPool.cs (1)
21_instanceFactory = instanceFactory ?? throw new ArgumentNullException(nameof(instanceFactory));
Routing\RouteData.cs (1)
30RouteValues = routeValues ?? throw new ArgumentNullException(nameof(routeValues));
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
647throw new ArgumentNullException("key");
Microsoft.AspNetCore.Components.Analyzers (18)
ComponentFacts.cs (16)
17throw new ArgumentNullException(nameof(symbols)); 22throw new ArgumentNullException(nameof(property)); 35throw new ArgumentNullException(nameof(symbols)); 40throw new ArgumentNullException(nameof(property)); 50throw new ArgumentNullException(nameof(symbols)); 55throw new ArgumentNullException(nameof(property)); 79throw new ArgumentNullException(nameof(symbols)); 84throw new ArgumentNullException(nameof(property)); 94throw new ArgumentNullException(nameof(symbols)); 99throw new ArgumentNullException(nameof(property)); 114throw new ArgumentNullException(nameof(symbols)); 119throw new ArgumentNullException(nameof(property)); 134throw new ArgumentNullException(nameof(symbols)); 139throw new ArgumentNullException(nameof(type)); 165throw new ArgumentNullException(nameof(symbols)); 170throw new ArgumentNullException(nameof(type));
ComponentSymbols.cs (1)
15throw new ArgumentNullException(nameof(compilation));
InternalUsageAnalyzer.cs (1)
32_descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor));
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeDataAdapter.cs (1)
15_component = component ?? throw new ArgumentNullException(nameof(component));
Microsoft.AspNetCore.Components.Endpoints (3)
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
23_authenticationStateTask = authenticationStateTask ?? throw new ArgumentNullException(nameof(authenticationStateTask));
Results\RazorComponentResult.cs (1)
62? throw new ArgumentNullException(nameof(parameters))
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
54Property = property ?? throw new ArgumentNullException(nameof(property));
Microsoft.AspNetCore.Components.Forms (4)
EditContext.cs (1)
33Model = model ?? throw new ArgumentNullException(nameof(model));
EditContextDataAnnotationsExtensions.cs (1)
57_editContext = editContext ?? throw new ArgumentNullException(nameof(editContext));
FieldIdentifier.cs (1)
60FieldName = fieldName ?? throw new ArgumentNullException(nameof(fieldName));
ValidationMessageStore.cs (1)
22_editContext = editContext ?? throw new ArgumentNullException(nameof(editContext));
Microsoft.AspNetCore.Components.SdkAnalyzers (12)
ComponentFacts.cs (10)
17throw new ArgumentNullException(nameof(symbols)); 22throw new ArgumentNullException(nameof(property)); 35throw new ArgumentNullException(nameof(symbols)); 40throw new ArgumentNullException(nameof(property)); 50throw new ArgumentNullException(nameof(symbols)); 55throw new ArgumentNullException(nameof(property)); 79throw new ArgumentNullException(nameof(symbols)); 84throw new ArgumentNullException(nameof(property)); 94throw new ArgumentNullException(nameof(symbols)); 99throw new ArgumentNullException(nameof(type));
ComponentSymbols.cs (1)
15throw new ArgumentNullException(nameof(compilation));
InternalUsageAnalyzer.cs (1)
32_descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor));
Microsoft.AspNetCore.Components.Server (20)
BlazorPack\Requires.cs (1)
12throw new ArgumentNullException(paramName);
Circuits\CircuitClientProxy.cs (2)
28Client = clientProxy ?? throw new ArgumentNullException(nameof(clientProxy)); 29ConnectionId = connectionId ?? throw new ArgumentNullException(nameof(connectionId));
Circuits\CircuitHost.cs (8)
70_options = options ?? throw new ArgumentNullException(nameof(options)); 71Client = client ?? throw new ArgumentNullException(nameof(client)); 72Renderer = renderer ?? throw new ArgumentNullException(nameof(renderer)); 73Descriptors = descriptors ?? throw new ArgumentNullException(nameof(descriptors)); 74JSRuntime = jsRuntime ?? throw new ArgumentNullException(nameof(jsRuntime)); 75_navigationManager = navigationManager ?? throw new ArgumentNullException(nameof(navigationManager)); 76_circuitHandlers = circuitHandlers ?? throw new ArgumentNullException(nameof(circuitHandlers)); 79_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Circuits\CircuitId.cs (2)
22Secret = secret ?? throw new ArgumentNullException(nameof(secret)); 23Id = id ?? throw new ArgumentNullException(nameof(id));
Circuits\RemoteJSRuntime.cs (1)
63_clientProxy = clientProxy ?? throw new ArgumentNullException(nameof(clientProxy));
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (3)
49_jsRuntime = jsRuntime ?? throw new ArgumentNullException(nameof(jsRuntime)); 50_dataProtectionProvider = dataProtectionProvider ?? throw new ArgumentNullException(nameof(dataProtectionProvider)); 51_serializerOptions = serializerOptions ?? throw new ArgumentNullException(nameof(serializerOptions));
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
111=> throw new ArgumentNullException(name);
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\BufferWriter.cs (2)
59_output = output ?? throw new ArgumentNullException(nameof(output)); 79_sequencePool = sequencePool ?? throw new ArgumentNullException(nameof(sequencePool));
Microsoft.AspNetCore.Components.Web (2)
Forms\InputFile\InputFileChangeEventArgs.cs (1)
19_files = files ?? throw new ArgumentNullException(nameof(files));
WebElementReferenceContext.cs (1)
21JSRuntime = jsRuntime ?? throw new ArgumentNullException(nameof(jsRuntime));
Microsoft.AspNetCore.Components.WebAssembly (5)
Hosting\WebAssemblyHostBuilder.cs (1)
309_serviceProviderOptions = options ?? throw new ArgumentNullException(nameof(options));
Services\WebAssemblyConsoleLogger.cs (2)
30_name = name ?? throw new ArgumentNullException(nameof(name)); 31_jsRuntime = jsRuntime ?? throw new ArgumentNullException(nameof(jsRuntime));
Services\WebAssemblyErrorBoundaryLogger.cs (1)
15_errorBoundaryLogger = errorBoundaryLogger ?? throw new ArgumentNullException(nameof(errorBoundaryLogger));
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
111=> throw new ArgumentNullException(name);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
AuthenticationStateSerializer.cs (1)
45_authenticationStateTask = authenticationStateTask ?? throw new ArgumentNullException(nameof(authenticationStateTask));
Microsoft.AspNetCore.Components.WebView (7)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
111=> throw new ArgumentNullException(name);
StaticContentProvider.cs (3)
18_fileProvider = fileProvider ?? throw new ArgumentNullException(nameof(fileProvider)); 19_appBaseUri = appBaseUri ?? throw new ArgumentNullException(nameof(appBaseUri)); 20_hostPageRelativePath = hostPageRelativePath ?? throw new ArgumentNullException(nameof(hostPageRelativePath));
WebViewManager.cs (3)
48_provider = provider ?? throw new ArgumentNullException(nameof(provider)); 49_dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher)); 50_appBaseUri = EnsureTrailingSlash(appBaseUri ?? throw new ArgumentNullException(nameof(appBaseUri)));
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
RootComponent.cs (1)
30 ComponentType = componentType ?? throw new ArgumentNullException(nameof(componentType));
WindowsFormsDispatcher.cs (1)
32 throw new ArgumentNullException(nameof(dispatchThreadControl));
Microsoft.AspNetCore.Components.WebView.Wpf (1)
WpfDispatcher.cs (1)
17 _windowsDispatcher = windowsDispatcher ?? throw new ArgumentNullException(nameof(windowsDispatcher));
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
20Uri = uri ?? throw new ArgumentNullException(nameof(uri));
Microsoft.AspNetCore.CookiePolicy (1)
CookiePolicyMiddleware.cs (1)
38_next = next ?? throw new ArgumentNullException(nameof(next));
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsOptions.cs (1)
26_defaultPolicyName = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.DataProtection (5)
KeyManagement\XmlKeyManager.cs (2)
94_loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory)); 96_keyStorageDirectories = keyStorageDirectories ?? throw new ArgumentNullException(nameof(keyStorageDirectories));
Repositories\FileSystemXmlRepository.cs (1)
31Directory = directory ?? throw new ArgumentNullException(nameof(directory));
Secret.cs (2)
54throw new ArgumentNullException(nameof(secret)); 266throw new ArgumentNullException(nameof(buffer));
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
EntityFrameworkCoreXmlRepository.cs (1)
37_services = services ?? throw new ArgumentNullException(nameof(services));
Microsoft.AspNetCore.Diagnostics.Abstractions (2)
ErrorContext.cs (2)
20HttpContext = httpContext ?? throw new ArgumentNullException(nameof(httpContext)); 21Exception = exception ?? throw new ArgumentNullException(nameof(exception));
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
DatabaseDeveloperPageExceptionFilter.cs (2)
37_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 38_options = options?.Value ?? throw new ArgumentNullException(nameof(options));
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Builder\HealthCheckApplicationBuilderExtensions.cs (1)
175throw new ArgumentNullException(nameof(path));
Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.AspNetCore.HeaderParsing (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.AspNetCore.HeaderPropagation (2)
HeaderPropagationMessageHandler.cs (2)
26_options = options ?? throw new ArgumentNullException(nameof(options)); 27_values = values ?? throw new ArgumentNullException(nameof(values));
Microsoft.AspNetCore.HostFiltering (3)
HostFilteringMiddleware.cs (3)
43_next = next ?? throw new ArgumentNullException(nameof(next)); 44_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 45_middlewareConfigurationManager = new MiddlewareConfigurationManager(optionsMonitor ?? throw new ArgumentNullException(nameof(optionsMonitor)), logger);
Microsoft.AspNetCore.Hosting.WindowsServices (1)
WebHostService.cs (1)
28_host = host ?? throw new ArgumentNullException(nameof(host));
Microsoft.AspNetCore.Http (5)
Features\ResponseCookiesFeature.cs (2)
26_features = features ?? throw new ArgumentNullException(nameof(features)); 40_features = features ?? throw new ArgumentNullException(nameof(features));
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
498throw new ArgumentNullException("key");
StreamResponseBodyFeature.cs (2)
25Stream = stream ?? throw new ArgumentNullException(nameof(stream)); 35Stream = stream ?? throw new ArgumentNullException(nameof(stream));
Microsoft.AspNetCore.Http.Abstractions (4)
HostString.cs (1)
229throw new ArgumentNullException(nameof(value));
ProblemDetails\HttpValidationProblemDetails.cs (1)
36: this(new Dictionary<string, string[]>(errors ?? throw new ArgumentNullException(nameof(errors)), StringComparer.Ordinal))
Routing\RouteValueDictionary.cs (1)
647throw new ArgumentNullException("key");
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
54Property = property ?? throw new ArgumentNullException(nameof(property));
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
200set => _items = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Http.Connections.Client (4)
HttpConnectionFactory.cs (1)
33_loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory));
HttpConnectionOptions.cs (3)
79set => _headers = value ?? throw new ArgumentNullException(nameof(value)); 143_clientCertificates = value ?? throw new ArgumentNullException(nameof(value)); 161_cookies = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Http.Results (1)
VirtualFileHttpResult.cs (1)
98internal set => _fileName = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.HttpLogging (5)
HttpLoggingInterceptorContext.cs (1)
36set => _httpContext = value ?? throw new ArgumentNullException(nameof(value));
UpgradeFeatureLoggingDecorator.cs (4)
22_innerUpgradeFeature = innerUpgradeFeature ?? throw new ArgumentNullException(nameof(innerUpgradeFeature)); 23_logContext = logContext ?? throw new ArgumentNullException(nameof(logContext)); 24_options = options ?? throw new ArgumentNullException(nameof(options)); 26_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Microsoft.AspNetCore.HttpsPolicy (2)
HstsMiddleware.cs (1)
37_next = next ?? throw new ArgumentNullException(nameof(next));
HttpsRedirectionMiddleware.cs (1)
70_serverAddressesFeature = serverAddressesFeature ?? throw new ArgumentNullException(nameof(serverAddressesFeature));
Microsoft.AspNetCore.Identity (1)
DataProtectorTokenProvider.cs (1)
34Logger = logger ?? throw new ArgumentNullException(nameof(logger));
Microsoft.AspNetCore.Identity.UI (2)
IdentityDefaultUIConfigureOptions.cs (2)
29options = options ?? throw new ArgumentNullException(nameof(options)); 51options = options ?? throw new ArgumentNullException(nameof(options));
Microsoft.AspNetCore.InternalTesting (1)
Tracing\EventSourceValidator.cs (1)
44throw new ArgumentNullException(nameof(eventSourceType));
Microsoft.AspNetCore.JsonPatch (6)
Adapters\ObjectAdapter.cs (2)
38ContractResolver = contractResolver ?? throw new ArgumentNullException(nameof(contractResolver)); 40AdapterFactory = adapterFactory ?? throw new ArgumentNullException(nameof(adapterFactory));
Internal\ObjectVisitor.cs (2)
39_contractResolver = contractResolver ?? throw new ArgumentNullException(nameof(contractResolver)); 40_adapterFactory = adapterFactory ?? throw new ArgumentNullException(nameof(adapterFactory));
JsonPatchDocumentOfT.cs (2)
41Operations = operations ?? throw new ArgumentNullException(nameof(operations)); 42ContractResolver = contractResolver ?? throw new ArgumentNullException(nameof(contractResolver));
Microsoft.AspNetCore.JsonPatch.SystemTextJson (6)
Adapters\ObjectAdapter.cs (2)
39SerializerOptions = serializerOptions ?? throw new ArgumentNullException(nameof(serializerOptions)); 41AdapterFactory = adapterFactory ?? throw new ArgumentNullException(nameof(adapterFactory));
Internal\ObjectVisitor.cs (2)
35_serializerOptions = serializerOptions ?? throw new ArgumentNullException(nameof(serializerOptions)); 36_adapterFactory = adapterFactory ?? throw new ArgumentNullException(nameof(adapterFactory));
JsonPatchDocumentOfT.cs (2)
44Operations = operations ?? throw new ArgumentNullException(nameof(operations)); 45SerializerOptions = serializerOptions ?? throw new ArgumentNullException(nameof(serializerOptions));
Microsoft.AspNetCore.Localization (2)
RequestLocalizationMiddleware.cs (2)
37_next = next ?? throw new ArgumentNullException(nameof(next)); 38_logger = loggerFactory?.CreateLogger<RequestLocalizationMiddleware>() ?? throw new ArgumentNullException(nameof(loggerFactory));
Microsoft.AspNetCore.Mvc.Abstractions (3)
Abstractions\ActionDescriptorExtensions.cs (1)
45throw new ArgumentNullException(nameof(value));
Filters\FilterContext.cs (1)
65throw new ArgumentNullException(nameof(policy));
ModelBinding\ModelError.cs (1)
29Exception = exception ?? throw new ArgumentNullException(nameof(exception));
Microsoft.AspNetCore.Mvc.Analyzers (12)
src\aspnetcore\src\Shared\Roslyn\CodeAnalysisExtensions.cs (7)
35attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 56typeSymbol = typeSymbol ?? throw new ArgumentNullException(nameof(typeSymbol)); 57attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 75propertySymbol = propertySymbol ?? throw new ArgumentNullException(nameof(propertySymbol)); 76attribute = attribute ?? throw new ArgumentNullException(nameof(attribute)); 99source = source ?? throw new ArgumentNullException(nameof(source)); 100target = target ?? throw new ArgumentNullException(nameof(target));
src\aspnetcore\src\Shared\Roslyn\MvcFacts.cs (5)
13type = type ?? throw new ArgumentNullException(nameof(type)); 14controllerAttribute = controllerAttribute ?? throw new ArgumentNullException(nameof(controllerAttribute)); 15nonControllerAttribute = nonControllerAttribute ?? throw new ArgumentNullException(nameof(nonControllerAttribute)); 59method = method ?? throw new ArgumentNullException(nameof(method)); 60nonActionAttribute = nonActionAttribute ?? throw new ArgumentNullException(nameof(nonActionAttribute));
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiDescriptionExtensions.cs (1)
45throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Mvc.Core (50)
ActionResultOfT.cs (1)
47Result = result ?? throw new ArgumentNullException(nameof(result));
ApiBehaviorOptions.cs (1)
27set => _invalidModelStateResponseFactory = value ?? throw new ArgumentNullException(nameof(value));
ApiConventionMethodAttribute.cs (1)
39ConventionType = conventionType ?? throw new ArgumentNullException(nameof(conventionType));
ApiConventionTypeAttribute.cs (1)
44ConventionType = conventionType ?? throw new ArgumentNullException(nameof(conventionType));
ApiExplorer\ApiConventionResult.cs (1)
22throw new ArgumentNullException(nameof(responseMetadataProviders));
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
27DefaultErrorResponseType = defaultErrorResponseType ?? throw new ArgumentNullException(nameof(defaultErrorResponseType));
ApplicationModels\InferParameterBindingInfoConvention.cs (2)
38_modelMetadataProvider = modelMetadataProvider ?? throw new ArgumentNullException(nameof(modelMetadataProvider)); 51_serviceProviderIsService = serviceProviderIsService ?? throw new ArgumentNullException(nameof(serviceProviderIsService));
ApplicationModels\ParameterModel.cs (1)
26ParameterInfo = parameterInfo ?? throw new ArgumentNullException(nameof(parameterInfo));
ApplicationModels\ParameterModelBase.cs (2)
25ParameterType = parameterType ?? throw new ArgumentNullException(nameof(parameterType)); 26Attributes = new List<object>(attributes ?? throw new ArgumentNullException(nameof(attributes)));
ApplicationModels\PropertyModel.cs (1)
26PropertyInfo = propertyInfo ?? throw new ArgumentNullException(nameof(propertyInfo));
ApplicationParts\ApplicationPartAttribute.cs (1)
23AssemblyName = assemblyName ?? throw new ArgumentNullException(nameof(assemblyName));
ApplicationParts\ApplicationPartManager.cs (1)
42throw new ArgumentNullException(nameof(feature));
ApplicationParts\AssemblyPart.cs (1)
19Assembly = assembly ?? throw new ArgumentNullException(nameof(assembly));
ApplicationParts\ProvideApplicationPartFactoryAttribute.cs (1)
21_applicationPartFactoryType = factoryType ?? throw new ArgumentNullException(nameof(factoryType));
Filters\ResponseCacheFilterExecutor.cs (1)
22_cacheProfile = cacheProfile ?? throw new ArgumentNullException(nameof(cacheProfile));
Infrastructure\ClientErrorResultFilter.cs (2)
19_clientErrorFactory = clientErrorFactory ?? throw new ArgumentNullException(nameof(clientErrorFactory)); 20_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Infrastructure\DefaultProblemDetailsFactory.cs (1)
32_options = options?.Value ?? throw new ArgumentNullException(nameof(options));
Infrastructure\ModelStateInvalidFilter.cs (2)
31_apiBehaviorOptions = apiBehaviorOptions ?? throw new ArgumentNullException(nameof(apiBehaviorOptions)); 39_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Infrastructure\ProblemDetailsClientErrorFactory.cs (1)
12_problemDetailsFactory = problemDetailsFactory ?? throw new ArgumentNullException(nameof(problemDetailsFactory));
Infrastructure\ResourceInvoker.cs (7)
50_diagnosticListener = diagnosticListener ?? throw new ArgumentNullException(nameof(diagnosticListener)); 51_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 52_actionContextAccessor = actionContextAccessor ?? throw new ArgumentNullException(nameof(actionContextAccessor)); 53_mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); 54_actionContext = actionContext ?? throw new ArgumentNullException(nameof(actionContext)); 56_filters = filters ?? throw new ArgumentNullException(nameof(filters)); 57_valueProviderFactories = valueProviderFactories ?? throw new ArgumentNullException(nameof(valueProviderFactories));
ModelBinding\Binders\KeyedServicesModelBinder.cs (1)
18_key = key ?? throw new ArgumentNullException(nameof(key));
ModelBinding\FormFileValueProvider.cs (1)
29_files = files ?? throw new ArgumentNullException(nameof(files));
ObjectResult.cs (1)
46set => _contentTypes = value ?? throw new ArgumentNullException(nameof(value));
PhysicalFileResult.cs (2)
40FileName = fileName ?? throw new ArgumentNullException(nameof(fileName)); 50set => _fileName = value ?? throw new ArgumentNullException(nameof(value));
ProducesAttribute.cs (1)
27Type = type ?? throw new ArgumentNullException(nameof(type));
ProducesDefaultResponseTypeAttribute.cs (1)
29Type = type ?? throw new ArgumentNullException(nameof(type));
ProducesErrorResponseTypeAttribute.cs (1)
27Type = type ?? throw new ArgumentNullException(nameof(type));
ProducesResponseTypeAttribute.cs (2)
36Type = type ?? throw new ArgumentNullException(nameof(type)); 52Type = type ?? throw new ArgumentNullException(nameof(type));
RouteAttribute.cs (1)
23Template = template ?? throw new ArgumentNullException(nameof(template));
ServiceFilterAttribute.cs (1)
32ServiceType = type ?? throw new ArgumentNullException(nameof(type));
SignInResult.cs (1)
57Principal = principal ?? throw new ArgumentNullException(nameof(principal));
SignOutResult.cs (1)
75AuthenticationSchemes = authenticationSchemes ?? throw new ArgumentNullException(nameof(authenticationSchemes));
src\aspnetcore\src\Shared\PropertyActivator\PropertyActivator.cs (2)
21PropertyInfo = propertyInfo ?? throw new ArgumentNullException(nameof(propertyInfo)); 22_valueAccessor = valueAccessor ?? throw new ArgumentNullException(nameof(valueAccessor));
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
54Property = property ?? throw new ArgumentNullException(nameof(property));
TypeFilterAttribute.cs (1)
36ImplementationType = type ?? throw new ArgumentNullException(nameof(type));
VirtualFileResult.cs (2)
41FileName = fileName ?? throw new ArgumentNullException(nameof(fileName)); 51set => _fileName = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
DependencyInjection\XmlDataContractSerializerMvcOptionsSetup.cs (1)
28_loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory));
DependencyInjection\XmlSerializerMvcOptionsSetup.cs (1)
26_loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory));
Microsoft.AspNetCore.Mvc.NewtonsoftJson (4)
BsonTempDataSerializer.cs (2)
154item = item ?? throw new ArgumentNullException(nameof(item)); 168typeToSerialize = typeToSerialize ?? throw new ArgumentNullException(nameof(typeToSerialize));
NewtonsoftJsonOutputFormatter.cs (1)
66_mvcOptions = mvcOptions ?? throw new ArgumentNullException(nameof(mvcOptions));
NewtonsoftJsonResultExecutor.cs (1)
56_mvcOptions = mvcOptions?.Value ?? throw new ArgumentNullException(nameof(mvcOptions));
Microsoft.AspNetCore.Mvc.Razor (3)
ApplicationParts\CompiledRazorAssemblyPart.cs (1)
20Assembly = assembly ?? throw new ArgumentNullException(nameof(assembly));
RazorPageFactoryResult.cs (1)
24ViewDescriptor = viewDescriptor ?? throw new ArgumentNullException(nameof(viewDescriptor));
TagHelperInitializerOfT.cs (1)
31throw new ArgumentNullException(nameof(helper));
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (6)
AssemblyPartExtensions.cs (1)
19var assembly = assemblyPart?.Assembly ?? throw new ArgumentNullException(nameof(assemblyPart));
CSharpCompiler.cs (2)
33_referenceManager = manager ?? throw new ArgumentNullException(nameof(manager)); 34_hostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment));
DependencyInjection\MvcRazorRuntimeCompilationOptionsSetup.cs (1)
17_hostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment));
src\aspnetcore\src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (2)
23_options = options ?? throw new ArgumentNullException(nameof(options)); 24_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Microsoft.AspNetCore.Mvc.RazorPages (17)
ApplicationModels\CompiledPageRouteModelProvider.cs (2)
29_applicationManager = applicationManager ?? throw new ArgumentNullException(nameof(applicationManager)); 30_pagesOptions = pagesOptionsAccessor?.Value ?? throw new ArgumentNullException(nameof(pagesOptionsAccessor));
ApplicationModels\PageApplicationModel.cs (1)
37ActionDescriptor = actionDescriptor ?? throw new ArgumentNullException(nameof(actionDescriptor));
ApplicationModels\PageHandlerModel.cs (2)
25MethodInfo = handlerMethod ?? throw new ArgumentNullException(nameof(handlerMethod)); 26Attributes = attributes ?? throw new ArgumentNullException(nameof(attributes));
ApplicationModels\PagePropertyModel.cs (1)
26PropertyInfo = propertyInfo ?? throw new ArgumentNullException(nameof(propertyInfo));
ApplicationModels\PageRouteModel.cs (2)
33RelativePath = relativePath ?? throw new ArgumentNullException(nameof(relativePath)); 34ViewEnginePath = viewEnginePath ?? throw new ArgumentNullException(nameof(viewEnginePath));
ApplicationModels\PageRouteModelFactory.cs (2)
23_options = options ?? throw new ArgumentNullException(nameof(options)); 24_logger = logger ?? throw new ArgumentNullException(nameof(logger));
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (1)
21_loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory));
DependencyInjection\RazorPagesOptionsSetup.cs (1)
16_serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider));
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (1)
18_pagesOptions = pagesOptions?.Value ?? throw new ArgumentNullException(nameof(pagesOptions));
Infrastructure\RazorPageAdapter.cs (2)
27_page = page ?? throw new ArgumentNullException(nameof(page)); 28_modelType = modelType ?? throw new ArgumentNullException(nameof(modelType));
PageBase.cs (1)
75set => _metadataProvider = value ?? throw new ArgumentNullException(nameof(value));
PageModel.cs (1)
144set => _metadataProvider = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Mvc.TagHelpers (3)
PartialTagHelper.cs (3)
41_viewEngine = viewEngine ?? throw new ArgumentNullException(nameof(viewEngine)); 42_viewBufferScope = viewBufferScope ?? throw new ArgumentNullException(nameof(viewBufferScope)); 59_for = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
CookieTempDataProviderOptions.cs (1)
54set => _cookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
HtmlHelperOfT.cs (1)
41_modelExpressionProvider = modelExpressionProvider ?? throw new ArgumentNullException(nameof(modelExpressionProvider));
Microsoft.AspNetCore.Razor (1)
TagHelpers\NullHtmlEncoder.cs (1)
85throw new ArgumentNullException(nameof(buffer));
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ThrowHelper.cs (2)
63=> throw new ArgumentNullException(paramName); 82=> throw new ArgumentNullException(paramName);
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (3)
92throw new ArgumentNullException(nameof(source)); 111throw new ArgumentNullException(nameof(stream)); 151throw new ArgumentNullException(nameof(stream));
Microsoft.AspNetCore.ResponseCaching (1)
MemoryResponseCache.cs (1)
14_cache = cache ?? throw new ArgumentNullException(nameof(cache));
Microsoft.AspNetCore.Rewrite (1)
IISUrlRewrite\UrlRewriteRuleBuilder.cs (1)
36throw new ArgumentNullException(nameof(action), "Rules must contain an action");
Microsoft.AspNetCore.Routing (14)
Builder\EndpointRouteBuilderExtensions.cs (1)
38endpoints.MapGroup(RoutePatternFactory.Parse(prefix ?? throw new ArgumentNullException(nameof(prefix))));
DataTokensMetadata.cs (1)
25DataTokens = dataTokens ?? throw new ArgumentNullException(nameof(dataTokens));
DefaultEndpointRouteBuilder.cs (1)
12ApplicationBuilder = applicationBuilder ?? throw new ArgumentNullException(nameof(applicationBuilder));
EndpointMiddleware.cs (3)
26_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 27_next = next ?? throw new ArgumentNullException(nameof(next)); 28_routeOptions = routeOptions?.Value ?? throw new ArgumentNullException(nameof(routeOptions));
EndpointRoutingMiddleware.cs (3)
45_matcherFactory = matcherFactory ?? throw new ArgumentNullException(nameof(matcherFactory)); 46_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 47_diagnosticListener = diagnosticListener ?? throw new ArgumentNullException(nameof(diagnosticListener));
Matching\CandidateSet.cs (1)
365throw new ArgumentNullException(parameter);
Matching\PolicyJumpTableEdge.cs (1)
18State = state ?? throw new System.ArgumentNullException(nameof(state));
Matching\PolicyNodeEdge.cs (2)
20State = state ?? throw new System.ArgumentNullException(nameof(state)); 21Endpoints = endpoints ?? throw new System.ArgumentNullException(nameof(endpoints));
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
54Property = property ?? throw new ArgumentNullException(nameof(property));
Microsoft.AspNetCore.Routing.Abstractions (2)
RouteContext.cs (1)
21HttpContext = httpContext ?? throw new ArgumentNullException(nameof(httpContext));
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
54Property = property ?? throw new ArgumentNullException(nameof(property));
Microsoft.AspNetCore.Server.HttpSys (15)
_generated\76\Windows.Win32.PInvoke.ADVAPI32.dll.g.cs (2)
51 throw new ArgumentNullException(nameof(handle)); 81 throw new ArgumentNullException(nameof(handle));
_generated\78\Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (12)
69 throw new ArgumentNullException(nameof(RequestQueueHandle)); 248 throw new ArgumentNullException(nameof(RequestQueueHandle)); 256 throw new ArgumentNullException(nameof(DelegateQueueHandle)); 318 throw new ArgumentNullException(nameof(RequestQueueHandle)); 396 throw new ArgumentNullException(nameof(RequestQueueHandle)); 425 throw new ArgumentNullException(nameof(RequestQueueHandle)); 528 throw new ArgumentNullException(nameof(RequestQueueHandle)); 559 throw new ArgumentNullException(nameof(RequestQueueHandle)); 639 throw new ArgumentNullException(nameof(RequestQueueHandle)); 669 throw new ArgumentNullException(nameof(RequestQueueHandle)); 743 throw new ArgumentNullException(nameof(RequestQueueHandle)); 832 throw new ArgumentNullException(nameof(RequestQueueHandle));
_generated\79\Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
56 throw new ArgumentNullException(nameof(FileHandle));
Microsoft.AspNetCore.Server.Kestrel.Core (16)
DirectTlsEndpoint.cs (1)
53: this((endpoint ?? throw new ArgumentNullException(nameof(endpoint))).Address, endpoint.Port, options)
EndpointConfiguration.cs (3)
18ListenOptions = listenOptions ?? throw new ArgumentNullException(nameof(listenOptions)); 19HttpsOptions = httpsOptions ?? throw new ArgumentNullException(nameof(httpsOptions)); 20ConfigSection = configSection ?? throw new ArgumentNullException(nameof(configSection));
Internal\ConfigurationReader.cs (1)
32_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
KestrelConfigurationLoader.cs (1)
89EndpointConfigurations[name] = configureOptions ?? throw new ArgumentNullException(nameof(configureOptions));
KestrelServer.cs (1)
35new[] { transportFactory ?? throw new ArgumentNullException(nameof(transportFactory)) },
KestrelServerOptions.cs (4)
161set => _requestHeaderEncodingSelector = value ?? throw new ArgumentNullException(nameof(value)); 171set => _responseHeaderEncodingSelector = value ?? throw new ArgumentNullException(nameof(value)); 264EndpointDefaults = configureOptions ?? throw new ArgumentNullException(nameof(configureOptions)); 280HttpsDefaults = configureOptions ?? throw new ArgumentNullException(nameof(configureOptions));
LocalhostListenOptions.cs (1)
17_hostPrefix = hostPrefix ?? throw new ArgumentNullException(nameof(hostPrefix));
Middleware\LoggingConnectionMiddleware.cs (2)
16_next = next ?? throw new ArgumentNullException(nameof(next)); 17_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
19_multiplexedNext = multiplexedNext ?? throw new ArgumentNullException(nameof(multiplexedNext)); 20_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Microsoft.AspNetCore.Session (1)
SessionOptions.cs (1)
31set => _cookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
265_connectionFactory = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory)); 266_protocol = protocol ?? throw new ArgumentNullException(nameof(protocol)); 267_endPoint = endPoint ?? throw new ArgumentNullException(nameof(endPoint)); 268_serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider));
Microsoft.AspNetCore.SignalR.Core (6)
HubOptionsExtensions.cs (5)
21_ = options ?? throw new ArgumentNullException(nameof(options)); 22_ = hubFilter ?? throw new ArgumentNullException(nameof(hubFilter)); 39_ = options ?? throw new ArgumentNullException(nameof(options)); 51_ = options ?? throw new ArgumentNullException(nameof(options)); 52_ = filterType ?? throw new ArgumentNullException(nameof(filterType));
Internal\DefaultHubProtocolResolver.cs (1)
34protocolName = protocolName ?? throw new ArgumentNullException(nameof(protocolName));
Microsoft.AspNetCore.SpaProxy (8)
SpaProxyMiddleware.cs (5)
37_next = next ?? throw new ArgumentNullException(nameof(next)); 38_spaProxyLaunchManager = spaProxyLaunchManager ?? throw new ArgumentNullException(nameof(spaProxyLaunchManager)); 39_options = options ?? throw new ArgumentNullException(nameof(options)); 40_hostLifetime = hostLifetime ?? throw new ArgumentNullException(nameof(hostLifetime)); 41_logger = logger ?? throw new ArgumentNullException(nameof(logger));
SpaProxyStartupFilter.cs (3)
22_spaProxyLaunchManager = spaProxyLaunchManager ?? throw new ArgumentNullException(nameof(spaProxyLaunchManager)); 23_hostLifetime = hostLifetime ?? throw new ArgumentNullException(nameof(hostLifetime)); 24_logger = logger ?? throw new ArgumentNullException(nameof(logger));
Microsoft.AspNetCore.SpaServices.Extensions (4)
DefaultSpaBuilder.cs (2)
17?? throw new ArgumentNullException(nameof(applicationBuilder)); 20?? throw new ArgumentNullException(nameof(options));
Util\EventedStreamReader.cs (1)
28_streamReader = streamReader ?? throw new ArgumentNullException(nameof(streamReader));
Util\EventedStreamStringReader.cs (1)
21?? throw new ArgumentNullException(nameof(eventedStreamReader));
Microsoft.AspNetCore.StaticFiles (2)
StaticFileResponseContext.cs (2)
21Context = context ?? throw new ArgumentNullException(nameof(context)); 22File = file ?? throw new ArgumentNullException(nameof(file));
Microsoft.AspNetCore.TestHost (15)
ClientHandler.cs (1)
34_application = application ?? throw new ArgumentNullException(nameof(application));
HttpContextBuilder.cs (1)
32_application = application ?? throw new ArgumentNullException(nameof(application));
RequestBuilder.cs (1)
22TestServer = server ?? throw new ArgumentNullException(nameof(server));
ResponseBodyPipeWriter.cs (2)
19_pipe = pipe ?? throw new ArgumentNullException(nameof(pipe)); 20_onFirstWriteAsync = onFirstWriteAsync ?? throw new ArgumentNullException(nameof(onFirstWriteAsync));
ResponseBodyReaderStream.cs (2)
26_pipe = pipe ?? throw new ArgumentNullException(nameof(pipe)); 27_abortRequest = abortRequest ?? throw new ArgumentNullException(nameof(abortRequest));
TestServer.cs (6)
51Services = services ?? throw new ArgumentNullException(nameof(services)); 52Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection)); 53var options = optionsAccessor?.Value ?? throw new ArgumentNullException(nameof(optionsAccessor)); 76Services = services ?? throw new ArgumentNullException(nameof(services)); 77Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection)); 100Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection));
TestWebSocket.cs (1)
198throw new ArgumentNullException(nameof(buffer));
WebSocketClient.cs (1)
24_application = application ?? throw new ArgumentNullException(nameof(application));
Microsoft.AspNetCore.Testing (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.AspNetCore.WebUtilities (8)
HttpRequestStreamReader.cs (4)
72_stream = stream ?? throw new ArgumentNullException(nameof(stream)); 73_encoding = encoding ?? throw new ArgumentNullException(nameof(encoding)); 74_bytePool = bytePool ?? throw new ArgumentNullException(nameof(bytePool)); 75_charPool = charPool ?? throw new ArgumentNullException(nameof(charPool));
HttpResponseStreamWriter.cs (4)
68_stream = stream ?? throw new ArgumentNullException(nameof(stream)); 69Encoding = encoding ?? throw new ArgumentNullException(nameof(encoding)); 70_bytePool = bytePool ?? throw new ArgumentNullException(nameof(bytePool)); 71_charPool = charPool ?? throw new ArgumentNullException(nameof(charPool));
Microsoft.Bcl.AsyncInterfaces (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Bcl.Numerics (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Build (89)
Collections\RetrievableEntryHashSet\HashSetDebugView.cs (1)
19_set = set ?? throw new ArgumentNullException(nameof(set));
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
164throw new ArgumentNullException(nameof(collection)); 517throw new ArgumentNullException(nameof(info)); 621throw new ArgumentNullException(nameof(other)); 655throw new ArgumentNullException(nameof(array));
Construction\Solution\SolutionFile.cs (1)
233throw new ArgumentNullException(nameof(FullPath));
Evaluation\IntrinsicFunctions.cs (1)
762throw new ArgumentNullException(nameof(keyName));
Graph\ProjectGraph.cs (2)
1001Node = node ?? throw new ArgumentNullException(nameof(node)); 1002RequestedTargets = targets ?? throw new ArgumentNullException(nameof(targets));
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
133throw new ArgumentNullException(nameof(item));
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (2)
33throw new ArgumentNullException(nameof(allItems)); 37_itemsByType = itemsByType ?? throw new ArgumentNullException(nameof(itemsByType));
Instance\ImmutableProjectCollections\ImmutableProjectMetadataCollectionConverter.cs (2)
38_linkedProjectItem = linkedProjectItem ?? throw new ArgumentNullException(nameof(linkedProjectItem)); 39_properties = properties ?? throw new ArgumentNullException(nameof(properties));
Instance\ImmutableProjectCollections\ImmutableProjectPropertyCollectionConverter.cs (1)
30_linkedProject = linkedProject ?? throw new ArgumentNullException(nameof(linkedProject));
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\5057ed6cf5d6323b\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\5057ed6cf5d6323b\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\5057ed6cf5d6323b\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\697a1c9088572269\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\697a1c9088572269\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\9f0d3f3da306d8cf\IEnumerableExtensions.cs (19)
41throw new ArgumentNullException(nameof(source)); 46throw new ArgumentNullException(nameof(action)); 107throw new ArgumentNullException(nameof(source)); 117throw new ArgumentNullException(nameof(source)); 137throw new ArgumentNullException(nameof(source1)); 142throw new ArgumentNullException(nameof(source2)); 152throw new ArgumentNullException(nameof(source1)); 157throw new ArgumentNullException(nameof(source2)); 167throw new ArgumentNullException(nameof(source)); 177throw new ArgumentNullException(nameof(source)); 213throw new ArgumentNullException(nameof(source)); 224throw new ArgumentNullException(nameof(source)); 229throw new ArgumentNullException(nameof(predicate)); 240throw new ArgumentNullException(nameof(source)); 245throw new ArgumentNullException(nameof(predicate)); 256throw new ArgumentNullException(nameof(source)); 267throw new ArgumentNullException(nameof(source)); 562throw new ArgumentNullException(nameof(source)); 628throw new ArgumentNullException(nameof(sequence));
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\msbuild\src\Shared\ErrorUtilities.cs (1)
310throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
Utilities\SimpleVersion.cs (1)
109throw new ArgumentNullException(nameof(input));
Microsoft.Build.Framework (8)
Loader\CoreCLRAssemblyLoader.cs (2)
39throw new ArgumentNullException(nameof(fullPath)); 53throw new ArgumentNullException(nameof(fullPath));
Sdk\SdkResolver.cs (1)
80throw new ArgumentNullException(nameof(resolver));
TaskItem_T.cs (1)
53throw new ArgumentNullException(nameof(item));
Utilities\TaskFactoryUtilities.cs (4)
86throw new ArgumentNullException(nameof(directoriesToAdd)); 110throw new ArgumentNullException(nameof(referenceAssemblyPaths)); 133throw new ArgumentNullException(nameof(assemblyPaths)); 217throw new ArgumentNullException(nameof(searchDirectories));
Microsoft.Build.NuGetSdkResolver (1)
NuGetSdkLogger.cs (1)
42_sdkLogger = sdkLogger ?? throw new ArgumentNullException(nameof(sdkLogger));
Microsoft.Build.Tasks.Core (40)
AddToWin32Manifest.cs (2)
67set => _outputDirectory = value ?? throw new ArgumentNullException(nameof(OutputDirectory)); 77set => _supportedArchitectures = value ?? throw new ArgumentNullException(nameof(SupportedArchitectures));
BootstrapperUtil\Product.cs (1)
161throw new ArgumentNullException(nameof(package));
DownloadFile.cs (1)
323throw new ArgumentNullException(nameof(requestUri));
GenerateManifestBase.cs (1)
455throw new ArgumentNullException(nameof(manifestType));
ManifestUtil\ApplicationIdentity.cs (6)
30throw new ArgumentNullException(nameof(url)); 35throw new ArgumentNullException(nameof(deployManifestPath)); 40throw new ArgumentNullException(nameof(applicationManifestPath)); 57throw new ArgumentNullException(nameof(url)); 61_deployManifestIdentity = deployManifestIdentity ?? throw new ArgumentNullException(nameof(deployManifestIdentity)); 62_applicationManifestIdentity = applicationManifestIdentity ?? throw new ArgumentNullException(nameof(applicationManifestIdentity));
ManifestUtil\AssemblyIdentity.cs (1)
399throw new ArgumentNullException(nameof(frameworkIdentifier));
ManifestUtil\Manifest.cs (1)
241throw new ArgumentNullException(nameof(searchPaths));
ManifestUtil\ManifestReader.cs (1)
118throw new ArgumentNullException(nameof(path));
ManifestUtil\mansign2.cs (4)
331_manifestDom = manifestDom ?? throw new ArgumentNullException(nameof(manifestDom)); 353throw new ArgumentNullException(nameof(signer)); 1087throw new ArgumentNullException(nameof(strongNameKey)); 1094throw new ArgumentNullException(nameof(strongNameKey));
ManifestUtil\OutputMessage.cs (2)
46Name = name ?? throw new ArgumentNullException(nameof(name)); 47_arguments = arguments ?? throw new ArgumentNullException(nameof(arguments));
ManifestUtil\PathUtil.cs (3)
79throw new ArgumentNullException(nameof(path)); 141throw new ArgumentNullException(nameof(path)); 154throw new ArgumentNullException(nameof(path));
ManifestUtil\RSAPKCS1SHA256SignatureDescription.cs (2)
31throw new ArgumentNullException(nameof(key)); 44throw new ArgumentNullException(nameof(key));
ManifestUtil\SecurityUtil.cs (3)
572throw new ArgumentNullException(nameof(certThumbprint)); 668throw new ArgumentNullException(nameof(cert)); 673throw new ArgumentNullException(nameof(path));
RedistList.cs (5)
101throw new ArgumentNullException(nameof(assemblyTableInfos)); 342throw new ArgumentNullException(nameof(assemblyTables)); 373throw new ArgumentNullException(nameof(assemblyName)); 384throw new ArgumentNullException(nameof(assemblyName)); 500_assemblyList = assemblyList ?? throw new ArgumentNullException(nameof(assemblyList));
src\msbuild\src\Shared\ErrorUtilities.cs (1)
310throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
system.design\stronglytypedresourcebuilder.cs (6)
147throw new ArgumentNullException(nameof(resourceList)); 169throw new ArgumentNullException(nameof(baseName)); 173throw new ArgumentNullException(nameof(codeProvider)); 300throw new ArgumentNullException(nameof(resxFile)); 704throw new ArgumentNullException(nameof(key)); 709throw new ArgumentNullException(nameof(provider));
Microsoft.Build.Tasks.Git (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.Build.Utilities.Core (2)
MuxLogger.cs (1)
232throw new ArgumentNullException(nameof(logger));
src\msbuild\src\Shared\ErrorUtilities.cs (1)
310throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
Microsoft.CodeAnalysis (300)
AdditionalTextFile.cs (1)
29throw new ArgumentNullException(nameof(compiler));
Collections\ImmutableHashSetExtensions.cs (2)
21throw new ArgumentNullException(nameof(set)); 23throw new ArgumentNullException(nameof(other));
Collections\Rope.cs (3)
89throw new ArgumentNullException(nameof(s)); 100throw new ArgumentNullException(nameof(r1)); 103throw new ArgumentNullException(nameof(r2));
CommandLine\AnalyzerConfigSet.cs (1)
181throw new ArgumentNullException(nameof(sourcePath));
CommandLine\CommandLineArguments.cs (3)
342throw new ArgumentNullException(nameof(outputFileName)); 362throw new ArgumentNullException(nameof(outputFileName)); 386throw new ArgumentNullException(nameof(metadataResolver));
CommandLine\ErrorLogOptions.cs (1)
33throw new ArgumentNullException(nameof(path));
CommandLine\TouchedFileLogger.cs (2)
33if (path == null) throw new ArgumentNullException(path); 43if (path == null) throw new ArgumentNullException(path);
Compilation\Compilation.cs (33)
370throw new ArgumentNullException(nameof(name)); 390throw new ArgumentNullException(nameof(container)); 395throw new ArgumentNullException(nameof(name)); 407=> CommonCreatePreprocessingSymbol(name ?? throw new ArgumentNullException(nameof(name))); 698throw new ArgumentNullException($"{nameof(references)}[{i}]"); 818throw new ArgumentNullException(nameof(references)); 848throw new ArgumentNullException(nameof(references)); 892throw new ArgumentNullException(nameof(oldReference)); 1324throw new ArgumentNullException(nameof(elementTypes)); 1341throw new ArgumentNullException($"{nameof(elementTypes)}[{i}]"); 1346throw new ArgumentNullException($"{nameof(elementLocations)}[{i}]"); 1441throw new ArgumentNullException(nameof(underlyingType)); 1482throw new ArgumentNullException(nameof(memberTypes)); 1487throw new ArgumentNullException(nameof(memberNames)); 1518throw new ArgumentNullException($"{nameof(memberTypes)}[{i}]"); 1523throw new ArgumentNullException($"{nameof(memberNames)}[{i}]"); 1528throw new ArgumentNullException($"{nameof(memberLocations)}[{i}]"); 1573throw new ArgumentNullException(nameof(returnType)); 1576throw new ArgumentNullException(nameof(leftType)); 1579throw new ArgumentNullException(nameof(rightType)); 1600throw new ArgumentNullException(nameof(returnType)); 1603throw new ArgumentNullException(nameof(operandType)); 1653throw new ArgumentNullException(nameof(symbol)); 1658throw new ArgumentNullException(nameof(within)); 2848throw new ArgumentNullException(nameof(peStream)); 3144throw new ArgumentNullException(nameof(baseline)); 3152throw new ArgumentNullException(nameof(edits)); 3157throw new ArgumentNullException(nameof(isAddedSymbol)); 3162throw new ArgumentNullException(nameof(metadataStream)); 3167throw new ArgumentNullException(nameof(ilStream)); 3172throw new ArgumentNullException(nameof(pdbStream)); 3913throw new ArgumentNullException(nameof(diagnostic)); 3943throw new ArgumentNullException(nameof(diagnostic));
Diagnostic\Diagnostic_SimpleDiagnostic.cs (2)
47_descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor)); 184throw new ArgumentNullException(nameof(location));
Diagnostic\Diagnostic.cs (4)
152throw new ArgumentNullException(nameof(descriptor)); 264throw new ArgumentNullException(nameof(id)); 269throw new ArgumentNullException(nameof(category)); 274throw new ArgumentNullException(nameof(message));
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (1)
112throw new ArgumentNullException(nameof(location));
Diagnostic\DiagnosticDescriptor.cs (4)
171throw new ArgumentNullException(nameof(messageFormat)); 176throw new ArgumentNullException(nameof(category)); 181throw new ArgumentNullException(nameof(title)); 239throw new ArgumentNullException(nameof(compilationOptions));
Diagnostic\DiagnosticFormatter.cs (1)
27throw new ArgumentNullException(nameof(diagnostic));
Diagnostic\DiagnosticWithInfo.cs (1)
199throw new ArgumentNullException(nameof(location));
Diagnostic\FileLinePositionSpan.cs (1)
63Path = path ?? throw new ArgumentNullException(nameof(path));
Diagnostic\LocalizableResourceString.cs (4)
46throw new ArgumentNullException(nameof(nameOfLocalizableResource)); 51throw new ArgumentNullException(nameof(resourceManager)); 56throw new ArgumentNullException(nameof(resourceSource)); 61throw new ArgumentNullException(nameof(formatArguments));
Diagnostic\Location.cs (4)
162throw new ArgumentNullException(nameof(syntaxTree)); 175throw new ArgumentNullException(nameof(filePath)); 188throw new ArgumentNullException(nameof(filePath)); 193throw new ArgumentNullException(nameof(mappedFilePath));
Diagnostic\SuppressionDescriptor.cs (2)
70this.Justification = justification ?? throw new ArgumentNullException(nameof(justification)); 106throw new ArgumentNullException(nameof(compilationOptions));
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
58_assemblyLoader = assemblyLoader ?? throw new ArgumentNullException(nameof(assemblyLoader));
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (1)
55throw new ArgumentNullException(nameof(message));
DiagnosticAnalyzer\AnalyzerOptions.cs (1)
38throw new ArgumentNullException(nameof(optionsProvider));
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (9)
117throw new ArgumentNullException(nameof(compilation)); 122throw new ArgumentNullException(nameof(analysisOptions)); 132throw new ArgumentNullException(nameof(analyzers)); 185throw new ArgumentNullException(nameof(model)); 198throw new ArgumentNullException(nameof(tree)); 211throw new ArgumentNullException(nameof(file)); 1173throw new ArgumentNullException(nameof(diagnostics)); 1178throw new ArgumentNullException(nameof(compilation)); 1229throw new ArgumentNullException(nameof(options));
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (2)
1369throw new ArgumentNullException(nameof(operationBlock)); 1502throw new ArgumentNullException(nameof(operationBlock));
DiagnosticAnalyzer\DiagnosticAnalysisContextHelpers.cs (7)
53throw new ArgumentNullException(nameof(diagnostic)); 113throw new ArgumentNullException(nameof(action)); 121throw new ArgumentNullException(nameof(symbolKinds)); 135throw new ArgumentNullException(nameof(syntaxKinds)); 148throw new ArgumentNullException(nameof(operationKinds)); 162throw new ArgumentNullException(nameof(key)); 167throw new ArgumentNullException(nameof(valueProvider));
DiagnosticAnalyzer\DiagnosticAnalyzerAttribute.cs (2)
29throw new ArgumentNullException(nameof(firstLanguage)); 34throw new ArgumentNullException(nameof(additionalLanguages));
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (2)
1015throw new ArgumentNullException(nameof(otherActions)); 1096throw new ArgumentNullException(nameof(otherActions));
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
110throw new ArgumentNullException(nameof(baseDirectory));
DiagnosticAnalyzer\Suppression.cs (2)
19Descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor)); 20SuppressedDiagnostic = suppressedDiagnostic ?? throw new ArgumentNullException(nameof(suppressedDiagnostic));
DiagnosticAnalyzer\UnresolvedAnalyzerReference.cs (1)
24throw new ArgumentNullException(nameof(unresolvedPath));
DiaSymReader\Writer\SymUnmanagedSequencePointsWriter.cs (1)
29_writer = writer ?? throw new ArgumentNullException(nameof(writer));
DiaSymReader\Writer\SymUnmanagedWriterFactory.cs (1)
38throw new ArgumentNullException(nameof(metadataProvider));
DiaSymReader\Writer\SymUnmanagedWriterImpl.cs (14)
60throw new ArgumentNullException(nameof(stream)); 153throw new ArgumentNullException(nameof(name)); 218if (offsets == null) throw new ArgumentNullException(nameof(offsets)); 219if (startLines == null) throw new ArgumentNullException(nameof(startLines)); 220if (startColumns == null) throw new ArgumentNullException(nameof(startColumns)); 221if (endLines == null) throw new ArgumentNullException(nameof(endLines)); 222if (endColumns == null) throw new ArgumentNullException(nameof(endColumns)); 464throw new ArgumentNullException(nameof(importString)); 486if (yieldOffsets == null) throw new ArgumentNullException(nameof(yieldOffsets)); 487if (resumeOffsets == null) throw new ArgumentNullException(nameof(resumeOffsets)); 544throw new ArgumentNullException(nameof(metadata)); 609throw new ArgumentNullException(nameof(data)); 636throw new ArgumentNullException(nameof(data)); 774throw new ArgumentNullException(nameof(name));
DocumentationCommentId.cs (16)
54throw new ArgumentNullException(nameof(symbol)); 79throw new ArgumentNullException(nameof(symbol)); 108throw new ArgumentNullException(nameof(id)); 113throw new ArgumentNullException(nameof(compilation)); 136throw new ArgumentNullException(nameof(id)); 141throw new ArgumentNullException(nameof(compilation)); 146throw new ArgumentNullException(nameof(results)); 159throw new ArgumentNullException(nameof(id)); 164throw new ArgumentNullException(nameof(compilation)); 186throw new ArgumentNullException(nameof(id)); 191throw new ArgumentNullException(nameof(compilation)); 214throw new ArgumentNullException(nameof(id)); 219throw new ArgumentNullException(nameof(compilation)); 224throw new ArgumentNullException(nameof(results)); 242throw new ArgumentNullException(nameof(id)); 247throw new ArgumentNullException(nameof(compilation));
EmbeddedText.cs (4)
103throw new ArgumentNullException(nameof(text)); 142throw new ArgumentNullException(nameof(stream)); 181throw new ArgumentNullException(nameof(bytes)); 199throw new ArgumentNullException(nameof(filePath));
Emit\EditAndContinue\EmitBaseline.cs (4)
147throw new ArgumentNullException(nameof(compilation)); 152throw new ArgumentNullException(nameof(module)); 157throw new ArgumentNullException(nameof(debugInformationProvider)); 162throw new ArgumentNullException(nameof(localSignatureProvider));
Emit\SemanticEdit.cs (3)
113throw new ArgumentNullException(nameof(oldSymbol)); 118throw new ArgumentNullException(nameof(newSymbol)); 124throw new ArgumentNullException(nameof(syntaxMap));
FileSystem\CompilerPathUtilities.cs (1)
15throw new ArgumentNullException(argumentName);
FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
FileSystemExtensions.cs (1)
43throw new ArgumentNullException(nameof(compilation));
Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
MetadataReference\AssemblyIdentity.cs (1)
526throw new ArgumentNullException(nameof(assembly));
MetadataReference\AssemblyIdentity.DisplayName.cs (2)
160throw new ArgumentNullException(nameof(displayName)); 219throw new ArgumentNullException(nameof(displayName));
MetadataReference\AssemblyMetadata.cs (2)
184throw new ArgumentNullException(nameof(module)); 210throw new ArgumentNullException(nameof(modules) + "[" + i + "]");
MetadataReference\CompilationReference.cs (1)
31throw new ArgumentNullException(nameof(compilation));
MetadataReference\MetadataReference.cs (1)
341throw new ArgumentNullException(nameof(assembly));
MetadataReference\ModuleMetadata.cs (6)
90throw new ArgumentNullException(nameof(onDispose)); 102throw new ArgumentNullException(nameof(metadata)); 134throw new ArgumentNullException(nameof(peImage)); 154throw new ArgumentNullException(nameof(peImage)); 169throw new ArgumentNullException(nameof(peImage)); 212throw new ArgumentNullException(nameof(peStream));
Operations\ControlFlowGraph.cs (5)
87throw new ArgumentNullException(nameof(node)); 92throw new ArgumentNullException(nameof(semanticModel)); 177throw new ArgumentNullException(argumentNameForException); 233throw new ArgumentNullException(nameof(localFunction)); 282throw new ArgumentNullException(nameof(anonymousFunction));
Operations\ControlFlowGraphExtensions.cs (4)
22throw new ArgumentNullException(nameof(controlFlowGraph)); 27throw new ArgumentNullException(nameof(localFunction)); 53throw new ArgumentNullException(nameof(controlFlowGraph)); 58throw new ArgumentNullException(nameof(anonymousFunction));
Operations\OperationExtensions.cs (12)
32throw new ArgumentNullException(nameof(operation)); 37throw new ArgumentNullException(nameof(compilation)); 137throw new ArgumentNullException(nameof(declarationGroup)); 157throw new ArgumentNullException(nameof(declaration)); 182throw new ArgumentNullException(nameof(declarationOperation)); 197throw new ArgumentNullException(nameof(dynamicOperation)); 212throw new ArgumentNullException(nameof(dynamicOperation)); 227throw new ArgumentNullException(nameof(dynamicOperation)); 265throw new ArgumentNullException(nameof(dynamicOperation)); 282throw new ArgumentNullException(nameof(dynamicOperation)); 299throw new ArgumentNullException(nameof(dynamicOperation)); 360throw new ArgumentNullException(nameof(operation));
ResourceDescription.cs (3)
66throw new ArgumentNullException(nameof(dataProvider)); 71throw new ArgumentNullException(nameof(resourceName)); 83throw new ArgumentNullException(nameof(fileName));
SourceFileResolver.cs (1)
44throw new ArgumentNullException(nameof(searchPaths));
SourceGeneration\AdditionalSourcesCollection.cs (1)
48throw new ArgumentNullException(nameof(hintName));
SourceGeneration\GeneratorAttribute.cs (2)
34throw new ArgumentNullException(nameof(firstLanguage)); 39throw new ArgumentNullException(nameof(additionalLanguages));
SourceGeneration\GeneratorDriver.cs (4)
162throw new ArgumentNullException(nameof(oldText)); 166throw new ArgumentNullException(nameof(newText)); 177: throw new ArgumentNullException(nameof(newOptions)); 181: throw new ArgumentNullException(nameof(newOptions));
SourceGeneration\SyntaxContextReceiverAdaptor.cs (1)
16Receiver = receiver ?? throw new ArgumentNullException(nameof(receiver));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (10)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
SymbolDisplay\SymbolDisplayPart.cs (1)
49throw new ArgumentNullException(nameof(text));
Syntax\GreenNode.cs (2)
527throw new ArgumentNullException(nameof(annotationKind)); 555throw new ArgumentNullException(nameof(annotationKinds));
Syntax\SeparatedSyntaxList.cs (4)
387throw new ArgumentNullException(nameof(node)); 402throw new ArgumentNullException(nameof(nodes)); 518throw new ArgumentNullException(nameof(newNode)); 539throw new ArgumentNullException(nameof(newNodes));
Syntax\SyntaxDiffer.cs (2)
50throw new ArgumentNullException(nameof(after)); 86throw new ArgumentNullException(nameof(after));
Syntax\SyntaxList`1.cs (4)
244throw new ArgumentNullException(nameof(node)); 264throw new ArgumentNullException(nameof(nodes)); 322throw new ArgumentNullException(nameof(nodeInList)); 327throw new ArgumentNullException(nameof(newNodes));
Syntax\SyntaxListBuilder.cs (1)
34throw new ArgumentNullException();
Syntax\SyntaxNodeExtensions_Tracking.cs (3)
39throw new ArgumentNullException(nameof(nodes)); 81throw new ArgumentNullException(nameof(node)); 110throw new ArgumentNullException(nameof(nodes));
Syntax\SyntaxNodeOrToken.cs (3)
629throw new ArgumentNullException(nameof(annotations)); 660throw new ArgumentNullException(nameof(annotations)); 683throw new ArgumentNullException(nameof(annotationKind));
Syntax\SyntaxNodeOrTokenList.cs (3)
80throw new ArgumentNullException(nameof(nodesAndTokens)); 105throw new ArgumentNullException(nameof(nodesAndTokens)); 333throw new ArgumentNullException(nameof(nodesAndTokens));
Syntax\SyntaxToken.cs (3)
307throw new ArgumentNullException(nameof(annotations)); 337throw new ArgumentNullException(nameof(annotations)); 359throw new ArgumentNullException(nameof(annotationKind));
Syntax\SyntaxTokenList.cs (1)
358throw new ArgumentNullException(nameof(tokens));
Syntax\SyntaxTrivia.cs (3)
308throw new ArgumentNullException(nameof(annotations)); 337throw new ArgumentNullException(nameof(annotations)); 358throw new ArgumentNullException(nameof(annotationKind));
Syntax\SyntaxTriviaList.cs (1)
327throw new ArgumentNullException(nameof(trivia));
Text\ChangedText.cs (1)
173throw new ArgumentNullException(nameof(oldText));
Text\CompositeText.cs (1)
132throw new ArgumentNullException(nameof(destination));
Text\SourceText.cs (6)
111throw new ArgumentNullException(nameof(text)); 141throw new ArgumentNullException(nameof(reader)); 191throw new ArgumentNullException(nameof(stream)); 261throw new ArgumentNullException(nameof(buffer)); 771throw new ArgumentNullException(nameof(changes)); 900throw new ArgumentNullException(nameof(oldText));
Text\SubText.cs (1)
22throw new ArgumentNullException(nameof(text));
Text\TextChange.cs (1)
43throw new ArgumentNullException(nameof(newText));
Text\TextChangeEventArgs.cs (1)
28throw new ArgumentNullException(nameof(changes));
Text\TextLine.cs (1)
49throw new ArgumentNullException(nameof(text));
Microsoft.CodeAnalysis.Analyzers (121)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
66throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (9)
190throw new ArgumentNullException(nameof(compilation)); 203throw new ArgumentNullException(nameof(context)); 216throw new ArgumentNullException(nameof(context)); 230throw new ArgumentNullException(nameof(symbol)); 235throw new ArgumentNullException(nameof(compilation)); 248throw new ArgumentNullException(nameof(symbol)); 253throw new ArgumentNullException(nameof(context)); 293throw new ArgumentNullException(nameof(symbol)); 298throw new ArgumentNullException(nameof(context));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (4)
20throw new ArgumentNullException(nameof(source)); 47throw new ArgumentNullException(nameof(source)); 84throw new ArgumentNullException(nameof(source)); 121throw new ArgumentNullException(nameof(source));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
136throw new ArgumentNullException(nameof(root)); 170throw new ArgumentNullException(nameof(root));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
29throw new ArgumentNullException(nameof(text)); 34throw new ArgumentNullException(nameof(parser));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
53analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\OptionKey.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
35this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (2)
106_text = text ?? throw new ArgumentNullException(nameof(text)); 240throw new ArgumentNullException(nameof(words));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (4)
160throw new ArgumentNullException(nameof(destination)); 177throw new ArgumentNullException(nameof(destination)); 197throw new ArgumentNullException(nameof(destination)); 468throw new ArgumentNullException(nameof(namespaceOrType));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
53throw new ArgumentNullException(nameof(documentId));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
22=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName);
Microsoft.CodeAnalysis.AnalyzerUtilities (178)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
66throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (9)
190throw new ArgumentNullException(nameof(compilation)); 203throw new ArgumentNullException(nameof(context)); 216throw new ArgumentNullException(nameof(context)); 230throw new ArgumentNullException(nameof(symbol)); 235throw new ArgumentNullException(nameof(compilation)); 248throw new ArgumentNullException(nameof(symbol)); 253throw new ArgumentNullException(nameof(context)); 293throw new ArgumentNullException(nameof(symbol)); 298throw new ArgumentNullException(nameof(context));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (4)
20throw new ArgumentNullException(nameof(source)); 47throw new ArgumentNullException(nameof(source)); 84throw new ArgumentNullException(nameof(source)); 121throw new ArgumentNullException(nameof(source));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
136throw new ArgumentNullException(nameof(root)); 170throw new ArgumentNullException(nameof(root));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
29throw new ArgumentNullException(nameof(text)); 34throw new ArgumentNullException(nameof(parser));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
53analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\OptionKey.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
35this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (2)
106_text = text ?? throw new ArgumentNullException(nameof(text)); 240throw new ArgumentNullException(nameof(words));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysis.cs (1)
55throw new ArgumentNullException(nameof(cfg));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\GlobalFlowStateAnalysis\GlobalFlowStateAnalysis.cs (1)
75throw new ArgumentNullException(nameof(cfg));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (2)
58this.MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 68this.MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (7)
40MethodName = trackedTypeMethodName ?? throw new ArgumentNullException(nameof(trackedTypeMethodName)); 41InvocationEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator)); 56ContainingTypeName = containingType ?? throw new ArgumentNullException(nameof(containingType)); 57MethodName = methodName ?? throw new ArgumentNullException(nameof(methodName)); 58ParameterNameOfPropertySetObject = parameterNameOfPropertySetObject ?? throw new ArgumentNullException(nameof(parameterNameOfPropertySetObject)); 59InvocationEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator)); 80ValueEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluatorCollection.cs (1)
26throw new ArgumentNullException(nameof(hazardousUsageEvaluators));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (8)
39PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 40MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 52PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 53MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 68PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 69MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback)); 81PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 82MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapperCollection.cs (1)
21throw new ArgumentNullException(nameof(propertyMappers));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.cs (3)
63throw new ArgumentNullException(nameof(constructorMapper)); 68throw new ArgumentNullException(nameof(propertyMappers)); 73throw new ArgumentNullException(nameof(hazardousUsageEvaluators));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (3)
24FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 27SanitizingMethods = sanitizingMethods ?? throw new ArgumentNullException(nameof(sanitizingMethods)); 28SanitizingInstanceMethods = sanitizingInstanceMethods ?? throw new ArgumentNullException(nameof(sanitizingInstanceMethods));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (4)
20FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 21SinkKinds = sinkKinds ?? throw new ArgumentNullException(nameof(sinkKinds)); 24SinkProperties = sinkProperties ?? throw new ArgumentNullException(nameof(sinkProperties)); 25SinkMethodParameters = sinkMethodParameters ?? throw new ArgumentNullException(nameof(sinkMethodParameters));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (8)
53FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 55TaintedProperties = taintedProperties ?? throw new ArgumentNullException(nameof(taintedProperties)); 56TaintedArguments = taintedArguments ?? throw new ArgumentNullException(nameof(taintedArguments)); 57TaintedMethods = taintedMethods ?? throw new ArgumentNullException(nameof(taintedMethods)); 58TaintedMethodsNeedsPointsToAnalysis = taintedMethodsNeedsPointsToAnalysis ?? throw new ArgumentNullException(nameof(taintedMethodsNeedsPointsToAnalysis)); 59TaintedMethodsNeedsValueContentAnalysis = taintedMethodsNeedsValueContentAnalysis ?? throw new ArgumentNullException(nameof(taintedMethodsNeedsValueContentAnalysis)); 60TransferProperties = transferProperties ?? throw new ArgumentNullException(nameof(transferProperties)); 61TransferMethods = transferMethods ?? throw new ArgumentNullException(nameof(transferMethods));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SymbolAccess.cs (6)
19Symbol = symbol ?? throw new ArgumentNullException(nameof(symbol)); 22throw new ArgumentNullException(nameof(syntaxNode)); 26AccessingMethod = accessingMethod ?? throw new ArgumentNullException(nameof(accessingMethod)); 31Symbol = symbol ?? throw new ArgumentNullException(nameof(symbol)); 32Location = location ?? throw new ArgumentNullException(nameof(location)); 33AccessingMethod = accessingMethod ?? throw new ArgumentNullException(nameof(accessingMethod));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysisContext.cs (3)
60this.SourceInfos = taintedSourceInfos ?? throw new ArgumentNullException(nameof(taintedSourceInfos)); 61this.SanitizerInfos = taintedSanitizerInfos ?? throw new ArgumentNullException(nameof(taintedSanitizerInfos)); 62this.SinkInfos = taintedSinkInfos ?? throw new ArgumentNullException(nameof(taintedSinkInfos));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSourceSink.cs (1)
17Sink = sink ?? throw new ArgumentNullException(nameof(sink));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (2)
38throw new ArgumentNullException(nameof(wellKnownTypeProvider)); 43throw new ArgumentNullException(nameof(taintedDataInfos));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (2)
171throw new ArgumentNullException(nameof(otherState)); 262throw new ArgumentNullException(nameof(otherState));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAnalysis.cs (2)
61throw new ArgumentNullException(nameof(cfg)); 95throw new ArgumentNullException(nameof(cfg));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityMapAbstractDomain.cs (2)
30_isTrackedEntity = isTrackedEntity ?? throw new ArgumentNullException(nameof(isTrackedEntity)); 31_isTrackedPointsToValue = isTrackedPointsToValue ?? throw new ArgumentNullException(nameof(isTrackedPointsToValue));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (1)
42throw new ArgumentNullException(nameof(analysisContext));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (2)
1049throw new ArgumentNullException(nameof(operation)); 1083throw new ArgumentNullException(nameof(operation));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
26ExceptionType = exceptionType ?? throw new ArgumentNullException(nameof(exceptionType));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\SingleThreadedConcurrentDictionary.cs (2)
44throw new ArgumentNullException(nameof(key)); 49throw new ArgumentNullException(nameof(valueFactory));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
Microsoft.CodeAnalysis.CodeStyle (99)
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (4)
47throw new ArgumentNullException(nameof(descriptor)); 270throw new ArgumentNullException(nameof(descriptor)); 350throw new ArgumentNullException(nameof(messageFormat)); 355throw new ArgumentNullException(nameof(formatArguments));
src\roslyn\src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (2)
36diagnosticId = diagnosticId ?? throw new ArgumentNullException(nameof(diagnosticId)); 37options = options ?? throw new ArgumentNullException(nameof(options));
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
66throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\roslyn\src\Analyzers\Core\CodeFixes\AddParameter\CodeFixData.cs (2)
20public IMethodSymbol Method { get; } = method ?? throw new ArgumentNullException(nameof(method)); 25public Func<CancellationToken, Task<Solution>> CreateChangedSolutionNonCascading { get; } = createChangedSolutionNonCascading ?? throw new ArgumentNullException(nameof(createChangedSolutionNonCascading));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (4)
160throw new ArgumentNullException(nameof(destination)); 177throw new ArgumentNullException(nameof(destination)); 197throw new ArgumentNullException(nameof(destination)); 468throw new ArgumentNullException(nameof(namespaceOrType));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
53throw new ArgumentNullException(nameof(documentId));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
22=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName);
Microsoft.CodeAnalysis.CSharp (1699)
_generated\0\Syntax.xml.Main.Generated.cs (382)
1531=> node.Update((NameSyntax?)Visit(node.Left) ?? throw new ArgumentNullException("left"), VisitToken(node.DotToken), (SimpleNameSyntax?)Visit(node.Right) ?? throw new ArgumentNullException("right")); 1534=> node.Update(VisitToken(node.Identifier), (TypeArgumentListSyntax?)Visit(node.TypeArgumentList) ?? throw new ArgumentNullException("typeArgumentList")); 1540=> node.Update((IdentifierNameSyntax?)Visit(node.Alias) ?? throw new ArgumentNullException("alias"), VisitToken(node.ColonColonToken), (SimpleNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name")); 1546=> node.Update((TypeSyntax?)Visit(node.ElementType) ?? throw new ArgumentNullException("elementType"), VisitList(node.RankSpecifiers)); 1552=> node.Update((TypeSyntax?)Visit(node.ElementType) ?? throw new ArgumentNullException("elementType"), VisitToken(node.AsteriskToken)); 1555=> node.Update(VisitToken(node.DelegateKeyword), VisitToken(node.AsteriskToken), (FunctionPointerCallingConventionSyntax?)Visit(node.CallingConvention), (FunctionPointerParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList")); 1570=> node.Update((TypeSyntax?)Visit(node.ElementType) ?? throw new ArgumentNullException("elementType"), VisitToken(node.QuestionToken)); 1576=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier)); 1582=> node.Update(VisitToken(node.RefKeyword), VisitToken(node.ReadOnlyKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 1585=> node.Update(VisitToken(node.ScopedKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 1588=> node.Update(VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken)); 1594=> node.Update(VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.Operand) ?? throw new ArgumentNullException("operand")); 1597=> node.Update(VisitToken(node.AwaitKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1600=> node.Update((ExpressionSyntax?)Visit(node.Operand) ?? throw new ArgumentNullException("operand"), VisitToken(node.OperatorToken)); 1603=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.OperatorToken), (SimpleNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name")); 1606=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.WhenNotNull) ?? throw new ArgumentNullException("whenNotNull")); 1609=> node.Update(VisitToken(node.OperatorToken), (SimpleNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name")); 1612=> node.Update((BracketedArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 1618=> node.Update((BracketedArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 1621=> node.Update((ExpressionSyntax?)Visit(node.Left) ?? throw new ArgumentNullException("left"), VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.Right) ?? throw new ArgumentNullException("right")); 1624=> node.Update((ExpressionSyntax?)Visit(node.Left) ?? throw new ArgumentNullException("left"), VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.Right) ?? throw new ArgumentNullException("right")); 1627=> node.Update((ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.QuestionToken), (ExpressionSyntax?)Visit(node.WhenTrue) ?? throw new ArgumentNullException("whenTrue"), VisitToken(node.ColonToken), (ExpressionSyntax?)Visit(node.WhenFalse) ?? throw new ArgumentNullException("whenFalse")); 1642=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken)); 1645=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken)); 1648=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.Comma), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken)); 1651=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken)); 1655=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken)); 1658=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken)); 1661=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken)); 1664=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken)); 1667=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 1670=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), (BracketedArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 1679=> node.Update((NameColonSyntax?)Visit(node.NameColon), VisitToken(node.RefKindKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1682=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.ColonToken)); 1685=> node.Update((IdentifierNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.ColonToken)); 1688=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (VariableDesignationSyntax?)Visit(node.Designation) ?? throw new ArgumentNullException("designation")); 1691=> node.Update(VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1694=> node.Update(VisitList(node.Modifiers), VisitToken(node.DelegateKeyword), (ParameterListSyntax?)Visit(node.ParameterList), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"), (ExpressionSyntax?)Visit(node.ExpressionBody)); 1697=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (ParameterSyntax?)Visit(node.Parameter) ?? throw new ArgumentNullException("parameter"), VisitToken(node.ArrowToken), (BlockSyntax?)Visit(node.Block), (ExpressionSyntax?)Visit(node.ExpressionBody)); 1700=> node.Update(VisitToken(node.RefKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1703=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.ReturnType), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitToken(node.ArrowToken), (BlockSyntax?)Visit(node.Block), (ExpressionSyntax?)Visit(node.ExpressionBody)); 1709=> node.Update(VisitToken(node.NewKeyword), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList"), (InitializerExpressionSyntax?)Visit(node.Initializer)); 1712=> node.Update(VisitToken(node.NewKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ArgumentListSyntax?)Visit(node.ArgumentList), (InitializerExpressionSyntax?)Visit(node.Initializer)); 1715=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.WithKeyword), (InitializerExpressionSyntax?)Visit(node.Initializer) ?? throw new ArgumentNullException("initializer")); 1718=> node.Update((NameEqualsSyntax?)Visit(node.NameEquals), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1724=> node.Update(VisitToken(node.NewKeyword), (ArrayTypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (InitializerExpressionSyntax?)Visit(node.Initializer)); 1727=> node.Update(VisitToken(node.NewKeyword), VisitToken(node.OpenBracketToken), VisitList(node.Commas), VisitToken(node.CloseBracketToken), (InitializerExpressionSyntax?)Visit(node.Initializer) ?? throw new ArgumentNullException("initializer")); 1730=> node.Update(VisitToken(node.StackAllocKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (InitializerExpressionSyntax?)Visit(node.Initializer)); 1733=> node.Update(VisitToken(node.StackAllocKeyword), VisitToken(node.OpenBracketToken), VisitToken(node.CloseBracketToken), (InitializerExpressionSyntax?)Visit(node.Initializer) ?? throw new ArgumentNullException("initializer")); 1739=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1742=> node.Update(VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1745=> node.Update(VisitToken(node.WithKeyword), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 1748=> node.Update((FromClauseSyntax?)Visit(node.FromClause) ?? throw new ArgumentNullException("fromClause"), (QueryBodySyntax?)Visit(node.Body) ?? throw new ArgumentNullException("body")); 1751=> node.Update(VisitList(node.Clauses), (SelectOrGroupClauseSyntax?)Visit(node.SelectOrGroup) ?? throw new ArgumentNullException("selectOrGroup"), (QueryContinuationSyntax?)Visit(node.Continuation)); 1754=> node.Update(VisitToken(node.FromKeyword), (TypeSyntax?)Visit(node.Type), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1757=> node.Update(VisitToken(node.LetKeyword), VisitToken(node.Identifier), VisitToken(node.EqualsToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1760=> node.Update(VisitToken(node.JoinKeyword), (TypeSyntax?)Visit(node.Type), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.InExpression) ?? throw new ArgumentNullException("inExpression"), VisitToken(node.OnKeyword), (ExpressionSyntax?)Visit(node.LeftExpression) ?? throw new ArgumentNullException("leftExpression"), VisitToken(node.EqualsKeyword), (ExpressionSyntax?)Visit(node.RightExpression) ?? throw new ArgumentNullException("rightExpression"), (JoinIntoClauseSyntax?)Visit(node.Into)); 1766=> node.Update(VisitToken(node.WhereKeyword), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition")); 1772=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.AscendingOrDescendingKeyword)); 1775=> node.Update(VisitToken(node.SelectKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1778=> node.Update(VisitToken(node.GroupKeyword), (ExpressionSyntax?)Visit(node.GroupExpression) ?? throw new ArgumentNullException("groupExpression"), VisitToken(node.ByKeyword), (ExpressionSyntax?)Visit(node.ByExpression) ?? throw new ArgumentNullException("byExpression")); 1781=> node.Update(VisitToken(node.IntoKeyword), VisitToken(node.Identifier), (QueryBodySyntax?)Visit(node.Body) ?? throw new ArgumentNullException("body")); 1790=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.IsKeyword), (PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern")); 1793=> node.Update(VisitToken(node.ThrowKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1796=> node.Update(VisitToken(node.WhenKeyword), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition")); 1802=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (VariableDesignationSyntax?)Visit(node.Designation) ?? throw new ArgumentNullException("designation")); 1805=> node.Update(VisitToken(node.VarKeyword), (VariableDesignationSyntax?)Visit(node.Designation) ?? throw new ArgumentNullException("designation")); 1817=> node.Update((BaseExpressionColonSyntax?)Visit(node.ExpressionColon), (PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern")); 1820=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1823=> node.Update(VisitToken(node.OpenParenToken), (PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern"), VisitToken(node.CloseParenToken)); 1826=> node.Update(VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1829=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 1832=> node.Update((PatternSyntax?)Visit(node.Left) ?? throw new ArgumentNullException("left"), VisitToken(node.OperatorToken), (PatternSyntax?)Visit(node.Right) ?? throw new ArgumentNullException("right")); 1835=> node.Update(VisitToken(node.OperatorToken), (PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern")); 1847=> node.Update(VisitToken(node.OpenBraceToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), (InterpolationAlignmentClauseSyntax?)Visit(node.AlignmentClause), (InterpolationFormatClauseSyntax?)Visit(node.FormatClause), VisitToken(node.CloseBraceToken)); 1850=> node.Update(VisitToken(node.CommaToken), (ExpressionSyntax?)Visit(node.Value) ?? throw new ArgumentNullException("value")); 1856=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1862=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.ReturnType) ?? throw new ArgumentNullException("returnType"), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitList(node.ConstraintClauses), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 1865=> node.Update(VisitList(node.AttributeLists), VisitToken(node.AwaitKeyword), VisitToken(node.UsingKeyword), VisitList(node.Modifiers), (VariableDeclarationSyntax?)Visit(node.Declaration) ?? throw new ArgumentNullException("declaration"), VisitToken(node.SemicolonToken)); 1868=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitList(node.Variables)); 1874=> node.Update(VisitToken(node.EqualsToken), (ExpressionSyntax?)Visit(node.Value) ?? throw new ArgumentNullException("value")); 1886=> node.Update(VisitList(node.AttributeLists), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.SemicolonToken)); 1892=> node.Update(VisitList(node.AttributeLists), VisitToken(node.Identifier), VisitToken(node.ColonToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1913=> node.Update(VisitList(node.AttributeLists), VisitToken(node.WhileKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1916=> node.Update(VisitList(node.AttributeLists), VisitToken(node.DoKeyword), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"), VisitToken(node.WhileKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), VisitToken(node.SemicolonToken)); 1919=> node.Update(VisitList(node.AttributeLists), VisitToken(node.ForKeyword), VisitToken(node.OpenParenToken), (VariableDeclarationSyntax?)Visit(node.Declaration), VisitList(node.Initializers), VisitToken(node.FirstSemicolonToken), (ExpressionSyntax?)Visit(node.Condition), VisitToken(node.SecondSemicolonToken), VisitList(node.Incrementors), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1922=> node.Update(VisitList(node.AttributeLists), VisitToken(node.AwaitKeyword), VisitToken(node.ForEachKeyword), VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1925=> node.Update(VisitList(node.AttributeLists), VisitToken(node.AwaitKeyword), VisitToken(node.ForEachKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Variable) ?? throw new ArgumentNullException("variable"), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1928=> node.Update(VisitList(node.AttributeLists), VisitToken(node.AwaitKeyword), VisitToken(node.UsingKeyword), VisitToken(node.OpenParenToken), (VariableDeclarationSyntax?)Visit(node.Declaration), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1931=> node.Update(VisitList(node.AttributeLists), VisitToken(node.FixedKeyword), VisitToken(node.OpenParenToken), (VariableDeclarationSyntax?)Visit(node.Declaration) ?? throw new ArgumentNullException("declaration"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1934=> node.Update(VisitList(node.AttributeLists), VisitToken(node.Keyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block")); 1937=> node.Update(VisitList(node.AttributeLists), VisitToken(node.UnsafeKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block")); 1940=> node.Update(VisitList(node.AttributeLists), VisitToken(node.LockKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1943=> node.Update(VisitList(node.AttributeLists), VisitToken(node.IfKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"), (ElseClauseSyntax?)Visit(node.Else)); 1946=> node.Update(VisitToken(node.ElseKeyword), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement")); 1949=> node.Update(VisitList(node.AttributeLists), VisitToken(node.SwitchKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.CloseParenToken), VisitToken(node.OpenBraceToken), VisitList(node.Sections), VisitToken(node.CloseBraceToken)); 1955=> node.Update(VisitToken(node.Keyword), (PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern"), (WhenClauseSyntax?)Visit(node.WhenClause), VisitToken(node.ColonToken)); 1958=> node.Update(VisitToken(node.Keyword), (ExpressionSyntax?)Visit(node.Value) ?? throw new ArgumentNullException("value"), VisitToken(node.ColonToken)); 1964=> node.Update((ExpressionSyntax?)Visit(node.GoverningExpression) ?? throw new ArgumentNullException("governingExpression"), VisitToken(node.SwitchKeyword), VisitToken(node.OpenBraceToken), VisitList(node.Arms), VisitToken(node.CloseBraceToken)); 1967=> node.Update((PatternSyntax?)Visit(node.Pattern) ?? throw new ArgumentNullException("pattern"), (WhenClauseSyntax?)Visit(node.WhenClause), VisitToken(node.EqualsGreaterThanToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 1970=> node.Update(VisitList(node.AttributeLists), VisitToken(node.TryKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"), VisitList(node.Catches), (FinallyClauseSyntax?)Visit(node.Finally)); 1973=> node.Update(VisitToken(node.CatchKeyword), (CatchDeclarationSyntax?)Visit(node.Declaration), (CatchFilterClauseSyntax?)Visit(node.Filter), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block")); 1976=> node.Update(VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier), VisitToken(node.CloseParenToken)); 1979=> node.Update(VisitToken(node.WhenKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.FilterExpression) ?? throw new ArgumentNullException("filterExpression"), VisitToken(node.CloseParenToken)); 1982=> node.Update(VisitToken(node.FinallyKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block")); 1991=> node.Update(VisitToken(node.GlobalKeyword), VisitToken(node.UsingKeyword), VisitToken(node.StaticKeyword), VisitToken(node.UnsafeKeyword), (NameEqualsSyntax?)Visit(node.Alias), (TypeSyntax?)Visit(node.NamespaceOrType) ?? throw new ArgumentNullException("namespaceOrType"), VisitToken(node.SemicolonToken)); 1994=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.NamespaceKeyword), (NameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.OpenBraceToken), VisitList(node.Externs), VisitList(node.Usings), VisitList(node.Members), VisitToken(node.CloseBraceToken), VisitToken(node.SemicolonToken)); 1997=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.NamespaceKeyword), (NameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.SemicolonToken), VisitList(node.Externs), VisitList(node.Usings), VisitList(node.Members)); 2006=> node.Update((NameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), (AttributeArgumentListSyntax?)Visit(node.ArgumentList)); 2012=> node.Update((NameEqualsSyntax?)Visit(node.NameEquals), (NameColonSyntax?)Visit(node.NameColon), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 2015=> node.Update((IdentifierNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.EqualsToken)); 2042=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.DelegateKeyword), (TypeSyntax?)Visit(node.ReturnType) ?? throw new ArgumentNullException("returnType"), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitList(node.ConstraintClauses), VisitToken(node.SemicolonToken)); 2054=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 2057=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 2060=> node.Update(VisitToken(node.WhereKeyword), (IdentifierNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.ColonToken), VisitList(node.Constraints)); 2069=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 2081=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (VariableDeclarationSyntax?)Visit(node.Declaration) ?? throw new ArgumentNullException("declaration"), VisitToken(node.SemicolonToken)); 2084=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.EventKeyword), (VariableDeclarationSyntax?)Visit(node.Declaration) ?? throw new ArgumentNullException("declaration"), VisitToken(node.SemicolonToken)); 2087=> node.Update((NameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.DotToken)); 2090=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.ReturnType) ?? throw new ArgumentNullException("returnType"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitList(node.ConstraintClauses), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2093=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.ReturnType) ?? throw new ArgumentNullException("returnType"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.OperatorKeyword), VisitToken(node.CheckedKeyword), VisitToken(node.OperatorToken), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2096=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.ImplicitOrExplicitKeyword), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.OperatorKeyword), VisitToken(node.CheckedKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2099=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Identifier), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (ConstructorInitializerSyntax?)Visit(node.Initializer), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2102=> node.Update(VisitToken(node.ColonToken), VisitToken(node.ThisOrBaseKeyword), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList")); 2105=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.TildeToken), VisitToken(node.Identifier), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2108=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.Identifier), (AccessorListSyntax?)Visit(node.AccessorList), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), (EqualsValueClauseSyntax?)Visit(node.Initializer), VisitToken(node.SemicolonToken)); 2111=> node.Update(VisitToken(node.ArrowToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression")); 2114=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.EventKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.Identifier), (AccessorListSyntax?)Visit(node.AccessorList), VisitToken(node.SemicolonToken)); 2117=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.ThisKeyword), (BracketedParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (AccessorListSyntax?)Visit(node.AccessorList), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken)); 2135=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 2147=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 2150=> node.Update((TypeSyntax?)Visit(node.Container) ?? throw new ArgumentNullException("container"), VisitToken(node.DotToken), (MemberCrefSyntax?)Visit(node.Member) ?? throw new ArgumentNullException("member")); 2153=> node.Update((TypeSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), (CrefParameterListSyntax?)Visit(node.Parameters)); 2156=> node.Update(VisitToken(node.ExtensionKeyword), (TypeArgumentListSyntax?)Visit(node.TypeArgumentList), (CrefParameterListSyntax?)Visit(node.Parameters) ?? throw new ArgumentNullException("parameters"), VisitToken(node.DotToken), (MemberCrefSyntax?)Visit(node.Member) ?? throw new ArgumentNullException("member")); 2165=> node.Update(VisitToken(node.ImplicitOrExplicitKeyword), VisitToken(node.OperatorKeyword), VisitToken(node.CheckedKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (CrefParameterListSyntax?)Visit(node.Parameters)); 2174=> node.Update(VisitToken(node.RefKindKeyword), VisitToken(node.ReadOnlyKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type")); 2177=> node.Update((XmlElementStartTagSyntax?)Visit(node.StartTag) ?? throw new ArgumentNullException("startTag"), VisitList(node.Content), (XmlElementEndTagSyntax?)Visit(node.EndTag) ?? throw new ArgumentNullException("endTag")); 2180=> node.Update(VisitToken(node.LessThanToken), (XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitList(node.Attributes), VisitToken(node.GreaterThanToken)); 2183=> node.Update(VisitToken(node.LessThanSlashToken), (XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.GreaterThanToken)); 2186=> node.Update(VisitToken(node.LessThanToken), (XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitList(node.Attributes), VisitToken(node.SlashGreaterThanToken)); 2195=> node.Update((XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.EqualsToken), VisitToken(node.StartQuoteToken), VisitList(node.TextTokens), VisitToken(node.EndQuoteToken)); 2198=> node.Update((XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.EqualsToken), VisitToken(node.StartQuoteToken), (CrefSyntax?)Visit(node.Cref) ?? throw new ArgumentNullException("cref"), VisitToken(node.EndQuoteToken)); 2201=> node.Update((XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.EqualsToken), VisitToken(node.StartQuoteToken), (IdentifierNameSyntax?)Visit(node.Identifier) ?? throw new ArgumentNullException("identifier"), VisitToken(node.EndQuoteToken)); 2210=> node.Update(VisitToken(node.StartProcessingInstructionToken), (XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitList(node.TextTokens), VisitToken(node.EndProcessingInstructionToken)); 2216=> node.Update(VisitToken(node.HashToken), VisitToken(node.IfKeyword), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.EndOfDirectiveToken), node.IsActive, node.BranchTaken, node.ConditionValue); 2219=> node.Update(VisitToken(node.HashToken), VisitToken(node.ElifKeyword), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.EndOfDirectiveToken), node.IsActive, node.BranchTaken, node.ConditionValue); 2255=> node.Update(VisitToken(node.HashToken), VisitToken(node.LineKeyword), (LineDirectivePositionSyntax?)Visit(node.Start) ?? throw new ArgumentNullException("start"), VisitToken(node.MinusToken), (LineDirectivePositionSyntax?)Visit(node.End) ?? throw new ArgumentNullException("end"), VisitToken(node.CharacterOffset), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive); 2297if (left == null) throw new ArgumentNullException(nameof(left)); 2299if (right == null) throw new ArgumentNullException(nameof(right)); 2311if (typeArgumentList == null) throw new ArgumentNullException(nameof(typeArgumentList)); 2338if (alias == null) throw new ArgumentNullException(nameof(alias)); 2340if (name == null) throw new ArgumentNullException(nameof(name)); 2381if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 2404if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 2418if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 2480if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 2504if (type == null) throw new ArgumentNullException(nameof(type)); 2539if (type == null) throw new ArgumentNullException(nameof(type)); 2551if (type == null) throw new ArgumentNullException(nameof(type)); 2563if (expression == null) throw new ArgumentNullException(nameof(expression)); 2613if (operand == null) throw new ArgumentNullException(nameof(operand)); 2640if (expression == null) throw new ArgumentNullException(nameof(expression)); 2658if (operand == null) throw new ArgumentNullException(nameof(operand)); 2691if (expression == null) throw new ArgumentNullException(nameof(expression)); 2698if (name == null) throw new ArgumentNullException(nameof(name)); 2717if (expression == null) throw new ArgumentNullException(nameof(expression)); 2719if (whenNotNull == null) throw new ArgumentNullException(nameof(whenNotNull)); 2731if (name == null) throw new ArgumentNullException(nameof(name)); 2742if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 2768if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 2805if (left == null) throw new ArgumentNullException(nameof(left)); 2832if (right == null) throw new ArgumentNullException(nameof(right)); 2888if (left == null) throw new ArgumentNullException(nameof(left)); 2906if (right == null) throw new ArgumentNullException(nameof(right)); 2936if (condition == null) throw new ArgumentNullException(nameof(condition)); 2938if (whenTrue == null) throw new ArgumentNullException(nameof(whenTrue)); 2940if (whenFalse == null) throw new ArgumentNullException(nameof(whenFalse)); 3022if (expression == null) throw new ArgumentNullException(nameof(expression)); 3036if (expression == null) throw new ArgumentNullException(nameof(expression)); 3050if (expression == null) throw new ArgumentNullException(nameof(expression)); 3052if (type == null) throw new ArgumentNullException(nameof(type)); 3077if (expression == null) throw new ArgumentNullException(nameof(expression)); 3100if (expression == null) throw new ArgumentNullException(nameof(expression)); 3115if (type == null) throw new ArgumentNullException(nameof(type)); 3129if (type == null) throw new ArgumentNullException(nameof(type)); 3143if (type == null) throw new ArgumentNullException(nameof(type)); 3155if (expression == null) throw new ArgumentNullException(nameof(expression)); 3156if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 3167if (expression == null) throw new ArgumentNullException(nameof(expression)); 3168if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 3211if (expression == null) throw new ArgumentNullException(nameof(expression)); 3222if (expression == null) throw new ArgumentNullException(nameof(expression)); 3230if (name == null) throw new ArgumentNullException(nameof(name)); 3238if (type == null) throw new ArgumentNullException(nameof(type)); 3239if (designation == null) throw new ArgumentNullException(nameof(designation)); 3247if (type == null) throw new ArgumentNullException(nameof(type)); 3249if (expression == null) throw new ArgumentNullException(nameof(expression)); 3261if (block == null) throw new ArgumentNullException(nameof(block)); 3268if (parameter == null) throw new ArgumentNullException(nameof(parameter)); 3277if (expression == null) throw new ArgumentNullException(nameof(expression)); 3288if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 3326if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 3342if (type == null) throw new ArgumentNullException(nameof(type)); 3357if (expression == null) throw new ArgumentNullException(nameof(expression)); 3359if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 3370if (expression == null) throw new ArgumentNullException(nameof(expression)); 3395if (type == null) throw new ArgumentNullException(nameof(type)); 3413if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 3429if (type == null) throw new ArgumentNullException(nameof(type)); 3447if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 3470if (expression == null) throw new ArgumentNullException(nameof(expression)); 3478if (expression == null) throw new ArgumentNullException(nameof(expression)); 3490if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 3501if (fromClause == null) throw new ArgumentNullException(nameof(fromClause)); 3502if (body == null) throw new ArgumentNullException(nameof(body)); 3509if (selectOrGroup == null) throw new ArgumentNullException(nameof(selectOrGroup)); 3523if (expression == null) throw new ArgumentNullException(nameof(expression)); 3545if (expression == null) throw new ArgumentNullException(nameof(expression)); 3563if (inExpression == null) throw new ArgumentNullException(nameof(inExpression)); 3565if (leftExpression == null) throw new ArgumentNullException(nameof(leftExpression)); 3567if (rightExpression == null) throw new ArgumentNullException(nameof(rightExpression)); 3603if (condition == null) throw new ArgumentNullException(nameof(condition)); 3631if (expression == null) throw new ArgumentNullException(nameof(expression)); 3658if (expression == null) throw new ArgumentNullException(nameof(expression)); 3670if (groupExpression == null) throw new ArgumentNullException(nameof(groupExpression)); 3672if (byExpression == null) throw new ArgumentNullException(nameof(byExpression)); 3685if (body == null) throw new ArgumentNullException(nameof(body)); 3735if (expression == null) throw new ArgumentNullException(nameof(expression)); 3737if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 3749if (expression == null) throw new ArgumentNullException(nameof(expression)); 3761if (condition == null) throw new ArgumentNullException(nameof(condition)); 3783if (type == null) throw new ArgumentNullException(nameof(type)); 3784if (designation == null) throw new ArgumentNullException(nameof(designation)); 3792if (designation == null) throw new ArgumentNullException(nameof(designation)); 3837if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 3848if (expression == null) throw new ArgumentNullException(nameof(expression)); 3856if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 3878if (expression == null) throw new ArgumentNullException(nameof(expression)); 3885if (type == null) throw new ArgumentNullException(nameof(type)); 3898if (left == null) throw new ArgumentNullException(nameof(left)); 3905if (right == null) throw new ArgumentNullException(nameof(right)); 3925if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 3975if (expression == null) throw new ArgumentNullException(nameof(expression)); 3991if (value == null) throw new ArgumentNullException(nameof(value)); 4009if (statement == null) throw new ArgumentNullException(nameof(statement)); 4038if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 4040if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 4077if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 4093if (type == null) throw new ArgumentNullException(nameof(type)); 4120if (value == null) throw new ArgumentNullException(nameof(value)); 4161if (expression == null) throw new ArgumentNullException(nameof(expression)); 4194if (statement == null) throw new ArgumentNullException(nameof(statement)); 4357if (condition == null) throw new ArgumentNullException(nameof(condition)); 4359if (statement == null) throw new ArgumentNullException(nameof(statement)); 4375if (statement == null) throw new ArgumentNullException(nameof(statement)); 4378if (condition == null) throw new ArgumentNullException(nameof(condition)); 4400if (statement == null) throw new ArgumentNullException(nameof(statement)); 4423if (type == null) throw new ArgumentNullException(nameof(type)); 4426if (expression == null) throw new ArgumentNullException(nameof(expression)); 4428if (statement == null) throw new ArgumentNullException(nameof(statement)); 4455if (variable == null) throw new ArgumentNullException(nameof(variable)); 4457if (expression == null) throw new ArgumentNullException(nameof(expression)); 4459if (statement == null) throw new ArgumentNullException(nameof(statement)); 4483if (statement == null) throw new ArgumentNullException(nameof(statement)); 4500if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 4502if (statement == null) throw new ArgumentNullException(nameof(statement)); 4529if (block == null) throw new ArgumentNullException(nameof(block)); 4555if (block == null) throw new ArgumentNullException(nameof(block)); 4574if (expression == null) throw new ArgumentNullException(nameof(expression)); 4576if (statement == null) throw new ArgumentNullException(nameof(statement)); 4593if (condition == null) throw new ArgumentNullException(nameof(condition)); 4595if (statement == null) throw new ArgumentNullException(nameof(statement)); 4611if (statement == null) throw new ArgumentNullException(nameof(statement)); 4629if (expression == null) throw new ArgumentNullException(nameof(expression)); 4655if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 4672if (value == null) throw new ArgumentNullException(nameof(value)); 4696if (governingExpression == null) throw new ArgumentNullException(nameof(governingExpression)); 4714if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 4716if (expression == null) throw new ArgumentNullException(nameof(expression)); 4732if (block == null) throw new ArgumentNullException(nameof(block)); 4750if (block == null) throw new ArgumentNullException(nameof(block)); 4766if (type == null) throw new ArgumentNullException(nameof(type)); 4790if (filterExpression == null) throw new ArgumentNullException(nameof(filterExpression)); 4803if (block == null) throw new ArgumentNullException(nameof(block)); 4866if (namespaceOrType == null) throw new ArgumentNullException(nameof(namespaceOrType)); 4883if (name == null) throw new ArgumentNullException(nameof(name)); 4907if (name == null) throw new ArgumentNullException(nameof(name)); 4950if (name == null) throw new ArgumentNullException(nameof(name)); 4973if (expression == null) throw new ArgumentNullException(nameof(expression)); 4984if (name == null) throw new ArgumentNullException(nameof(name)); 5223if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 5225if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5304if (type == null) throw new ArgumentNullException(nameof(type)); 5311if (type == null) throw new ArgumentNullException(nameof(type)); 5312if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 5324if (name == null) throw new ArgumentNullException(nameof(name)); 5393if (type == null) throw new ArgumentNullException(nameof(type)); 5434if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 5451if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 5467if (name == null) throw new ArgumentNullException(nameof(name)); 5479if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 5481if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5506if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 5553if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5587if (type == null) throw new ArgumentNullException(nameof(type)); 5588if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5610if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5648if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 5669if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5694if (type == null) throw new ArgumentNullException(nameof(type)); 5721if (expression == null) throw new ArgumentNullException(nameof(expression)); 5733if (type == null) throw new ArgumentNullException(nameof(type)); 5759if (type == null) throw new ArgumentNullException(nameof(type)); 5761if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 5883if (type == null) throw new ArgumentNullException(nameof(type)); 5933if (type == null) throw new ArgumentNullException(nameof(type)); 5940if (container == null) throw new ArgumentNullException(nameof(container)); 5942if (member == null) throw new ArgumentNullException(nameof(member)); 5953if (name == null) throw new ArgumentNullException(nameof(name)); 5965if (parameters == null) throw new ArgumentNullException(nameof(parameters)); 5967if (member == null) throw new ArgumentNullException(nameof(member)); 6065if (type == null) throw new ArgumentNullException(nameof(type)); 6118if (type == null) throw new ArgumentNullException(nameof(type)); 6133if (startTag == null) throw new ArgumentNullException(nameof(startTag)); 6134if (endTag == null) throw new ArgumentNullException(nameof(endTag)); 6146if (name == null) throw new ArgumentNullException(nameof(name)); 6163if (name == null) throw new ArgumentNullException(nameof(name)); 6176if (name == null) throw new ArgumentNullException(nameof(name)); 6223if (name == null) throw new ArgumentNullException(nameof(name)); 6251if (name == null) throw new ArgumentNullException(nameof(name)); 6259if (cref == null) throw new ArgumentNullException(nameof(cref)); 6276if (name == null) throw new ArgumentNullException(nameof(name)); 6284if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 6328if (name == null) throw new ArgumentNullException(nameof(name)); 6358if (condition == null) throw new ArgumentNullException(nameof(condition)); 6372if (condition == null) throw new ArgumentNullException(nameof(condition)); 6557if (start == null) throw new ArgumentNullException(nameof(start)); 6559if (end == null) throw new ArgumentNullException(nameof(end));
_generated\1\Syntax.xml.Internal.Generated.cs (1228)
28686if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 28711if (left == null) throw new ArgumentNullException(nameof(left)); 28712if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 28714if (right == null) throw new ArgumentNullException(nameof(right)); 28733if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 28735if (typeArgumentList == null) throw new ArgumentNullException(nameof(typeArgumentList)); 28754if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 28756if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 28776if (alias == null) throw new ArgumentNullException(nameof(alias)); 28777if (colonColonToken == null) throw new ArgumentNullException(nameof(colonColonToken)); 28779if (name == null) throw new ArgumentNullException(nameof(name)); 28798if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 28837if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 28856if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 28858if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 28878if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 28879if (asteriskToken == null) throw new ArgumentNullException(nameof(asteriskToken)); 28899if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 28901if (asteriskToken == null) throw new ArgumentNullException(nameof(asteriskToken)); 28903if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 28912if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 28914if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 28934if (managedOrUnmanagedKeyword == null) throw new ArgumentNullException(nameof(managedOrUnmanagedKeyword)); 28959if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 28961if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 28981if (name == null) throw new ArgumentNullException(nameof(name)); 29001if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 29002if (questionToken == null) throw new ArgumentNullException(nameof(questionToken)); 29022if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29024if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29044if (type == null) throw new ArgumentNullException(nameof(type)); 29072if (omittedTypeArgumentToken == null) throw new ArgumentNullException(nameof(omittedTypeArgumentToken)); 29092if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 29103if (type == null) throw new ArgumentNullException(nameof(type)); 29122if (scopedKeyword == null) throw new ArgumentNullException(nameof(scopedKeyword)); 29124if (type == null) throw new ArgumentNullException(nameof(type)); 29143if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29145if (expression == null) throw new ArgumentNullException(nameof(expression)); 29146if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29166if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29168if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29201if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29215if (operand == null) throw new ArgumentNullException(nameof(operand)); 29234if (awaitKeyword == null) throw new ArgumentNullException(nameof(awaitKeyword)); 29236if (expression == null) throw new ArgumentNullException(nameof(expression)); 29262if (operand == null) throw new ArgumentNullException(nameof(operand)); 29263if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29295if (expression == null) throw new ArgumentNullException(nameof(expression)); 29296if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29303if (name == null) throw new ArgumentNullException(nameof(name)); 29322if (expression == null) throw new ArgumentNullException(nameof(expression)); 29323if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29325if (whenNotNull == null) throw new ArgumentNullException(nameof(whenNotNull)); 29344if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29346if (name == null) throw new ArgumentNullException(nameof(name)); 29365if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 29384if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29404if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 29449if (left == null) throw new ArgumentNullException(nameof(left)); 29450if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29477if (right == null) throw new ArgumentNullException(nameof(right)); 29513if (left == null) throw new ArgumentNullException(nameof(left)); 29514if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 29532if (right == null) throw new ArgumentNullException(nameof(right)); 29551if (condition == null) throw new ArgumentNullException(nameof(condition)); 29552if (questionToken == null) throw new ArgumentNullException(nameof(questionToken)); 29554if (whenTrue == null) throw new ArgumentNullException(nameof(whenTrue)); 29555if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 29557if (whenFalse == null) throw new ArgumentNullException(nameof(whenFalse)); 29566if (token == null) throw new ArgumentNullException(nameof(token)); 29586if (token == null) throw new ArgumentNullException(nameof(token)); 29619if (token == null) throw new ArgumentNullException(nameof(token)); 29655if (token == null) throw new ArgumentNullException(nameof(token)); 29675if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29677if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29679if (expression == null) throw new ArgumentNullException(nameof(expression)); 29680if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29690if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29692if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29694if (expression == null) throw new ArgumentNullException(nameof(expression)); 29695if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29705if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29707if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29709if (expression == null) throw new ArgumentNullException(nameof(expression)); 29710if (comma == null) throw new ArgumentNullException(nameof(comma)); 29712if (type == null) throw new ArgumentNullException(nameof(type)); 29713if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29729if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29736if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29738if (expression == null) throw new ArgumentNullException(nameof(expression)); 29739if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29749if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29751if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29753if (expression == null) throw new ArgumentNullException(nameof(expression)); 29754if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29764if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29766if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29768if (type == null) throw new ArgumentNullException(nameof(type)); 29769if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29779if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29781if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29783if (type == null) throw new ArgumentNullException(nameof(type)); 29784if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29794if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 29796if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29798if (type == null) throw new ArgumentNullException(nameof(type)); 29799if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29809if (expression == null) throw new ArgumentNullException(nameof(expression)); 29810if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 29829if (expression == null) throw new ArgumentNullException(nameof(expression)); 29830if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 29849if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29851if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29871if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 29873if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 29904if (expression == null) throw new ArgumentNullException(nameof(expression)); 29923if (expression == null) throw new ArgumentNullException(nameof(expression)); 29924if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 29943if (name == null) throw new ArgumentNullException(nameof(name)); 29944if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 29963if (type == null) throw new ArgumentNullException(nameof(type)); 29964if (designation == null) throw new ArgumentNullException(nameof(designation)); 29983if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 29985if (type == null) throw new ArgumentNullException(nameof(type)); 29986if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 29988if (expression == null) throw new ArgumentNullException(nameof(expression)); 29997if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 29999if (block == null) throw new ArgumentNullException(nameof(block)); 30008if (parameter == null) throw new ArgumentNullException(nameof(parameter)); 30009if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 30019if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 30021if (expression == null) throw new ArgumentNullException(nameof(expression)); 30040if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 30041if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 30060if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 30062if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 30082if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 30084if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 30103if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 30105if (type == null) throw new ArgumentNullException(nameof(type)); 30114if (expression == null) throw new ArgumentNullException(nameof(expression)); 30115if (withKeyword == null) throw new ArgumentNullException(nameof(withKeyword)); 30117if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 30136if (expression == null) throw new ArgumentNullException(nameof(expression)); 30155if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 30157if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 30159if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 30169if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 30171if (type == null) throw new ArgumentNullException(nameof(type)); 30190if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 30192if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 30194if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 30196if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 30205if (stackAllocKeyword == null) throw new ArgumentNullException(nameof(stackAllocKeyword)); 30207if (type == null) throw new ArgumentNullException(nameof(type)); 30226if (stackAllocKeyword == null) throw new ArgumentNullException(nameof(stackAllocKeyword)); 30228if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 30230if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 30232if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 30241if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 30243if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 30263if (expression == null) throw new ArgumentNullException(nameof(expression)); 30282if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 30284if (expression == null) throw new ArgumentNullException(nameof(expression)); 30303if (withKeyword == null) throw new ArgumentNullException(nameof(withKeyword)); 30305if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 30324if (fromClause == null) throw new ArgumentNullException(nameof(fromClause)); 30325if (body == null) throw new ArgumentNullException(nameof(body)); 30344if (selectOrGroup == null) throw new ArgumentNullException(nameof(selectOrGroup)); 30363if (fromKeyword == null) throw new ArgumentNullException(nameof(fromKeyword)); 30365if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 30367if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 30369if (expression == null) throw new ArgumentNullException(nameof(expression)); 30378if (letKeyword == null) throw new ArgumentNullException(nameof(letKeyword)); 30380if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 30382if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 30384if (expression == null) throw new ArgumentNullException(nameof(expression)); 30393if (joinKeyword == null) throw new ArgumentNullException(nameof(joinKeyword)); 30395if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 30397if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 30399if (inExpression == null) throw new ArgumentNullException(nameof(inExpression)); 30400if (onKeyword == null) throw new ArgumentNullException(nameof(onKeyword)); 30402if (leftExpression == null) throw new ArgumentNullException(nameof(leftExpression)); 30403if (equalsKeyword == null) throw new ArgumentNullException(nameof(equalsKeyword)); 30405if (rightExpression == null) throw new ArgumentNullException(nameof(rightExpression)); 30414if (intoKeyword == null) throw new ArgumentNullException(nameof(intoKeyword)); 30416if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 30436if (whereKeyword == null) throw new ArgumentNullException(nameof(whereKeyword)); 30438if (condition == null) throw new ArgumentNullException(nameof(condition)); 30457if (orderByKeyword == null) throw new ArgumentNullException(nameof(orderByKeyword)); 30483if (expression == null) throw new ArgumentNullException(nameof(expression)); 30512if (selectKeyword == null) throw new ArgumentNullException(nameof(selectKeyword)); 30514if (expression == null) throw new ArgumentNullException(nameof(expression)); 30533if (groupKeyword == null) throw new ArgumentNullException(nameof(groupKeyword)); 30535if (groupExpression == null) throw new ArgumentNullException(nameof(groupExpression)); 30536if (byKeyword == null) throw new ArgumentNullException(nameof(byKeyword)); 30538if (byExpression == null) throw new ArgumentNullException(nameof(byExpression)); 30547if (intoKeyword == null) throw new ArgumentNullException(nameof(intoKeyword)); 30549if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 30551if (body == null) throw new ArgumentNullException(nameof(body)); 30570if (omittedArraySizeExpressionToken == null) throw new ArgumentNullException(nameof(omittedArraySizeExpressionToken)); 30590if (stringStartToken == null) throw new ArgumentNullException(nameof(stringStartToken)); 30599if (stringEndToken == null) throw new ArgumentNullException(nameof(stringEndToken)); 30624if (expression == null) throw new ArgumentNullException(nameof(expression)); 30625if (isKeyword == null) throw new ArgumentNullException(nameof(isKeyword)); 30627if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 30646if (throwKeyword == null) throw new ArgumentNullException(nameof(throwKeyword)); 30648if (expression == null) throw new ArgumentNullException(nameof(expression)); 30667if (whenKeyword == null) throw new ArgumentNullException(nameof(whenKeyword)); 30669if (condition == null) throw new ArgumentNullException(nameof(condition)); 30688if (underscoreToken == null) throw new ArgumentNullException(nameof(underscoreToken)); 30708if (type == null) throw new ArgumentNullException(nameof(type)); 30709if (designation == null) throw new ArgumentNullException(nameof(designation)); 30728if (varKeyword == null) throw new ArgumentNullException(nameof(varKeyword)); 30730if (designation == null) throw new ArgumentNullException(nameof(designation)); 30757if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 30759if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 30779if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 30781if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 30801if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 30820if (expression == null) throw new ArgumentNullException(nameof(expression)); 30839if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 30841if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 30842if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 30862if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 30873if (expression == null) throw new ArgumentNullException(nameof(expression)); 30892if (type == null) throw new ArgumentNullException(nameof(type)); 30917if (left == null) throw new ArgumentNullException(nameof(left)); 30918if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 30925if (right == null) throw new ArgumentNullException(nameof(right)); 30944if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 30946if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 30965if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 30967if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 30977if (dotDotToken == null) throw new ArgumentNullException(nameof(dotDotToken)); 30997if (textToken == null) throw new ArgumentNullException(nameof(textToken)); 31017if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 31019if (expression == null) throw new ArgumentNullException(nameof(expression)); 31020if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 31030if (commaToken == null) throw new ArgumentNullException(nameof(commaToken)); 31031if (value == null) throw new ArgumentNullException(nameof(value)); 31050if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 31051if (formatStringToken == null) throw new ArgumentNullException(nameof(formatStringToken)); 31071if (statement == null) throw new ArgumentNullException(nameof(statement)); 31090if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 31092if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 31102if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 31103if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31105if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 31141if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 31142if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31152if (type == null) throw new ArgumentNullException(nameof(type)); 31171if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31191if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 31193if (value == null) throw new ArgumentNullException(nameof(value)); 31212if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31232if (underscoreToken == null) throw new ArgumentNullException(nameof(underscoreToken)); 31252if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31254if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31274if (expression == null) throw new ArgumentNullException(nameof(expression)); 31275if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31295if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31315if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31317if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 31319if (statement == null) throw new ArgumentNullException(nameof(statement)); 31335if (gotoKeyword == null) throw new ArgumentNullException(nameof(gotoKeyword)); 31347if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31357if (breakKeyword == null) throw new ArgumentNullException(nameof(breakKeyword)); 31359if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31369if (continueKeyword == null) throw new ArgumentNullException(nameof(continueKeyword)); 31371if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31381if (returnKeyword == null) throw new ArgumentNullException(nameof(returnKeyword)); 31383if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31393if (throwKeyword == null) throw new ArgumentNullException(nameof(throwKeyword)); 31395if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31411if (yieldKeyword == null) throw new ArgumentNullException(nameof(yieldKeyword)); 31413if (returnOrBreakKeyword == null) throw new ArgumentNullException(nameof(returnOrBreakKeyword)); 31420if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31430if (whileKeyword == null) throw new ArgumentNullException(nameof(whileKeyword)); 31432if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31434if (condition == null) throw new ArgumentNullException(nameof(condition)); 31435if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31437if (statement == null) throw new ArgumentNullException(nameof(statement)); 31446if (doKeyword == null) throw new ArgumentNullException(nameof(doKeyword)); 31448if (statement == null) throw new ArgumentNullException(nameof(statement)); 31449if (whileKeyword == null) throw new ArgumentNullException(nameof(whileKeyword)); 31451if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31453if (condition == null) throw new ArgumentNullException(nameof(condition)); 31454if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31456if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31466if (forKeyword == null) throw new ArgumentNullException(nameof(forKeyword)); 31468if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31470if (firstSemicolonToken == null) throw new ArgumentNullException(nameof(firstSemicolonToken)); 31472if (secondSemicolonToken == null) throw new ArgumentNullException(nameof(secondSemicolonToken)); 31474if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31476if (statement == null) throw new ArgumentNullException(nameof(statement)); 31494if (forEachKeyword == null) throw new ArgumentNullException(nameof(forEachKeyword)); 31496if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31498if (type == null) throw new ArgumentNullException(nameof(type)); 31499if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31501if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 31503if (expression == null) throw new ArgumentNullException(nameof(expression)); 31504if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31506if (statement == null) throw new ArgumentNullException(nameof(statement)); 31524if (forEachKeyword == null) throw new ArgumentNullException(nameof(forEachKeyword)); 31526if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31528if (variable == null) throw new ArgumentNullException(nameof(variable)); 31529if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 31531if (expression == null) throw new ArgumentNullException(nameof(expression)); 31532if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31534if (statement == null) throw new ArgumentNullException(nameof(statement)); 31552if (usingKeyword == null) throw new ArgumentNullException(nameof(usingKeyword)); 31554if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31556if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31558if (statement == null) throw new ArgumentNullException(nameof(statement)); 31567if (fixedKeyword == null) throw new ArgumentNullException(nameof(fixedKeyword)); 31569if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31571if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 31572if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31574if (statement == null) throw new ArgumentNullException(nameof(statement)); 31589if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 31596if (block == null) throw new ArgumentNullException(nameof(block)); 31615if (unsafeKeyword == null) throw new ArgumentNullException(nameof(unsafeKeyword)); 31617if (block == null) throw new ArgumentNullException(nameof(block)); 31636if (lockKeyword == null) throw new ArgumentNullException(nameof(lockKeyword)); 31638if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31640if (expression == null) throw new ArgumentNullException(nameof(expression)); 31641if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31643if (statement == null) throw new ArgumentNullException(nameof(statement)); 31652if (ifKeyword == null) throw new ArgumentNullException(nameof(ifKeyword)); 31654if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31656if (condition == null) throw new ArgumentNullException(nameof(condition)); 31657if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31659if (statement == null) throw new ArgumentNullException(nameof(statement)); 31668if (elseKeyword == null) throw new ArgumentNullException(nameof(elseKeyword)); 31670if (statement == null) throw new ArgumentNullException(nameof(statement)); 31689if (switchKeyword == null) throw new ArgumentNullException(nameof(switchKeyword)); 31700if (expression == null) throw new ArgumentNullException(nameof(expression)); 31710if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 31712if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 31740if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 31742if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 31743if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 31752if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 31754if (value == null) throw new ArgumentNullException(nameof(value)); 31755if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 31774if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 31776if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 31795if (governingExpression == null) throw new ArgumentNullException(nameof(governingExpression)); 31796if (switchKeyword == null) throw new ArgumentNullException(nameof(switchKeyword)); 31798if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 31800if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 31810if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 31811if (equalsGreaterThanToken == null) throw new ArgumentNullException(nameof(equalsGreaterThanToken)); 31813if (expression == null) throw new ArgumentNullException(nameof(expression)); 31822if (tryKeyword == null) throw new ArgumentNullException(nameof(tryKeyword)); 31824if (block == null) throw new ArgumentNullException(nameof(block)); 31833if (catchKeyword == null) throw new ArgumentNullException(nameof(catchKeyword)); 31835if (block == null) throw new ArgumentNullException(nameof(block)); 31844if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31846if (type == null) throw new ArgumentNullException(nameof(type)); 31856if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31866if (whenKeyword == null) throw new ArgumentNullException(nameof(whenKeyword)); 31868if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 31870if (filterExpression == null) throw new ArgumentNullException(nameof(filterExpression)); 31871if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 31881if (finallyKeyword == null) throw new ArgumentNullException(nameof(finallyKeyword)); 31883if (block == null) throw new ArgumentNullException(nameof(block)); 31902if (endOfFileToken == null) throw new ArgumentNullException(nameof(endOfFileToken)); 31912if (externKeyword == null) throw new ArgumentNullException(nameof(externKeyword)); 31914if (aliasKeyword == null) throw new ArgumentNullException(nameof(aliasKeyword)); 31916if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 31918if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31937if (usingKeyword == null) throw new ArgumentNullException(nameof(usingKeyword)); 31957if (namespaceOrType == null) throw new ArgumentNullException(nameof(namespaceOrType)); 31958if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 31968if (namespaceKeyword == null) throw new ArgumentNullException(nameof(namespaceKeyword)); 31970if (name == null) throw new ArgumentNullException(nameof(name)); 31971if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 31973if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 31992if (namespaceKeyword == null) throw new ArgumentNullException(nameof(namespaceKeyword)); 31994if (name == null) throw new ArgumentNullException(nameof(name)); 31995if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 32005if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 32007if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 32017if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32018if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 32038if (name == null) throw new ArgumentNullException(nameof(name)); 32047if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 32049if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 32069if (expression == null) throw new ArgumentNullException(nameof(expression)); 32088if (name == null) throw new ArgumentNullException(nameof(name)); 32089if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 32109if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 32111if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 32141if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32161if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32163if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32200if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32202if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32239if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32241if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32278if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32280if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32323if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32334if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32371if (enumKeyword == null) throw new ArgumentNullException(nameof(enumKeyword)); 32373if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32410if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 32412if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 32413if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32415if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32416if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 32426if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32436if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 32473if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 32493if (type == null) throw new ArgumentNullException(nameof(type)); 32512if (type == null) throw new ArgumentNullException(nameof(type)); 32513if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 32532if (whereKeyword == null) throw new ArgumentNullException(nameof(whereKeyword)); 32534if (name == null) throw new ArgumentNullException(nameof(name)); 32535if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 32545if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 32547if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 32549if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 32575if (classOrStructKeyword == null) throw new ArgumentNullException(nameof(classOrStructKeyword)); 32609if (type == null) throw new ArgumentNullException(nameof(type)); 32628if (defaultKeyword == null) throw new ArgumentNullException(nameof(defaultKeyword)); 32648if (allowsKeyword == null) throw new ArgumentNullException(nameof(allowsKeyword)); 32668if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 32670if (structKeyword == null) throw new ArgumentNullException(nameof(structKeyword)); 32690if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 32691if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 32701if (eventKeyword == null) throw new ArgumentNullException(nameof(eventKeyword)); 32703if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 32704if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 32714if (name == null) throw new ArgumentNullException(nameof(name)); 32715if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 32735if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 32736if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32738if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32756if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 32757if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 32768if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 32808if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32826if (implicitOrExplicitKeyword == null) throw new ArgumentNullException(nameof(implicitOrExplicitKeyword)); 32833if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 32844if (type == null) throw new ArgumentNullException(nameof(type)); 32845if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32863if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32865if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32889if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 32891if (thisOrBaseKeyword == null) throw new ArgumentNullException(nameof(thisOrBaseKeyword)); 32898if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 32917if (tildeToken == null) throw new ArgumentNullException(nameof(tildeToken)); 32919if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32921if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 32939if (type == null) throw new ArgumentNullException(nameof(type)); 32940if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 32959if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 32961if (expression == null) throw new ArgumentNullException(nameof(expression)); 32980if (eventKeyword == null) throw new ArgumentNullException(nameof(eventKeyword)); 32982if (type == null) throw new ArgumentNullException(nameof(type)); 32983if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 33002if (type == null) throw new ArgumentNullException(nameof(type)); 33003if (thisKeyword == null) throw new ArgumentNullException(nameof(thisKeyword)); 33005if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 33023if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 33025if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 33055if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 33083if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 33085if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 33105if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 33107if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 33145if (type == null) throw new ArgumentNullException(nameof(type)); 33186if (endOfComment == null) throw new ArgumentNullException(nameof(endOfComment)); 33196if (type == null) throw new ArgumentNullException(nameof(type)); 33215if (container == null) throw new ArgumentNullException(nameof(container)); 33216if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 33218if (member == null) throw new ArgumentNullException(nameof(member)); 33237if (name == null) throw new ArgumentNullException(nameof(name)); 33256if (extensionKeyword == null) throw new ArgumentNullException(nameof(extensionKeyword)); 33258if (parameters == null) throw new ArgumentNullException(nameof(parameters)); 33259if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 33261if (member == null) throw new ArgumentNullException(nameof(member)); 33270if (thisKeyword == null) throw new ArgumentNullException(nameof(thisKeyword)); 33290if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 33301if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 33348if (implicitOrExplicitKeyword == null) throw new ArgumentNullException(nameof(implicitOrExplicitKeyword)); 33355if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 33366if (type == null) throw new ArgumentNullException(nameof(type)); 33375if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 33377if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 33397if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 33399if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 33439if (type == null) throw new ArgumentNullException(nameof(type)); 33458if (startTag == null) throw new ArgumentNullException(nameof(startTag)); 33459if (endTag == null) throw new ArgumentNullException(nameof(endTag)); 33478if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 33480if (name == null) throw new ArgumentNullException(nameof(name)); 33481if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 33491if (lessThanSlashToken == null) throw new ArgumentNullException(nameof(lessThanSlashToken)); 33493if (name == null) throw new ArgumentNullException(nameof(name)); 33494if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 33514if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 33516if (name == null) throw new ArgumentNullException(nameof(name)); 33517if (slashGreaterThanToken == null) throw new ArgumentNullException(nameof(slashGreaterThanToken)); 33527if (localName == null) throw new ArgumentNullException(nameof(localName)); 33547if (prefix == null) throw new ArgumentNullException(nameof(prefix)); 33549if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 33569if (name == null) throw new ArgumentNullException(nameof(name)); 33570if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 33572if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 33579if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 33594if (name == null) throw new ArgumentNullException(nameof(name)); 33595if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 33597if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 33604if (cref == null) throw new ArgumentNullException(nameof(cref)); 33605if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 33620if (name == null) throw new ArgumentNullException(nameof(name)); 33621if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 33623if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 33630if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 33631if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 33664if (startCDataToken == null) throw new ArgumentNullException(nameof(startCDataToken)); 33666if (endCDataToken == null) throw new ArgumentNullException(nameof(endCDataToken)); 33686if (startProcessingInstructionToken == null) throw new ArgumentNullException(nameof(startProcessingInstructionToken)); 33688if (name == null) throw new ArgumentNullException(nameof(name)); 33689if (endProcessingInstructionToken == null) throw new ArgumentNullException(nameof(endProcessingInstructionToken)); 33699if (lessThanExclamationMinusMinusToken == null) throw new ArgumentNullException(nameof(lessThanExclamationMinusMinusToken)); 33701if (minusMinusGreaterThanToken == null) throw new ArgumentNullException(nameof(minusMinusGreaterThanToken)); 33721if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33723if (ifKeyword == null) throw new ArgumentNullException(nameof(ifKeyword)); 33725if (condition == null) throw new ArgumentNullException(nameof(condition)); 33726if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33736if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33738if (elifKeyword == null) throw new ArgumentNullException(nameof(elifKeyword)); 33740if (condition == null) throw new ArgumentNullException(nameof(condition)); 33741if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33751if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33753if (elseKeyword == null) throw new ArgumentNullException(nameof(elseKeyword)); 33755if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33765if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33767if (endIfKeyword == null) throw new ArgumentNullException(nameof(endIfKeyword)); 33769if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33779if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33781if (regionKeyword == null) throw new ArgumentNullException(nameof(regionKeyword)); 33783if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33793if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33795if (endRegionKeyword == null) throw new ArgumentNullException(nameof(endRegionKeyword)); 33797if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33807if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33809if (errorKeyword == null) throw new ArgumentNullException(nameof(errorKeyword)); 33811if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33821if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33823if (warningKeyword == null) throw new ArgumentNullException(nameof(warningKeyword)); 33825if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33835if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33837if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 33838if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33848if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33850if (defineKeyword == null) throw new ArgumentNullException(nameof(defineKeyword)); 33852if (name == null) throw new ArgumentNullException(nameof(name)); 33854if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33864if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33866if (undefKeyword == null) throw new ArgumentNullException(nameof(undefKeyword)); 33868if (name == null) throw new ArgumentNullException(nameof(name)); 33870if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33880if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33882if (lineKeyword == null) throw new ArgumentNullException(nameof(lineKeyword)); 33884if (line == null) throw new ArgumentNullException(nameof(line)); 33901if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33911if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 33913if (line == null) throw new ArgumentNullException(nameof(line)); 33915if (commaToken == null) throw new ArgumentNullException(nameof(commaToken)); 33917if (character == null) throw new ArgumentNullException(nameof(character)); 33919if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 33929if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33931if (lineKeyword == null) throw new ArgumentNullException(nameof(lineKeyword)); 33933if (start == null) throw new ArgumentNullException(nameof(start)); 33934if (minusToken == null) throw new ArgumentNullException(nameof(minusToken)); 33936if (end == null) throw new ArgumentNullException(nameof(end)); 33946if (file == null) throw new ArgumentNullException(nameof(file)); 33948if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33958if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33960if (pragmaKeyword == null) throw new ArgumentNullException(nameof(pragmaKeyword)); 33962if (warningKeyword == null) throw new ArgumentNullException(nameof(warningKeyword)); 33964if (disableOrRestoreKeyword == null) throw new ArgumentNullException(nameof(disableOrRestoreKeyword)); 33971if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 33981if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 33983if (pragmaKeyword == null) throw new ArgumentNullException(nameof(pragmaKeyword)); 33985if (checksumKeyword == null) throw new ArgumentNullException(nameof(checksumKeyword)); 33987if (file == null) throw new ArgumentNullException(nameof(file)); 33989if (guid == null) throw new ArgumentNullException(nameof(guid)); 33991if (bytes == null) throw new ArgumentNullException(nameof(bytes)); 33993if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34003if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 34005if (referenceKeyword == null) throw new ArgumentNullException(nameof(referenceKeyword)); 34007if (file == null) throw new ArgumentNullException(nameof(file)); 34009if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34019if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 34021if (loadKeyword == null) throw new ArgumentNullException(nameof(loadKeyword)); 34023if (file == null) throw new ArgumentNullException(nameof(file)); 34025if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34035if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 34037if (exclamationToken == null) throw new ArgumentNullException(nameof(exclamationToken)); 34039if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34049if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 34051if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 34062if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34072if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 34074if (nullableKeyword == null) throw new ArgumentNullException(nameof(nullableKeyword)); 34076if (settingToken == null) throw new ArgumentNullException(nameof(settingToken)); 34094if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 34108if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 34133if (left == null) throw new ArgumentNullException(nameof(left)); 34134if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 34136if (right == null) throw new ArgumentNullException(nameof(right)); 34155if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 34157if (typeArgumentList == null) throw new ArgumentNullException(nameof(typeArgumentList)); 34176if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 34178if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 34198if (alias == null) throw new ArgumentNullException(nameof(alias)); 34199if (colonColonToken == null) throw new ArgumentNullException(nameof(colonColonToken)); 34201if (name == null) throw new ArgumentNullException(nameof(name)); 34220if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 34259if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 34278if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 34280if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 34300if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 34301if (asteriskToken == null) throw new ArgumentNullException(nameof(asteriskToken)); 34321if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 34323if (asteriskToken == null) throw new ArgumentNullException(nameof(asteriskToken)); 34325if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 34334if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 34336if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 34356if (managedOrUnmanagedKeyword == null) throw new ArgumentNullException(nameof(managedOrUnmanagedKeyword)); 34381if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 34383if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 34403if (name == null) throw new ArgumentNullException(nameof(name)); 34423if (elementType == null) throw new ArgumentNullException(nameof(elementType)); 34424if (questionToken == null) throw new ArgumentNullException(nameof(questionToken)); 34444if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 34446if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 34466if (type == null) throw new ArgumentNullException(nameof(type)); 34494if (omittedTypeArgumentToken == null) throw new ArgumentNullException(nameof(omittedTypeArgumentToken)); 34514if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 34525if (type == null) throw new ArgumentNullException(nameof(type)); 34544if (scopedKeyword == null) throw new ArgumentNullException(nameof(scopedKeyword)); 34546if (type == null) throw new ArgumentNullException(nameof(type)); 34565if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 34567if (expression == null) throw new ArgumentNullException(nameof(expression)); 34568if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 34588if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 34590if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 34623if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34637if (operand == null) throw new ArgumentNullException(nameof(operand)); 34656if (awaitKeyword == null) throw new ArgumentNullException(nameof(awaitKeyword)); 34658if (expression == null) throw new ArgumentNullException(nameof(expression)); 34684if (operand == null) throw new ArgumentNullException(nameof(operand)); 34685if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34717if (expression == null) throw new ArgumentNullException(nameof(expression)); 34718if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34725if (name == null) throw new ArgumentNullException(nameof(name)); 34744if (expression == null) throw new ArgumentNullException(nameof(expression)); 34745if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34747if (whenNotNull == null) throw new ArgumentNullException(nameof(whenNotNull)); 34766if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34768if (name == null) throw new ArgumentNullException(nameof(name)); 34787if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 34806if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34826if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 34871if (left == null) throw new ArgumentNullException(nameof(left)); 34872if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34899if (right == null) throw new ArgumentNullException(nameof(right)); 34935if (left == null) throw new ArgumentNullException(nameof(left)); 34936if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 34954if (right == null) throw new ArgumentNullException(nameof(right)); 34973if (condition == null) throw new ArgumentNullException(nameof(condition)); 34974if (questionToken == null) throw new ArgumentNullException(nameof(questionToken)); 34976if (whenTrue == null) throw new ArgumentNullException(nameof(whenTrue)); 34977if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 34979if (whenFalse == null) throw new ArgumentNullException(nameof(whenFalse)); 34988if (token == null) throw new ArgumentNullException(nameof(token)); 35008if (token == null) throw new ArgumentNullException(nameof(token)); 35041if (token == null) throw new ArgumentNullException(nameof(token)); 35077if (token == null) throw new ArgumentNullException(nameof(token)); 35097if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35099if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35101if (expression == null) throw new ArgumentNullException(nameof(expression)); 35102if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35112if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35114if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35116if (expression == null) throw new ArgumentNullException(nameof(expression)); 35117if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35127if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35129if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35131if (expression == null) throw new ArgumentNullException(nameof(expression)); 35132if (comma == null) throw new ArgumentNullException(nameof(comma)); 35134if (type == null) throw new ArgumentNullException(nameof(type)); 35135if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35151if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35158if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35160if (expression == null) throw new ArgumentNullException(nameof(expression)); 35161if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35171if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35173if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35175if (expression == null) throw new ArgumentNullException(nameof(expression)); 35176if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35186if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35188if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35190if (type == null) throw new ArgumentNullException(nameof(type)); 35191if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35201if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35203if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35205if (type == null) throw new ArgumentNullException(nameof(type)); 35206if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35216if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 35218if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35220if (type == null) throw new ArgumentNullException(nameof(type)); 35221if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35231if (expression == null) throw new ArgumentNullException(nameof(expression)); 35232if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 35251if (expression == null) throw new ArgumentNullException(nameof(expression)); 35252if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 35271if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35273if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35293if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 35295if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 35326if (expression == null) throw new ArgumentNullException(nameof(expression)); 35345if (expression == null) throw new ArgumentNullException(nameof(expression)); 35346if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 35365if (name == null) throw new ArgumentNullException(nameof(name)); 35366if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 35385if (type == null) throw new ArgumentNullException(nameof(type)); 35386if (designation == null) throw new ArgumentNullException(nameof(designation)); 35405if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 35407if (type == null) throw new ArgumentNullException(nameof(type)); 35408if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 35410if (expression == null) throw new ArgumentNullException(nameof(expression)); 35419if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 35421if (block == null) throw new ArgumentNullException(nameof(block)); 35430if (parameter == null) throw new ArgumentNullException(nameof(parameter)); 35431if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 35441if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 35443if (expression == null) throw new ArgumentNullException(nameof(expression)); 35462if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 35463if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 35482if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 35484if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 35504if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 35506if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 35525if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 35527if (type == null) throw new ArgumentNullException(nameof(type)); 35536if (expression == null) throw new ArgumentNullException(nameof(expression)); 35537if (withKeyword == null) throw new ArgumentNullException(nameof(withKeyword)); 35539if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 35558if (expression == null) throw new ArgumentNullException(nameof(expression)); 35577if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 35579if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 35581if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 35591if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 35593if (type == null) throw new ArgumentNullException(nameof(type)); 35612if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 35614if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 35616if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 35618if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 35627if (stackAllocKeyword == null) throw new ArgumentNullException(nameof(stackAllocKeyword)); 35629if (type == null) throw new ArgumentNullException(nameof(type)); 35648if (stackAllocKeyword == null) throw new ArgumentNullException(nameof(stackAllocKeyword)); 35650if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 35652if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 35654if (initializer == null) throw new ArgumentNullException(nameof(initializer)); 35663if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 35665if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 35685if (expression == null) throw new ArgumentNullException(nameof(expression)); 35704if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 35706if (expression == null) throw new ArgumentNullException(nameof(expression)); 35725if (withKeyword == null) throw new ArgumentNullException(nameof(withKeyword)); 35727if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 35746if (fromClause == null) throw new ArgumentNullException(nameof(fromClause)); 35747if (body == null) throw new ArgumentNullException(nameof(body)); 35766if (selectOrGroup == null) throw new ArgumentNullException(nameof(selectOrGroup)); 35785if (fromKeyword == null) throw new ArgumentNullException(nameof(fromKeyword)); 35787if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 35789if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 35791if (expression == null) throw new ArgumentNullException(nameof(expression)); 35800if (letKeyword == null) throw new ArgumentNullException(nameof(letKeyword)); 35802if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 35804if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 35806if (expression == null) throw new ArgumentNullException(nameof(expression)); 35815if (joinKeyword == null) throw new ArgumentNullException(nameof(joinKeyword)); 35817if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 35819if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 35821if (inExpression == null) throw new ArgumentNullException(nameof(inExpression)); 35822if (onKeyword == null) throw new ArgumentNullException(nameof(onKeyword)); 35824if (leftExpression == null) throw new ArgumentNullException(nameof(leftExpression)); 35825if (equalsKeyword == null) throw new ArgumentNullException(nameof(equalsKeyword)); 35827if (rightExpression == null) throw new ArgumentNullException(nameof(rightExpression)); 35836if (intoKeyword == null) throw new ArgumentNullException(nameof(intoKeyword)); 35838if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 35858if (whereKeyword == null) throw new ArgumentNullException(nameof(whereKeyword)); 35860if (condition == null) throw new ArgumentNullException(nameof(condition)); 35879if (orderByKeyword == null) throw new ArgumentNullException(nameof(orderByKeyword)); 35905if (expression == null) throw new ArgumentNullException(nameof(expression)); 35934if (selectKeyword == null) throw new ArgumentNullException(nameof(selectKeyword)); 35936if (expression == null) throw new ArgumentNullException(nameof(expression)); 35955if (groupKeyword == null) throw new ArgumentNullException(nameof(groupKeyword)); 35957if (groupExpression == null) throw new ArgumentNullException(nameof(groupExpression)); 35958if (byKeyword == null) throw new ArgumentNullException(nameof(byKeyword)); 35960if (byExpression == null) throw new ArgumentNullException(nameof(byExpression)); 35969if (intoKeyword == null) throw new ArgumentNullException(nameof(intoKeyword)); 35971if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 35973if (body == null) throw new ArgumentNullException(nameof(body)); 35992if (omittedArraySizeExpressionToken == null) throw new ArgumentNullException(nameof(omittedArraySizeExpressionToken)); 36012if (stringStartToken == null) throw new ArgumentNullException(nameof(stringStartToken)); 36021if (stringEndToken == null) throw new ArgumentNullException(nameof(stringEndToken)); 36046if (expression == null) throw new ArgumentNullException(nameof(expression)); 36047if (isKeyword == null) throw new ArgumentNullException(nameof(isKeyword)); 36049if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 36068if (throwKeyword == null) throw new ArgumentNullException(nameof(throwKeyword)); 36070if (expression == null) throw new ArgumentNullException(nameof(expression)); 36089if (whenKeyword == null) throw new ArgumentNullException(nameof(whenKeyword)); 36091if (condition == null) throw new ArgumentNullException(nameof(condition)); 36110if (underscoreToken == null) throw new ArgumentNullException(nameof(underscoreToken)); 36130if (type == null) throw new ArgumentNullException(nameof(type)); 36131if (designation == null) throw new ArgumentNullException(nameof(designation)); 36150if (varKeyword == null) throw new ArgumentNullException(nameof(varKeyword)); 36152if (designation == null) throw new ArgumentNullException(nameof(designation)); 36179if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36181if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36201if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 36203if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 36223if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 36242if (expression == null) throw new ArgumentNullException(nameof(expression)); 36261if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36263if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 36264if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36284if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 36295if (expression == null) throw new ArgumentNullException(nameof(expression)); 36314if (type == null) throw new ArgumentNullException(nameof(type)); 36339if (left == null) throw new ArgumentNullException(nameof(left)); 36340if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 36347if (right == null) throw new ArgumentNullException(nameof(right)); 36366if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 36368if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 36387if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 36389if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 36399if (dotDotToken == null) throw new ArgumentNullException(nameof(dotDotToken)); 36419if (textToken == null) throw new ArgumentNullException(nameof(textToken)); 36439if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 36441if (expression == null) throw new ArgumentNullException(nameof(expression)); 36442if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 36452if (commaToken == null) throw new ArgumentNullException(nameof(commaToken)); 36453if (value == null) throw new ArgumentNullException(nameof(value)); 36472if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 36473if (formatStringToken == null) throw new ArgumentNullException(nameof(formatStringToken)); 36493if (statement == null) throw new ArgumentNullException(nameof(statement)); 36512if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 36514if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 36524if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 36525if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 36527if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 36563if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 36564if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36574if (type == null) throw new ArgumentNullException(nameof(type)); 36593if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 36613if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 36615if (value == null) throw new ArgumentNullException(nameof(value)); 36634if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 36654if (underscoreToken == null) throw new ArgumentNullException(nameof(underscoreToken)); 36674if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36676if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36696if (expression == null) throw new ArgumentNullException(nameof(expression)); 36697if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36717if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36737if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 36739if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 36741if (statement == null) throw new ArgumentNullException(nameof(statement)); 36757if (gotoKeyword == null) throw new ArgumentNullException(nameof(gotoKeyword)); 36769if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36779if (breakKeyword == null) throw new ArgumentNullException(nameof(breakKeyword)); 36781if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36791if (continueKeyword == null) throw new ArgumentNullException(nameof(continueKeyword)); 36793if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36803if (returnKeyword == null) throw new ArgumentNullException(nameof(returnKeyword)); 36805if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36815if (throwKeyword == null) throw new ArgumentNullException(nameof(throwKeyword)); 36817if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36833if (yieldKeyword == null) throw new ArgumentNullException(nameof(yieldKeyword)); 36835if (returnOrBreakKeyword == null) throw new ArgumentNullException(nameof(returnOrBreakKeyword)); 36842if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36852if (whileKeyword == null) throw new ArgumentNullException(nameof(whileKeyword)); 36854if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36856if (condition == null) throw new ArgumentNullException(nameof(condition)); 36857if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36859if (statement == null) throw new ArgumentNullException(nameof(statement)); 36868if (doKeyword == null) throw new ArgumentNullException(nameof(doKeyword)); 36870if (statement == null) throw new ArgumentNullException(nameof(statement)); 36871if (whileKeyword == null) throw new ArgumentNullException(nameof(whileKeyword)); 36873if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36875if (condition == null) throw new ArgumentNullException(nameof(condition)); 36876if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36878if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 36888if (forKeyword == null) throw new ArgumentNullException(nameof(forKeyword)); 36890if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36892if (firstSemicolonToken == null) throw new ArgumentNullException(nameof(firstSemicolonToken)); 36894if (secondSemicolonToken == null) throw new ArgumentNullException(nameof(secondSemicolonToken)); 36896if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36898if (statement == null) throw new ArgumentNullException(nameof(statement)); 36916if (forEachKeyword == null) throw new ArgumentNullException(nameof(forEachKeyword)); 36918if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36920if (type == null) throw new ArgumentNullException(nameof(type)); 36921if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 36923if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 36925if (expression == null) throw new ArgumentNullException(nameof(expression)); 36926if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36928if (statement == null) throw new ArgumentNullException(nameof(statement)); 36946if (forEachKeyword == null) throw new ArgumentNullException(nameof(forEachKeyword)); 36948if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36950if (variable == null) throw new ArgumentNullException(nameof(variable)); 36951if (inKeyword == null) throw new ArgumentNullException(nameof(inKeyword)); 36953if (expression == null) throw new ArgumentNullException(nameof(expression)); 36954if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36956if (statement == null) throw new ArgumentNullException(nameof(statement)); 36974if (usingKeyword == null) throw new ArgumentNullException(nameof(usingKeyword)); 36976if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36978if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36980if (statement == null) throw new ArgumentNullException(nameof(statement)); 36989if (fixedKeyword == null) throw new ArgumentNullException(nameof(fixedKeyword)); 36991if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 36993if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 36994if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 36996if (statement == null) throw new ArgumentNullException(nameof(statement)); 37011if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37018if (block == null) throw new ArgumentNullException(nameof(block)); 37037if (unsafeKeyword == null) throw new ArgumentNullException(nameof(unsafeKeyword)); 37039if (block == null) throw new ArgumentNullException(nameof(block)); 37058if (lockKeyword == null) throw new ArgumentNullException(nameof(lockKeyword)); 37060if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37062if (expression == null) throw new ArgumentNullException(nameof(expression)); 37063if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37065if (statement == null) throw new ArgumentNullException(nameof(statement)); 37074if (ifKeyword == null) throw new ArgumentNullException(nameof(ifKeyword)); 37076if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37078if (condition == null) throw new ArgumentNullException(nameof(condition)); 37079if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37081if (statement == null) throw new ArgumentNullException(nameof(statement)); 37090if (elseKeyword == null) throw new ArgumentNullException(nameof(elseKeyword)); 37092if (statement == null) throw new ArgumentNullException(nameof(statement)); 37111if (switchKeyword == null) throw new ArgumentNullException(nameof(switchKeyword)); 37122if (expression == null) throw new ArgumentNullException(nameof(expression)); 37132if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 37134if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 37162if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37164if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 37165if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37174if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37176if (value == null) throw new ArgumentNullException(nameof(value)); 37177if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37196if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37198if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37217if (governingExpression == null) throw new ArgumentNullException(nameof(governingExpression)); 37218if (switchKeyword == null) throw new ArgumentNullException(nameof(switchKeyword)); 37220if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 37222if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 37232if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 37233if (equalsGreaterThanToken == null) throw new ArgumentNullException(nameof(equalsGreaterThanToken)); 37235if (expression == null) throw new ArgumentNullException(nameof(expression)); 37244if (tryKeyword == null) throw new ArgumentNullException(nameof(tryKeyword)); 37246if (block == null) throw new ArgumentNullException(nameof(block)); 37255if (catchKeyword == null) throw new ArgumentNullException(nameof(catchKeyword)); 37257if (block == null) throw new ArgumentNullException(nameof(block)); 37266if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37268if (type == null) throw new ArgumentNullException(nameof(type)); 37278if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37288if (whenKeyword == null) throw new ArgumentNullException(nameof(whenKeyword)); 37290if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37292if (filterExpression == null) throw new ArgumentNullException(nameof(filterExpression)); 37293if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37303if (finallyKeyword == null) throw new ArgumentNullException(nameof(finallyKeyword)); 37305if (block == null) throw new ArgumentNullException(nameof(block)); 37324if (endOfFileToken == null) throw new ArgumentNullException(nameof(endOfFileToken)); 37334if (externKeyword == null) throw new ArgumentNullException(nameof(externKeyword)); 37336if (aliasKeyword == null) throw new ArgumentNullException(nameof(aliasKeyword)); 37338if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37340if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 37359if (usingKeyword == null) throw new ArgumentNullException(nameof(usingKeyword)); 37379if (namespaceOrType == null) throw new ArgumentNullException(nameof(namespaceOrType)); 37380if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 37390if (namespaceKeyword == null) throw new ArgumentNullException(nameof(namespaceKeyword)); 37392if (name == null) throw new ArgumentNullException(nameof(name)); 37393if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 37395if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 37414if (namespaceKeyword == null) throw new ArgumentNullException(nameof(namespaceKeyword)); 37416if (name == null) throw new ArgumentNullException(nameof(name)); 37417if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 37427if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 37429if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 37439if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37440if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37460if (name == null) throw new ArgumentNullException(nameof(name)); 37469if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37471if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37491if (expression == null) throw new ArgumentNullException(nameof(expression)); 37510if (name == null) throw new ArgumentNullException(nameof(name)); 37511if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 37531if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 37533if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 37563if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37583if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37585if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37622if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37624if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37661if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37663if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37700if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37702if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37745if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37756if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37793if (enumKeyword == null) throw new ArgumentNullException(nameof(enumKeyword)); 37795if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37832if (delegateKeyword == null) throw new ArgumentNullException(nameof(delegateKeyword)); 37834if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 37835if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37837if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 37838if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 37848if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 37858if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 37895if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37915if (type == null) throw new ArgumentNullException(nameof(type)); 37934if (type == null) throw new ArgumentNullException(nameof(type)); 37935if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 37954if (whereKeyword == null) throw new ArgumentNullException(nameof(whereKeyword)); 37956if (name == null) throw new ArgumentNullException(nameof(name)); 37957if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 37967if (newKeyword == null) throw new ArgumentNullException(nameof(newKeyword)); 37969if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 37971if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 37997if (classOrStructKeyword == null) throw new ArgumentNullException(nameof(classOrStructKeyword)); 38031if (type == null) throw new ArgumentNullException(nameof(type)); 38050if (defaultKeyword == null) throw new ArgumentNullException(nameof(defaultKeyword)); 38070if (allowsKeyword == null) throw new ArgumentNullException(nameof(allowsKeyword)); 38090if (refKeyword == null) throw new ArgumentNullException(nameof(refKeyword)); 38092if (structKeyword == null) throw new ArgumentNullException(nameof(structKeyword)); 38112if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 38113if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 38123if (eventKeyword == null) throw new ArgumentNullException(nameof(eventKeyword)); 38125if (declaration == null) throw new ArgumentNullException(nameof(declaration)); 38126if (semicolonToken == null) throw new ArgumentNullException(nameof(semicolonToken)); 38136if (name == null) throw new ArgumentNullException(nameof(name)); 38137if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 38157if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 38158if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 38160if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38178if (returnType == null) throw new ArgumentNullException(nameof(returnType)); 38179if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 38190if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 38230if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38248if (implicitOrExplicitKeyword == null) throw new ArgumentNullException(nameof(implicitOrExplicitKeyword)); 38255if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 38266if (type == null) throw new ArgumentNullException(nameof(type)); 38267if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38285if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 38287if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38311if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 38313if (thisOrBaseKeyword == null) throw new ArgumentNullException(nameof(thisOrBaseKeyword)); 38320if (argumentList == null) throw new ArgumentNullException(nameof(argumentList)); 38339if (tildeToken == null) throw new ArgumentNullException(nameof(tildeToken)); 38341if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 38343if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38361if (type == null) throw new ArgumentNullException(nameof(type)); 38362if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 38381if (arrowToken == null) throw new ArgumentNullException(nameof(arrowToken)); 38383if (expression == null) throw new ArgumentNullException(nameof(expression)); 38402if (eventKeyword == null) throw new ArgumentNullException(nameof(eventKeyword)); 38404if (type == null) throw new ArgumentNullException(nameof(type)); 38405if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 38424if (type == null) throw new ArgumentNullException(nameof(type)); 38425if (thisKeyword == null) throw new ArgumentNullException(nameof(thisKeyword)); 38427if (parameterList == null) throw new ArgumentNullException(nameof(parameterList)); 38445if (openBraceToken == null) throw new ArgumentNullException(nameof(openBraceToken)); 38447if (closeBraceToken == null) throw new ArgumentNullException(nameof(closeBraceToken)); 38477if (keyword == null) throw new ArgumentNullException(nameof(keyword)); 38505if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 38507if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 38527if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 38529if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 38567if (type == null) throw new ArgumentNullException(nameof(type)); 38608if (endOfComment == null) throw new ArgumentNullException(nameof(endOfComment)); 38618if (type == null) throw new ArgumentNullException(nameof(type)); 38637if (container == null) throw new ArgumentNullException(nameof(container)); 38638if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 38640if (member == null) throw new ArgumentNullException(nameof(member)); 38659if (name == null) throw new ArgumentNullException(nameof(name)); 38678if (extensionKeyword == null) throw new ArgumentNullException(nameof(extensionKeyword)); 38680if (parameters == null) throw new ArgumentNullException(nameof(parameters)); 38681if (dotToken == null) throw new ArgumentNullException(nameof(dotToken)); 38683if (member == null) throw new ArgumentNullException(nameof(member)); 38692if (thisKeyword == null) throw new ArgumentNullException(nameof(thisKeyword)); 38712if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 38723if (operatorToken == null) throw new ArgumentNullException(nameof(operatorToken)); 38770if (implicitOrExplicitKeyword == null) throw new ArgumentNullException(nameof(implicitOrExplicitKeyword)); 38777if (operatorKeyword == null) throw new ArgumentNullException(nameof(operatorKeyword)); 38788if (type == null) throw new ArgumentNullException(nameof(type)); 38797if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 38799if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 38819if (openBracketToken == null) throw new ArgumentNullException(nameof(openBracketToken)); 38821if (closeBracketToken == null) throw new ArgumentNullException(nameof(closeBracketToken)); 38861if (type == null) throw new ArgumentNullException(nameof(type)); 38880if (startTag == null) throw new ArgumentNullException(nameof(startTag)); 38881if (endTag == null) throw new ArgumentNullException(nameof(endTag)); 38900if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 38902if (name == null) throw new ArgumentNullException(nameof(name)); 38903if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 38913if (lessThanSlashToken == null) throw new ArgumentNullException(nameof(lessThanSlashToken)); 38915if (name == null) throw new ArgumentNullException(nameof(name)); 38916if (greaterThanToken == null) throw new ArgumentNullException(nameof(greaterThanToken)); 38936if (lessThanToken == null) throw new ArgumentNullException(nameof(lessThanToken)); 38938if (name == null) throw new ArgumentNullException(nameof(name)); 38939if (slashGreaterThanToken == null) throw new ArgumentNullException(nameof(slashGreaterThanToken)); 38949if (localName == null) throw new ArgumentNullException(nameof(localName)); 38969if (prefix == null) throw new ArgumentNullException(nameof(prefix)); 38971if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 38991if (name == null) throw new ArgumentNullException(nameof(name)); 38992if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 38994if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 39001if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 39016if (name == null) throw new ArgumentNullException(nameof(name)); 39017if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 39019if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 39026if (cref == null) throw new ArgumentNullException(nameof(cref)); 39027if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 39042if (name == null) throw new ArgumentNullException(nameof(name)); 39043if (equalsToken == null) throw new ArgumentNullException(nameof(equalsToken)); 39045if (startQuoteToken == null) throw new ArgumentNullException(nameof(startQuoteToken)); 39052if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 39053if (endQuoteToken == null) throw new ArgumentNullException(nameof(endQuoteToken)); 39086if (startCDataToken == null) throw new ArgumentNullException(nameof(startCDataToken)); 39088if (endCDataToken == null) throw new ArgumentNullException(nameof(endCDataToken)); 39108if (startProcessingInstructionToken == null) throw new ArgumentNullException(nameof(startProcessingInstructionToken)); 39110if (name == null) throw new ArgumentNullException(nameof(name)); 39111if (endProcessingInstructionToken == null) throw new ArgumentNullException(nameof(endProcessingInstructionToken)); 39121if (lessThanExclamationMinusMinusToken == null) throw new ArgumentNullException(nameof(lessThanExclamationMinusMinusToken)); 39123if (minusMinusGreaterThanToken == null) throw new ArgumentNullException(nameof(minusMinusGreaterThanToken)); 39143if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39145if (ifKeyword == null) throw new ArgumentNullException(nameof(ifKeyword)); 39147if (condition == null) throw new ArgumentNullException(nameof(condition)); 39148if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39158if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39160if (elifKeyword == null) throw new ArgumentNullException(nameof(elifKeyword)); 39162if (condition == null) throw new ArgumentNullException(nameof(condition)); 39163if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39173if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39175if (elseKeyword == null) throw new ArgumentNullException(nameof(elseKeyword)); 39177if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39187if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39189if (endIfKeyword == null) throw new ArgumentNullException(nameof(endIfKeyword)); 39191if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39201if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39203if (regionKeyword == null) throw new ArgumentNullException(nameof(regionKeyword)); 39205if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39215if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39217if (endRegionKeyword == null) throw new ArgumentNullException(nameof(endRegionKeyword)); 39219if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39229if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39231if (errorKeyword == null) throw new ArgumentNullException(nameof(errorKeyword)); 39233if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39243if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39245if (warningKeyword == null) throw new ArgumentNullException(nameof(warningKeyword)); 39247if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39257if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39259if (identifier == null) throw new ArgumentNullException(nameof(identifier)); 39260if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39270if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39272if (defineKeyword == null) throw new ArgumentNullException(nameof(defineKeyword)); 39274if (name == null) throw new ArgumentNullException(nameof(name)); 39276if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39286if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39288if (undefKeyword == null) throw new ArgumentNullException(nameof(undefKeyword)); 39290if (name == null) throw new ArgumentNullException(nameof(name)); 39292if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39302if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39304if (lineKeyword == null) throw new ArgumentNullException(nameof(lineKeyword)); 39306if (line == null) throw new ArgumentNullException(nameof(line)); 39323if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39333if (openParenToken == null) throw new ArgumentNullException(nameof(openParenToken)); 39335if (line == null) throw new ArgumentNullException(nameof(line)); 39337if (commaToken == null) throw new ArgumentNullException(nameof(commaToken)); 39339if (character == null) throw new ArgumentNullException(nameof(character)); 39341if (closeParenToken == null) throw new ArgumentNullException(nameof(closeParenToken)); 39351if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39353if (lineKeyword == null) throw new ArgumentNullException(nameof(lineKeyword)); 39355if (start == null) throw new ArgumentNullException(nameof(start)); 39356if (minusToken == null) throw new ArgumentNullException(nameof(minusToken)); 39358if (end == null) throw new ArgumentNullException(nameof(end)); 39368if (file == null) throw new ArgumentNullException(nameof(file)); 39370if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39380if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39382if (pragmaKeyword == null) throw new ArgumentNullException(nameof(pragmaKeyword)); 39384if (warningKeyword == null) throw new ArgumentNullException(nameof(warningKeyword)); 39386if (disableOrRestoreKeyword == null) throw new ArgumentNullException(nameof(disableOrRestoreKeyword)); 39393if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39403if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39405if (pragmaKeyword == null) throw new ArgumentNullException(nameof(pragmaKeyword)); 39407if (checksumKeyword == null) throw new ArgumentNullException(nameof(checksumKeyword)); 39409if (file == null) throw new ArgumentNullException(nameof(file)); 39411if (guid == null) throw new ArgumentNullException(nameof(guid)); 39413if (bytes == null) throw new ArgumentNullException(nameof(bytes)); 39415if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39425if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39427if (referenceKeyword == null) throw new ArgumentNullException(nameof(referenceKeyword)); 39429if (file == null) throw new ArgumentNullException(nameof(file)); 39431if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39441if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39443if (loadKeyword == null) throw new ArgumentNullException(nameof(loadKeyword)); 39445if (file == null) throw new ArgumentNullException(nameof(file)); 39447if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39457if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39459if (exclamationToken == null) throw new ArgumentNullException(nameof(exclamationToken)); 39461if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39471if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39473if (colonToken == null) throw new ArgumentNullException(nameof(colonToken)); 39484if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken)); 39494if (hashToken == null) throw new ArgumentNullException(nameof(hashToken)); 39496if (nullableKeyword == null) throw new ArgumentNullException(nameof(nullableKeyword)); 39498if (settingToken == null) throw new ArgumentNullException(nameof(settingToken)); 39516if (endOfDirectiveToken == null) throw new ArgumentNullException(nameof(endOfDirectiveToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
3198internal override AnonymousFunctionExpressionSyntax WithBlockCore(BlockSyntax? block) => WithBlock(block ?? throw new ArgumentNullException(nameof(block))); 3671internal override BaseObjectCreationExpressionSyntax WithArgumentListCore(ArgumentListSyntax? argumentList) => WithArgumentList(argumentList ?? throw new ArgumentNullException(nameof(argumentList))); 14214internal override BaseParameterSyntax WithTypeCore(TypeSyntax? type) => WithType(type ?? throw new ArgumentNullException(nameof(type)));
Binder\Semantics\SemanticFacts.cs (4)
30throw new ArgumentNullException(nameof(symbol)); 35throw new ArgumentNullException(nameof(within)); 55throw new ArgumentNullException(nameof(symbol)); 60throw new ArgumentNullException(nameof(within));
Compilation\CSharpCompilation.cs (20)
585throw new ArgumentNullException(nameof(referenceManager)); 931throw new ArgumentNullException(nameof(trees)); 952throw new ArgumentNullException($"{nameof(trees)}[{i}]"); 1004throw new ArgumentNullException(nameof(trees)); 1073throw new ArgumentNullException(nameof(oldTree)); 1275throw new ArgumentNullException(nameof(reference)); 2404throw new ArgumentNullException(nameof(source)); 2409throw new ArgumentNullException(nameof(destination)); 2475throw new ArgumentNullException(nameof(elementType)); 2493throw new ArgumentNullException(nameof(elementType)); 2621throw new ArgumentNullException(nameof(syntaxTree)); 4261throw new ArgumentNullException(nameof(returnType)); 4266throw new ArgumentNullException(nameof(parameterTypes)); 4273throw new ArgumentNullException($"{nameof(parameterTypes)}[{i}]"); 4279throw new ArgumentNullException(nameof(parameterRefKinds)); 4325throw new ArgumentNullException($"{nameof(callingConventionTypes)}[{index}]"); 4796throw new ArgumentNullException(nameof(predicate)); 4814throw new ArgumentNullException(nameof(predicate)); 4835throw new ArgumentNullException(nameof(name)); 4861throw new ArgumentNullException(nameof(name));
Compilation\CSharpSemanticModel.cs (19)
285throw new ArgumentNullException(nameof(expression)); 407throw new ArgumentNullException(nameof(attribute)); 799throw new ArgumentNullException(nameof(constructorInitializer)); 871throw new ArgumentNullException(nameof(constructorInitializer)); 1380throw new ArgumentNullException(nameof(syntax)); 1394throw new ArgumentNullException(nameof(syntax)); 1846throw new ArgumentNullException(nameof(symbol)); 2841throw new ArgumentNullException(nameof(destination)); 2910throw new ArgumentNullException(nameof(destination)); 5014throw new ArgumentNullException(nameof(node)); 5043throw new ArgumentNullException(nameof(node)); 5064throw new ArgumentNullException(nameof(node)); 5369throw new ArgumentNullException(nameof(firstStatement)); 5374throw new ArgumentNullException(nameof(lastStatement)); 5394throw new ArgumentNullException(nameof(statement)); 5409throw new ArgumentNullException(nameof(firstStatement)); 5414throw new ArgumentNullException(nameof(lastStatement)); 5435throw new ArgumentNullException(nameof(statementOrExpression)); 5453throw new ArgumentNullException(nameof(node));
Compilation\MemberSemanticModel.cs (3)
196throw new ArgumentNullException(nameof(expression)); 444throw new ArgumentNullException(nameof(destination)); 502throw new ArgumentNullException(nameof(destination));
Compilation\SyntaxTreeSemanticModel.cs (9)
539throw new ArgumentNullException(nameof(destination)); 564throw new ArgumentNullException(nameof(destination)); 742throw new ArgumentNullException(nameof(expression)); 2192throw new ArgumentNullException(nameof(typeParameter)); 2256throw new ArgumentNullException(nameof(firstStatement)); 2261throw new ArgumentNullException(nameof(lastStatement)); 2292throw new ArgumentNullException(nameof(expression)); 2309throw new ArgumentNullException(nameof(constructorInitializer)); 2326throw new ArgumentNullException(nameof(primaryConstructorBaseType));
CSharpExtensions.cs (5)
270throw new ArgumentNullException(nameof(items)); 788throw new ArgumentNullException(nameof(conversionExpression)); 814throw new ArgumentNullException(nameof(compoundAssignment)); 840throw new ArgumentNullException(nameof(compoundAssignment)); 865throw new ArgumentNullException(nameof(spread));
Errors\CSDiagnostic.cs (1)
30throw new ArgumentNullException(nameof(location));
SymbolDisplay\ObjectDisplay.cs (1)
216throw new ArgumentNullException(nameof(value));
SymbolDisplay\SymbolDisplay.cs (1)
252throw new ArgumentNullException(nameof(symbol));
Symbols\AssemblySymbol.cs (2)
352throw new ArgumentNullException(nameof(fullyQualifiedMetadataName)); 676throw new ArgumentNullException(nameof(fullyQualifiedMetadataName));
Symbols\MethodSymbol.cs (2)
770throw new ArgumentNullException(nameof(receiverType)); 883throw new ArgumentNullException(nameof(typeArguments));
Symbols\ModuleSymbol.cs (2)
346throw new ArgumentNullException(nameof(namespaceSymbol)); 381throw new ArgumentNullException(nameof(namespaceSymbol));
Symbols\NamedTypeSymbol.cs (1)
1516throw new ArgumentNullException(nameof(typeArguments));
Symbols\ReducedExtensionMethodSymbol.cs (1)
262throw new System.ArgumentNullException();
Symbols\TypeSymbol.cs (1)
448throw new ArgumentNullException(nameof(interfaceMember));
Syntax\CSharpSyntaxTree.cs (6)
341throw new ArgumentNullException(nameof(root)); 499throw new ArgumentNullException(nameof(text)); 558throw new ArgumentNullException(nameof(changes)); 602throw new ArgumentNullException(nameof(oldTree)); 617throw new ArgumentNullException(nameof(oldTree)); 779throw new ArgumentNullException(nameof(node));
Syntax\SyntaxFactory.cs (8)
194throw new ArgumentNullException(nameof(text)); 299throw new ArgumentNullException(nameof(text)); 316throw new ArgumentNullException(nameof(text)); 334throw new ArgumentNullException(nameof(text)); 339throw new ArgumentNullException(nameof(valueText)); 365throw new ArgumentNullException(nameof(text)); 370throw new ArgumentNullException(nameof(valueText)); 2367throw new ArgumentNullException(nameof(tree));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
234var parent = token.Parent ?? throw new ArgumentNullException(nameof(token));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
18=> _name = name ?? throw new ArgumentNullException(nameof(name));
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\DeclarationName\ExportDeclarationNameRecommenderAttribute.cs (1)
14public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name));
Structure\CSharpStructureHelpers.cs (1)
216throw new ArgumentNullException(nameof(node));
Microsoft.CodeAnalysis.CSharp.Scripting (4)
CSharpScript.cs (4)
36throw new ArgumentNullException(nameof(code)); 53throw new ArgumentNullException(nameof(code)); 68throw new ArgumentNullException(nameof(code)); 84throw new ArgumentNullException(nameof(code));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
234var parent = token.Parent ?? throw new ArgumentNullException(nameof(token));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
18=> _name = name ?? throw new ArgumentNullException(nameof(name));
Microsoft.CodeAnalysis.Extensions.Package (64)
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
Microsoft.CodeAnalysis.Features (57)
BraceCompletion\ExportBraceCompletionServiceAttribute.cs (1)
14public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
BraceMatching\ExportBraceMatcherAttribute.cs (1)
14public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
ChangeSignature\ChangeSignatureCodeActionOperation.cs (1)
21public Solution ChangedSolution { get; } = changedSolution ?? throw new ArgumentNullException(nameof(changedSolution));
CodeFixes\Suppression\ExportConfigurationFixProviderAttribute.cs (2)
34throw new ArgumentNullException(nameof(languages)); 43Name = name ?? throw new ArgumentNullException(nameof(name));
Common\DocumentNavigationOperation.cs (1)
22internal DocumentId DocumentId { get; } = documentId ?? throw new ArgumentNullException(nameof(documentId));
Common\StartInlineRenameSessionOperation.cs (1)
22public DocumentId DocumentId { get; } = documentId ?? throw new ArgumentNullException(nameof(documentId));
Common\TaggedText.cs (2)
75Tag = tag ?? throw new ArgumentNullException(nameof(tag)); 76Text = text ?? throw new ArgumentNullException(nameof(text));
Completion\ArgumentContext.cs (3)
21internal ArgumentProvider Provider { get; } = provider ?? throw new ArgumentNullException(nameof(provider)); 26public SemanticModel SemanticModel { get; } = semanticModel ?? throw new ArgumentNullException(nameof(semanticModel)); 36public IParameterSymbol Parameter { get; } = parameter ?? throw new ArgumentNullException(nameof(parameter));
Completion\CompletionContext.cs (4)
123: this(provider ?? throw new ArgumentNullException(nameof(provider)), 124document ?? throw new ArgumentNullException(nameof(document)), 172throw new ArgumentNullException(nameof(item)); 183throw new ArgumentNullException(nameof(items));
Completion\CompletionItem.cs (1)
478throw new ArgumentNullException(nameof(tag));
Completion\ExportArgumentProviderAttribute.cs (2)
14public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name)); 15public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
Completion\ExportCompletionProviderAttribute.cs (2)
18public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name)); 19public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
Completion\Providers\AbstractDocCommentCompletionProvider.cs (1)
74this.defaultRules = defaultRules ?? throw new ArgumentNullException(nameof(defaultRules));
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (1)
85throw new ArgumentNullException(nameof(declaredSymbol));
Debugging\DebugInformationReaderProvider.cs (2)
133throw new ArgumentNullException(nameof(stream)); 170=> new Portable(metadataProvider ?? throw new ArgumentNullException(nameof(metadataProvider)));
EditAndContinue\EditAndContinueDebugInfoReader.cs (2)
214throw new ArgumentNullException(nameof(symReader)); 244=> new Portable(pdbReader ?? throw new ArgumentNullException(nameof(pdbReader)));
EditAndContinue\SourceFileSpan.cs (1)
32public string Path { get; } = path ?? throw new ArgumentNullException(nameof(path));
EmbeddedLanguages\ExportEmbeddedLanguageFeatureServiceAttribute.cs (3)
50Name = name ?? throw new ArgumentNullException(nameof(name)); 51Languages = languages ?? throw new ArgumentNullException(nameof(languages)); 52Identifiers = identifiers ?? throw new ArgumentNullException(nameof(identifiers));
ExternalAccess\UnitTesting\SolutionCrawler\ExportUnitTestingIncrementalAnalyzerProviderAttribute.cs (1)
21this.Name = name ?? throw new ArgumentNullException(nameof(name));
ExternalAccess\VSTypeScript\VSTypeScriptFormattingService.cs (1)
22private readonly IVSTypeScriptFormattingServiceImplementation _impl = impl ?? throw new ArgumentNullException(nameof(impl));
Highlighting\ExportHighlighterAttribute.cs (1)
16public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
Intents\IntentResult.cs (2)
28public readonly string Title = title ?? throw new ArgumentNullException(nameof(title)); 34public readonly string ActionName = actionName ?? throw new ArgumentNullException(nameof(actionName));
MetadataAsSource\ExportMetadataAsSourceFileProvider.cs (1)
18public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name));
MetadataAsSource\MetadataAsSourceFileService.cs (2)
80throw new ArgumentNullException(nameof(sourceProject)); 83throw new ArgumentNullException(nameof(symbol));
PdbSourceDocument\SourceLinkMap.cs (2)
67throw new ArgumentNullException(nameof(json)); 177throw new ArgumentNullException(nameof(path));
QuickInfo\ExportQuickInfoProviderAttribute.cs (2)
18public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name)); 19public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
QuickInfo\QuickInfoContext.cs (1)
26public Document Document { get; } = document ?? throw new ArgumentNullException(nameof(document));
SignatureHelp\ExportSignatureHelpProviderAttribute.cs (2)
14public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name)); 15public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
Snippets\ExportSnippetProviderAttribute.cs (2)
15public string Name { get; } = name ?? throw new ArgumentNullException(nameof(name)); 16public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language));
Snippets\SnippetContext.cs (1)
18SyntaxContext = syntaxContext ?? throw new ArgumentNullException(nameof(syntaxContext));
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (4)
47throw new ArgumentNullException(nameof(descriptor)); 270throw new ArgumentNullException(nameof(descriptor)); 350throw new ArgumentNullException(nameof(messageFormat)); 355throw new ArgumentNullException(nameof(formatArguments));
src\roslyn\src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (2)
36diagnosticId = diagnosticId ?? throw new ArgumentNullException(nameof(diagnosticId)); 37options = options ?? throw new ArgumentNullException(nameof(options));
src\roslyn\src\Analyzers\Core\CodeFixes\AddParameter\CodeFixData.cs (2)
20public IMethodSymbol Method { get; } = method ?? throw new ArgumentNullException(nameof(method)); 25public Func<CancellationToken, Task<Solution>> CreateChangedSolutionNonCascading { get; } = createChangedSolutionNonCascading ?? throw new ArgumentNullException(nameof(createChangedSolutionNonCascading));
Microsoft.CodeAnalysis.Features.ExternalAccess (10)
AspNetCore\EmbeddedLanguages\BraceMatching\ExportAspNetCoreEmbeddedLanguageBraceMatcherAttribute.cs (2)
31Name = name ?? throw new ArgumentNullException(nameof(name)); 32Language = language ?? throw new ArgumentNullException(nameof(language));
AspNetCore\EmbeddedLanguages\Classification\ExportAspNetCoreEmbeddedLanguageClassifierAttribute.cs (2)
31Name = name ?? throw new ArgumentNullException(nameof(name)); 32Language = language ?? throw new ArgumentNullException(nameof(language));
AspNetCore\EmbeddedLanguages\DocumentHighlighting\ExportAspNetCoreEmbeddedLanguageClassifierAttribute.cs (2)
31Name = name ?? throw new ArgumentNullException(nameof(name)); 32Language = language ?? throw new ArgumentNullException(nameof(language));
Copilot\Internal\Analyzer\CSharp\CSharpCopilotCodeAnalysisService.cs (4)
45FatalError.ReportAndCatch(new ArgumentNullException(nameof(externalCopilotService)), ErrorSeverity.Diagnostic); 48FatalError.ReportAndCatch(new ArgumentNullException(nameof(externalCSharpCopilotGenerateDocumentationService)), ErrorSeverity.Diagnostic); 51FatalError.ReportAndCatch(new ArgumentNullException(nameof(externalCSharpOnTheFlyDocsService)), ErrorSeverity.Diagnostic); 54FatalError.ReportAndCatch(new ArgumentNullException(nameof(externalCSharpCopilotGenerateImplementationService)), ErrorSeverity.Diagnostic);
Microsoft.CodeAnalysis.NetAnalyzers (94)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidMultipleEnumerations\FlowAnalysis\GlobalFlowStateDictionaryAnalysis.cs (1)
50throw new ArgumentNullException(nameof(cfg));
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Value.cs (2)
28PlatformName = platformPropertyName ?? throw new ArgumentNullException(nameof(platformPropertyName)); 29Version = version ?? throw new ArgumentNullException(nameof(version));
Microsoft.NetCore.Analyzers\Security\Helpers\InsecureObjectGraphResult.cs (1)
34InsecureType = insecureType ?? throw new ArgumentNullException(nameof(insecureType));
src\11b41c7305441175\HazardousUsageEvaluator.cs (7)
39MethodName = trackedTypeMethodName ?? throw new ArgumentNullException(nameof(trackedTypeMethodName)); 40InvocationEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator)); 55ContainingTypeName = containingType ?? throw new ArgumentNullException(nameof(containingType)); 56MethodName = methodName ?? throw new ArgumentNullException(nameof(methodName)); 57ParameterNameOfPropertySetObject = parameterNameOfPropertySetObject ?? throw new ArgumentNullException(nameof(parameterNameOfPropertySetObject)); 58InvocationEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator)); 79ValueEvaluator = evaluator ?? throw new ArgumentNullException(nameof(evaluator));
src\11b41c7305441175\HazardousUsageEvaluatorCollection.cs (1)
25throw new ArgumentNullException(nameof(hazardousUsageEvaluators));
src\11b41c7305441175\PropertyMapperCollection.cs (1)
20throw new ArgumentNullException(nameof(propertyMappers));
src\40daf5e1cab76dff\TaintedDataAnalysisContext.cs (3)
59this.SourceInfos = taintedSourceInfos ?? throw new ArgumentNullException(nameof(taintedSourceInfos)); 60this.SanitizerInfos = taintedSanitizerInfos ?? throw new ArgumentNullException(nameof(taintedSanitizerInfos)); 61this.SinkInfos = taintedSinkInfos ?? throw new ArgumentNullException(nameof(taintedSinkInfos));
src\40daf5e1cab76dff\TaintedDataSourceSink.cs (1)
16Sink = sink ?? throw new ArgumentNullException(nameof(sink));
src\440320f3f10733a8\ValueContentAbstractValue.cs (2)
170throw new ArgumentNullException(nameof(otherState)); 261throw new ArgumentNullException(nameof(otherState));
src\440320f3f10733a8\ValueContentAnalysis.cs (2)
60throw new ArgumentNullException(nameof(cfg)); 94throw new ArgumentNullException(nameof(cfg));
src\8ce1f4f68b646e6d\GlobalFlowStateAnalysis.cs (1)
73throw new ArgumentNullException(nameof(cfg));
src\9382845807600969\AnalysisEntityMapAbstractDomain.cs (2)
29_isTrackedEntity = isTrackedEntity ?? throw new ArgumentNullException(nameof(isTrackedEntity)); 30_isTrackedPointsToValue = isTrackedPointsToValue ?? throw new ArgumentNullException(nameof(isTrackedPointsToValue));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (9)
191throw new ArgumentNullException(nameof(compilation)); 204throw new ArgumentNullException(nameof(context)); 217throw new ArgumentNullException(nameof(context)); 231throw new ArgumentNullException(nameof(symbol)); 236throw new ArgumentNullException(nameof(compilation)); 249throw new ArgumentNullException(nameof(symbol)); 254throw new ArgumentNullException(nameof(context)); 294throw new ArgumentNullException(nameof(symbol)); 299throw new ArgumentNullException(nameof(context));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (5)
19throw new ArgumentNullException(nameof(source)); 39throw new ArgumentNullException(nameof(source)); 116throw new ArgumentNullException(nameof(source)); 153throw new ArgumentNullException(nameof(source)); 190throw new ArgumentNullException(nameof(source));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
250throw new ArgumentNullException(nameof(root)); 284throw new ArgumentNullException(nameof(root));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
28throw new ArgumentNullException(nameof(text)); 33throw new ArgumentNullException(nameof(parser));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\StringExtensions.cs (4)
15throw new ArgumentNullException(nameof(str)); 20throw new ArgumentNullException(nameof(suffix)); 30throw new ArgumentNullException(nameof(str)); 35throw new ArgumentNullException(nameof(suffix));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
54analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\OptionKey.cs (1)
19Name = name ?? throw new ArgumentNullException(nameof(name));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
33this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\WordParser.cs (2)
105_text = text ?? throw new ArgumentNullException(nameof(text)); 239throw new ArgumentNullException(nameof(words));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysis.cs (1)
54throw new ArgumentNullException(nameof(cfg));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (2)
57this.MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 67this.MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (8)
38PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 39MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 51PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 52MapFromValueContentAbstractValue = mapFromValueContentAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromValueContentAbstractValueCallback)); 67PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 68MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback)); 80PropertyName = propertyName ?? throw new ArgumentNullException(nameof(propertyName)); 81MapFromPointsToAbstractValue = mapFromPointsToAbstractValueCallback ?? throw new ArgumentNullException(nameof(mapFromPointsToAbstractValueCallback));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.cs (3)
62throw new ArgumentNullException(nameof(constructorMapper)); 67throw new ArgumentNullException(nameof(propertyMappers)); 72throw new ArgumentNullException(nameof(hazardousUsageEvaluators));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (3)
23FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 26SanitizingMethods = sanitizingMethods ?? throw new ArgumentNullException(nameof(sanitizingMethods)); 27SanitizingInstanceMethods = sanitizingInstanceMethods ?? throw new ArgumentNullException(nameof(sanitizingInstanceMethods));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (4)
19FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 20SinkKinds = sinkKinds ?? throw new ArgumentNullException(nameof(sinkKinds)); 23SinkProperties = sinkProperties ?? throw new ArgumentNullException(nameof(sinkProperties)); 24SinkMethodParameters = sinkMethodParameters ?? throw new ArgumentNullException(nameof(sinkMethodParameters));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (8)
52FullTypeName = fullTypeName ?? throw new ArgumentNullException(nameof(fullTypeName)); 54TaintedProperties = taintedProperties ?? throw new ArgumentNullException(nameof(taintedProperties)); 55TaintedArguments = taintedArguments ?? throw new ArgumentNullException(nameof(taintedArguments)); 56TaintedMethods = taintedMethods ?? throw new ArgumentNullException(nameof(taintedMethods)); 57TaintedMethodsNeedsPointsToAnalysis = taintedMethodsNeedsPointsToAnalysis ?? throw new ArgumentNullException(nameof(taintedMethodsNeedsPointsToAnalysis)); 58TaintedMethodsNeedsValueContentAnalysis = taintedMethodsNeedsValueContentAnalysis ?? throw new ArgumentNullException(nameof(taintedMethodsNeedsValueContentAnalysis)); 59TransferProperties = transferProperties ?? throw new ArgumentNullException(nameof(transferProperties)); 60TransferMethods = transferMethods ?? throw new ArgumentNullException(nameof(transferMethods));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SymbolAccess.cs (6)
18Symbol = symbol ?? throw new ArgumentNullException(nameof(symbol)); 21throw new ArgumentNullException(nameof(syntaxNode)); 25AccessingMethod = accessingMethod ?? throw new ArgumentNullException(nameof(accessingMethod)); 30Symbol = symbol ?? throw new ArgumentNullException(nameof(symbol)); 31Location = location ?? throw new ArgumentNullException(nameof(location)); 32AccessingMethod = accessingMethod ?? throw new ArgumentNullException(nameof(accessingMethod));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (2)
36throw new ArgumentNullException(nameof(wellKnownTypeProvider)); 41throw new ArgumentNullException(nameof(taintedDataInfos));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (1)
40throw new ArgumentNullException(nameof(analysisContext));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (2)
1046throw new ArgumentNullException(nameof(operation)); 1080throw new ArgumentNullException(nameof(operation));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
24ExceptionType = exceptionType ?? throw new ArgumentNullException(nameof(exceptionType));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\SingleThreadedConcurrentDictionary.cs (2)
43throw new ArgumentNullException(nameof(key)); 48throw new ArgumentNullException(nameof(valueFactory));
Microsoft.CodeAnalysis.Razor.Compiler (226)
CSharp\ComponentDetectionConventions.cs (2)
14throw new ArgumentNullException(nameof(symbol)); 19throw new ArgumentNullException(nameof(icomponentSymbol));
Language\BoundAttributeDescriptorBuilder.cs (1)
135throw new ArgumentNullException(nameof(configure));
Language\BoundAttributeDescriptorBuilderExtensions.cs (1)
20throw new ArgumentNullException(nameof(builder));
Language\ChecksumUtilities.cs (1)
15throw new ArgumentNullException(nameof(bytes));
Language\CodeGeneration\IntermediateNodeWriter.cs (2)
71throw new ArgumentNullException(nameof(context)); 76throw new ArgumentNullException(nameof(node));
Language\Components\ComponentCodeDirective.cs (1)
24throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentConstrainedTypeParamDirective.cs (1)
27throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentGenericTypePass.cs (1)
481throw new ArgumentNullException(nameof(typeName));
Language\Components\ComponentInjectDirective.cs (1)
31throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentInjectIntermediateNode.cs (3)
44throw new ArgumentNullException(nameof(visitor)); 64throw new ArgumentNullException(nameof(target)); 69throw new ArgumentNullException(nameof(context));
Language\Components\ComponentLayoutDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentNodeWriter.cs (22)
80throw new ArgumentNullException(nameof(context)); 85throw new ArgumentNullException(nameof(node)); 695throw new ArgumentNullException(nameof(context)); 700throw new ArgumentNullException(nameof(node)); 777throw new ArgumentNullException(nameof(context)); 782throw new ArgumentNullException(nameof(node)); 797throw new ArgumentNullException(nameof(context)); 802throw new ArgumentNullException(nameof(node)); 893throw new ArgumentNullException(nameof(context)); 898throw new ArgumentNullException(nameof(node)); 909throw new ArgumentNullException(nameof(context)); 914throw new ArgumentNullException(nameof(node)); 938throw new ArgumentNullException(nameof(context)); 943throw new ArgumentNullException(nameof(node)); 978throw new ArgumentNullException(nameof(context)); 983throw new ArgumentNullException(nameof(node)); 1235throw new ArgumentNullException(nameof(context)); 1240throw new ArgumentNullException(nameof(node)); 1461throw new ArgumentNullException(nameof(context)); 1466throw new ArgumentNullException(nameof(node)); 1513throw new ArgumentNullException(nameof(context)); 1518throw new ArgumentNullException(nameof(node));
Language\Components\ComponentPageDirective.cs (1)
31throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentPreserveWhitespaceDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentRenderModeDirective.cs (1)
25throw new ArgumentNullException(nameof(builder));
Language\Components\ComponentTypeParamDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Components\TypeNameHelper.cs (1)
75throw new ArgumentNullException(nameof(typeName));
Language\DirectiveDescriptor.cs (8)
63throw new ArgumentNullException(nameof(directive)); 80throw new ArgumentNullException(nameof(directive)); 97throw new ArgumentNullException(nameof(directive)); 113throw new ArgumentNullException(nameof(directive)); 128throw new ArgumentNullException(nameof(directive)); 144throw new ArgumentNullException(nameof(directive)); 159throw new ArgumentNullException(nameof(directive)); 175throw new ArgumentNullException(nameof(directive));
Language\DirectiveDescriptorBuilderExtensions.cs (13)
21throw new ArgumentNullException(nameof(builder)); 43throw new ArgumentNullException(nameof(builder)); 65throw new ArgumentNullException(nameof(builder)); 87throw new ArgumentNullException(nameof(builder)); 109throw new ArgumentNullException(nameof(builder)); 131throw new ArgumentNullException(nameof(builder)); 153throw new ArgumentNullException(nameof(builder)); 175throw new ArgumentNullException(nameof(builder)); 197throw new ArgumentNullException(nameof(builder)); 219throw new ArgumentNullException(nameof(builder)); 241throw new ArgumentNullException(nameof(builder)); 258throw new ArgumentNullException(nameof(builder)); 275throw new ArgumentNullException(nameof(builder));
Language\DirectiveDescriptorComparer.cs (1)
41throw new ArgumentNullException(nameof(descriptor));
Language\DirectiveTokenDescriptorComparer.cs (1)
36throw new ArgumentNullException(nameof(descriptor));
Language\Extensions\AttributeDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Extensions\DefaultMetadataIdentifierFeature.cs (2)
20throw new ArgumentNullException(nameof(codeDocument)); 25throw new ArgumentNullException(nameof(sourceDocument));
Language\Extensions\DefaultTagHelperBodyIntermediateNode.cs (4)
22throw new ArgumentNullException(nameof(bodyNode)); 45throw new ArgumentNullException(nameof(visitor)); 55throw new ArgumentNullException(nameof(target)); 60throw new ArgumentNullException(nameof(context));
Language\Extensions\DefaultTagHelperCreateIntermediateNode.cs (3)
26throw new ArgumentNullException(nameof(visitor)); 36throw new ArgumentNullException(nameof(target)); 41throw new ArgumentNullException(nameof(context));
Language\Extensions\DefaultTagHelperExecuteIntermediateNode.cs (3)
20throw new ArgumentNullException(nameof(visitor)); 30throw new ArgumentNullException(nameof(target)); 35throw new ArgumentNullException(nameof(context));
Language\Extensions\DefaultTagHelperHtmlAttributeIntermediateNode.cs (4)
22throw new ArgumentNullException(nameof(htmlAttributeNode)); 47throw new ArgumentNullException(nameof(visitor)); 57throw new ArgumentNullException(nameof(target)); 62throw new ArgumentNullException(nameof(context));
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (4)
22throw new ArgumentNullException(nameof(propertyNode)); 59throw new ArgumentNullException(nameof(visitor)); 69throw new ArgumentNullException(nameof(target)); 74throw new ArgumentNullException(nameof(context));
Language\Extensions\DefaultTagHelperRuntimeIntermediateNode.cs (3)
20throw new ArgumentNullException(nameof(visitor)); 30throw new ArgumentNullException(nameof(target)); 35throw new ArgumentNullException(nameof(context));
Language\Extensions\FunctionsDirective.cs (1)
25throw new ArgumentNullException(nameof(builder));
Language\Extensions\ImplementsDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Extensions\InheritsDirective.cs (1)
27throw new ArgumentNullException(nameof(builder));
Language\Extensions\MetadataAttributeTargetExtension.cs (6)
24throw new ArgumentNullException(nameof(context)); 29throw new ArgumentNullException(nameof(node)); 48throw new ArgumentNullException(nameof(context)); 53throw new ArgumentNullException(nameof(node)); 87throw new ArgumentNullException(nameof(context)); 92throw new ArgumentNullException(nameof(node));
Language\Extensions\NamespaceDirective.cs (1)
28throw new ArgumentNullException(nameof(builder));
Language\Extensions\PreallocatedTagHelperHtmlAttributeIntermediateNode.cs (3)
22throw new ArgumentNullException(nameof(visitor)); 32throw new ArgumentNullException(nameof(target)); 37throw new ArgumentNullException(nameof(context));
Language\Extensions\PreallocatedTagHelperHtmlAttributeValueIntermediateNode.cs (4)
22throw new ArgumentNullException(nameof(htmlAttributeNode)); 49throw new ArgumentNullException(nameof(visitor)); 59throw new ArgumentNullException(nameof(target)); 64throw new ArgumentNullException(nameof(context));
Language\Extensions\PreallocatedTagHelperPropertyIntermediateNode.cs (4)
22throw new ArgumentNullException(nameof(propertyNode)); 56throw new ArgumentNullException(nameof(visitor)); 66throw new ArgumentNullException(nameof(target)); 71throw new ArgumentNullException(nameof(context));
Language\Extensions\PreallocatedTagHelperPropertyValueIntermediateNode.cs (3)
28throw new ArgumentNullException(nameof(visitor)); 38throw new ArgumentNullException(nameof(target)); 43throw new ArgumentNullException(nameof(context));
Language\Extensions\RazorCompiledItemAttributeIntermediateNode.cs (3)
26throw new ArgumentNullException(nameof(visitor)); 36throw new ArgumentNullException(nameof(target)); 41throw new ArgumentNullException(nameof(context));
Language\Extensions\RazorCompiledItemMetadataAttributeIntermediateNode.cs (3)
38throw new ArgumentNullException(nameof(visitor)); 61throw new ArgumentNullException(nameof(target)); 66throw new ArgumentNullException(nameof(context));
Language\Extensions\RazorSourceChecksumAttributeIntermediateNode.cs (3)
28throw new ArgumentNullException(nameof(visitor)); 38throw new ArgumentNullException(nameof(target)); 43throw new ArgumentNullException(nameof(context));
Language\Extensions\SectionDirective.cs (1)
26throw new ArgumentNullException(nameof(builder));
Language\Extensions\SectionIntermediateNode.cs (3)
22throw new ArgumentNullException(nameof(visitor)); 43throw new ArgumentNullException(nameof(target)); 48throw new ArgumentNullException(nameof(context));
Language\Extensions\TemplateIntermediateNode.cs (3)
20throw new ArgumentNullException(nameof(visitor)); 40throw new ArgumentNullException(nameof(target)); 45throw new ArgumentNullException(nameof(context));
Language\Intermediate\ComponentAttributeIntermediateNode.cs (4)
62throw new ArgumentNullException(nameof(attributeNode)); 81throw new ArgumentNullException(nameof(propertyNode)); 166throw new ArgumentNullException(nameof(visitor)); 176throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\ComponentChildContentIntermediateNode.cs (2)
30throw new ArgumentNullException(nameof(visitor)); 40throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\ComponentIntermediateNode.cs (1)
58throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\ComponentTypeInferenceMethodIntermediateNode.cs (2)
52throw new ArgumentNullException(nameof(visitor)); 62throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\CSharpCodeAttributeValueIntermediateNode.cs (1)
20throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\CSharpCodeIntermediateNode.cs (1)
18throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\CSharpExpressionAttributeValueIntermediateNode.cs (1)
20throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\CSharpExpressionIntermediateNode.cs (1)
18throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\DefaultRazorIntermediateNodeBuilder.cs (2)
33throw new ArgumentNullException(nameof(node)); 83throw new ArgumentNullException(nameof(node));
Language\Intermediate\DocumentIntermediateNode.cs (1)
60throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\ExtensionIntermediateNode.cs (1)
33throw new ArgumentNullException(nameof(context));
Language\Intermediate\FormNameIntermediateNode.cs (2)
16throw new ArgumentNullException(nameof(visitor)); 26throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\HtmlAttributeIntermediateNode.cs (1)
31throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\HtmlAttributeValueIntermediateNode.cs (1)
20throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\HtmlContentIntermediateNode.cs (1)
20throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\IntermediateNodeBuilder.cs (1)
16throw new ArgumentNullException(nameof(root));
Language\Intermediate\MarkupBlockIntermediateNode.cs (2)
20throw new ArgumentNullException(nameof(visitor)); 30throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\MarkupElementIntermediateNode.cs (2)
39throw new ArgumentNullException(nameof(visitor)); 60throw new ArgumentNullException(nameof(formatter));
Language\Intermediate\RenderModeIntermediateNode.cs (1)
17throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\TagHelperBodyIntermediateNode.cs (1)
18throw new ArgumentNullException(nameof(visitor));
Language\Intermediate\UsingDirectiveIntermediateNode.cs (1)
24throw new ArgumentNullException(nameof(visitor));
Language\Legacy\DisposableAction.cs (1)
15_action = action ?? throw new ArgumentNullException(nameof(action));
Language\Legacy\DisposableAction`1.cs (1)
16_action = action ?? throw new ArgumentNullException(nameof(action));
Language\Legacy\LocationTagged.cs (1)
25throw new ArgumentNullException(nameof(value));
Language\Legacy\TextReaderExtensions.cs (16)
19throw new ArgumentNullException(nameof(reader)); 29throw new ArgumentNullException(nameof(reader)); 40throw new ArgumentNullException(nameof(reader)); 45throw new ArgumentNullException(nameof(terminators)); 59throw new ArgumentNullException(nameof(reader)); 64throw new ArgumentNullException(nameof(terminators)); 74throw new ArgumentNullException(nameof(reader)); 79throw new ArgumentNullException(nameof(condition)); 92throw new ArgumentNullException(nameof(reader)); 97throw new ArgumentNullException(nameof(condition)); 120throw new ArgumentNullException(nameof(reader)); 125throw new ArgumentNullException(nameof(condition)); 138throw new ArgumentNullException(nameof(reader)); 143throw new ArgumentNullException(nameof(condition)); 153throw new ArgumentNullException(nameof(reader)); 163throw new ArgumentNullException(nameof(reader));
Language\Legacy\Tokenizer.cs (1)
18throw new ArgumentNullException(nameof(source));
Language\RazorDiagnostic.cs (1)
24_descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor));
Language\RazorDiagnosticDescriptor.cs (2)
32throw new ArgumentNullException(nameof(id), Resources.ArgumentCannotBeNullOrEmpty); 37throw new ArgumentNullException(nameof(messageFormat), Resources.ArgumentCannotBeNullOrEmpty);
Language\RazorLanguageVersion.cs (1)
73throw new ArgumentNullException(nameof(languageVersion));
Language\RazorProjectEngineBuilder.cs (2)
20Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); 21FileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
Language\RazorSourceDocument.cs (17)
62throw new ArgumentNullException(nameof(stream)); 81throw new ArgumentNullException(nameof(stream)); 86throw new ArgumentNullException(nameof(encoding)); 105throw new ArgumentNullException(nameof(stream)); 110throw new ArgumentNullException(nameof(encoding)); 115throw new ArgumentNullException(nameof(properties)); 131throw new ArgumentNullException(nameof(projectItem)); 169throw new ArgumentNullException(nameof(content)); 187throw new ArgumentNullException(nameof(content)); 192throw new ArgumentNullException(nameof(properties)); 209throw new ArgumentNullException(nameof(content)); 214throw new ArgumentNullException(nameof(encoding)); 233throw new ArgumentNullException(nameof(content)); 238throw new ArgumentNullException(nameof(encoding)); 243throw new ArgumentNullException(nameof(properties)); 260throw new ArgumentNullException(nameof(text)); 265throw new ArgumentNullException(nameof(properties));
Language\SourceChange.cs (6)
28throw new ArgumentNullException(nameof(newText)); 39throw new ArgumentNullException(nameof(newText)); 60throw new ArgumentNullException(nameof(node)); 71throw new ArgumentNullException(nameof(text)); 81throw new ArgumentNullException(nameof(node)); 102throw new ArgumentNullException(nameof(node));
Language\TagHelperDescriptorBuilder_Pooling.cs (2)
22builder._name = name ?? throw new ArgumentNullException(nameof(name)); 23builder._assemblyName = assemblyName ?? throw new ArgumentNullException(nameof(assemblyName));
Language\TagHelperDescriptorBuilder.cs (5)
28_name = name ?? throw new ArgumentNullException(nameof(name)); 29_assemblyName = assemblyName ?? throw new ArgumentNullException(nameof(assemblyName)); 114throw new ArgumentNullException(nameof(configure)); 126throw new ArgumentNullException(nameof(configure)); 138throw new ArgumentNullException(nameof(configure));
Language\TagMatchingRuleDescriptorBuilder.cs (1)
38throw new ArgumentNullException(nameof(configure));
Mvc.Version2_X\NamespaceDirective.cs (1)
33throw new ArgumentNullException(nameof(builder));
Mvc\InjectDirective.cs (1)
33throw new ArgumentNullException(nameof(builder));
Mvc\InjectIntermediateNode.cs (3)
31throw new ArgumentNullException(nameof(visitor)); 56throw new ArgumentNullException(nameof(target)); 61throw new ArgumentNullException(nameof(context));
Mvc\InjectTargetExtension.cs (2)
20throw new ArgumentNullException(nameof(context)); 25throw new ArgumentNullException(nameof(node));
Mvc\ModelDirective.cs (2)
29throw new ArgumentNullException(nameof(builder)); 41throw new ArgumentNullException(nameof(document));
Mvc\PageDirective.cs (1)
44throw new ArgumentNullException(nameof(builder));
Microsoft.CodeAnalysis.ResxSourceGenerator (115)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
66throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (9)
190throw new ArgumentNullException(nameof(compilation)); 203throw new ArgumentNullException(nameof(context)); 216throw new ArgumentNullException(nameof(context)); 230throw new ArgumentNullException(nameof(symbol)); 235throw new ArgumentNullException(nameof(compilation)); 248throw new ArgumentNullException(nameof(symbol)); 253throw new ArgumentNullException(nameof(context)); 293throw new ArgumentNullException(nameof(symbol)); 298throw new ArgumentNullException(nameof(context));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (4)
20throw new ArgumentNullException(nameof(source)); 47throw new ArgumentNullException(nameof(source)); 84throw new ArgumentNullException(nameof(source)); 121throw new ArgumentNullException(nameof(source));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
136throw new ArgumentNullException(nameof(root)); 170throw new ArgumentNullException(nameof(root));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
29throw new ArgumentNullException(nameof(text)); 34throw new ArgumentNullException(nameof(parser));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
53analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\OptionKey.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
35this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (2)
106_text = text ?? throw new ArgumentNullException(nameof(text)); 240throw new ArgumentNullException(nameof(words));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
Microsoft.CodeAnalysis.Scripting (23)
CompilationErrorException.cs (1)
27throw new ArgumentNullException(nameof(diagnostics));
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (2)
158throw new ArgumentNullException(nameof(dependency)); 185throw new ArgumentNullException(nameof(dependency));
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
113throw new ArgumentNullException(argumentName);
Hosting\CommandLine\CommandLineScriptGlobals.cs (2)
46throw new ArgumentNullException(nameof(outputWriter)); 51throw new ArgumentNullException(nameof(objectFormatter));
Hosting\InteractiveScriptGlobals.cs (2)
51throw new ArgumentNullException(nameof(outputWriter)); 56throw new ArgumentNullException(nameof(objectFormatter));
Hosting\ObjectFormatter\CommonObjectFormatter.cs (2)
28throw new ArgumentNullException(nameof(options)); 65throw new ArgumentNullException(nameof(e));
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (3)
36throw new ArgumentNullException(nameof(type)); 95throw new ArgumentNullException(nameof(typeArguments)); 135throw new ArgumentNullException(nameof(arrayType));
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
397throw new ArgumentNullException(nameof(numberRadix));
Script.cs (2)
128throw new ArgumentNullException(nameof(code)); 554throw new ArgumentNullException(nameof(previousState));
ScriptState.cs (1)
87throw new ArgumentNullException(nameof(name));
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\ClrGlobalAssemblyCache.cs (1)
209throw new ArgumentNullException(nameof(displayName));
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs (1)
174throw new ArgumentNullException(nameof(displayName));
Utilities\ParameterValidationHelpers.cs (4)
21throw new ArgumentNullException(parameterName); 28throw new ArgumentNullException($"{parameterName}[{i}]"); 61throw new ArgumentNullException($"{parameterName}[{builder.Count}]"); 80throw new ArgumentNullException(parameterName);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbolExtensions.vb (1)
955Throw New Global.System.ArgumentNullException(NameOf(typeArguments))
Microsoft.CodeAnalysis.Workspaces (362)
CodeActions\CodeAction.cs (6)
504throw new ArgumentNullException(nameof(title)); 507throw new ArgumentNullException(nameof(createChangedDocument)); 543throw new ArgumentNullException(nameof(title)); 546throw new ArgumentNullException(nameof(createChangedSolution)); 568throw new ArgumentNullException(nameof(title)); 571throw new ArgumentNullException(nameof(nestedActions));
CodeActions\Operations\ApplyChangesOperation.cs (1)
36public Solution ChangedSolution { get; } = changedSolution ?? throw new ArgumentNullException(nameof(changedSolution));
CodeActions\Operations\OpenDocumentOperation.cs (1)
15public DocumentId DocumentId { get; } = documentId ?? throw new ArgumentNullException(nameof(documentId));
CodeCleanup\CodeCleaner.cs (1)
32throw new ArgumentNullException(nameof(document));
CodeCleanup\Providers\ExportCodeCleanupProvider.cs (1)
30this.Languages = languages ?? throw new ArgumentNullException(nameof(languages));
CodeFixes\CodeFixContext.cs (8)
125TextDocument = document ?? throw new ArgumentNullException(nameof(document)); 128_registerCodeFix = registerCodeFix ?? throw new ArgumentNullException(nameof(registerCodeFix)); 150(diagnostic ?? throw new ArgumentNullException(nameof(diagnostic))).Location.SourceSpan, 174(diagnostic ?? throw new ArgumentNullException(nameof(diagnostic))).Location.SourceSpan, 190throw new ArgumentNullException(nameof(action)); 195throw new ArgumentNullException(nameof(diagnostic)); 210throw new ArgumentNullException(nameof(diagnostics)); 225throw new ArgumentNullException(nameof(action));
CodeFixes\ExportCodeFixProviderAttribute.cs (3)
49throw new ArgumentNullException(nameof(value)); 84throw new ArgumentNullException(nameof(additionalLanguages)); 88languages[0] = firstLanguage ?? throw new ArgumentNullException(nameof(firstLanguage));
CodeFixes\FixAllOccurrences\FixAllContext.cs (10)
158document ?? throw new ArgumentNullException(nameof(document)), 160codeFixProvider ?? throw new ArgumentNullException(nameof(codeFixProvider)), 164fixAllDiagnosticProvider ?? throw new ArgumentNullException(nameof(fixAllDiagnosticProvider))), 194project ?? throw new ArgumentNullException(nameof(project)), 195codeFixProvider ?? throw new ArgumentNullException(nameof(codeFixProvider)), 199fixAllDiagnosticProvider ?? throw new ArgumentNullException(nameof(fixAllDiagnosticProvider))), 226throw new ArgumentNullException(nameof(document)); 263throw new ArgumentNullException(nameof(document)); 284throw new ArgumentNullException(nameof(project)); 298throw new ArgumentNullException(nameof(project));
CodeFixes\FixAllOccurrences\FixAllProvider.cs (2)
87throw new ArgumentNullException(nameof(fixAllAsync)); 90throw new ArgumentNullException(nameof(supportedFixAllScopes));
CodeRefactorings\CodeRefactoringContext.cs (3)
92TextDocument = document ?? throw new ArgumentNullException(nameof(document)); 94_registerRefactoring = registerRefactoring ?? throw new ArgumentNullException(nameof(registerRefactoring)); 119throw new ArgumentNullException(nameof(action));
CodeRefactorings\ExportCodeRefactoringProviderAttribute.cs (3)
45throw new ArgumentNullException(nameof(value)); 78throw new ArgumentNullException(nameof(additionalLanguages)); 82languages[0] = firstLanguage ?? throw new ArgumentNullException(nameof(firstLanguage));
CodeRefactorings\FixAllOccurences\RefactorAllProvider.cs (2)
86throw new ArgumentNullException(nameof(refactorAllAsync)); 89throw new ArgumentNullException(nameof(supportedRefactorAllScopes));
CodeRefactorings\FixAllOccurences\RefactorAllState.cs (2)
40: this(refactorAllProvider, document ?? throw new ArgumentNullException(nameof(document)), document.Project, selectionSpan, codeRefactoringProvider, 52: this(refactorAllProvider, document: null, project ?? throw new ArgumentNullException(nameof(project)), selectionSpan, codeRefactoringProvider,
Differencing\Match.cs (2)
373throw new ArgumentNullException(nameof(oldNodes)); 378throw new ArgumentNullException(nameof(newNodes));
Editing\DocumentEditor.cs (1)
32throw new ArgumentNullException(nameof(document));
Editing\SymbolEditor.cs (3)
35throw new ArgumentNullException(nameof(solution)); 48throw new ArgumentNullException(nameof(document)); 378throw new ArgumentNullException(WorkspacesResources.The_position_is_not_within_the_symbol_s_declaration, nameof(position));
Editing\SymbolEditorExtensions.cs (1)
27throw new ArgumentNullException(nameof(baseOrInterfaceType));
Editing\SyntaxEditor.cs (10)
64: this(root, (workspace ?? throw new ArgumentNullException(nameof(workspace))).Services.SolutionServices) 72: this(root, (services ?? throw new ArgumentNullException(nameof(services))).SolutionServices) 80: this(root ?? throw new ArgumentNullException(nameof(root)), 81SyntaxGenerator.GetGenerator(services ?? throw new ArgumentNullException(nameof(services)), root.Language)) 153throw new ArgumentNullException(nameof(computeReplacement)); 162throw new ArgumentNullException(nameof(computeReplacement)); 171throw new ArgumentNullException(nameof(computeReplacement)); 199throw new ArgumentNullException(nameof(newNodes)); 221throw new ArgumentNullException(nameof(newNodes)); 237throw new ArgumentNullException(nameof(node));
Editing\SyntaxGenerator.cs (3)
1954throw new ArgumentNullException(nameof(dottedName)); 2026throw new ArgumentNullException(nameof(elements)); 2052throw new ArgumentNullException(nameof(elementTypes));
ExternalAccess\UnitTesting\Api\UnitTestingTextDocumentEventArgsWrapper.cs (1)
11internal TextDocumentEventArgs UnderlyingObject { get; } = underlyingObject ?? throw new ArgumentNullException(nameof(underlyingObject));
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
31throw new ArgumentNullException(nameof(project));
FindSymbols\Declarations\DeclarationFinder_SourceDeclarations.cs (8)
30throw new ArgumentNullException(nameof(solution)); 35throw new ArgumentNullException(nameof(name)); 68throw new ArgumentNullException(nameof(project)); 73throw new ArgumentNullException(nameof(name)); 106throw new ArgumentNullException(nameof(solution)); 111throw new ArgumentNullException(nameof(pattern)); 139throw new ArgumentNullException(nameof(project)); 144throw new ArgumentNullException(nameof(pattern));
FindSymbols\SearchQuery.cs (2)
30Name = name ?? throw new ArgumentNullException(nameof(name)); 57_predicate = predicate ?? throw new ArgumentNullException(nameof(predicate));
FindSymbols\SymbolFinder_Callers.cs (2)
36throw new System.ArgumentNullException(nameof(symbol)); 38throw new System.ArgumentNullException(nameof(solution));
FindSymbols\SymbolFinder_Declarations_CustomQueries.cs (2)
48throw new ArgumentNullException(nameof(solution)); 93throw new ArgumentNullException(nameof(project));
FindSymbols\SymbolFinder_FindReferences_Legacy.cs (6)
31throw new System.ArgumentNullException(nameof(symbol)); 33throw new System.ArgumentNullException(nameof(solution)); 65throw new System.ArgumentNullException(nameof(symbol)); 67throw new System.ArgumentNullException(nameof(solution)); 88throw new System.ArgumentNullException(nameof(symbol)); 90throw new System.ArgumentNullException(nameof(solution));
FindSymbols\SymbolFinder_Hierarchy.cs (8)
235throw new ArgumentNullException(nameof(type)); 238throw new ArgumentNullException(nameof(solution)); 271throw new ArgumentNullException(nameof(type)); 274throw new ArgumentNullException(nameof(solution)); 307throw new ArgumentNullException(nameof(type)); 310throw new ArgumentNullException(nameof(solution)); 335throw new ArgumentNullException(nameof(symbol)); 338throw new ArgumentNullException(nameof(solution));
FindSymbols\SymbolFinder.cs (6)
49throw new ArgumentNullException(nameof(workspace)); 84throw new ArgumentNullException(nameof(semanticModel)); 86throw new ArgumentNullException(nameof(services)); 129throw new ArgumentNullException(nameof(document)); 158throw new ArgumentNullException(nameof(symbol)); 161throw new ArgumentNullException(nameof(compilation));
FindSymbols\SyntaxTree\SyntaxTreeIndex.IdentifierInfo.cs (2)
17private readonly BloomFilter _identifierFilter = identifierFilter ?? throw new ArgumentNullException(nameof(identifierFilter)); 18private readonly BloomFilter _escapedIdentifierFilter = escapedIdentifierFilter ?? throw new ArgumentNullException(nameof(escapedIdentifierFilter));
FindSymbols\SyntaxTree\SyntaxTreeIndex.LiteralInfo.cs (1)
15private readonly BloomFilter _literalsFilter = literalsFilter ?? throw new ArgumentNullException(nameof(literalsFilter));
Formatting\Formatter.cs (7)
126throw new ArgumentNullException(nameof(document)); 131throw new ArgumentNullException(nameof(annotation)); 163throw new ArgumentNullException(nameof(workspace)); 168throw new ArgumentNullException(nameof(node)); 173throw new ArgumentNullException(nameof(annotation)); 236throw new ArgumentNullException(nameof(workspace)); 241throw new ArgumentNullException(nameof(node));
Options\Option.cs (4)
39: this(feature ?? throw new ArgumentNullException(nameof(feature)), 40name ?? throw new ArgumentNullException(nameof(name)), 50: this(feature ?? throw new ArgumentNullException(nameof(feature)), 51name ?? throw new ArgumentNullException(nameof(name)),
Options\OptionKey.cs (2)
23throw new ArgumentNullException(nameof(option)); 33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option);
Options\PerLanguageOption.cs (4)
31: this(feature ?? throw new ArgumentNullException(nameof(feature)), 33name ?? throw new ArgumentNullException(nameof(name)), 42: this(feature ?? throw new ArgumentNullException(nameof(feature)), 44name ?? throw new ArgumentNullException(nameof(name)),
Progress\CodeAnalysisProgress.cs (1)
36=> new() { DescriptionValue = description ?? throw new ArgumentNullException(nameof(description)) };
Rename\Renamer.cs (3)
45throw new ArgumentNullException(nameof(solution)); 48throw new ArgumentNullException(nameof(symbol)); 105throw new ArgumentNullException(nameof(document));
Rename\Renamer.RenameDocumentActionSet.cs (1)
77throw new ArgumentNullException(nameof(solution));
Shared\Extensions\IComparerExtensions.cs (1)
16throw new ArgumentNullException(nameof(comparer));
Shared\Extensions\SourceTextExtensions.cs (1)
331throw new ArgumentNullException(nameof(buffer));
Shared\Utilities\BloomFilter.cs (1)
64_bitArray = bitArray ?? throw new ArgumentNullException(nameof(bitArray));
Simplification\Simplifier.cs (16)
66throw new ArgumentNullException(nameof(node)); 71throw new ArgumentNullException(nameof(document)); 84throw new ArgumentNullException(nameof(workspace)); 95throw new ArgumentNullException(nameof(node)); 98throw new ArgumentNullException(nameof(semanticModel)); 101throw new ArgumentNullException(nameof(services)); 116throw new ArgumentNullException(nameof(document)); 129throw new ArgumentNullException(nameof(workspace)); 140throw new ArgumentNullException(nameof(semanticModel)); 143throw new ArgumentNullException(nameof(services)); 156throw new ArgumentNullException(nameof(document)); 179throw new ArgumentNullException(nameof(document)); 184throw new ArgumentNullException(nameof(annotation)); 207throw new ArgumentNullException(nameof(document)); 226throw new ArgumentNullException(nameof(document)); 231throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
110throw new ArgumentNullException(nameof(baseDirectory));
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (10)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (4)
160throw new ArgumentNullException(nameof(destination)); 177throw new ArgumentNullException(nameof(destination)); 197throw new ArgumentNullException(nameof(destination)); 468throw new ArgumentNullException(nameof(namespaceOrType));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (2)
53throw new ArgumentNullException(nameof(documentId)); 80throw new ArgumentNullException(nameof(documentId));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
22=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName);
TemporaryStorage\TemporaryStorageService.DirectMemoryAccessStreamReader.cs (1)
53throw new ArgumentNullException(nameof(buffer));
Workspace\AdhocWorkspace.cs (7)
50throw new ArgumentNullException(nameof(solutionInfo)); 76throw new ArgumentNullException(nameof(projectInfo)); 94throw new ArgumentNullException(nameof(projectInfos)); 112throw new ArgumentNullException(nameof(projectId)); 117throw new ArgumentNullException(nameof(name)); 122throw new ArgumentNullException(nameof(text)); 138throw new ArgumentNullException(nameof(documentInfo));
Workspace\Host\Documentation\DocumentationProviderService.cs (1)
24throw new ArgumentNullException(nameof(assemblyPath));
Workspace\Host\EventListener\ExportEventListenerAttribute.cs (2)
32throw new ArgumentNullException(nameof(workspaceKinds)); 35this.Service = service ?? throw new ArgumentNullException(nameof(service));
Workspace\Host\Mef\ExportLanguageServiceAttribute.cs (2)
32public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language)); 37public string Layer { get; } = layer ?? throw new ArgumentNullException(nameof(layer));
Workspace\Host\Mef\ExportLanguageServiceFactoryAttribute.cs (2)
32public string Language { get; } = language ?? throw new ArgumentNullException(nameof(language)); 37public string Layer { get; } = layer ?? throw new ArgumentNullException(nameof(layer));
Workspace\Host\Mef\ExportWorkspaceServiceAttribute.cs (1)
31public string Layer { get; } = layer ?? throw new ArgumentNullException(nameof(layer));
Workspace\Host\Mef\ExportWorkspaceServiceFactoryAttribute.cs (1)
31public string Layer { get; } = layer ?? throw new ArgumentNullException(nameof(layer));
Workspace\Host\Mef\MefHostServices.cs (2)
32throw new ArgumentNullException(nameof(compositionContext)); 42throw new ArgumentNullException(nameof(assemblies));
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (2)
136throw new ArgumentNullException(nameof(textContainer)); 247throw new ArgumentNullException(nameof(textContainer));
Workspace\ProjectSystem\ProjectSystemProject.cs (3)
1131throw new ArgumentNullException(nameof(projectReference)); 1148throw new ArgumentNullException(nameof(projectReference)); 1193throw new ArgumentNullException(nameof(projectReference));
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (2)
45_project = project ?? throw new ArgumentNullException(nameof(project)); 82throw new ArgumentNullException(nameof(commandLine));
Workspace\Solution\AdditionalTextWithState.cs (1)
19private readonly AdditionalDocumentState _documentState = documentState ?? throw new ArgumentNullException(nameof(documentState));
Workspace\Solution\DocumentId.cs (1)
52throw new ArgumentNullException(nameof(projectId));
Workspace\Solution\DocumentInfo.cs (4)
87id ?? throw new ArgumentNullException(nameof(id)), 88name ?? throw new ArgumentNullException(nameof(name)), 118=> With(attributes: Attributes.With(id: id ?? throw new ArgumentNullException(nameof(id)))); 121=> With(attributes: Attributes.With(name: name ?? throw new ArgumentNullException(nameof(name))));
Workspace\Solution\Project.cs (1)
542throw new ArgumentNullException(nameof(oldProject));
Workspace\Solution\ProjectDependencyGraph.cs (6)
173throw new ArgumentNullException(nameof(projectId)); 186throw new ArgumentNullException(nameof(projectId)); 256throw new ArgumentNullException(nameof(projectId)); 270throw new ArgumentNullException(nameof(projectId)); 322throw new ArgumentNullException(nameof(projectId)); 553throw new ArgumentNullException(nameof(projectId));
Workspace\Solution\ProjectInfo.cs (7)
234id ?? throw new ArgumentNullException(nameof(id)), 236name ?? throw new ArgumentNullException(nameof(name)), 237assemblyName ?? throw new ArgumentNullException(nameof(assemblyName)), 238language ?? throw new ArgumentNullException(nameof(language)), 336=> With(attributes: Attributes.With(id: id ?? throw new ArgumentNullException(nameof(id)))); 342=> With(attributes: Attributes.With(name: name ?? throw new ArgumentNullException(nameof(name)))); 345=> With(attributes: Attributes.With(assemblyName: assemblyName ?? throw new ArgumentNullException(nameof(assemblyName))));
Workspace\Solution\Solution.cs (53)
403throw new ArgumentNullException(nameof(assemblyName)); 468throw new ArgumentNullException(nameof(name)); 494throw new ArgumentNullException(nameof(options)); 510throw new ArgumentNullException(nameof(options)); 610throw new ArgumentNullException(nameof(documentIds)); 645[projectReference ?? throw new ArgumentNullException(nameof(projectReference))]); 693throw new ArgumentNullException(nameof(projectReference)); 743[metadataReference ?? throw new ArgumentNullException(nameof(metadataReference))]); 787throw new ArgumentNullException(nameof(metadataReference)); 823[analyzerReference ?? throw new ArgumentNullException(nameof(analyzerReference))]); 840throw new ArgumentNullException(nameof(analyzerReferences)); 874throw new ArgumentNullException(nameof(analyzerReference)); 914[analyzerReference ?? throw new ArgumentNullException(nameof(analyzerReference))]); 950throw new ArgumentNullException(nameof(analyzerReference)); 980throw new ArgumentNullException(nameof(documentId)); 983throw new ArgumentNullException(nameof(name)); 998throw new ArgumentNullException(nameof(documentId)); 1001throw new ArgumentNullException(nameof(name)); 1004throw new ArgumentNullException(nameof(text)); 1017throw new ArgumentNullException(nameof(documentId)); 1020throw new ArgumentNullException(nameof(name)); 1023throw new ArgumentNullException(nameof(syntaxRoot)); 1051throw new ArgumentNullException(nameof(documentId)); 1054throw new ArgumentNullException(nameof(name)); 1057throw new ArgumentNullException(nameof(loader)); 1099throw new ArgumentNullException(nameof(documentId)); 1104throw new ArgumentNullException(nameof(name)); 1109throw new ArgumentNullException(nameof(text)); 1130throw new ArgumentNullException(nameof(documentId)); 1135throw new ArgumentNullException(nameof(name)); 1140throw new ArgumentNullException(nameof(text)); 1246throw new ArgumentNullException(nameof(name)); 1298throw new ArgumentNullException(nameof(text)); 1317throw new ArgumentNullException(nameof(text)); 1338throw new ArgumentNullException(nameof(text)); 1359throw new ArgumentNullException(nameof(textAndVersion)); 1380throw new ArgumentNullException(nameof(textAndVersion)); 1401throw new ArgumentNullException(nameof(textAndVersion)); 1430throw new ArgumentNullException(nameof(root)); 1479throw new ArgumentNullException(nameof(loader)); 1500throw new ArgumentNullException(nameof(loader)); 1521throw new ArgumentNullException(nameof(loader)); 1649throw new ArgumentNullException(nameof(documentIds)); 1654throw new ArgumentNullException(nameof(text)); 1706throw new ArgumentNullException(nameof(oldSolution)); 1756null => throw new ArgumentNullException(nameof(options)), 1771throw new ArgumentNullException(nameof(projectId)); 1784throw new ArgumentNullException(nameof(documentId)); 1814throw new ArgumentNullException(nameof(documentIds)); 1827throw new ArgumentNullException(nameof(documentId)); 1840throw new ArgumentNullException(nameof(documentIds)); 1853throw new ArgumentNullException(nameof(documentId)); 1866throw new ArgumentNullException(nameof(documentIds));
Workspace\Solution\SolutionCompilationState.cs (1)
1783throw new ArgumentNullException(nameof(documentInfos));
Workspace\Solution\SolutionInfo.cs (1)
102id ?? throw new ArgumentNullException(nameof(id)),
Workspace\Solution\SolutionState.cs (3)
390throw new ArgumentNullException(nameof(projectInfo)); 396throw new ArgumentNullException(nameof(language)); 400throw new ArgumentNullException(nameof(displayName));
Workspace\Solution\TextAndVersion.cs (1)
54=> new(text ?? throw new ArgumentNullException(nameof(text)), version, filePath, exceptionMessage: null);
Workspace\Solution\TextLoader.cs (2)
174throw new ArgumentNullException(nameof(textAndVersion)); 190throw new ArgumentNullException(nameof(container));
Workspace\TextDocumentEventArgs.cs (1)
11public TextDocument Document { get; } = document ?? throw new ArgumentNullException(nameof(document));
Workspace\Workspace_Editor.cs (3)
220throw new ArgumentNullException(nameof(container)); 240throw new ArgumentNullException(nameof(container)); 263throw new ArgumentNullException(nameof(documentId));
Workspace\Workspace_Events.cs (1)
99throw new ArgumentNullException(nameof(newSolution));
Workspace\Workspace_Registration.cs (4)
25throw new ArgumentNullException(nameof(textContainer)); 41throw new ArgumentNullException(nameof(textContainer)); 62throw new ArgumentNullException(nameof(textContainer)); 80throw new ArgumentNullException(nameof(textContainer));
Workspace\Workspace.cs (2)
181throw new ArgumentNullException(nameof(solution)); 541null => throw new ArgumentNullException(nameof(value)),
Workspace\WorkspaceChangeEventArgs.cs (2)
71this.OldSolution = oldSolution ?? throw new ArgumentNullException(nameof(oldSolution)); 72this.NewSolution = newSolution ?? throw new ArgumentNullException(nameof(newSolution));
Microsoft.CodeAnalysis.Workspaces.MSBuild (8)
MSBuild\MSBuildProjectLoader.cs (4)
113throw new ArgumentNullException(nameof(projectFileExtension)); 118throw new ArgumentNullException(nameof(language)); 165throw new ArgumentNullException(nameof(solutionFilePath)); 225throw new ArgumentNullException(nameof(projectFilePath));
MSBuild\MSBuildWorkspace.cs (4)
83throw new ArgumentNullException(nameof(properties)); 88throw new ArgumentNullException(nameof(hostServices)); 209throw new ArgumentNullException(nameof(solutionFilePath)); 256throw new ArgumentNullException(nameof(projectFilePath));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
Microsoft.Data.Analysis (24)
DataFrame.cs (2)
621throw new ArgumentNullException(nameof(row)); 753throw new ArgumentNullException(nameof(idColumns));
DataFrame.Join.cs (3)
177throw new ArgumentNullException(nameof(retainedJoinColumnNames)); 180throw new ArgumentNullException(nameof(supplemetaryJoinColumnNames)); 334throw new ArgumentNullException(nameof(other));
DataFrameColumnCollection.cs (3)
23columns = columns ?? throw new ArgumentNullException(nameof(columns)); 72column = column ?? throw new ArgumentNullException(nameof(column)); 105column = column ?? throw new ArgumentNullException(nameof(column));
DataFrameColumns\StringDataFrameColumn.cs (4)
43values = values ?? throw new ArgumentNullException(nameof(values)); 342mapIndices = mapIndices ?? throw new ArgumentNullException(nameof(mapIndices)); 364mapIndices = mapIndices ?? throw new ArgumentNullException(nameof(mapIndices)); 451throw new ArgumentNullException(nameof(value));
DataFrameColumns\VBufferDataFrameColumn.cs (3)
46values = values ?? throw new ArgumentNullException(nameof(values)); 228mapIndices = mapIndices ?? throw new ArgumentNullException(nameof(mapIndices)); 250mapIndices = mapIndices ?? throw new ArgumentNullException(nameof(mapIndices));
DataFrameRowCollection.cs (1)
23_dataFrame = dataFrame ?? throw new ArgumentNullException(nameof(dataFrame));
PrimitiveColumnContainer.cs (3)
30values = values ?? throw new ArgumentNullException(nameof(values)); 39values = values ?? throw new ArgumentNullException(nameof(values)); 68throw new ArgumentNullException(Strings.InconsistentNullBitMapAndNullCount, nameof(nullBitMap));
TextFieldParser.cs (5)
391_reader = reader ?? throw new ArgumentNullException(nameof(reader)); 553throw new ArgumentNullException(nameof(path)); 557throw new ArgumentNullException(nameof(defaultEncoding)); 569throw new ArgumentNullException(nameof(stream)); 577throw new ArgumentNullException(nameof(defaultEncoding));
Microsoft.Data.Analysis.Interactive (1)
TabularDataResourceExtensions.cs (1)
19throw new ArgumentNullException(nameof(tabularDataResource));
Microsoft.Data.Analysis.Tests (5)
src\Microsoft.Data.Analysis\TextFieldParser.cs (5)
391_reader = reader ?? throw new ArgumentNullException(nameof(reader)); 553throw new ArgumentNullException(nameof(path)); 557throw new ArgumentNullException(nameof(defaultEncoding)); 569throw new ArgumentNullException(nameof(stream)); 577throw new ArgumentNullException(nameof(defaultEncoding));
Microsoft.Deployment.DotNet.Releases (12)
Product.cs (2)
200throw new ArgumentNullException(nameof(address)); 235throw new ArgumentNullException(nameof(stream));
ProductCollection.cs (3)
58throw new ArgumentNullException(nameof(releasesIndexUri)); 78throw new ArgumentNullException(nameof(releasesIndexUrl)); 112throw new ArgumentNullException(nameof(stream));
ReleaseFile.cs (1)
108throw new ArgumentNullException(nameof(destinationPath));
ReleaseVersion.cs (2)
555throw new ArgumentNullException(nameof(input)); 678throw new ArgumentNullException(nameof(input));
Utils.cs (4)
85throw new ArgumentNullException(nameof(fileName)); 95throw new ArgumentNullException(nameof(hashAlgorithm)); 122throw new ArgumentNullException(nameof(path)); 127throw new ArgumentNullException(nameof(address));
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\Loader_1.cs (3)
57throw new ArgumentNullException(nameof(modulePointer)); 64throw new ArgumentNullException(nameof(assemblyPointer)); 76throw new ArgumentNullException(nameof(appDomain));
Contracts\RuntimeTypeSystem_1.cs (1)
2398throw new ArgumentNullException(nameof(fieldDef), "Field definition is required for big RVA fields");
Microsoft.Diagnostics.DataContractReader.Legacy (42)
ClrDataAppDomain.cs (2)
116throw new ArgumentNullException(nameof(id)); 145throw new ArgumentNullException(nameof(flags));
ClrDataExceptionState.cs (1)
51throw new ArgumentNullException(nameof(flags));
ClrDataMethodDefinition.cs (4)
517throw new ArgumentNullException(nameof(handle)); 519throw new ArgumentNullException(nameof(extent)); 606throw new ArgumentNullException(nameof(flags)); 698throw new ArgumentNullException(nameof(addr));
ClrDataMethodInstance.cs (3)
593throw new ArgumentNullException(nameof(handle)); 633throw new ArgumentNullException(nameof(handle)); 635throw new ArgumentNullException(nameof(extent));
ClrDataValue.cs (1)
731throw new ArgumentNullException(nameof(handle));
Dbi\DacDbiImpl.cs (25)
444throw new ArgumentNullException(nameof(pSize)); 482throw new ArgumentNullException(nameof(pBuffer)); 526throw new ArgumentNullException(nameof(pTargetBuffer)); 529throw new ArgumentNullException(nameof(pSymbolFormat)); 579throw new ArgumentNullException(nameof(pData)); 627throw new ArgumentNullException(nameof(pModule)); 670throw new ArgumentNullException(nameof(pIsManaged)); 795throw new ArgumentNullException(nameof(fpCallback)); 1029throw new ArgumentNullException(nameof(fpCallback)); 2346throw new ArgumentNullException(nameof(pRetVal)); 2523throw new ArgumentNullException(nameof(pRetVal)); 3135throw new ArgumentNullException(nameof(fpCallback)); 3189throw new ArgumentNullException(nameof(fpCallback)); 3742throw new ArgumentNullException(nameof(pcGenericClassTypeParams)); 3744throw new ArgumentNullException(nameof(fpCallback)); 4083throw new ArgumentNullException(nameof(fpCallback)); 4261throw new ArgumentNullException(nameof(fpCallback)); 4354throw new ArgumentNullException(nameof(fpCallback)); 5087throw new ArgumentNullException(nameof(fpCallback)); 6182throw new ArgumentNullException(nameof(ppFunctionAssembly)); 6184throw new ArgumentNullException(nameof(pMethodDef)); 6243throw new ArgumentNullException(nameof(ppTargetObj)); 6290throw new ArgumentNullException(nameof(isModuleMapped)); 6353throw new ArgumentNullException(nameof(pVmAssembly)); 6446throw new ArgumentNullException(nameof(fpCallback));
SOSDacImpl.IXCLRDataProcess.cs (6)
233throw new ArgumentNullException(nameof(type)); 434throw new ArgumentNullException(nameof(handle)); 477throw new ArgumentNullException(nameof(handle)); 620throw new ArgumentNullException(nameof(handle)); 666throw new ArgumentNullException(nameof(handle)); 1697throw new ArgumentNullException(nameof(handle));
Microsoft.Diagnostics.NETCore.Client (8)
BinaryWriterExtensions.cs (1)
16throw new ArgumentNullException(nameof(@this));
DiagnosticsClient\DiagnosticsClient.cs (4)
344throw new ArgumentNullException(nameof(startupHookPath)); 362throw new ArgumentNullException(nameof(startupHookPath)); 774throw new ArgumentNullException($"{nameof(dumpPath)} required"); 793throw new ArgumentNullException($"{nameof(dumpPath)} required");
DiagnosticsClient\DiagnosticsClientConnector.cs (1)
58throw new ArgumentNullException(nameof(diagnosticPort));
DiagnosticsClient\EventPipeSessionConfiguration.cs (1)
117throw new ArgumentNullException(nameof(providers));
ReversedServer\ReversedDiagnosticsServer.cs (1)
378throw new ArgumentNullException(nameof(stream));
Microsoft.DiaSymReader (64)
Extensions\SymUnmanagedExtensions.Binder.cs (2)
20throw new ArgumentNullException(nameof(binder)); 32throw new ArgumentNullException(nameof(binder));
Extensions\SymUnmanagedExtensions.Constant.cs (3)
17throw new ArgumentNullException(nameof(constant)); 28throw new ArgumentNullException(nameof(constant)); 40throw new ArgumentNullException(nameof(constant));
Extensions\SymUnmanagedExtensions.Document.cs (7)
19throw new ArgumentNullException(nameof(document)); 30throw new ArgumentNullException(nameof(document)); 41throw new ArgumentNullException(nameof(document)); 53throw new ArgumentNullException(nameof(document)); 65throw new ArgumentNullException(nameof(document)); 77throw new ArgumentNullException(nameof(document)); 97throw new ArgumentNullException(nameof(document));
Extensions\SymUnmanagedExtensions.Method.cs (9)
18throw new ArgumentNullException(nameof(method)); 30throw new ArgumentNullException(nameof(method)); 40throw new ArgumentNullException(nameof(method)); 51throw new ArgumentNullException(nameof(method)); 62throw new ArgumentNullException(nameof(method)); 73throw new ArgumentNullException(nameof(method)); 129throw new ArgumentNullException(nameof(method)); 148throw new ArgumentNullException(nameof(method)); 160throw new ArgumentNullException(nameof(method));
Extensions\SymUnmanagedExtensions.Namespace.cs (1)
17throw new ArgumentNullException(nameof(@namespace));
Extensions\SymUnmanagedExtensions.Reader.cs (11)
23throw new ArgumentNullException(nameof(reader)); 33throw new ArgumentNullException(nameof(reader)); 46throw new ArgumentNullException(nameof(reader)); 66throw new ArgumentNullException(nameof(reader)); 86throw new ArgumentNullException(nameof(reader)); 98throw new ArgumentNullException(nameof(reader)); 109throw new ArgumentNullException(nameof(reader)); 120throw new ArgumentNullException(nameof(reader)); 144throw new ArgumentNullException(nameof(reader)); 169throw new ArgumentNullException(nameof(reader)); 183throw new ArgumentNullException(nameof(reader));
Extensions\SymUnmanagedExtensions.Scope.cs (7)
17throw new ArgumentNullException(nameof(scope)); 29throw new ArgumentNullException(nameof(scope)); 41throw new ArgumentNullException(nameof(scope)); 52throw new ArgumentNullException(nameof(scope)); 63throw new ArgumentNullException(nameof(scope)); 78throw new ArgumentNullException(nameof(scope)); 91throw new ArgumentNullException(nameof(scope));
Extensions\SymUnmanagedExtensions.Variable.cs (3)
17throw new ArgumentNullException(nameof(local)); 29throw new ArgumentNullException(nameof(local)); 41throw new ArgumentNullException(nameof(local));
Extensions\SymUnmanagedStreamFactory.cs (1)
17throw new ArgumentNullException(nameof(stream));
Reader\SymUnmanagedReaderFactory.cs (4)
44throw new ArgumentNullException(nameof(pdbStream)); 49throw new ArgumentNullException(nameof(metadataImport)); 106throw new ArgumentNullException(nameof(metadataProvider)); 122throw new ArgumentNullException(nameof(metadataProvider));
Writer\SymUnmanagedSequencePointsWriter.cs (1)
27_writer = writer ?? throw new ArgumentNullException(nameof(writer));
Writer\SymUnmanagedWriterFactory.cs (1)
39throw new ArgumentNullException(nameof(metadataProvider));
Writer\SymUnmanagedWriterImpl.cs (14)
57throw new ArgumentNullException(nameof(stream)); 150throw new ArgumentNullException(nameof(name)); 203if (offsets == null) throw new ArgumentNullException(nameof(offsets)); 204if (startLines == null) throw new ArgumentNullException(nameof(startLines)); 205if (startColumns == null) throw new ArgumentNullException(nameof(startColumns)); 206if (endLines == null) throw new ArgumentNullException(nameof(endLines)); 207if (endColumns == null) throw new ArgumentNullException(nameof(endColumns)); 455throw new ArgumentNullException(nameof(importString)); 477if (yieldOffsets == null) throw new ArgumentNullException(nameof(yieldOffsets)); 478if (resumeOffsets == null) throw new ArgumentNullException(nameof(resumeOffsets)); 527throw new ArgumentNullException(nameof(metadata)); 583throw new ArgumentNullException(nameof(data)); 610throw new ArgumentNullException(nameof(data)); 748throw new ArgumentNullException(nameof(name));
Microsoft.DotNet.ApiCompat.Task (6)
src\sdk\src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\ValidateAssembliesOptions.cs (2)
13LeftAssemblies = leftAssemblies ?? throw new ArgumentNullException(nameof(leftAssemblies)); 14RightAssemblies = rightAssemblies ?? throw new ArgumentNullException(nameof(rightAssemblies));
src\sdk\src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\ValidatePackageOptions.cs (1)
15PackagePath = packagePath ?? throw new ArgumentNullException(nameof(packagePath));
ValidateAssembliesTask.cs (2)
135if (LeftAssemblies is null) throw new ArgumentNullException(nameof(LeftAssemblies)); 136if (RightAssemblies is null) throw new ArgumentNullException(nameof(RightAssemblies));
ValidatePackageTask.cs (1)
143if (PackageTargetPath is null) throw new ArgumentNullException(nameof(PackageTargetPath));
Microsoft.DotNet.ApiSymbolExtensions (2)
AssemblySymbolLoader.cs (2)
271throw new ArgumentNullException(nameof(filePaths), Resources.ShouldNotBeNullAndContainAtLeastOneElement); 276throw new ArgumentNullException(nameof(assemblyName), Resources.ShouldProvideValidAssemblyName);
Microsoft.DotNet.Build.Manifest (2)
BuildModel.cs (1)
15throw new ArgumentNullException(nameof(identity));
BuildModelFactory.cs (1)
82throw new ArgumentNullException(nameof(artifacts));
Microsoft.DotNet.Build.Tasks.FileCatalog (1)
CatalogBuilder.cs (1)
72throw new ArgumentNullException(nameof(entry));
Microsoft.DotNet.Build.Tasks.Packaging (1)
NuGetUtility.cs (1)
77throw new ArgumentNullException(nameof(settings));
Microsoft.DotNet.Build.Tasks.Workloads (3)
Swix\SwixProjectBase.cs (1)
85_ = relativePackagePath ?? throw new ArgumentNullException(nameof(relativePackagePath));
Utils.cs (1)
94throw new ArgumentNullException(name);
Wix\WixToolTaskBase.cs (1)
40BuildEngine = engine ?? throw new ArgumentNullException(nameof(engine));
Microsoft.DotNet.Cli.Definitions (15)
Help\HelpBuilder.cs (4)
43throw new ArgumentNullException(nameof(context)); 70throw new ArgumentNullException(nameof(symbol)); 87_getLayout = getLayout ?? throw new ArgumentNullException(nameof(getLayout)); 181throw new ArgumentNullException(nameof(symbol));
Help\HelpContext.cs (3)
26public HelpBuilder HelpBuilder { get; } = helpBuilder ?? throw new ArgumentNullException(nameof(helpBuilder)); 31public Command Command { get; } = command ?? throw new ArgumentNullException(nameof(command)); 36public TextWriter Output { get; } = output ?? throw new ArgumentNullException(nameof(output));
Telemetry\EnvironmentDetectionRule.cs (8)
27_variables = variables ?? throw new ArgumentNullException(nameof(variables)); 45_variables = variables ?? throw new ArgumentNullException(nameof(variables)); 63_variables = variables ?? throw new ArgumentNullException(nameof(variables)); 81_rules = rules ?? throw new ArgumentNullException(nameof(rules)); 100_variable = variable ?? throw new ArgumentNullException(nameof(variable)); 101_expectedValue = expectedValue ?? throw new ArgumentNullException(nameof(expectedValue)); 123_rule = rule ?? throw new ArgumentNullException(nameof(rule)); 124_result = result ?? throw new ArgumentNullException(nameof(result));
Microsoft.DotNet.Cli.Utils (15)
BuiltInCommand.cs (2)
90throw new ArgumentNullException(nameof(handler)); 102throw new ArgumentNullException(nameof(handler));
Command.cs (1)
10private readonly Process _process = process ?? throw new ArgumentNullException(nameof(process));
DependencyProvider.cs (3)
95throw new ArgumentNullException(nameof(providerKeyName)); 119throw new ArgumentNullException(nameof(dependent)); 141throw new ArgumentNullException(nameof(dependent));
InstallerSuccessReport.cs (1)
8public string ExeName { get; } = exeName ?? throw new ArgumentNullException(nameof(exeName));
PathUtility.cs (4)
26throw new ArgumentNullException(nameof(dir)); 30throw new ArgumentNullException(nameof(candidate)); 232throw new ArgumentNullException(nameof(basePath)); 237throw new ArgumentNullException(nameof(relativePath));
StreamForwarder.cs (1)
109throw new ArgumentNullException(nameof(obj));
ToolCommandName.cs (1)
12throw new ArgumentNullException(nameof(name));
TypoCorrection.cs (2)
108throw new ArgumentNullException(nameof(first)); 113throw new ArgumentNullException(nameof(second));
Microsoft.DotNet.Configurer (4)
BashPathUnderHomeDirectory.cs (2)
14fullHomeDirectoryPath ?? throw new ArgumentNullException(nameof(fullHomeDirectoryPath)); 15_pathRelativeToHome = pathRelativeToHome ?? throw new ArgumentNullException(nameof(pathRelativeToHome));
DotnetFirstTimeUseConfigurer.cs (1)
36_pathAdder = pathAdder ?? throw new ArgumentNullException(nameof(pathAdder));
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
27_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
16throw new ArgumentNullException(nameof(command));
Microsoft.DotNet.PackageValidation (1)
Validators\BaselinePackageValidator.cs (1)
26throw new ArgumentNullException(nameof(options.BaselinePackage));
Microsoft.DotNet.TemplateLocator (8)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestId.cs (1)
12_id = id?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(id));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkFeatureBand.cs (2)
13public SdkFeatureBand(string? version) : this(new ReleaseVersion(version) ?? throw new ArgumentNullException(nameof(version))) { } 17var fullVersion = version ?? throw new ArgumentNullException(nameof(version));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.cs (1)
77=> throw new WorkloadManifestFormatException(Strings.DuplicateKeyAtOffset, key?.ToString() ?? throw new ArgumentNullException(nameof(key)), reader.TokenStartIndex);
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
58throw new ArgumentNullException(nameof(userProfileDir));
TemplateLocator.cs (3)
98TemplatePackageId = templatePackageId ?? throw new ArgumentNullException(nameof(templatePackageId)); 99TemplateVersion = templateVersion ?? throw new ArgumentNullException(nameof(templateVersion)); 100Path = path ?? throw new ArgumentNullException(nameof(path));
Microsoft.DotNet.XliffTasks (4)
EnumerableExtensions.cs (3)
15throw new ArgumentNullException(nameof(source)); 20throw new ArgumentNullException(nameof(keySelector)); 25throw new ArgumentNullException(nameof(comparer));
Validation.cs (1)
14throw new ArgumentNullException(parameterName);
Microsoft.Extensions.AI (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Abstractions (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Abstractions.Tests (1)
parent\parent\Shared\JsonSchemaExporter\TestData.cs (1)
32?? throw new ArgumentNullException("schema must not be null");
Microsoft.Extensions.AI.Evaluation (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Console (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Integration.Tests (8)
Settings.cs (8)
28throw new ArgumentNullException(nameof(DeploymentName)); 32throw new ArgumentNullException(nameof(ModelName)); 36throw new ArgumentNullException(nameof(Endpoint)); 40throw new ArgumentNullException(nameof(StorageRootPath)); 44?? throw new ArgumentNullException(nameof(AzureSubscriptionId)); 48?? throw new ArgumentNullException(nameof(AzureResourceGroupName)); 52?? throw new ArgumentNullException(nameof(AzureAIProjectName)); 56?? throw new ArgumentNullException(nameof(AzureAIProjectEndpoint));
Microsoft.Extensions.AI.Evaluation.NLP (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Quality (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Reporting (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Settings.cs (2)
22?? throw new ArgumentNullException(nameof(StorageAccountEndpoint)); 26?? throw new ArgumentNullException(nameof(StorageContainerName));
Microsoft.Extensions.AI.Evaluation.Safety (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.Integration.Tests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AI.OpenAI (4)
OpenAIAssistantsChatClient.cs (1)
63serviceType is null ? throw new ArgumentNullException(nameof(serviceType)) :
OpenAIImageGenerator.cs (1)
84serviceType is null ? throw new ArgumentNullException(nameof(serviceType)) :
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AmbientMetadata.Application (5)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
48throw new ArgumentNullException(nameof(optionsBuilder)); 62throw new ArgumentNullException(nameof(services)); 67throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AmbientMetadata.Build (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.AsyncState (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Caching.Hybrid (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Compliance.Abstractions (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Compliance.Redaction (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
48throw new ArgumentNullException(nameof(services)); 53throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Compliance.Testing (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
48throw new ArgumentNullException(nameof(services)); 53throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
27Source = source ?? throw new ArgumentNullException(nameof(source));
Microsoft.Extensions.DataIngestion (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.DataIngestion.Abstractions (3)
IngestionDocumentElement.cs (1)
31_markdown = string.IsNullOrEmpty(markdown) ? throw new ArgumentNullException(nameof(markdown)) : markdown;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.DataIngestion.Markdig (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.DataIngestion.MarkItDown (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.DependencyInjection (2)
DefaultServiceProviderFactory.cs (1)
31_options = options ?? throw new ArgumentNullException(nameof(options));
ServiceLookup\ConstantCallSite.cs (1)
15_serviceType = serviceType ?? throw new ArgumentNullException(nameof(serviceType));
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
438return Expression.Block(Expression.IfThen(Expression.Equal(serviceProvider, Expression.Constant(null)), Expression.Throw(Expression.Constant(new ArgumentNullException(nameof(serviceProvider))))),
Microsoft.Extensions.DependencyInjection.AutoActivation (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.DependencyModel (3)
CollectionExtensions.cs (3)
17throw new ArgumentNullException(nameof(runtime)); 32throw new ArgumentNullException(nameof(runtime)); 56throw new ArgumentNullException(nameof(runtime));
Microsoft.Extensions.Diagnostics (6)
Metrics\Configuration\MetricListenerConfigurationFactory.cs (1)
16_configurations = configurations ?? throw new ArgumentNullException(nameof(configurations));
Metrics\Configuration\MetricsConfiguration.cs (1)
13Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
Metrics\Configuration\MetricsConfigureOptions.cs (1)
21_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
Tracing\Configuration\DefaultActivityListenerConfigurationFactory.cs (1)
16_configurations = configurations ?? throw new ArgumentNullException(nameof(configurations));
Tracing\Configuration\TracingConfiguration.cs (1)
13Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
Tracing\Configuration\TracingConfigureOptions.cs (1)
22_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
Microsoft.Extensions.Diagnostics.ExceptionSummarization (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.HealthChecks (4)
DefaultHealthCheckService.cs (3)
29_scopeFactory = scopeFactory ?? throw new ArgumentNullException(nameof(scopeFactory)); 30_options = options ?? throw new ArgumentNullException(nameof(options)); 31_logger = logger ?? throw new ArgumentNullException(nameof(logger));
DelegateHealthCheck.cs (1)
24_check = check ?? throw new ArgumentNullException(nameof(check));
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
HealthReport.cs (1)
22CalculateAggregateStatus(entries?.Values ?? throw new ArgumentNullException(nameof(entries))),
Microsoft.Extensions.Diagnostics.HealthChecks.Common (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
51throw new ArgumentNullException(nameof(services)); 56throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.Probes (5)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
45throw new ArgumentNullException(nameof(configuration)); 78throw new ArgumentNullException(nameof(services)); 83throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
51throw new ArgumentNullException(nameof(optionsBuilder)); 65throw new ArgumentNullException(nameof(services)); 70throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Diagnostics.Testing (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
52throw new ArgumentNullException(nameof(services)); 57throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (5)
GenerateEmbeddedResourcesManifest.cs (3)
56throw new ArgumentNullException(nameof(settings)); 67throw new ArgumentNullException(nameof(items)); 81throw new ArgumentNullException(nameof(processedItems));
Manifest.cs (2)
18throw new System.ArgumentNullException(nameof(originalPath)); 23throw new System.ArgumentNullException(nameof(assemblyResourceName));
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
101throw new ArgumentNullException(nameof(fileSystemWatcher), SR.Error_FileSystemWatcherRequiredWithoutPolling); 106throw new ArgumentNullException(nameof(root));
Microsoft.Extensions.FileSystemGlobbing (1)
InMemoryDirectoryInfo.cs (1)
47throw new ArgumentNullException(nameof(rootDir));
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
60_options = options?.Value ?? throw new ArgumentNullException(nameof(options));
Microsoft.Extensions.Hosting.Testing (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Http.Diagnostics (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
51throw new ArgumentNullException(nameof(services)); 56throw new ArgumentNullException(nameof(config));
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\HttpClientLoggerTest.cs (2)
755var exception = new ArgumentNullException(); 798var enrichmentException = new ArgumentNullException();
Microsoft.Extensions.Http.Polly (27)
DependencyInjection\PollyHttpClientBuilderExtensions.cs (15)
35throw new ArgumentNullException(nameof(builder)); 40throw new ArgumentNullException(nameof(policy)); 67throw new ArgumentNullException(nameof(builder)); 72throw new ArgumentNullException(nameof(policySelector)); 99throw new ArgumentNullException(nameof(builder)); 104throw new ArgumentNullException(nameof(policySelector)); 132throw new ArgumentNullException(nameof(builder)); 137throw new ArgumentNullException(nameof(policyKey)); 171throw new ArgumentNullException(nameof(builder)); 176throw new ArgumentNullException(nameof(policySelector)); 221throw new ArgumentNullException(nameof(builder)); 226throw new ArgumentNullException(nameof(configurePolicy)); 258throw new ArgumentNullException(nameof(builder)); 263throw new ArgumentNullException(nameof(keySelector)); 268throw new ArgumentNullException(nameof(policyFactory));
DependencyInjection\PollyServiceCollectionExtensions.cs (5)
28throw new ArgumentNullException(nameof(services)); 62throw new ArgumentNullException(nameof(services)); 67throw new ArgumentNullException(nameof(registry)); 93throw new ArgumentNullException(nameof(services)); 98throw new ArgumentNullException(nameof(configureRegistry));
HttpRequestMessageExtensions.cs (2)
33throw new ArgumentNullException(nameof(request)); 54throw new ArgumentNullException(nameof(request));
PolicyHttpMessageHandler.cs (5)
86throw new ArgumentNullException(nameof(policy)); 100throw new ArgumentNullException(nameof(policySelector)); 111throw new ArgumentNullException(nameof(request)); 153throw new ArgumentNullException(nameof(request)); 158throw new ArgumentNullException(nameof(context));
Microsoft.Extensions.Http.Resilience (5)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
52throw new ArgumentNullException(nameof(optionsBuilder)); 68throw new ArgumentNullException(nameof(services)); 73throw new ArgumentNullException(nameof(config));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Logging (1)
StaticFilterOptionsMonitor.cs (1)
13CurrentValue = currentValue ?? throw new ArgumentNullException(nameof(currentValue));
Microsoft.Extensions.Logging.Generators (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Extensions.ML (7)
ModelLoaders\FileModelLoader.cs (2)
30_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 31_context = contextOptions.Value?.MLContext ?? throw new ArgumentNullException(nameof(contextOptions));
ModelLoaders\UriModelLoader.cs (1)
37_logger = logger ?? throw new ArgumentNullException(nameof(logger));
PoolLoader.cs (3)
35Context = contextOptions.Value.MLContext ?? throw new ArgumentNullException(nameof(contextOptions)); 36Loader = poolOptions.ModelLoader ?? throw new ArgumentNullException(nameof(poolOptions)); 83throw new ArgumentNullException(nameof(engine));
PredictionEnginePool.cs (1)
148throw new ArgumentNullException(nameof(engine));
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Options.Contextual (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
700return new ArgumentNullException(nameof(buffer));
Microsoft.Extensions.Resilience (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.ServiceDiscovery (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
parent\parent\Shared\FxPolyfills\ArgumentNullException.cs (1)
23internal static void Throw(string? paramName) => throw new ArgumentNullException(paramName);
Microsoft.Extensions.ServiceDiscovery.Abstractions (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
parent\parent\Shared\FxPolyfills\ArgumentNullException.cs (1)
23internal static void Throw(string? paramName) => throw new ArgumentNullException(paramName);
Microsoft.Extensions.ServiceDiscovery.Dns (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.ServiceDiscovery.Yarp (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Telemetry (6)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (4)
58throw new ArgumentNullException(nameof(optionsBuilder)); 82throw new ArgumentNullException(nameof(services)); 87throw new ArgumentNullException(nameof(config)); 110throw new ArgumentNullException(nameof(configuration));
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Telemetry.Abstractions (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerTests.cs (1)
455throw new ArgumentNullException("EM1", (Exception?)null);
Microsoft.Extensions.TimeProvider.Testing (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Microsoft.Extensions.VectorData.Abstractions (4)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
ProviderServices\VectorPropertyModel.cs (1)
125null => throw new ArgumentNullException(nameof(embeddingGenerator), "This method should only be called when an embedding generator is configured."),
ProviderServices\VectorPropertyModel{TInput}.cs (1)
32null => throw new ArgumentNullException(nameof(embeddingGenerator), "This method should only be called when an embedding generator is configured."),
Microsoft.Extensions.WebEncoders (3)
Testing\HtmlTestEncoder.cs (1)
92throw new ArgumentNullException(nameof(buffer));
Testing\JavaScriptTestEncoder.cs (1)
92throw new ArgumentNullException(nameof(buffer));
Testing\UrlTestEncoder.cs (1)
92throw new ArgumentNullException(nameof(buffer));
Microsoft.Gen.Metrics.Generated.Tests (9)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs (9)
1183throw new global::System.ArgumentNullException(nameof(o)); 1223throw new global::System.ArgumentNullException(nameof(o)); 1308throw new global::System.ArgumentNullException(nameof(o)); 2101throw new global::System.ArgumentNullException(nameof(o)); 2141throw new global::System.ArgumentNullException(nameof(o)); 2372throw new global::System.ArgumentNullException(nameof(o)); 2431throw new global::System.ArgumentNullException(nameof(o)); 2510throw new global::System.ArgumentNullException(nameof(o)); 2537throw new global::System.ArgumentNullException(nameof(o));
Microsoft.Interop.ComInterfaceGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Interop.LibraryImportGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.Interop.SourceGeneration (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
Microsoft.JSInterop (2)
DotNetStreamReference.cs (1)
18Stream = stream ?? throw new ArgumentNullException(nameof(stream));
Infrastructure\DotNetInvocationResult.cs (1)
19Exception = exception ?? throw new ArgumentNullException(nameof(exception));
Microsoft.Maui (48)
ActivationState.cs (3)
35 Context = context ?? throw new ArgumentNullException(nameof(context)); 41 Context = context ?? throw new ArgumentNullException(nameof(context)); 42 State = state ?? throw new ArgumentNullException(nameof(state));
Animations\Easing.cs (1)
115 _easingFunc = easingFunc ?? throw new ArgumentNullException(nameof(easingFunc));
Dispatching\Dispatcher.cs (2)
18 _ = action ?? throw new ArgumentNullException(nameof(action)); 26 _ = action ?? throw new ArgumentNullException(nameof(action));
Dispatching\DispatcherExtensions.cs (1)
110 _ = callback ?? throw new ArgumentNullException(nameof(callback));
Extensions\EnumerableExtensions.cs (3)
67 throw new ArgumentNullException(nameof(enumerable)); 105 throw new ArgumentNullException(nameof(enumerable)); 147 throw new ArgumentNullException(nameof(enumerable));
Fonts\FileSystemEmbeddedFontLoader.cs (1)
25 _rootPath = rootPath ?? throw new ArgumentNullException(nameof(rootPath));
Fonts\FontFile.cs (2)
64 _ = input ?? throw new ArgumentNullException(nameof(input)); 99 _ = fontFamily ?? throw new ArgumentNullException(nameof(fontFamily));
Handlers\Element\ElementHandler.cs (2)
21 _ = mapper ?? throw new ArgumentNullException(nameof(mapper)); 40 _ = view ?? throw new ArgumentNullException(nameof(view));
Handlers\HybridWebView\FileExtensionContentTypeProvider.cs (1)
425 Mappings = mapping ?? throw new ArgumentNullException(nameof(mapping));
Hosting\Fonts\FontCollectionExtensions.cs (3)
20 _ = filename ?? throw new ArgumentNullException(nameof(filename)); 40 _ = assembly ?? throw new ArgumentNullException(nameof(assembly)); 41 _ = filename ?? throw new ArgumentNullException(nameof(filename));
Hosting\Internal\MauiFactory.cs (2)
21 _collection = collection ?? throw new ArgumentNullException(nameof(collection)); 31 throw new ArgumentNullException(nameof(serviceType));
Hosting\MauiAppBuilder.cs (1)
130 throw new ArgumentNullException(nameof(factory));
HotReload\HotReloadHelper.cs (2)
163 _ = HandlerService ?? throw new ArgumentNullException(nameof(HandlerService)); 179 _ = HandlerService ?? throw new ArgumentNullException(nameof(HandlerService));
Layouts\LayoutExtensions.cs (1)
13 _ = view ?? throw new ArgumentNullException(nameof(view));
MauiContext.cs (1)
26 _ = services ?? throw new ArgumentNullException(nameof(services));
Platform\ElementExtensions.cs (5)
58 _ = view ?? throw new ArgumentNullException(nameof(view)); 59 _ = context ?? throw new ArgumentNullException(nameof(context)); 140 _ = nativeElement ?? throw new ArgumentNullException(nameof(nativeElement)); 141 _ = element ?? throw new ArgumentNullException(nameof(element)); 142 _ = context ?? throw new ArgumentNullException(nameof(context));
VisualDiagnostics\VisualDiagnosticsOverlay.cs (4)
65 throw new ArgumentNullException(nameof(adorner)); 81 throw new ArgumentNullException(nameof(visualElement)); 106 throw new ArgumentNullException(nameof(adorner)); 127 throw new ArgumentNullException(nameof(visualElement));
WeakEventManager.cs (9)
20 throw new ArgumentNullException(nameof(eventName)); 23 throw new ArgumentNullException(nameof(handler)); 31 throw new ArgumentNullException(nameof(eventName)); 34 throw new ArgumentNullException(nameof(handler)); 86 throw new ArgumentNullException(nameof(eventName)); 89 throw new ArgumentNullException(nameof(handler)); 97 throw new ArgumentNullException(nameof(eventName)); 100 throw new ArgumentNullException(nameof(handler)); 154 Handler = handler ?? throw new ArgumentNullException(nameof(handler));
WeakReferenceExtensions.cs (2)
12 throw new ArgumentNullException(nameof(self)); 22 throw new ArgumentNullException(nameof(self));
WindowOverlay\WindowOverlay.cs (2)
98 throw new ArgumentNullException(nameof(drawable)); 109 throw new ArgumentNullException(nameof(drawable));
Microsoft.Maui.Controls (194)
Accelerator.cs (1)
19 throw new ArgumentNullException(nameof(text));
AnimatableKey.cs (1)
13 throw new ArgumentNullException(nameof(animatable));
AnimationExtensions.cs (3)
176 throw new ArgumentNullException(nameof(transform)); 178 throw new ArgumentNullException(nameof(callback)); 180 throw new ArgumentNullException(nameof(self));
BindableObject.cs (20)
85 throw new ArgumentNullException(nameof(property)); 99 throw new ArgumentNullException(nameof(property)); 119 throw new ArgumentNullException(nameof(propertyKey)); 168 throw new ArgumentNullException(nameof(property)); 249 var bpcontext = GetContext(targetProperty ?? throw new ArgumentNullException(nameof(targetProperty))); 266 BindablePropertyContext context = GetContext(property ?? throw new ArgumentNullException(nameof(property))); 277 BindablePropertyContext context = GetContext(property ?? throw new ArgumentNullException(nameof(property))); 294 throw new ArgumentNullException(nameof(targetProperty)); 331 context.Bindings[specificity] = binding ?? throw new ArgumentNullException(nameof(binding)); 429 throw new ArgumentNullException(nameof(targetProperty)); 449 throw new ArgumentNullException(nameof(property)); 466 throw new ArgumentNullException(nameof(property)); 468 throw new ArgumentNullException(nameof(key)); 483 throw new ArgumentNullException(nameof(property)); 509 throw new ArgumentNullException(nameof(propertyKey)); 517 throw new ArgumentNullException(nameof(property)); 531 throw new ArgumentNullException(nameof(propertyKey)); 556 throw new ArgumentNullException(nameof(property)); 808 throw new ArgumentNullException(nameof(propertyKey)); 816 throw new ArgumentNullException(nameof(property));
BindableObjectExtensions.cs (2)
58 throw new ArgumentNullException(nameof(self)); 60 throw new ArgumentNullException(nameof(targetProperty));
BindableProperty.cs (3)
82 throw new ArgumentNullException(nameof(propertyName)); 84 throw new ArgumentNullException(nameof(returnType)); 86 throw new ArgumentNullException(nameof(declaringType));
BindablePropertyKey.cs (1)
12 throw new ArgumentNullException(nameof(property));
Binding.cs (1)
32 throw new ArgumentNullException(nameof(path));
BindingBase.cs (4)
103 throw new ArgumentNullException(nameof(collection)); 114 throw new ArgumentNullException(nameof(collection)); 116 throw new ArgumentNullException(nameof(callback)); 182 throw new ArgumentNullException(nameof(collection));
BindingExpression.cs (2)
35 Binding = binding ?? throw new ArgumentNullException(nameof(binding)); 36 Path = path ?? throw new ArgumentNullException(nameof(path));
Command.cs (8)
22 throw new ArgumentNullException(nameof(execute)); 37 throw new ArgumentNullException(nameof(execute)); 39 throw new ArgumentNullException(nameof(canExecute)); 74 throw new ArgumentNullException(nameof(execute)); 83 throw new ArgumentNullException(nameof(execute)); 90 throw new ArgumentNullException(nameof(canExecute)); 99 throw new ArgumentNullException(nameof(execute)); 101 throw new ArgumentNullException(nameof(canExecute));
DataTemplate.cs (3)
55 Values.Remove(property ?? throw new ArgumentNullException(nameof(property))); 56 Bindings[property] = binding ?? throw new ArgumentNullException(nameof(binding)); 62 Bindings.Remove(property ?? throw new ArgumentNullException(nameof(property)));
Device.cs (1)
136 _ = callback ?? throw new ArgumentNullException(nameof(callback));
DragAndDrop\DataPackagePropertySetView.cs (1)
16 _ = dataPackagePropertySet ?? throw new global::System.ArgumentNullException(nameof(dataPackagePropertySet));
DragAndDrop\DataPackageView.cs (1)
16 _ = dataPackage ?? throw new global::System.ArgumentNullException(nameof(dataPackage));
DragAndDrop\DragGestureRecognizer.cs (1)
105 _ = args ?? throw new ArgumentNullException(nameof(args));
DragAndDrop\DropEventArgs.cs (1)
19 _ = view ?? throw new ArgumentNullException(nameof(view));
Element\ElementEventArgs.cs (1)
10 public ElementEventArgs(Element element) => Element = element ?? throw new ArgumentNullException(nameof(element));
ElementTemplate.cs (2)
28 throw new ArgumentNullException(nameof(type)); 36 internal ElementTemplate(Func<object> loadTemplate) : this() => LoadTemplate = loadTemplate ?? throw new ArgumentNullException(nameof(loadTemplate));
FlyoutPage\FlyoutPage.cs (2)
47 throw new ArgumentNullException(nameof(value), "Detail cannot be set to null once a value is set."); 98 throw new ArgumentNullException(nameof(value), "Flyout cannot be set to null once a value is set");
FocusEventArgs.cs (1)
13 throw new ArgumentNullException(nameof(visualElement));
FormattedString.cs (2)
81 protected override void InsertItem(int index, Span item) => base.InsertItem(index, item ?? throw new ArgumentNullException(nameof(item))); 82 protected override void SetItem(int index, Span item) => base.SetItem(index, item ?? throw new ArgumentNullException(nameof(item)));
Interactivity\AttachedCollection.cs (1)
27 throw new ArgumentNullException(nameof(bindable));
Interactivity\Behavior.cs (2)
19 internal Behavior(Type associatedType) => AssociatedType = associatedType ?? throw new ArgumentNullException(nameof(associatedType)); 29 throw new ArgumentNullException(nameof(bindable));
Interactivity\TriggerAction.cs (1)
11 throw new ArgumentNullException(nameof(associatedType));
Interactivity\TriggerBase.cs (3)
15 TargetType = targetType ?? throw new ArgumentNullException(nameof(targetType)); 62 throw new ArgumentNullException(nameof(bindable)); 71 throw new ArgumentNullException(nameof(bindable));
Internals\AsyncValue.cs (1)
45 _valueTask = valueTask ?? throw new ArgumentNullException(nameof(valueTask));
Internals\ImageParser.cs (1)
889 throw new ArgumentNullException(nameof(stream));
Internals\NameScope.cs (1)
50 throw new ArgumentNullException(nameof(name));
Internals\NotifyCollectionChangedEventArgsExtensions.cs (4)
28 throw new ArgumentNullException(nameof(self)); 30 throw new ArgumentNullException(nameof(reset)); 32 throw new ArgumentNullException(nameof(insert)); 34 throw new ArgumentNullException(nameof(removeAt));
Items\ItemsLayoutTypeConverter.cs (1)
21 throw new ArgumentNullException(nameof(strValue));
Items\SelectionChangedEventArgs.cs (2)
25 PreviousSelection = new List<object>(previousSelection ?? throw new ArgumentNullException(nameof(previousSelection))); 26 CurrentSelection = new List<object>(currentSelection ?? throw new ArgumentNullException(nameof(currentSelection)));
Items\SelectionList.cs (1)
20 _selectableItemsView = selectableItemsView ?? throw new ArgumentNullException(nameof(selectableItemsView));
Layout\GridExtensions.cs (1)
63 throw new ArgumentNullException(nameof(view));
LegacyLayouts\Grid.cs (5)
332 throw new ArgumentNullException(nameof(view)); 345 throw new ArgumentNullException(nameof(views)); 353 throw new ArgumentNullException(nameof(view)); 368 throw new ArgumentNullException(nameof(views)); 376 throw new ArgumentNullException(nameof(view));
LegacyLayouts\RelativeLayout.cs (1)
362 throw new ArgumentNullException(nameof(bounds));
MessagingCenter.cs (10)
118 throw new ArgumentNullException(nameof(sender)); 130 throw new ArgumentNullException(nameof(sender)); 142 throw new ArgumentNullException(nameof(subscriber)); 144 throw new ArgumentNullException(nameof(callback)); 165 throw new ArgumentNullException(nameof(subscriber)); 167 throw new ArgumentNullException(nameof(callback)); 203 throw new ArgumentNullException(nameof(message)); 229 throw new ArgumentNullException(nameof(message)); 246 throw new ArgumentNullException(nameof(subscriber)); 248 throw new ArgumentNullException(nameof(message));
MultiPage.cs (2)
181 throw new ArgumentNullException(nameof(page)); 201 throw new ArgumentNullException(nameof(page));
NavigationEventArgs.cs (1)
13 throw new ArgumentNullException(nameof(page));
NavigationPage\NavigationPage.cs (5)
174 throw new ArgumentNullException(nameof(page)); 335 throw new ArgumentNullException(nameof(page)); 738 throw new ArgumentNullException($"{nameof(page)} cannot be null."); 741 throw new ArgumentNullException($"{nameof(before)} cannot be null."); 871 throw new ArgumentNullException($"{nameof(page)} cannot be null.");
NavigationPage\NavigationPage.Legacy.cs (3)
123 throw new ArgumentNullException($"{nameof(page)} cannot be null."); 126 throw new ArgumentNullException($"{nameof(before)} cannot be null."); 234 throw new ArgumentNullException($"{nameof(page)} cannot be null.");
ObservableList.cs (4)
18 throw new ArgumentNullException(nameof(range)); 33 throw new ArgumentNullException(nameof(range)); 84 throw new ArgumentNullException(nameof(range)); 96 throw new ArgumentNullException(nameof(items));
ObservableWrapper.cs (4)
17 throw new ArgumentNullException(nameof(list)); 27 throw new ArgumentNullException(nameof(item)); 91 throw new ArgumentNullException(nameof(item)); 133 throw new ArgumentNullException(nameof(item));
OrderedDictionary.cs (6)
77 throw new ArgumentNullException(nameof(dictionary)); 127 throw new ArgumentNullException(nameof(array)); 299 throw new ArgumentNullException(nameof(key)); 315 throw new ArgumentNullException(nameof(key)); 338 throw new ArgumentNullException(nameof(key)); 394 throw new ArgumentNullException(nameof(array));
Page\Page.cs (1)
341 throw new ArgumentNullException(nameof(cancel));
PlatformBindingHelpers.cs (8)
36 throw new ArgumentNullException(nameof(target)); 38 throw new ArgumentNullException(nameof(targetProperty)); 107 throw new ArgumentNullException(nameof(target)); 109 throw new ArgumentNullException(nameof(targetProperty)); 111 throw new ArgumentNullException(nameof(binding)); 120 throw new ArgumentNullException(nameof(target)); 122 throw new ArgumentNullException(nameof(targetProperty)); 131 throw new ArgumentNullException(nameof(target));
PoppedToRootEventArgs.cs (1)
14 throw new ArgumentNullException(nameof(poppedPages));
RadioButton\RadioButtonGroupController.cs (1)
19 throw new ArgumentNullException(nameof(layout));
ReferenceTypeConverter.cs (1)
26 throw new ArgumentNullException(nameof(serviceProvider));
Registrar.cs (3)
149 throw new ArgumentNullException(nameof(obj)); 160 throw new ArgumentNullException(nameof(obj)); 199 throw new ArgumentNullException(nameof(obj));
ResourceDictionary.cs (1)
407 throw new ArgumentNullException(nameof(serviceProvider));
Routing.cs (2)
241 throw new ArgumentNullException(nameof(route), "Route cannot be an empty string"); 243 routeFactory = routeFactory ?? throw new ArgumentNullException(nameof(routeFactory), "Route Factory cannot be null");
ScrollView\ScrollView.cs (1)
268 throw new ArgumentNullException(nameof(element));
Setter.cs (3)
67 throw new ArgumentNullException(nameof(target)); 91 throw new ArgumentNullException(nameof(target)); 96 targetObject = element.FindByName(TargetName) as BindableObject ?? throw new ArgumentNullException(nameof(targetObject));
SettersExtensions.cs (2)
21 throw new ArgumentNullException(nameof(binding)); 30 throw new ArgumentNullException(nameof(key));
ShadowTypeConverter.cs (2)
53 throw new ArgumentNullException(nameof(strValue)); 147 throw new ArgumentNullException(nameof(value));
Shell\RouteRequestBuilder.cs (2)
78 _ = baseShellItem ?? throw new ArgumentNullException(nameof(baseShellItem)); 101 throw new ArgumentNullException(nameof(node));
StreamWrapper.cs (1)
24 throw new ArgumentNullException(nameof(wrapped));
Style.cs (1)
32 TargetType = targetType ?? throw new ArgumentNullException(nameof(targetType));
StyleSheets\CssReader.cs (1)
15 throw new ArgumentNullException(nameof(reader));
StyleSheets\Style.cs (1)
66 throw new ArgumentNullException(nameof(styleable));
StyleSheets\StyleSheet.cs (2)
42 throw new ArgumentNullException(nameof(stylesheet)); 51 throw new ArgumentNullException(nameof(reader));
SwipeView\SwipeItems.cs (1)
27 _swipeItems = new ObservableCollection<Maui.ISwipeItem>(swipeItems) ?? throw new ArgumentNullException(nameof(swipeItems));
TableView\TableSectionBase.cs (1)
28 throw new ArgumentNullException(nameof(title));
TableView\TableView.cs (1)
242 throw new ArgumentNullException(nameof(item));
TemplateBinding.cs (1)
29 throw new ArgumentNullException(nameof(path));
TemplatedItemsList.cs (9)
57 throw new ArgumentNullException(nameof(itemsView)); 59 throw new ArgumentNullException(nameof(itemSourceProperty)); 61 throw new ArgumentNullException(nameof(itemTemplateProperty)); 79 throw new ArgumentNullException(nameof(itemsView)); 81 throw new ArgumentNullException(nameof(itemTemplateProperty)); 366 throw new ArgumentNullException(nameof(group)); 590 throw new ArgumentNullException(nameof(item)); 598 throw new ArgumentNullException(nameof(item)); 1150 throw new ArgumentNullException(nameof(item));
TemplateExtensions.cs (1)
15 throw new ArgumentNullException(nameof(self));
Toolbar\ToolbarItem.cs (1)
26 throw new ArgumentNullException(nameof(activated));
TypedBinding.cs (1)
128 _getter = getter ?? throw new ArgumentNullException(nameof(getter));
TypeTypeConverter.cs (1)
22 throw new ArgumentNullException(nameof(serviceProvider));
ViewExtensions.cs (12)
25 throw new ArgumentNullException(nameof(view)); 74 throw new ArgumentNullException(nameof(view)); 92 throw new ArgumentNullException(nameof(view)); 120 throw new ArgumentNullException(nameof(view)); 138 throw new ArgumentNullException(nameof(view)); 156 throw new ArgumentNullException(nameof(view)); 174 throw new ArgumentNullException(nameof(view)); 192 throw new ArgumentNullException(nameof(view)); 209 throw new ArgumentNullException(nameof(view)); 227 throw new ArgumentNullException(nameof(view)); 245 throw new ArgumentNullException(nameof(view)); 264 throw new ArgumentNullException(nameof(view));
VisualStateManager.cs (3)
246 throw new ArgumentNullException(nameof(item)); 282 throw new ArgumentNullException(nameof(item)); 306 throw new ArgumentNullException(nameof(item));
Xaml\Diagnostics\BindablePropertyDiagnostics.cs (2)
10 throw new ArgumentNullException(nameof(bindable)); 12 throw new ArgumentNullException(nameof(property));
XmlnsDefinitionAttribute.cs (2)
22 ClrNamespace = clrNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 23 XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(clrNamespace));
XmlnsPrefixAttribute.cs (2)
13 XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 14 Prefix = prefix ?? throw new ArgumentNullException(nameof(prefix));
Microsoft.Maui.Controls.Build.Tasks (7)
MethodBodyExtensions.cs (1)
14 throw new ArgumentNullException(nameof(self));
MethodDefinitionExtensions.cs (2)
46 throw new System.ArgumentNullException(nameof(self)); 48 throw new System.ArgumentNullException(nameof(declaringTypeRef));
MethodReferenceExtensions.cs (2)
12 throw new ArgumentNullException(nameof(self)); 14 throw new ArgumentNullException(nameof(declaringTypeRef));
TypeReferenceExtensions.cs (2)
107 throw new ArgumentNullException(nameof(eventDef)); 109 throw new ArgumentNullException(nameof(declaringTypeRef));
Microsoft.Maui.Controls.Maps (2)
Map.cs (2)
198 throw new ArgumentNullException(nameof(mapSpan)); 214 throw new ArgumentNullException(nameof(visibleRegion));
Microsoft.Maui.Controls.SourceGen (5)
CodeBehindGenerator.cs (3)
604 throw new ArgumentNullException(nameof(node)); 609 throw new ArgumentNullException(nameof(localName)); 614 throw new ArgumentNullException(nameof(namespaceURIs));
src\Controls\src\Core\XmlnsDefinitionAttribute.cs (2)
22 ClrNamespace = clrNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 23 XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(clrNamespace));
Microsoft.Maui.Controls.Xaml (9)
MarkupExpressionParser.cs (1)
54 throw new ArgumentNullException(nameof(serviceProvider));
MarkupExtensions\DataTemplateExtension.cs (1)
16 throw new ArgumentNullException(nameof(serviceProvider));
MarkupExtensions\ReferenceExtension.cs (1)
17 throw new ArgumentNullException(nameof(serviceProvider));
MarkupExtensions\StaticExtension.cs (1)
20 throw new ArgumentNullException(nameof(serviceProvider));
MarkupExtensions\StaticResourceExtension.cs (1)
18 throw new ArgumentNullException(nameof(serviceProvider));
MarkupExtensions\TypeExtension.cs (1)
15 throw new ArgumentNullException(nameof(serviceProvider));
XamlServiceProvider.cs (3)
153 throw new ArgumentNullException(nameof(objectAndParents)); 206 this.namespaceResolver = namespaceResolver ?? throw new ArgumentNullException(); 207 this.getTypeFromXmlName = getTypeFromXmlName ?? throw new ArgumentNullException();
Microsoft.Maui.Essentials (28)
AppActions\AppActions.shared.cs (2)
211 Id = id ?? throw new ArgumentNullException(nameof(id)); 212 Title = title ?? throw new ArgumentNullException(nameof(title));
FileSystem\FileSystem.shared.cs (1)
192 throw new ArgumentNullException(nameof(fullPath));
Geocoding\Geocoding.shared.cs (1)
102 throw new ArgumentNullException(nameof(location));
Geolocation\GeolocationLocationChangedEventArgs.shared.cs (1)
24 throw new ArgumentNullException(nameof(location));
Launcher\Launcher.shared.cs (5)
142 throw new ArgumentNullException(nameof(uri)); 150 throw new ArgumentNullException(nameof(uri)); 158 throw new ArgumentNullException(nameof(request)); 160 throw new ArgumentNullException(nameof(request.File)); 168 throw new ArgumentNullException(nameof(uri));
Map\Map.shared.cs (4)
206 throw new ArgumentNullException(nameof(location)); 209 throw new ArgumentNullException(nameof(options)); 237 throw new ArgumentNullException(nameof(location)); 240 throw new ArgumentNullException(nameof(options));
PhoneDialer\PhoneDialer.shared.cs (1)
70 throw new ArgumentNullException(nameof(number));
SecureStorage\SecureStorage.shared.cs (3)
213 throw new ArgumentNullException(nameof(key)); 221 throw new ArgumentNullException(nameof(key)); 224 throw new ArgumentNullException(nameof(value));
Share\Share.shared.cs (3)
110 throw new ArgumentNullException(nameof(request)); 124 throw new ArgumentNullException(nameof(request)); 138 throw new ArgumentNullException(nameof(request));
TextToSpeech\TextToSpeech.shared.cs (1)
159 throw new ArgumentNullException(nameof(text), "Text cannot be null or empty string");
Types\DeviceIdiom.shared.cs (1)
45 throw new ArgumentNullException(nameof(deviceIdiom));
Types\DevicePlatform.shared.cs (1)
68 throw new ArgumentNullException(nameof(devicePlatform));
Types\Location.shared.cs (1)
100 throw new ArgumentNullException(nameof(point));
Types\Placemark.shared.cs (1)
25 throw new ArgumentNullException(nameof(placemark));
Types\PlacemarkExtensions.shared.cs (1)
23 throw new ArgumentNullException(nameof(placemark));
Types\Shared\WebUtils.shared.cs (1)
84 throw new ArgumentNullException(nameof(uri));
Microsoft.Maui.Graphics (4)
XmlnsDefinitionAttribute.cs (2)
15 ClrNamespace = clrNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 16 XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(clrNamespace));
XmlnsPrefixAttribute.cs (2)
10 XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 11 Prefix = prefix ?? throw new ArgumentNullException(nameof(prefix));
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
src\Graphics\src\Graphics\Platforms\Windows\AsyncPump.cs (3)
30 throw new ArgumentNullException("func"); 61 throw new ArgumentNullException("asyncMethod"); 102 throw new ArgumentNullException("d");
Microsoft.ML.AutoML (4)
Utils\StringEditDistance.cs (2)
15throw new ArgumentNullException(nameof(first)); 20throw new ArgumentNullException(nameof(second));
Utils\UserInputValidationUtil.cs (2)
73throw new ArgumentNullException(nameof(trainData), "Training data cannot be null"); 168throw new ArgumentNullException(nameof(path), "Provided path cannot be null");
Microsoft.ML.AutoML.SourceGenerator (10)
Template\EstimatorType.cs (2)
241throw new global::System.ArgumentNullException("indent"); 304throw new global::System.ArgumentNullException("objectToConvert");
Template\SearchSpace.cs (2)
258throw new global::System.ArgumentNullException("indent"); 321throw new global::System.ArgumentNullException("objectToConvert");
Template\SweepableEstimator_T_.cs (2)
265throw new global::System.ArgumentNullException("indent"); 328throw new global::System.ArgumentNullException("objectToConvert");
Template\SweepableEstimator.cs (2)
260throw new global::System.ArgumentNullException("indent"); 323throw new global::System.ArgumentNullException("objectToConvert");
Template\SweepableEstimatorFactory.cs (2)
236throw new global::System.ArgumentNullException("indent"); 299throw new global::System.ArgumentNullException("objectToConvert");
Microsoft.ML.Benchmarks.Tests (1)
BenchmarksTest.cs (1)
84this._testOutputHelper = testOutputHelper ?? throw new ArgumentNullException(nameof(testOutputHelper));
Microsoft.ML.CodeGenerator (23)
CodeGenerator\CSharp\CodeGenerator.cs (1)
255throw new ArgumentNullException(nameof(_pipeline));
CodeGenerator\CSharp\PipelineExtension.cs (1)
73throw new ArgumentNullException(nameof(pipeline));
Templates\Azure\Console\AzureModelBuilder.cs (2)
335throw new global::System.ArgumentNullException("indent"); 398throw new global::System.ArgumentNullException("objectToConvert");
Templates\Azure\Model\AzureImageModelOutputClass.cs (2)
276throw new global::System.ArgumentNullException("indent"); 339throw new global::System.ArgumentNullException("objectToConvert");
Templates\Azure\Model\AzureObjectDetectionModelOutputClass.cs (2)
276throw new global::System.ArgumentNullException("indent"); 339throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\ConsumeModel.cs (2)
287throw new global::System.ArgumentNullException("indent"); 350throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\ModelBuilder.cs (2)
652throw new global::System.ArgumentNullException("indent"); 715throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\ModelInputClass.cs (2)
250throw new global::System.ArgumentNullException("indent"); 313throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\ModelOutputClass.cs (2)
293throw new global::System.ArgumentNullException("indent"); 356throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\ModelProject.cs (2)
282throw new global::System.ArgumentNullException("indent"); 345throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\PredictProgram.cs (2)
309throw new global::System.ArgumentNullException("indent"); 372throw new global::System.ArgumentNullException("objectToConvert");
Templates\Console\PredictProject.cs (2)
287throw new global::System.ArgumentNullException("indent"); 350throw new global::System.ArgumentNullException("objectToConvert");
Utils.cs (1)
142case null: throw new ArgumentNullException(nameof(input));
Microsoft.ML.Core (11)
Environment\HostEnvironmentBase.cs (5)
586throw new ArgumentNullException(nameof(name)); 604throw new ArgumentNullException(nameof(name)); 619throw new ArgumentNullException(nameof(name)); 640throw new ArgumentNullException(nameof(name)); 658throw new ArgumentNullException(nameof(name));
Utilities\Contracts.cs (6)
322=> Process(new ArgumentNullException(paramName)); 324=> Process(new ArgumentNullException(paramName), ctx); 326=> Process(new ArgumentNullException(paramName, msg)); 328=> Process(new ArgumentNullException(paramName, msg), ctx); 330=> Process(new ArgumentNullException(paramName, GetMsg(msg, args))); 332=> Process(new ArgumentNullException(paramName, GetMsg(msg, args)), ctx);
Microsoft.ML.CpuMath (6)
src\Microsoft.ML.Core\Utilities\Contracts.cs (6)
322=> Process(new ArgumentNullException(paramName)); 324=> Process(new ArgumentNullException(paramName), ctx); 326=> Process(new ArgumentNullException(paramName, msg)); 328=> Process(new ArgumentNullException(paramName, msg), ctx); 330=> Process(new ArgumentNullException(paramName, GetMsg(msg, args))); 332=> Process(new ArgumentNullException(paramName, GetMsg(msg, args)), ctx);
Microsoft.ML.Data (1)
Utilities\StreamUtils.cs (1)
196throw new ArgumentNullException(nameof(buffer));
Microsoft.ML.DataView (22)
Contracts.cs (1)
43=> new ArgumentNullException(paramName);
DataViewSchema.cs (20)
38if (string.IsNullOrEmpty(name)) throw new ArgumentNullException(nameof(name)); 63if (string.IsNullOrEmpty(name)) throw new ArgumentNullException(nameof(name)); 108throw new ArgumentNullException(nameof(name)); 115Type = type ?? throw new ArgumentNullException(nameof(type)); 151throw new ArgumentNullException(nameof(name)); 154Type = type ?? throw new ArgumentNullException(nameof(type)); 204throw new ArgumentNullException(nameof(getter), $"Delegate at index '{i}' of {nameof(getters)} was null."); 215throw new ArgumentNullException(nameof(getter), $"Getter of type '{typeof(TValue)}' expected, but {getter.GetType()} found"); 277throw new ArgumentNullException(nameof(selector)); 298throw new ArgumentNullException(nameof(name)); 300throw new ArgumentNullException(nameof(type)); 302throw new ArgumentNullException(nameof(getter)); 321throw new ArgumentNullException(nameof(name)); 323throw new ArgumentNullException(nameof(type)); 325throw new ArgumentNullException(nameof(getter)); 341throw new ArgumentNullException(nameof(name)); 343throw new ArgumentNullException(nameof(type)); 399throw new ArgumentNullException(nameof(name)); 401throw new ArgumentNullException(nameof(type)); 450throw new ArgumentNullException(nameof(columns));
DataViewType.cs (1)
26RawType = rawType ?? throw new ArgumentNullException(nameof(rawType));
Microsoft.ML.GenAI.LLaMA (7)
LlamaConfig.cs (5)
52Llama3_1_8B_Instruct = JsonSerializer.Deserialize<LlamaConfig>(llama3_1_8b_content) ?? throw new ArgumentNullException(nameof(llama3_1_8b_content)); 53Llama3_1_70B_Instruct = JsonSerializer.Deserialize<LlamaConfig>(llama3_1_70b_content) ?? throw new ArgumentNullException(nameof(llama3_1_70b_content)); 54Llama3_1_405B_Instruct = JsonSerializer.Deserialize<LlamaConfig>(llama3_1_405b_content) ?? throw new ArgumentNullException(nameof(llama3_1_405b_content)); 55Llama3_2_1B_Instruct = JsonSerializer.Deserialize<LlamaConfig>(llama3_2_1b_content) ?? throw new ArgumentNullException(nameof(llama3_2_1b_content)); 56Llama_3_2_3B_Instruct = JsonSerializer.Deserialize<LlamaConfig>(llama3_2_3b_content) ?? throw new ArgumentNullException(nameof(llama3_2_3b_content));
LlamaForCausalLM.cs (2)
103var modelConfig = JsonSerializer.Deserialize<LlamaConfig>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config)); 136var modelConfig = JsonSerializer.Deserialize<LlamaConfig>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config));
Microsoft.ML.GenAI.Mistral (4)
Mistral_7B_0_3ChatTemplateBuilder.cs (1)
180var schemaBuilder = new JsonSchemaBuilder().FromType(param.ParameterType ?? throw new ArgumentNullException(nameof(param.ParameterType)));
MistralConfig.cs (1)
44Mistral_7B_Instruct_v0_3 = JsonSerializer.Deserialize<MistralConfig>(mistral7BInstructContent) ?? throw new ArgumentNullException(nameof(mistral7BInstructContent));
MistralForCausalLM.cs (2)
58var modelConfig = JsonSerializer.Deserialize<MistralConfig>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config)); 86var modelConfig = JsonSerializer.Deserialize<MistralConfig>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config));
Microsoft.ML.GenAI.Phi (8)
Phi2\Config.cs (1)
45var phi2Config = JsonSerializer.Deserialize<Phi2Config>(phi2ConfigContent) ?? throw new ArgumentNullException(nameof(phi2ConfigContent));
Phi2\Phi2ForCausalLM.cs (1)
59var modelConfig = JsonSerializer.Deserialize<Phi2Config>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config));
Phi3\Config.cs (4)
51Phi3Mini4kInstruct = JsonSerializer.Deserialize<Phi3Config>(phi3Mini4kInstructContent) ?? throw new ArgumentNullException(nameof(phi3Mini4kInstructContent)); 52Phi3Mini128kInstruct = JsonSerializer.Deserialize<Phi3Config>(phi3Mini128kInstructContent) ?? throw new ArgumentNullException(nameof(phi3Mini128kInstructContent)); 53Phi3Medium4kInstruct = JsonSerializer.Deserialize<Phi3Config>(phi3Medium4kInstructContent) ?? throw new ArgumentNullException(nameof(phi3Medium4kInstructContent)); 54Phi3Medium128kInstruct = JsonSerializer.Deserialize<Phi3Config>(phi3Medium128kInstructContent) ?? throw new ArgumentNullException(nameof(phi3Medium128kInstructContent));
Phi3\Phi3ForCausalLM.cs (2)
60var modelConfig = JsonSerializer.Deserialize<Phi3Config>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config)); 88var modelConfig = JsonSerializer.Deserialize<Phi3Config>(File.ReadAllText(config)) ?? throw new ArgumentNullException(nameof(config));
Microsoft.ML.GenAI.Samples (1)
Mistral\Mistral_7B_Instruct.cs (1)
76var mistralConfig = JsonSerializer.Deserialize<MistralConfig>(File.ReadAllText(Path.Combine(weightFolder, configName))) ?? throw new ArgumentNullException(nameof(configName));
Microsoft.ML.ImageAnalytics (2)
MLImage.cs (2)
40throw new ArgumentNullException(nameof(imageStream)); 61throw new ArgumentNullException(nameof(imagePath));
Microsoft.ML.IntegrationTests (1)
Datasets\TypeTestData.cs (1)
126throw new ArgumentNullException(nameof(rng));
Microsoft.ML.TestFrameworkCommon (4)
Attributes\EnvironmentSpecificFactAttribute.cs (1)
24_skipMessage = skipMessage ?? throw new ArgumentNullException(nameof(skipMessage));
Attributes\EnvironmentSpecificTheoryAttribute.cs (1)
24_skipMessage = skipMessage ?? throw new ArgumentNullException(nameof(skipMessage));
src\Common\tests\RetryHelper.cs (2)
33throw new ArgumentNullException(nameof(test)); 83throw new ArgumentNullException(nameof(test));
Microsoft.ML.Tokenizers (74)
Model\BertTokenizer.cs (10)
294throw new ArgumentNullException(nameof(tokenIds)); 343throw new ArgumentNullException(nameof(tokenIds)); 406throw new ArgumentNullException(nameof(tokenIds)); 470throw new ArgumentNullException(nameof(tokenIds)); 562throw new ArgumentNullException(nameof(tokenIds)); 606throw new ArgumentNullException(nameof(tokenIds)); 665string.IsNullOrEmpty(vocabFilePath) ? throw new ArgumentNullException(nameof(vocabFilePath)) : File.OpenRead(vocabFilePath), 699throw new ArgumentNullException(nameof(vocabStream)); 722Stream stream = string.IsNullOrEmpty(vocabFilePath) ? throw new ArgumentNullException(nameof(vocabFilePath)) : File.OpenRead(vocabFilePath); 738throw new ArgumentNullException(nameof(vocabStream));
Model\BpeOptions.cs (2)
26throw new ArgumentNullException(nameof(vocabulary)); 41throw new ArgumentNullException(nameof(vocabFile));
Model\BPETokenizer.cs (7)
124throw new ArgumentNullException(nameof(vocabFile)); 144throw new ArgumentNullException(nameof(options)); 149throw new ArgumentNullException(nameof(options.Vocabulary), "The vocabulary cannot be null."); 239throw new ArgumentNullException(nameof(vocabStream)); 275throw new ArgumentNullException(nameof(vocabStream)); 785throw new ArgumentNullException(nameof(ids)); 903throw new ArgumentNullException(nameof(ids));
Model\CodeGenTokenizer.cs (8)
67this(vocabularyPath is null ? throw new ArgumentNullException(nameof(vocabularyPath)) : File.OpenRead(vocabularyPath), 68mergePath is null ? throw new ArgumentNullException(nameof(mergePath)) : File.OpenRead(mergePath), 108throw new ArgumentNullException(nameof(vocabularyStream)); 113throw new ArgumentNullException(nameof(mergeStream)); 1250throw new ArgumentNullException(nameof(ids)); 1351throw new ArgumentNullException(nameof(ids)); 1868throw new ArgumentNullException(nameof(vocabStream)); 1873throw new ArgumentNullException(nameof(mergesStream));
Model\EnglishRobertaTokenizer.cs (12)
119this(vocabularyPath is null ? throw new ArgumentNullException(nameof(vocabularyPath)) : File.OpenRead(vocabularyPath), 120mergePath is null ? throw new ArgumentNullException(nameof(mergePath)) : File.OpenRead(mergePath), 121highestOccurrenceMappingPath is null ? throw new ArgumentNullException(nameof(highestOccurrenceMappingPath)) : File.OpenRead(highestOccurrenceMappingPath), 144throw new ArgumentNullException(nameof(vocabularyStream)); 149throw new ArgumentNullException(nameof(mergeStream)); 154throw new ArgumentNullException(nameof(highestOccurrenceMappingStream)); 768throw new ArgumentNullException(nameof(ids)); 796throw new ArgumentNullException(nameof(ids)); 833throw new ArgumentNullException(nameof(ids)); 855throw new ArgumentNullException(nameof(ids)); 877throw new ArgumentNullException(nameof(ranks)); 1171throw new ArgumentNullException(nameof(symbol), $"argument {nameof(symbol)} should not be null.");
Model\LlamaTokenizer.cs (1)
44throw new ArgumentNullException(nameof(modelProto));
Model\Phi2Tokenizer.cs (2)
108throw new ArgumentNullException(nameof(vocabStream)); 113throw new ArgumentNullException(nameof(mergesStream));
Model\SentencePieceBaseModel.cs (3)
22throw new ArgumentNullException(nameof(modelProto)); 194throw new ArgumentNullException(nameof(ids)); 419throw new ArgumentNullException(nameof(ids));
Model\SentencePieceTokenizer.cs (3)
461throw new ArgumentNullException(nameof(modelProto)); 512throw new ArgumentNullException(nameof(vocab)); 570throw new ArgumentNullException(nameof(tokenizerJsonStream));
Model\SentencePieceUnigramModel.cs (2)
308throw new ArgumentNullException("vocab"); 332throw new ArgumentNullException("vocab");
Model\TiktokenTokenizer.cs (12)
47this(string.IsNullOrEmpty(vocabFilePath) ? throw new ArgumentNullException(nameof(vocabFilePath)) : File.OpenRead(vocabFilePath), preTokenizer, specialTokens, normalizer, cacheSize, disposeStream: true) 62this(vocabStream ?? throw new ArgumentNullException(nameof(vocabStream)), preTokenizer, specialTokens, normalizer, cacheSize, disposeStream: false) 85_encoder = encoder ?? throw new ArgumentNullException(nameof(encoder)); 86_decoder = decoder ?? throw new ArgumentNullException(nameof(decoder)); 87_vocab = vocab ?? throw new ArgumentNullException(nameof(vocab)); 806throw new ArgumentNullException(nameof(ids)); 874throw new ArgumentNullException(nameof(ids)); 1403throw new ArgumentNullException(nameof(vocabStream)); 1435throw new ArgumentNullException(nameof(vocabFilePath)); 1460throw new ArgumentNullException(nameof(modelName)); 1500throw new ArgumentNullException(nameof(modelName)); 1541throw new ArgumentNullException(nameof(encodingName));
Model\WordPieceTokenizer.cs (7)
49throw new ArgumentNullException(nameof(options.UnknownToken)); 54throw new ArgumentNullException(nameof(options.ContinuingSubwordPrefix)); 96throw new ArgumentNullException(nameof(vocabStream)); 134Create(string.IsNullOrEmpty(vocabFilePath) ? throw new ArgumentNullException(nameof(vocabFilePath)) : File.OpenRead(vocabFilePath), options, disposeStream: true); 158throw new ArgumentNullException(nameof(vocabStream)); 192string.IsNullOrEmpty(vocabFilePath) ? throw new ArgumentNullException(nameof(vocabFilePath)) : File.OpenRead(vocabFilePath), 222throw new ArgumentNullException(nameof(vocabStream));
PreTokenizer\CompositePreTokenizer.cs (1)
37throw new ArgumentNullException(nameof(preTokenizers));
PreTokenizer\RegexPreTokenizer.cs (1)
31throw new ArgumentNullException(nameof(regex));
SentencepieceModel.cs (1)
292throw new ArgumentNullException(nameof(stream));
Tokenizer.cs (1)
368throw new ArgumentNullException(nameof(ids));
Utils\DoubleArrayTrie.cs (1)
1058throw new ArgumentNullException(nameof(preCompiledData));
Microsoft.ML.Tokenizers.Data.Tests (2)
src\Common\tests\RetryHelper.cs (2)
33throw new ArgumentNullException(nameof(test)); 83throw new ArgumentNullException(nameof(test));
Microsoft.ML.Tokenizers.Tests (3)
src\Common\tests\RetryHelper.cs (2)
33throw new ArgumentNullException(nameof(test)); 83throw new ArgumentNullException(nameof(test));
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (1)
1058throw new ArgumentNullException(nameof(preCompiledData));
Microsoft.ML.TorchSharp (12)
NasBert\Models\BaseModel.cs (1)
27Options = options ?? throw new ArgumentNullException(nameof(options));
NasBert\Modules\IncrementalState.cs (1)
80incrementalState = incrementalState ?? throw new ArgumentNullException(nameof(incrementalState));
NasBert\NerTrainer.cs (2)
201predictions = predictions ?? throw new ArgumentNullException(nameof(predictions)); 208logits = logits ?? throw new ArgumentNullException(nameof(logits));
NasBert\SentenceSimilarityTrainer.cs (2)
136predictions = predictions ?? throw new ArgumentNullException(nameof(predictions)); 143logits = logits ?? throw new ArgumentNullException(nameof(logits));
NasBert\TextClassificationTrainer.cs (2)
137predictions = predictions ?? throw new ArgumentNullException(nameof(predictions)); 144logits = logits ?? throw new ArgumentNullException(nameof(logits));
Utils\ImageUtils.cs (4)
26throw new ArgumentNullException(nameof(imgBatch)); 31throw new ArgumentNullException(nameof(classification)); 36throw new ArgumentNullException(nameof(regression)); 41throw new ArgumentNullException(nameof(anchors));
Microsoft.NET.Build.Extensions.Tasks (1)
src\sdk\src\Tasks\Common\ConflictResolution\PlatformManifestReader.cs (1)
16throw new ArgumentNullException(nameof(manifestPath));
Microsoft.NET.Build.Tasks (11)
FrameworkReferenceResolver.cs (1)
21_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
LockFileExtensions.cs (2)
77throw new ArgumentNullException(nameof(lockFile)); 81throw new ArgumentNullException(nameof(frameworkAlias));
RuntimeGraphCache.cs (1)
29throw new ArgumentNullException(nameof(runtimeJsonPath));
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
27_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestId.cs (1)
12_id = id?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(id));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkFeatureBand.cs (2)
13public SdkFeatureBand(string? version) : this(new ReleaseVersion(version) ?? throw new ArgumentNullException(nameof(version))) { } 17var fullVersion = version ?? throw new ArgumentNullException(nameof(version));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.cs (1)
77=> throw new WorkloadManifestFormatException(Strings.DuplicateKeyAtOffset, key?.ToString() ?? throw new ArgumentNullException(nameof(key)), reader.TokenStartIndex);
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
58throw new ArgumentNullException(nameof(userProfileDir));
src\sdk\src\Tasks\Common\ConflictResolution\PlatformManifestReader.cs (1)
16throw new ArgumentNullException(nameof(manifestPath));
Microsoft.NET.HostModel (1)
MachO\BinaryFormat\Blobs\EmbeddedSignatureBlob.cs (1)
176throw new ArgumentNullException("Both EmbeddedSignatureBlobs must be non-null for comparison.");
Microsoft.Net.Http.Headers (8)
CookieHeaderValue.cs (5)
36throw new ArgumentNullException(nameof(name)); 49throw new ArgumentNullException(nameof(name)); 54throw new ArgumentNullException(nameof(value)); 169throw new ArgumentNullException(nameof(name)); 182throw new ArgumentNullException(nameof(value));
ObjectCollection.cs (1)
75throw new ArgumentNullException(nameof(item));
SetCookieHeaderValue.cs (2)
70throw new ArgumentNullException(nameof(name)); 75throw new ArgumentNullException(nameof(value));
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
ScopedCss\RewriteCss.cs (1)
322private readonly ComplexItem _root = root ?? throw new ArgumentNullException(nameof(root));
Microsoft.NET.Sdk.WorkloadManifestReader (5)
ManifestId.cs (1)
12_id = id?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(id));
SdkFeatureBand.cs (2)
13public SdkFeatureBand(string? version) : this(new ReleaseVersion(version) ?? throw new ArgumentNullException(nameof(version))) { } 17var fullVersion = version ?? throw new ArgumentNullException(nameof(version));
WorkloadManifestReader.cs (1)
77=> throw new WorkloadManifestFormatException(Strings.DuplicateKeyAtOffset, key?.ToString() ?? throw new ArgumentNullException(nameof(key)), reader.TokenStartIndex);
WorkloadResolver.cs (1)
58throw new ArgumentNullException(nameof(userProfileDir));
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (1)
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
27_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
Microsoft.NET.StringTools (3)
InternableString.cs (1)
138throw new ArgumentNullException(nameof(str));
SpanBasedStringBuilder.cs (2)
99throw new ArgumentNullException(nameof(str)); 245throw new ArgumentNullException(nameof(value));
Microsoft.Private.Windows.Core (10)
src\winforms\src\Microsoft.Private.Windows.Polyfills\Exceptions\ArgumentNullExtensions.cs (1)
52private static void Throw(string? paramName) => throw new ArgumentNullException(paramName);
System\ArgumentValidation.cs (5)
18argument is null ? throw new ArgumentNullException(paramName, message) : argument; 21argument == 0 ? throw new ArgumentNullException(paramName) : argument; 39throw new ArgumentNullException(paramName); 47throw new ArgumentNullException(paramName, message); 57throw new ArgumentNullException(paramName);
Windows\Win32\System\Com\ComHelpers.cs (2)
278throw new ArgumentNullException(nameof(comPointer)); 304throw new ArgumentNullException(nameof(unknown));
Windows\Win32\System\Com\ComPointerList.cs (2)
25throw new ArgumentNullException(nameof(item)); 32return item is null ? throw new ArgumentNullException(nameof(item)) : _pointers.Remove((nint)item);
Microsoft.SourceLink.AzureDevOpsServer.Git (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.AzureRepos.Git (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.Bitbucket.Git (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.Common (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.Gitea (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.Gitee (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.GitHub (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.GitLab (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.GitWeb (1)
src\sourcelink\src\Common\Utilities\PathUtilities.cs (1)
64throw new ArgumentNullException(nameof(path));
Microsoft.SourceLink.Tools.Package (2)
SourceLinkMap.cs (2)
87throw new ArgumentNullException(nameof(json)); 197throw new ArgumentNullException(nameof(path));
Microsoft.TemplateEngine.Abstractions (2)
Installer\TemplatePackageData.cs (1)
17MountPointUri = mountPointUri ?? throw new ArgumentNullException(nameof(mountPointUri));
Installer\UpdateRequest.cs (1)
20TemplatePackage = templatePackage ?? throw new ArgumentNullException(nameof(templatePackage));
Microsoft.TemplateEngine.Cli (33)
CliTemplateInfo.cs (4)
24_templateInfo = templateInfo ?? throw new ArgumentNullException(nameof(templateInfo)); 25_cliData = cliData ?? throw new ArgumentNullException(nameof(cliData)); 123throw new ArgumentNullException(nameof(templateInfos)); 128throw new ArgumentNullException(nameof(hostSpecificDataLoader));
PostActionDispatcher.cs (6)
53_environment = environment ?? throw new ArgumentNullException(nameof(environment)); 54_inputGetter = inputGetter ?? throw new ArgumentNullException(nameof(inputGetter)); 71_ = creationResult ?? throw new ArgumentNullException(nameof(creationResult)); 72_ = creationResult.CreationEffects ?? throw new ArgumentNullException(nameof(creationResult.CreationEffects)); 75_ = creationResult.CreationResult ?? throw new ArgumentNullException(nameof(creationResult.CreationResult)); 79throw new ArgumentNullException($"{nameof(creationResult.OutputBaseDirectory)} should not be null or whitespace", nameof(creationResult.OutputBaseDirectory));
src\sdk\artifacts\obj\Microsoft.TemplateEngine.Cli\External\Wcwidth\Extensions\IntegerExtensions.cs (1)
16throw new ArgumentNullException(nameof(table));
TabularOutput\CliTabularOutputSettings.cs (1)
22throw new ArgumentNullException(nameof(environment));
TemplateGroup.cs (1)
31_ = templates ?? throw new ArgumentNullException(paramName: nameof(templates));
TemplateListCoordinator.cs (3)
29_engineEnvironmentSettings = engineEnvironmentSettings ?? throw new ArgumentNullException(nameof(engineEnvironmentSettings)); 30_templatePackageManager = templatePackageManager ?? throw new ArgumentNullException(nameof(templatePackageManager)); 31_hostSpecificDataLoader = hostSpecificDataLoader ?? throw new ArgumentNullException(nameof(hostSpecificDataLoader));
TemplatePackageCoordinator.cs (9)
41_engineEnvironmentSettings = environmentSettings ?? throw new ArgumentNullException(nameof(environmentSettings)); 42_templatePackageManager = templatePackageManager ?? throw new ArgumentNullException(nameof(templatePackageManager)); 139_ = versionCheckResult ?? throw new ArgumentNullException(nameof(versionCheckResult)); 180_ = args ?? throw new ArgumentNullException(nameof(args)); 181_ = args.TemplatePackages ?? throw new ArgumentNullException(nameof(args.TemplatePackages)); 284_ = commandArgs ?? throw new ArgumentNullException(nameof(commandArgs)); 358_ = args ?? throw new ArgumentNullException(nameof(args)); 657_ = commandArgs ?? throw new ArgumentNullException(nameof(commandArgs)); 658_ = commandArgs.TemplatePackages ?? throw new ArgumentNullException(nameof(commandArgs.TemplatePackages));
TemplatePackageDisplay.cs (4)
45_ = versionCheckResult ?? throw new ArgumentNullException(nameof(versionCheckResult)); 95_ = result ?? throw new ArgumentNullException(nameof(result)); 224_ = args ?? throw new ArgumentNullException(nameof(args)); 280_ = versionCheckResults ?? throw new ArgumentNullException(nameof(versionCheckResults));
TemplateResolution\BaseTemplateResolver.cs (4)
27_templatePackageManager = templatePackageManager ?? throw new ArgumentNullException(nameof(templatePackageManager)); 28HostSpecificDataLoader = hostSpecificDataLoader ?? throw new ArgumentNullException(nameof(hostSpecificDataLoader)); 33_templateList = templateList?.ToList() ?? throw new ArgumentNullException(nameof(templateList)); 34HostSpecificDataLoader = hostSpecificDataLoader ?? throw new ArgumentNullException(nameof(hostSpecificDataLoader));
Microsoft.TemplateEngine.Core (6)
Util\ProcessorState.cs (4)
25throw new ArgumentNullException(nameof(source)); 30throw new ArgumentNullException(nameof(target)); 35throw new ArgumentNullException(nameof(operationProviders)); 61Config = config ?? throw new ArgumentNullException(nameof(config));
VariableCollection.cs (2)
90_values[key] = value ?? throw new ArgumentNullException(nameof(value)); 127throw new ArgumentNullException(nameof(value));
Microsoft.TemplateEngine.Edge (59)
BuiltInManagedProvider\GlobalSettings.cs (2)
28_environmentSettings = environmentSettings ?? throw new ArgumentNullException(nameof(environmentSettings)); 29_globalSettingsFile = globalSettingsFile ?? throw new ArgumentNullException(nameof(globalSettingsFile));
BuiltInManagedProvider\GlobalSettingsTemplatePackageProvider.cs (9)
23Factory = factory ?? throw new ArgumentNullException(nameof(factory)); 24IEngineEnvironmentSettings environmentSettings = settings ?? throw new ArgumentNullException(nameof(settings)); 82_ = packages ?? throw new ArgumentNullException(nameof(packages)); 106_ = installRequests ?? throw new ArgumentNullException(nameof(installRequests)); 161_ = packages ?? throw new ArgumentNullException(nameof(packages)); 188_ = updateRequests ?? throw new ArgumentNullException(nameof(updateRequests)); 219_ = templatePackages ?? throw new ArgumentNullException(nameof(templatePackages)); 307_ = installRequest ?? throw new ArgumentNullException(nameof(installRequest)); 308_ = installer ?? throw new ArgumentNullException(nameof(installer));
EngineEnvironmentSettings.cs (1)
43Host = host ?? throw new ArgumentNullException(nameof(host));
Installers\Folder\FolderInstaller.cs (10)
16_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 17Factory = factory ?? throw new ArgumentNullException(nameof(factory)); 24_ = installationRequest ?? throw new ArgumentNullException(nameof(installationRequest)); 31_ = provider ?? throw new ArgumentNullException(nameof(provider)); 42_ = packages ?? throw new ArgumentNullException(nameof(packages)); 49_ = installRequest ?? throw new ArgumentNullException(nameof(installRequest)); 50_ = provider ?? throw new ArgumentNullException(nameof(provider)); 74_ = templatePackage ?? throw new ArgumentNullException(nameof(templatePackage)); 88_ = templatePackage ?? throw new ArgumentNullException(nameof(templatePackage)); 95_ = updateRequest ?? throw new ArgumentNullException(nameof(updateRequest));
Installers\Folder\FolderManagedTemplatePackage.cs (3)
26Installer = installer ?? throw new ArgumentNullException(nameof(installer)); 27ManagedProvider = provider ?? throw new ArgumentNullException(nameof(provider)); 28_settings = settings ?? throw new ArgumentNullException(nameof(settings));
Installers\NuGet\NugetApiPackageManager.cs (5)
30_environmentSettings = settings ?? throw new ArgumentNullException(nameof(settings)); 257_ = packageSources ?? throw new ArgumentNullException(nameof(packageSources)); 321_ = packageVersion ?? throw new ArgumentNullException(nameof(packageVersion)); 322_ = sources ?? throw new ArgumentNullException(nameof(sources)); 374_ = source ?? throw new ArgumentNullException(nameof(source));
Installers\NuGet\NuGetInstaller.cs (15)
23Factory = factory ?? throw new ArgumentNullException(nameof(factory)); 24_environmentSettings = settings ?? throw new ArgumentNullException(nameof(settings)); 44Factory = factory ?? throw new ArgumentNullException(nameof(factory)); 45_environmentSettings = settings ?? throw new ArgumentNullException(nameof(settings)); 47_packageDownloader = packageDownloader ?? throw new ArgumentNullException(nameof(packageDownloader)); 48_updateChecker = updateChecker ?? throw new ArgumentNullException(nameof(updateChecker)); 99_ = provider ?? throw new ArgumentNullException(nameof(provider)); 113_ = packages ?? throw new ArgumentNullException(nameof(packages)); 199_ = installRequest ?? throw new ArgumentNullException(nameof(installRequest)); 200_ = provider ?? throw new ArgumentNullException(nameof(provider)); 325_ = templatePackage ?? throw new ArgumentNullException(nameof(templatePackage)); 338_ = templatePackage ?? throw new ArgumentNullException(nameof(templatePackage)); 363_ = updateRequest ?? throw new ArgumentNullException(nameof(updateRequest)); 364_ = provider ?? throw new ArgumentNullException(nameof(provider)); 398_ = installRequest ?? throw new ArgumentNullException(nameof(installRequest));
Installers\NuGet\NuGetLogger.cs (1)
20_baseLogger = loggerFactory.CreateLogger("NuGetLogger") ?? throw new System.ArgumentNullException(nameof(loggerFactory));
Installers\NuGet\NuGetManagedTemplatePackage.cs (7)
41Installer = installer ?? throw new ArgumentNullException(nameof(installer)); 42ManagedProvider = provider ?? throw new ArgumentNullException(nameof(provider)); 43_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 67Installer = installer ?? throw new ArgumentNullException(nameof(installer)); 68ManagedProvider = provider ?? throw new ArgumentNullException(nameof(provider)); 69_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 70Details = details?.ToDictionary(kvp => kvp.Key, kvp => kvp.Value) ?? throw new ArgumentNullException(nameof(details));
Settings\Scanner.cs (2)
137_ = source ?? throw new ArgumentNullException(nameof(source)); 234_ = source ?? throw new ArgumentNullException(nameof(source));
Settings\TemplateInfo.cs (2)
36throw new ArgumentNullException(nameof(shortNames)); 74throw new ArgumentNullException(nameof(template));
Settings\TemplateMatchInfo.cs (1)
81Info = info ?? throw new ArgumentNullException(nameof(info));
Template\TemplateCreator.cs (1)
87_ = templateInfo ?? throw new ArgumentNullException(nameof(templateInfo));
Microsoft.TemplateEngine.IDE (7)
Bootstrapper.cs (7)
44_ = host ?? throw new ArgumentNullException(nameof(host)); 266_ = installRequests ?? throw new ArgumentNullException(nameof(installRequests)); 296_ = managedPackages ?? throw new ArgumentNullException(nameof(managedPackages)); 318_ = updateRequests ?? throw new ArgumentNullException(nameof(updateRequests)); 340_ = managedPackages ?? throw new ArgumentNullException(nameof(managedPackages)); 400_ = paths ?? throw new ArgumentNullException(nameof(paths)); 427_ = paths ?? throw new ArgumentNullException(nameof(paths));
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (18)
CreationEffects.cs (4)
12FileChanges = fileChanges ?? throw new System.ArgumentNullException(nameof(fileChanges)); 13CreationResult = creationResult ?? throw new System.ArgumentNullException(nameof(creationResult)); 25FileChanges = fileChanges ?? throw new System.ArgumentNullException(nameof(fileChanges)); 26CreationResult = creationResult ?? throw new System.ArgumentNullException(nameof(creationResult));
CreationResult.cs (2)
12PostActions = postActions ?? throw new System.ArgumentNullException(nameof(postActions)); 13PrimaryOutputs = primaryOutputs ?? throw new System.ArgumentNullException(nameof(primaryOutputs));
CryptoRandom.cs (1)
78buffer = buffer ?? throw new ArgumentNullException(nameof(buffer));
Localization\LocalizationModel.cs (2)
23ParameterSymbols = parameterSymbols ?? throw new ArgumentNullException(nameof(parameterSymbols)); 24PostActions = postActions ?? throw new ArgumentNullException(nameof(postActions));
LocalizationModelDeserializer.cs (1)
27_ = file ?? throw new ArgumentNullException(nameof(file));
Macros\ConstantMacroConfig.cs (1)
13Value = value ?? throw new ArgumentNullException(nameof(value));
Macros\JoinMacroConfig.cs (1)
19Symbols = symbols ?? throw new ArgumentNullException(nameof(symbols));
RunnableProjectGenerator.cs (2)
256_ = templateFileConfig ?? throw new ArgumentNullException(nameof(templateFileConfig)); 335_ = source ?? throw new ArgumentNullException(nameof(source));
ValueForms\ActionableValueFormFactory.cs (1)
47throw new ArgumentNullException(nameof(value));
ValueForms\ConfigurableValueFormFactory.cs (1)
56throw new ArgumentNullException(nameof(value));
ValueForms\DefaultSafeNamespaceValueFormFactory.cs (1)
20value = value ?? throw new ArgumentNullException(nameof(value));
ValueForms\DependentValueFormFactory.cs (1)
56throw new ArgumentNullException(nameof(value));
Microsoft.TemplateEngine.Utils (1)
InstallRequestPathResolution.cs (1)
35throw new ArgumentNullException(nameof(environmentSettings));
Microsoft.TemplateSearch.Common (20)
Abstractions\TemplatePackageSearchData.cs (2)
18throw new ArgumentNullException(nameof(packInfo)); 23throw new ArgumentNullException(nameof(templates));
Abstractions\TemplateSearchData.cs (1)
20throw new ArgumentNullException(nameof(templateInfo));
Providers\NuGetMetadataSearchProvider.cs (3)
42Factory = factory ?? throw new ArgumentNullException(nameof(factory)); 43_environmentSettings = environmentSettings ?? throw new ArgumentNullException(nameof(environmentSettings)); 44_additionalDataReaders = additionalDataReaders ?? throw new ArgumentNullException(nameof(additionalDataReaders));
Providers\NuGetMetadataSearchProviderFactory.cs (2)
21throw new ArgumentNullException(nameof(environmentSettings)); 26throw new ArgumentNullException(nameof(additionalDataReaders));
SearchResult.cs (1)
28Provider = provider ?? throw new ArgumentNullException(nameof(provider));
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (2)
21throw new ArgumentNullException(nameof(templateInfo)); 321throw new ArgumentNullException(nameof(parameter));
TemplateSearchCache\TemplatePackageSearchData.Json.cs (2)
21throw new ArgumentNullException(nameof(jObject)); 26throw new ArgumentNullException(nameof(logger));
TemplateSearchCache\TemplateSearchCache.Json.cs (2)
24throw new ArgumentNullException(nameof(cacheObject)); 29throw new ArgumentNullException(nameof(logger));
TemplateSearchCache\TemplateSearchData.Json.cs (2)
21throw new ArgumentNullException(nameof(jObject)); 26throw new ArgumentNullException(nameof(logger));
TemplateSearchCoordinator.cs (3)
22_environmentSettings = environmentSettings ?? throw new ArgumentNullException(nameof(environmentSettings)); 46throw new ArgumentNullException(nameof(packFilter)); 51throw new ArgumentNullException(nameof(matchingTemplatesFilter));
Microsoft.TestPlatform.AdapterUtilities (3)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (1)
138_ = method ?? throw new ArgumentNullException(nameof(method));
TestIdProvider.cs (2)
40_ = str ?? throw new ArgumentNullException(nameof(str)); 59_ = bytes ?? throw new ArgumentNullException(nameof(bytes));
Microsoft.TestPlatform.CommunicationUtilities (2)
Json\Jsonite\Jsonite.cs (2)
288if (text == null) throw new ArgumentNullException(nameof(text)); 301if (reader == null) throw new ArgumentNullException(nameof(reader));
Microsoft.TestPlatform.CoreUtilities (5)
Utilities\JobQueue.cs (1)
102_processJob = processJob ?? throw new ArgumentNullException(nameof(processJob));
ValidateArg.cs (4)
39return arg ?? throw new ArgumentNullException(parameterName); 60return arg.IsNullOrEmpty() ? throw new ArgumentNullException(parameterName) : arg; 81return arg.IsNullOrWhiteSpace() ? throw new ArgumentNullException(parameterName) : arg; 169throw new ArgumentNullException(parameterName, message);
Microsoft.TestPlatform.CrossPlatEngine (21)
AttachmentsProcessing\TestRunAttachmentsProcessingManager.cs (3)
40_testPlatformEventSource = testPlatformEventSource ?? throw new ArgumentNullException(nameof(testPlatformEventSource)); 41_dataCollectorAttachmentsProcessorsFactory = dataCollectorAttachmentsProcessorsFactory ?? throw new ArgumentNullException(nameof(dataCollectorAttachmentsProcessorsFactory)); 232_eventsHandler = eventsHandler ?? throw new ArgumentNullException(nameof(eventsHandler));
Client\Parallel\ParallelOperationManager.cs (4)
97_ = workloads ?? throw new ArgumentNullException(nameof(workloads)); 98_eventHandler = eventHandler ?? throw new ArgumentNullException(nameof(eventHandler)); 99_getEventHandler = getEventHandler ?? throw new ArgumentNullException(nameof(getEventHandler)); 100_runWorkload = runWorkload ?? throw new ArgumentNullException(nameof(runWorkload));
Client\Parallel\ParallelProxyDiscoveryManager.cs (1)
274throw new ArgumentNullException(nameof(discoveryCriteria));
Client\Parallel\ParallelProxyExecutionManager.cs (1)
396throw new ArgumentNullException(nameof(testRunCriteria));
Client\Parallel\ParallelRunDataAggregator.cs (1)
34RunSettings = runSettingsXml ?? throw new ArgumentNullException(nameof(runSettingsXml));
Discovery\DiscoveryManager.cs (1)
64_requestData = requestData ?? throw new ArgumentNullException(nameof(requestData));
Execution\ExecutionManager.cs (1)
56_requestData = requestData ?? throw new ArgumentNullException(nameof(requestData));
PostProcessing\ArtifactProcessingManager.cs (5)
58_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper)); 59_testRunAttachmentsProcessingManager = testRunAttachmentsProcessingManager ?? throw new ArgumentNullException(nameof(testRunAttachmentsProcessingManager)); 60_dataSerialized = dataSerialized ?? throw new ArgumentNullException(nameof(dataSerialized)); 61_testRunAttachmentsProcessingEventsHandler = testRunAttachmentsProcessingEventsHandler ?? throw new ArgumentNullException(nameof(testRunAttachmentsProcessingEventsHandler)); 62_featureFlag = featureFlag ?? throw new ArgumentNullException(nameof(featureFlag));
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
24_consoleOutput = consoleOutput ?? throw new ArgumentNullException(nameof(consoleOutput));
PostProcessing\TestArtifacts.cs (3)
12TestSession = testSession ?? throw new ArgumentNullException(nameof(testSession)); 13Artifacts = artifacts ?? throw new ArgumentNullException(nameof(artifacts)); 25FileName = fileName ?? throw new ArgumentNullException(nameof(fileName));
Microsoft.TestPlatform.Extensions.BlameDataCollector (3)
BlameCollector.cs (1)
142_logger = logger ?? throw new ArgumentNullException(nameof(logger));
BlameTestObject.cs (1)
36ExecutorUri = executorUri ?? throw new ArgumentNullException(nameof(executorUri));
ProcDumpArgsBuilder.cs (1)
23_environmentVariableHelper = environmentVariableHelper ?? throw new ArgumentNullException(nameof(environmentVariableHelper));
Microsoft.TestPlatform.Filter.Source (5)
Condition.cs (1)
319return str == null ? throw new ArgumentNullException(nameof(str)) : TokenizeFilterConditionStringWorker(str);
FilterExpression.cs (3)
74_left = left ?? throw new ArgumentNullException(nameof(left)); 75_right = right ?? throw new ArgumentNullException(nameof(right)); 81_condition = condition ?? throw new ArgumentNullException(nameof(condition));
TestCaseFilterExpression.cs (1)
44_filterWrapper = filterWrapper ?? throw new ArgumentNullException(nameof(filterWrapper));
Microsoft.TestPlatform.Utilities (1)
CodeCoverageRunSettingsProcessor.cs (1)
31_defaultSettingsRootNode = defaultSettingsRootNode ?? throw new ArgumentNullException(nameof(defaultSettingsRootNode));
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
DiscoveryEventsHandleConverter.cs (1)
28_testDiscoveryEventsHandler = testDiscoveryEventsHandler ?? throw new ArgumentNullException(nameof(testDiscoveryEventsHandler));
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\Information.vb (2)
132Throw VbMakeException(New ArgumentNullException(NameOf(Array)), vbErrors.OutOfBounds) 146Throw VbMakeException(New ArgumentNullException(NameOf(Array)), vbErrors.OutOfBounds)
Microsoft.VisualStudio.TestPlatform.Common (30)
DataCollection\DataCollectorConfig.cs (1)
27DataCollectorType = type ?? throw new ArgumentNullException(nameof(type));
DataCollection\TestPlatformDataCollectionLogger.cs (2)
40_sink = sink ?? throw new ArgumentNullException(nameof(sink)); 41_dataCollectorConfig = dataCollectorConfig ?? throw new ArgumentNullException(nameof(dataCollectorConfig));
DataCollection\TestPlatformDataCollectionSink.cs (2)
30DataCollectorConfig = dataCollectorConfig ?? throw new ArgumentNullException(nameof(dataCollectorConfig)); 31AttachmentManager = attachmentManager ?? throw new ArgumentNullException(nameof(attachmentManager));
ExtensionFramework\TestDiscoveryExtensionManager.cs (2)
30Discoverers = discoverers ?? throw new ArgumentNullException(nameof(discoverers)); 31UnfilteredDiscoverers = unfilteredDiscoverers ?? throw new ArgumentNullException(nameof(unfilteredDiscoverers));
ExtensionFramework\TestExtensionManager.cs (3)
48_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 49TestExtensions = testExtensions ?? throw new ArgumentNullException(nameof(testExtensions)); 50UnfilteredTestExtensions = unfilteredTestExtensions ?? throw new ArgumentNullException(nameof(unfilteredTestExtensions));
ExtensionFramework\Utilities\LazyExtension.cs (8)
34_extension = instance ?? throw new ArgumentNullException(nameof(instance)); 35_metadata = metadata ?? throw new ArgumentNullException(nameof(metadata)); 46TestPluginInfo = pluginInfo ?? throw new ArgumentNullException(nameof(pluginInfo)); 47_metadataType = metadataType ?? throw new ArgumentNullException(nameof(metadataType)); 58TestPluginInfo = pluginInfo ?? throw new ArgumentNullException(nameof(pluginInfo)); 59_metadata = metadata ?? throw new ArgumentNullException(nameof(metadata)); 70_extensionCreator = creator ?? throw new ArgumentNullException(nameof(creator)); 71_metadata = metadata ?? throw new ArgumentNullException(nameof(metadata));
Interfaces\Engine\IDataCollectorAttachmentsProcessorsFactory.cs (1)
46DataCollectorAttachmentProcessorInstance = dataCollectorAttachmentProcessor ?? throw new ArgumentNullException(nameof(dataCollectorAttachmentProcessor));
RequestData.cs (2)
42set => _metricsCollection = value ?? throw new ArgumentNullException(nameof(value)); 51set => _protocolConfig = value ?? throw new ArgumentNullException(nameof(value));
RunSettingsManager.cs (1)
38ActiveRunSettings = runSettings ?? throw new ArgumentNullException(nameof(runSettings));
SettingsProvider\SettingsProviderExtensionManager.cs (3)
55_settingsProviders = settingsProviders ?? throw new ArgumentNullException(nameof(settingsProviders)); 56UnfilteredSettingsProviders = unfilteredSettingsProviders ?? throw new ArgumentNullException(nameof(unfilteredSettingsProviders)); 57_logger = logger ?? throw new ArgumentNullException(nameof(logger));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\Condition.cs (1)
319return str == null ? throw new ArgumentNullException(nameof(str)) : TokenizeFilterConditionStringWorker(str);
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FilterExpression.cs (3)
74_left = left ?? throw new ArgumentNullException(nameof(left)); 75_right = right ?? throw new ArgumentNullException(nameof(right)); 81_condition = condition ?? throw new ArgumentNullException(nameof(condition));
src\vstest\src\Microsoft.TestPlatform.Filter.Source\TestCaseFilterExpression.cs (1)
44_filterWrapper = filterWrapper ?? throw new ArgumentNullException(nameof(filterWrapper));
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
ObjectModel\TestResultCollection.cs (1)
24public TestResultCollection(string source) => _source = source ?? throw new ArgumentNullException(nameof(source));
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (3)
ObjectModel\TestId.cs (1)
195return other == null ? throw new ArgumentNullException(nameof(other)) : Id.CompareTo(other.Id);
ObjectModel\TestType.cs (1)
22throw new ArgumentNullException(nameof(id));
Utility\EqtAssert.cs (1)
51throw new ArgumentNullException(parameterName);
Microsoft.VisualStudio.TestPlatform.ObjectModel (53)
InvokedDataCollector.cs (4)
21Uri = uri ?? throw new ArgumentNullException(nameof(uri)); 22FriendlyName = friendlyName ?? throw new ArgumentNullException(nameof(friendlyName)); 23AssemblyQualifiedName = assemblyQualifiedName ?? throw new ArgumentNullException(nameof(assemblyQualifiedName)); 24FilePath = filePath ?? throw new ArgumentNullException(nameof(filePath));
Logging\Events\TestResultEventArgs.cs (1)
21Result = result ?? throw new ArgumentNullException(nameof(result));
Navigation\PortablePdbReader.cs (1)
62_provider = metadataReaderProvider ?? throw new ArgumentNullException(nameof(metadataReaderProvider));
Nuget.Frameworks\CompatibilityCacheKey.cs (2)
25throw new ArgumentNullException(nameof(target)); 30throw new ArgumentNullException(nameof(candidate));
Nuget.Frameworks\CompatibilityProvider.cs (3)
20_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 33if (target == null) throw new ArgumentNullException(nameof(target)); 34if (candidate == null) throw new ArgumentNullException(nameof(candidate));
Nuget.Frameworks\FallbackFramework.cs (2)
26throw new ArgumentNullException(nameof(framework)); 31throw new ArgumentNullException(nameof(fallbackFrameworks));
Nuget.Frameworks\FrameworkExpander.cs (2)
23_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 31if (framework == null) throw new ArgumentNullException(nameof(framework));
Nuget.Frameworks\FrameworkNameProvider.cs (3)
279throw new ArgumentNullException(nameof(supportedFrameworks)); 486throw new ArgumentNullException(nameof(shortPortableProfiles)); 598throw new ArgumentNullException(nameof(range));
Nuget.Frameworks\FrameworkPrecedenceSorter.cs (1)
19_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings));
Nuget.Frameworks\FrameworkRange.cs (2)
25if (min == null) throw new ArgumentNullException(nameof(min)); 26if (max == null) throw new ArgumentNullException(nameof(max));
Nuget.Frameworks\FrameworkReducer.cs (7)
32_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 33_compat = compat ?? throw new ArgumentNullException(nameof(compat)); 44if (framework == null) throw new ArgumentNullException(nameof(framework)); 45if (possibleFrameworks == null) throw new ArgumentNullException(nameof(possibleFrameworks)); 233if (frameworks == null) throw new ArgumentNullException(nameof(frameworks)); 269if (frameworks is null) throw new ArgumentNullException(nameof(frameworks)); 289if (frameworks is null) throw new ArgumentNullException(nameof(frameworks));
Nuget.Frameworks\FrameworkSpecificMapping.cs (1)
21FrameworkIdentifier = frameworkIdentifier ?? throw new ArgumentNullException(nameof(frameworkIdentifier));
Nuget.Frameworks\NuGetFramework.cs (5)
59if (frameworkIdentifier == null) throw new ArgumentNullException(nameof(frameworkIdentifier)); 60if (frameworkVersion == null) throw new ArgumentNullException(nameof(frameworkVersion)); 61if (platform == null) throw new ArgumentNullException(nameof(platform)); 62if (platformVersion == null) throw new ArgumentNullException(nameof(platformVersion)); 134throw new ArgumentNullException(nameof(mappings));
Nuget.Frameworks\NuGetFrameworkFactory.cs (7)
43if (folderName == null) throw new ArgumentNullException(nameof(folderName)); 44if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 76if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 151if (frameworkName == null) throw new ArgumentNullException(nameof(frameworkName)); 152if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 258throw new ArgumentNullException(nameof(folderName)); 263throw new ArgumentNullException(nameof(mappings));
Nuget.Frameworks\NuGetFrameworkUtility.cs (8)
37if (framework == null) throw new ArgumentNullException(nameof(framework)); 38if (frameworkMappings == null) throw new ArgumentNullException(nameof(frameworkMappings)); 39if (compatibilityProvider == null) throw new ArgumentNullException(nameof(compatibilityProvider)); 77if (framework == null) throw new ArgumentNullException(nameof(framework)); 78if (frameworkMappings == null) throw new ArgumentNullException(nameof(frameworkMappings)); 79if (compatibilityProvider == null) throw new ArgumentNullException(nameof(compatibilityProvider)); 100if (projectFramework is null) throw new ArgumentNullException(nameof(projectFramework)); 101if (candidate is null) throw new ArgumentNullException(nameof(candidate));
TestCase.cs (1)
58ExecutorUri = executorUri ?? throw new ArgumentNullException(nameof(executorUri));
TestResult.cs (1)
28TestCase = testCase ?? throw new ArgumentNullException(nameof(testCase));
Trait.cs (1)
33Name = name ?? throw new ArgumentNullException(nameof(name));
TraitCollection.cs (1)
33_testObject = testObject ?? throw new ArgumentNullException(nameof(testObject));
Microsoft.Web.Xdt.Extensions (1)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (1)
61throw new ArgumentNullException(paramName);
Mono.Cecil (59)
Mono.Cecil.Cil\ILProcessor.cs (10)
207 throw new ArgumentNullException ("target"); 209 throw new ArgumentNullException ("instruction"); 221 throw new ArgumentNullException ("target"); 223 throw new ArgumentNullException ("instruction"); 237 throw new ArgumentNullException ("instruction"); 245 throw new ArgumentNullException ("instruction"); 253 throw new ArgumentNullException ("target"); 255 throw new ArgumentNullException ("instruction"); 264 throw new ArgumentNullException ("instruction"); 273 throw new ArgumentNullException ("instruction");
Mono.Cecil.Cil\Instruction.cs (9)
159 throw new ArgumentNullException ("type"); 170 throw new ArgumentNullException ("site"); 180 throw new ArgumentNullException ("method"); 191 throw new ArgumentNullException ("field"); 202 throw new ArgumentNullException ("value"); 262 throw new ArgumentNullException ("target"); 273 throw new ArgumentNullException ("targets"); 283 throw new ArgumentNullException ("variable"); 294 throw new ArgumentNullException ("parameter");
Mono.Cecil.Cil\PortablePdb.cs (1)
211 throw new ArgumentNullException ();
Mono.Cecil.Cil\SequencePoint.cs (2)
61 throw new ArgumentNullException ("document"); 70 throw new ArgumentNullException ("document");
Mono.Cecil.Cil\Symbols.cs (8)
166 throw new ArgumentNullException ("start"); 218 throw new ArgumentNullException ("instruction"); 259 throw new ArgumentNullException ("variable"); 328 throw new ArgumentNullException ("name"); 337 throw new ArgumentNullException ("variable"); 339 throw new ArgumentNullException ("name"); 371 throw new ArgumentNullException ("name"); 760 throw new ArgumentNullException ("method");
Mono.Cecil\AssemblyDefinition.cs (2)
112 throw new ArgumentNullException ("assemblyName"); 114 throw new ArgumentNullException ("moduleName");
Mono.Cecil\AssemblyNameReference.cs (1)
173 throw new ArgumentNullException ("fullName");
Mono.Cecil\AssemblyWriter.cs (3)
2282 throw new ArgumentNullException (); 2778 throw new ArgumentNullException (); 3059 throw new ArgumentNullException ();
Mono.Cecil\CallSite.cs (1)
96 throw new ArgumentNullException ("returnType");
Mono.Cecil\DefaultAssemblyResolver.cs (1)
42 throw new ArgumentNullException ("assembly");
Mono.Cecil\GenericParameter.cs (1)
184 throw new ArgumentNullException ();
Mono.Cecil\Import.cs (2)
51 throw new ArgumentNullException ("provider"); 769 throw new ArgumentNullException (Argument.module.ToString ());
Mono.Cecil\MetadataResolver.cs (3)
57 throw new ArgumentNullException ("member"); 66 throw new ArgumentNullException ("member"); 92 throw new ArgumentNullException ("assemblyResolver");
Mono.Cecil\Modifiers.cs (2)
60 throw new ArgumentNullException (Mixin.Argument.modifierType.ToString ()); 105 throw new ArgumentNullException (Mixin.Argument.modifierType.ToString ());
Mono.Cecil\ModuleDefinition.cs (8)
1117 throw new ArgumentNullException ("reader"); 1256 throw new ArgumentNullException (Argument.name.ToString ()); 1280 throw new ArgumentNullException (Argument.stream.ToString ()); 1298 throw new ArgumentNullException (Argument.type.ToString ()); 1304 throw new ArgumentNullException (argument.ToString ()); 1310 throw new ArgumentNullException (Argument.field.ToString ()); 1316 throw new ArgumentNullException (Argument.method.ToString ()); 1322 throw new ArgumentNullException (Argument.parameters.ToString ());
Mono.Cecil\ParameterReference.cs (1)
44 throw new ArgumentNullException ("parameterType");
Mono.Collections.Generic\Collection.cs (1)
115 throw new ArgumentNullException ("items");
Mono.Collections.Generic\ReadOnlyCollection.cs (2)
51 throw new ArgumentNullException (); 59 throw new ArgumentNullException ();
Mono.Security.Cryptography\CryptoConvert.cs (1)
234 throw new ArgumentNullException ("blob");
Mono.Cecil.Pdb (1)
Microsoft.Cci.Pdb\IntHashTable.cs (1)
389throw new ArgumentNullException("nvalue", "ArgumentNull_Value");
Mono.Cecil.Rocks (17)
Mono.Cecil.Rocks\DocCommentId.cs (2)
63 throw new ArgumentNullException ("self"); 306 throw new ArgumentNullException ("member");
Mono.Cecil.Rocks\Functional.cs (1)
28 throw new ArgumentNullException ("source");
Mono.Cecil.Rocks\ILParser.cs (2)
56 throw new ArgumentNullException ("method"); 58 throw new ArgumentNullException ("visitor");
Mono.Cecil.Rocks\MethodBodyRocks.cs (3)
25 throw new ArgumentNullException ("self"); 180 throw new ArgumentNullException ("self"); 203 throw new ArgumentNullException ("self");
Mono.Cecil.Rocks\MethodDefinitionRocks.cs (2)
23 throw new ArgumentNullException ("self"); 44 throw new ArgumentNullException ("self");
Mono.Cecil.Rocks\ModuleDefinitionRocks.cs (1)
25 throw new ArgumentNullException ("self");
Mono.Cecil.Rocks\TypeDefinitionRocks.cs (4)
25 throw new ArgumentNullException ("self"); 36 throw new ArgumentNullException ("self"); 47 throw new ArgumentNullException ("self"); 58 throw new ArgumentNullException ("self");
Mono.Cecil.Rocks\TypeReferenceRocks.cs (2)
63 throw new ArgumentNullException ("self"); 65 throw new ArgumentNullException ("arguments");
MSBuild (2)
src\msbuild\src\Shared\ErrorUtilities.cs (1)
310throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
TaskExecutionContext.cs (1)
102Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
NuGet.Build.Tasks (9)
BuildTasksUtility.cs (2)
136throw new ArgumentNullException(nameof(dependencyGraphSpec)); 141throw new ArgumentNullException(nameof(log));
Common\MSBuildLogger.cs (1)
57_taskLogging = taskLogging ?? throw new ArgumentNullException(nameof(taskLogging));
Common\MSBuildTaskItem.cs (1)
24throw new ArgumentNullException(nameof(item));
GetRestoreSettingsTask.cs (1)
36_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
RestoreTask.cs (1)
43_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
StaticGraphRestoreTaskBase.cs (1)
32_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
TaskLoggingQueue.cs (1)
43_log = taskLoggingHelper ?? throw new ArgumentNullException(nameof(taskLoggingHelper));
WriteRestoreGraphTask.cs (1)
30_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
NuGet.Build.Tasks.Console (4)
MSBuildProjectInstance.cs (1)
30_projectInstance = projectInstance ?? throw new ArgumentNullException(nameof(projectInstance));
MSBuildProjectItemInstance.cs (1)
25_projectItemInstance = projectItemInstance ?? throw new ArgumentNullException(nameof(projectItemInstance));
RestoreProjectAdapter.cs (2)
18FullPath = fullPath ?? throw new ArgumentNullException(nameof(fullPath)); 19Directory = Path.GetDirectoryName(fullPath) ?? throw new ArgumentNullException(nameof(fullPath));
NuGet.Build.Tasks.Pack (3)
Common\MSBuildTaskItem.cs (1)
24throw new ArgumentNullException(nameof(item));
PackTask.cs (1)
30_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
src\nuget-client\src\NuGet.Core\NuGet.Build.Tasks\Common\MSBuildLogger.cs (1)
57_taskLogging = taskLogging ?? throw new ArgumentNullException(nameof(taskLogging));
NuGet.CommandLine.XPlat (20)
Commands\ConfigCommands\ConfigRunners.cs (3)
179throw new ArgumentNullException(nameof(settings)); 264_ = args ?? throw new ArgumentNullException(nameof(args)); 265_ = logger ?? throw new ArgumentNullException(nameof(logger));
Commands\PackageReferenceCommands\ListPackage\FrameworkPackages.cs (4)
48Framework = framework ?? throw new ArgumentNullException(nameof(framework)); 49TargetAlias = targetAlias ?? throw new ArgumentNullException(nameof(targetAlias)); 50TopLevelPackages = topLevelPackages ?? throw new ArgumentNullException(nameof(topLevelPackages)); 51TransitivePackages = transitivePackages ?? throw new ArgumentNullException(nameof(transitivePackages));
Commands\PackageReferenceCommands\ListPackage\InstalledPackageReference.cs (1)
35Name = name ?? throw new ArgumentNullException(nameof(name));
Commands\PackageReferenceCommands\ListPackage\ListPackageArgs.cs (4)
64Path = path ?? throw new ArgumentNullException(nameof(path)); 65PackageSources = packageSources ?? throw new ArgumentNullException(nameof(packageSources)); 66Frameworks = frameworks ?? throw new ArgumentNullException(nameof(frameworks)); 74Logger = logger ?? throw new ArgumentNullException(nameof(logger));
Commands\PackageReferenceCommands\PackageReferenceArgs.cs (1)
45throw new ArgumentNullException(nameof(arg));
ListPackage\ListPackageReportFrameworkPackage.cs (2)
22Framework = framework ?? throw new ArgumentNullException(nameof(framework)); 23TargetAlias = targetAlias ?? throw new ArgumentNullException(nameof(targetAlias));
UILanguageOverride.cs (1)
26throw new ArgumentNullException(nameof(logger));
Utility\MSBuildAPIUtility.cs (4)
54Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 733throw new ArgumentNullException(nameof(userInputFrameworks)); 738throw new ArgumentNullException(nameof(project)); 743throw new ArgumentNullException(nameof(assetsFile));
NuGet.Commands (96)
CommandArgs\LocalsArgs.cs (4)
32throw new ArgumentNullException(nameof(arguments)); 36throw new ArgumentNullException(nameof(settings)); 40throw new ArgumentNullException(nameof(logInformation)); 44throw new ArgumentNullException(nameof(logError));
CommandRunners\PackCommandRunner.cs (1)
317throw new ArgumentNullException(nameof(dependencies));
ListCommand\ListArgs.cs (8)
51throw new ArgumentNullException(nameof(arguments)); 55throw new ArgumentNullException(nameof(listEndpoints)); 59throw new ArgumentNullException(nameof(settings)); 63throw new ArgumentNullException(nameof(logger)); 67throw new ArgumentNullException(nameof(printJustified)); 71throw new ArgumentNullException(nameof(listCommandNoPackages)); 75throw new ArgumentNullException(nameof(listCommandLicenseUrl)); 79throw new ArgumentNullException(nameof(listCommandListNotSupported));
PackagesLockFileBuilder.cs (1)
20if (assetsFile == null) throw new ArgumentNullException(nameof(assetsFile));
RestoreCommand\Diagnostics\IndexedRestoreTargetGraph.cs (1)
30Graph = graph ?? throw new ArgumentNullException(nameof(graph));
RestoreCommand\DownloadDependencyResolutionResult.cs (4)
39Framework = framework ?? throw new ArgumentNullException(nameof(framework)); 40Dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies)); 41Install = install ?? throw new ArgumentNullException(nameof(install)); 42Unresolved = unresolved ?? throw new ArgumentNullException(nameof(unresolved));
RestoreCommand\FrameworkRuntimeDefinition.cs (1)
23Framework = framework ?? throw new ArgumentNullException(nameof(framework));
RestoreCommand\LockFileBuilderCache.cs (6)
48_ = graph ?? throw new ArgumentNullException(nameof(graph)); 49_ = framework ?? throw new ArgumentNullException(nameof(framework)); 69_ = graph ?? throw new ArgumentNullException(nameof(graph)); 70_ = framework ?? throw new ArgumentNullException(nameof(framework)); 84throw new ArgumentNullException(nameof(package)); 116localPackageInfo = localPackageInfo ?? throw new ArgumentNullException(nameof(localPackageInfo));
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (3)
636Id = id ?? throw new ArgumentNullException(nameof(id)); 643Id = id ?? throw new ArgumentNullException(nameof(id)); 644NodeWarningProperties = nodeWarningProperties ?? throw new ArgumentNullException(nameof(nodeWarningProperties));
RestoreCommand\Logging\WarningPropertiesCollection.cs (1)
163throw new ArgumentNullException(nameof(message));
RestoreCommand\MSBuildOutputFile.cs (1)
28throw new ArgumentNullException(nameof(path));
RestoreCommand\OriginalCaseGlobalPackageFolder.cs (1)
43throw new ArgumentNullException(nameof(request));
RestoreCommand\RequestFactory\DependencyGraphFileRequestProvider.cs (1)
37throw new ArgumentNullException(nameof(path));
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (3)
49_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 64throw new ArgumentNullException(nameof(restoreContext)); 69throw new ArgumentNullException(nameof(dgFile));
RestoreCommand\RequestFactory\MSBuildItem.cs (2)
33throw new ArgumentNullException(nameof(identity)); 38throw new ArgumentNullException(nameof(metadata));
RestoreCommand\RequestFactory\MSBuildItemIdentityComparer.cs (1)
31throw new ArgumentNullException(nameof(obj));
RestoreCommand\RequestFactory\NoOpRestoreResult.cs (2)
26_lockFileLazy = lockFileLazy ?? throw new ArgumentNullException(nameof(lockFileLazy)); 39throw new ArgumentNullException(nameof(log));
RestoreCommand\RequestFactory\RestoreArgs.cs (2)
132throw new ArgumentNullException(nameof(settings)); 187if (request == null) throw new ArgumentNullException(nameof(request));
RestoreCommand\RequestFactory\RestoreSpecException.cs (2)
35throw new ArgumentNullException(nameof(message)); 40throw new ArgumentNullException(nameof(files));
RestoreCommand\ResolvedDependencyKey.cs (2)
39Parent = parent ?? throw new ArgumentNullException(nameof(parent)); 41Child = child ?? throw new ArgumentNullException(nameof(child));
RestoreCommand\RestoreCommand.cs (1)
169_request = request ?? throw new ArgumentNullException(nameof(request));
RestoreCommand\RestoreCommandException.cs (1)
21_logMessage = logMessage ?? throw new ArgumentNullException(nameof(logMessage));
RestoreCommand\RestoreCommandProviders.cs (5)
28GlobalPackages = globalPackages ?? throw new ArgumentNullException(nameof(globalPackages)); 29LocalProviders = localProviders ?? throw new ArgumentNullException(nameof(localProviders)); 30RemoteProviders = remoteProviders ?? throw new ArgumentNullException(nameof(remoteProviders)); 31FallbackPackageFolders = fallbackPackageFolders ?? throw new ArgumentNullException(nameof(fallbackPackageFolders)); 32PackageFileCache = packageFileCache ?? throw new ArgumentNullException(nameof(packageFileCache));
RestoreCommand\RestoreRequest.cs (5)
37CacheContext = cacheContext ?? throw new ArgumentNullException(nameof(cacheContext)); 38LockFileBuilderCache = lockFileBuilderCache ?? throw new ArgumentNullException(nameof(lockFileBuilderCache)); 39Log = log ?? throw new ArgumentNullException(nameof(log)); 40Project = project ?? throw new ArgumentNullException(nameof(project)); 41DependencyProviders = dependencyProviders ?? throw new ArgumentNullException(nameof(dependencyProviders));
RestoreCommand\RestoreResult.cs (1)
183throw new ArgumentNullException(nameof(log));
RestoreCommand\RestoreRunner.cs (1)
274throw new ArgumentNullException(nameof(restoreResult));
RestoreCommand\RestoreTargetGraph.cs (1)
96if (string.IsNullOrEmpty(targetAlias)) throw new ArgumentNullException(nameof(targetAlias));
RestoreCommand\SourceRepositoryDependencyProvider.cs (14)
143_sourceRepository = sourceRepository ?? throw new ArgumentNullException(nameof(sourceRepository)); 144_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 145_cacheContext = cacheContext ?? throw new ArgumentNullException(nameof(cacheContext)); 198throw new ArgumentNullException(nameof(libraryRange)); 203throw new ArgumentNullException(nameof(targetFramework)); 208throw new ArgumentNullException(nameof(cacheContext)); 213throw new ArgumentNullException(nameof(logger)); 351throw new ArgumentNullException(nameof(libraryIdentity)); 356throw new ArgumentNullException(nameof(targetFramework)); 361throw new ArgumentNullException(nameof(cacheContext)); 366throw new ArgumentNullException(nameof(logger)); 472throw new ArgumentNullException(nameof(packageIdentity)); 477throw new ArgumentNullException(nameof(cacheContext)); 482throw new ArgumentNullException(nameof(logger));
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
363_ = absolutePath ?? throw new ArgumentNullException(nameof(absolutePath));
RestoreCommand\Utility\LockFileUtils.cs (1)
1142throw new ArgumentNullException(nameof(path));
RestoreCommand\Utility\MSBuildRestoreUtility.cs (6)
64throw new ArgumentNullException(nameof(items)); 182if (dependency == null) throw new ArgumentNullException(nameof(dependency)); 195throw new ArgumentNullException(nameof(items)); 591throw new ArgumentNullException(nameof(values)); 596throw new ArgumentNullException(nameof(excludeValues)); 1250throw new ArgumentNullException(nameof(logger));
RestoreCommand\Utility\SpecValidationUtility.cs (3)
34throw new ArgumentNullException(nameof(spec)); 39throw new ArgumentNullException(nameof(projectsToSkip)); 95throw new ArgumentNullException(nameof(spec));
SignCommand\SignCommandException.cs (1)
21_logMessage = logMessage ?? throw new ArgumentNullException(nameof(logMessage));
TrustedSignersCommand\TrustedSignerActionsProvider.cs (4)
34_trustedSignersProvider = trustedSignersProvider ?? throw new ArgumentNullException(nameof(trustedSignersProvider)); 35_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 85throw new ArgumentNullException(nameof(package)); 229throw new ArgumentNullException(nameof(serviceIndex));
TrustedSignersCommand\TrustedSignersCommandRunner.cs (1)
34_trustedSignersProvider = trustedSignersProvider ?? throw new ArgumentNullException(nameof(trustedSignersProvider));
Utility\MSBuildProjectFrameworkUtility.cs (2)
322throw new ArgumentNullException(nameof(frameworkStrings)); 351throw new ArgumentNullException(nameof(framework));
Utility\RequestRuntimeUtility.cs (1)
21throw new ArgumentNullException(nameof(request));
NuGet.Common (47)
AsyncEnumerable\AggregateEnumeratorAsync.cs (1)
30throw new ArgumentNullException(nameof(asyncEnumerables));
AuthTypeFilteredCredentials.cs (2)
28throw new ArgumentNullException(nameof(innerCredential)); 33throw new ArgumentNullException(nameof(authTypes));
ConcurrencyUtilities.cs (2)
55throw new ArgumentNullException(nameof(filePath)); 148throw new ArgumentNullException(nameof(filePath));
CryptoHashUtility.cs (6)
46throw new ArgumentNullException(nameof(hashAlgorithm)); 51throw new ArgumentNullException(nameof(data)); 105throw new ArgumentNullException(nameof(hashAlgorithm)); 110throw new ArgumentNullException(nameof(data)); 134throw new ArgumentNullException(nameof(hashAlgorithmName)); 146throw new ArgumentNullException(nameof(hashAlgorithm));
ExceptionUtilities.cs (4)
59throw new ArgumentNullException(nameof(exception)); 90throw new ArgumentNullException(nameof(exception)); 100throw new ArgumentNullException(nameof(exception)); 110throw new ArgumentNullException(nameof(exception));
KeyedLock.cs (4)
33throw new ArgumentNullException(nameof(key)); 73throw new ArgumentNullException(nameof(key)); 136throw new ArgumentNullException(nameof(key)); 156throw new ArgumentNullException(nameof(key));
PathUtil\FileUtility.cs (10)
37throw new ArgumentNullException(nameof(filePath)); 60throw new ArgumentNullException(nameof(writeSourceFile)); 65throw new ArgumentNullException(nameof(destFilePath)); 87throw new ArgumentNullException(nameof(writeSourceFile)); 92throw new ArgumentNullException(nameof(destFilePath)); 125throw new ArgumentNullException(nameof(writeSourceFile)); 130throw new ArgumentNullException(nameof(destFilePath)); 180throw new ArgumentNullException(nameof(sourceFileName)); 185throw new ArgumentNullException(nameof(destFileName)); 212throw new ArgumentNullException(nameof(path));
PathUtil\PathUtility.cs (10)
60throw new ArgumentNullException(nameof(paths)); 111throw new ArgumentNullException(nameof(path)); 134throw new ArgumentNullException(nameof(dir)); 138throw new ArgumentNullException(nameof(candidate)); 284throw new ArgumentNullException(nameof(basePath)); 289throw new ArgumentNullException(nameof(relativePath)); 341throw new ArgumentNullException(nameof(path)); 368throw new ArgumentNullException(nameof(path)); 411throw new ArgumentNullException(nameof(basePath)); 415throw new ArgumentNullException(nameof(path));
PathUtil\PathValidator.cs (2)
20if (source is null) { throw new ArgumentNullException(nameof(source)); } 37if (path is null) { throw new ArgumentNullException(nameof(path)); }
PathUtil\ProjectJsonPathUtilities.cs (2)
115throw new ArgumentNullException(nameof(configPath)); 138throw new ArgumentNullException(nameof(configPath));
Preprocessor.cs (4)
38throw new ArgumentNullException(nameof(streamTaskFactory)); 43throw new ArgumentNullException(nameof(tokenReplacement)); 68throw new ArgumentNullException(nameof(stream)); 73throw new ArgumentNullException(nameof(tokenReplacement));
NuGet.Configuration (68)
ClientCertificate\ClientCertificateProvider.cs (2)
17_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 24throw new ArgumentNullException(nameof(item));
PackageSource\MinPublishAgeExceptions.cs (1)
30throw new ArgumentNullException(nameof(items));
PackageSource\PackageSource.cs (3)
41throw new ArgumentNullException(paramName: nameof(value)); 190Name = name ?? throw new ArgumentNullException(nameof(name)); 191Source = _source = source ?? throw new ArgumentNullException(nameof(source));
PackageSource\PackageSourceCredential.cs (5)
99Source = source ?? throw new ArgumentNullException(nameof(source)); 100Username = username ?? throw new ArgumentNullException(nameof(username)); 141throw new ArgumentNullException(nameof(source)); 146throw new ArgumentNullException(nameof(username)); 151throw new ArgumentNullException(nameof(password));
PackageSource\PackageSourceProvider.cs (10)
72Settings = settings ?? throw new ArgumentNullException(nameof(settings)); 79throw new ArgumentNullException(nameof(configurationDefaultSources)); 84throw new ArgumentNullException(nameof(configurationDefaultAuditSources)); 209throw new ArgumentNullException(nameof(exceptions)); 721throw new ArgumentNullException(nameof(source)); 858throw new ArgumentNullException(nameof(source)); 921throw new ArgumentNullException(nameof(sources)); 1029throw new ArgumentNullException(nameof(sources)); 1034throw new ArgumentNullException(nameof(environmentVariableReader)); 1171throw new ArgumentNullException(nameof(source));
PackageSourceMapping\PackageSourceMapping.cs (2)
54Patterns = patterns ?? throw new ArgumentNullException(nameof(patterns)); 69throw new ArgumentNullException(nameof(settings));
PackageSourceMapping\PackageSourceMappingProvider.cs (3)
16_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 74throw new ArgumentNullException(nameof(packageSourceMappingSourceItem)); 89throw new ArgumentNullException(nameof(packageSourceMappingsSourceItems));
PackageSourceMapping\SearchTree.cs (1)
18throw new ArgumentNullException(nameof(configuration));
Proxy\ProxyCache.cs (1)
156throw new ArgumentNullException(nameof(credentials));
Proxy\WebProxy.cs (3)
26throw new ArgumentNullException(nameof(proxyAddress)); 37throw new ArgumentNullException(nameof(proxyAddress)); 68throw new ArgumentNullException(nameof(uri));
Settings\ConfigurationDefaults.cs (1)
53_settingsManager = settingsManager ?? throw new ArgumentNullException(nameof(settingsManager));
Settings\ImmutableSettings.cs (1)
17_settings = settings ?? throw new ArgumentNullException(nameof(settings));
Settings\Items\RepositoryItem.cs (1)
42throw new ArgumentNullException(nameof(serviceIndex));
Settings\Items\UnknownItem.cs (3)
77throw new ArgumentNullException(nameof(setting)); 124throw new ArgumentNullException(nameof(setting)); 217throw new ArgumentNullException(nameof(item));
Settings\NuGetConfiguration.cs (2)
81throw new ArgumentNullException(nameof(item)); 129throw new ArgumentNullException(nameof(item));
Settings\NuGetPathContext.cs (2)
35throw new ArgumentNullException(nameof(settings)); 56throw new ArgumentNullException(nameof(settingsRoot));
Settings\SettingBase.cs (3)
19Node = node ?? throw new ArgumentNullException(nameof(node)); 20Origin = origin ?? throw new ArgumentNullException(nameof(origin)); 62Node = node ?? throw new ArgumentNullException(nameof(node));
Settings\SettingFactory.cs (1)
18throw new ArgumentNullException(nameof(node));
Settings\SettingItem.cs (1)
46throw new ArgumentNullException(nameof(setting));
Settings\Settings.cs (4)
67throw new ArgumentNullException(nameof(item)); 101throw new ArgumentNullException(nameof(item)); 173throw new ArgumentNullException(nameof(item)); 220SettingsFiles = settingsFiles ?? throw new ArgumentNullException(nameof(settingsFiles));
Settings\SettingsGroup.cs (3)
29ElementName = name ?? throw new ArgumentNullException(message: Resources.Argument_Cannot_Be_Null_Or_Empty, paramName: nameof(name)); 96throw new ArgumentNullException(nameof(setting)); 136throw new ArgumentNullException(nameof(setting));
Settings\SettingsLoadingContext.cs (1)
57throw new ArgumentNullException(nameof(filePath));
Settings\VirtualSettingSection.cs (2)
80throw new ArgumentNullException(nameof(setting)); 97throw new ArgumentNullException(nameof(setting));
Utility\FileSystemUtility.cs (1)
116throw new ArgumentNullException(nameof(path));
Utility\SettingsUtility.cs (11)
26throw new ArgumentNullException(nameof(settings)); 49throw new ArgumentNullException(nameof(settings)); 94throw new ArgumentNullException(nameof(settings)); 111throw new ArgumentNullException(nameof(settings)); 128throw new ArgumentNullException(nameof(settings)); 164throw new ArgumentNullException(nameof(settings)); 217throw new ArgumentNullException(nameof(settings)); 251throw new ArgumentNullException(nameof(settings)); 290throw new ArgumentNullException(nameof(settings)); 392throw new ArgumentNullException(nameof(settings)); 409throw new ArgumentNullException(nameof(settings));
NuGet.Credentials (32)
CredentialService.cs (3)
50_providers = providers ?? throw new ArgumentNullException(nameof(providers)); 84throw new ArgumentNullException(nameof(uri)); 168throw new ArgumentNullException(nameof(uri));
DefaultNetworkCredentialsCredentialProvider.cs (1)
50throw new ArgumentNullException(nameof(uri));
DelegatingLogger.cs (2)
22_delegateLogger = delegateLogger ?? throw new ArgumentNullException(nameof(delegateLogger)); 31_delegateLogger = logger ?? throw new ArgumentNullException(nameof(logger));
PluginCredentialProvider.cs (4)
42throw new ArgumentNullException(nameof(logger)); 47throw new ArgumentNullException(nameof(path)); 52throw new ArgumentNullException(nameof(verbosity)); 101throw new ArgumentNullException(nameof(uri));
PluginCredentialProviderBuilder.cs (5)
50_extensionLocator = extensionLocator ?? throw new ArgumentNullException(nameof(extensionLocator)); 51_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 52_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 53_envarReader = envarReader ?? throw new ArgumentNullException(nameof(envarReader)); 66throw new ArgumentNullException(nameof(verbosity));
PluginException.cs (10)
55throw new ArgumentNullException(nameof(path)); 60throw new ArgumentNullException(nameof(inner)); 78throw new ArgumentNullException(nameof(path)); 94throw new ArgumentNullException(nameof(path)); 111throw new ArgumentNullException(nameof(path)); 116throw new ArgumentNullException(nameof(attempted)); 133throw new ArgumentNullException(nameof(path)); 151throw new ArgumentNullException(nameof(path)); 175throw new ArgumentNullException(nameof(path)); 180throw new ArgumentNullException(nameof(response));
PluginUnexpectedStatusException.cs (1)
62throw new ArgumentNullException(nameof(path));
SecurePluginCredentialProvider.cs (4)
62_pluginManager = pluginManager ?? throw new ArgumentNullException(nameof(pluginManager)); 63_discoveredPlugin = pluginDiscoveryResult ?? throw new ArgumentNullException(nameof(pluginDiscoveryResult)); 65_logger = logger ?? throw new ArgumentNullException(nameof(logger)); 98throw new ArgumentNullException(nameof(uri));
SecurePluginCredentialProviderBuilder.cs (2)
32_pluginManager = pluginManager ?? throw new ArgumentNullException(nameof(pluginManager)); 34_logger = logger ?? throw new ArgumentNullException(nameof(logger));
NuGet.DependencyResolver.Core (29)
GraphItemKeyComparer.cs (1)
49throw new ArgumentNullException(nameof(obj));
Providers\LocalDependencyProvider.cs (5)
38throw new ArgumentNullException(nameof(dependencyProvider)); 82throw new ArgumentNullException(nameof(libraryRange)); 87throw new ArgumentNullException(nameof(targetFramework)); 124throw new ArgumentNullException(nameof(libraryIdentity)); 129throw new ArgumentNullException(nameof(targetFramework));
Remote\RemoteWalkContext.cs (4)
18CacheContext = cacheContext ?? throw new ArgumentNullException(nameof(cacheContext)); 19Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 24PackageSourceMapping = packageSourceMapping ?? throw new ArgumentNullException(nameof(packageSourceMapping)); 64throw new ArgumentNullException(nameof(libraryRange));
ResolverUtility.cs (19)
44if (libraryRange == null) throw new ArgumentNullException(nameof(libraryRange)); 45if (framework == null) throw new ArgumentNullException(nameof(framework)); 46if (context == null) throw new ArgumentNullException(nameof(context)); 195if (libraryRange == null) throw new ArgumentNullException(nameof(libraryRange)); 196if (framework == null) throw new ArgumentNullException(nameof(framework)); 197if (remoteProviders == null) throw new ArgumentNullException(nameof(remoteProviders)); 198if (localProviders == null) throw new ArgumentNullException(nameof(localProviders)); 199if (projectProviders == null) throw new ArgumentNullException(nameof(projectProviders)); 200if (lockFileLibraries == null) throw new ArgumentNullException(nameof(lockFileLibraries)); 201if (cacheContext == null) throw new ArgumentNullException(nameof(cacheContext)); 202if (logger == null) throw new ArgumentNullException(nameof(logger)); 395if (libraryRange == null) throw new ArgumentNullException(nameof(libraryRange)); 396if (framework == null) throw new ArgumentNullException(nameof(framework)); 397if (projectProviders == null) throw new ArgumentNullException(nameof(projectProviders)); 439if (libraryRange == null) throw new ArgumentNullException(nameof(libraryRange)); 440if (framework == null) throw new ArgumentNullException(nameof(framework)); 441if (providers == null) throw new ArgumentNullException(nameof(providers)); 442if (cacheContext == null) throw new ArgumentNullException(nameof(cacheContext)); 443if (logger == null) throw new ArgumentNullException(nameof(logger));
NuGet.Frameworks (56)
AssetTargetFallbackFramework.cs (2)
35throw new ArgumentNullException(nameof(fallbackFrameworks)); 52throw new ArgumentNullException(nameof(framework));
comparers\FrameworkPrecedenceSorter.cs (1)
19_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings));
CompatibilityCacheKey.cs (2)
25throw new ArgumentNullException(nameof(target)); 30throw new ArgumentNullException(nameof(candidate));
CompatibilityListProvider.cs (3)
18_nameProvider = nameProvider ?? throw new ArgumentNullException(nameof(nameProvider)); 19_compatibilityProvider = compatibilityProvider ?? throw new ArgumentNullException(nameof(compatibilityProvider)); 25if (target == null) throw new ArgumentNullException(nameof(target));
CompatibilityProvider.cs (3)
20_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 33if (target == null) throw new ArgumentNullException(nameof(target)); 34if (candidate == null) throw new ArgumentNullException(nameof(candidate));
CompatibilityTable.cs (4)
30if (frameworks is null) throw new ArgumentNullException(nameof(frameworks)); 31if (mappings is null) throw new ArgumentNullException(nameof(mappings)); 32if (compat is null) throw new ArgumentNullException(nameof(compat)); 53if (framework is null) throw new ArgumentNullException(nameof(framework));
DualCompatibilityFramework.cs (2)
40throw new ArgumentNullException(nameof(secondaryFramework)); 64throw new ArgumentNullException(nameof(framework));
FallbackFramework.cs (2)
26throw new ArgumentNullException(nameof(framework)); 31throw new ArgumentNullException(nameof(fallbackFrameworks));
FrameworkExpander.cs (2)
23_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 31if (framework == null) throw new ArgumentNullException(nameof(framework));
FrameworkNameProvider.cs (3)
286throw new ArgumentNullException(nameof(supportedFrameworks)); 498throw new ArgumentNullException(nameof(shortPortableProfiles)); 610throw new ArgumentNullException(nameof(range));
FrameworkRange.cs (2)
25if (min == null) throw new ArgumentNullException(nameof(min)); 26if (max == null) throw new ArgumentNullException(nameof(max));
FrameworkReducer.cs (7)
32_mappings = mappings ?? throw new ArgumentNullException(nameof(mappings)); 33_compat = compat ?? throw new ArgumentNullException(nameof(compat)); 44if (framework == null) throw new ArgumentNullException(nameof(framework)); 45if (possibleFrameworks == null) throw new ArgumentNullException(nameof(possibleFrameworks)); 233if (frameworks == null) throw new ArgumentNullException(nameof(frameworks)); 269if (frameworks is null) throw new ArgumentNullException(nameof(frameworks)); 289if (frameworks is null) throw new ArgumentNullException(nameof(frameworks));
FrameworkRuntimePair.cs (2)
23Framework = framework ?? throw new ArgumentNullException(nameof(framework)); 68if (framework is null) throw new ArgumentNullException(nameof(framework));
FrameworkSpecificMapping.cs (1)
21FrameworkIdentifier = frameworkIdentifier ?? throw new ArgumentNullException(nameof(frameworkIdentifier));
NuGetFramework.cs (5)
59if (frameworkIdentifier == null) throw new ArgumentNullException(nameof(frameworkIdentifier)); 60if (frameworkVersion == null) throw new ArgumentNullException(nameof(frameworkVersion)); 61if (platform == null) throw new ArgumentNullException(nameof(platform)); 62if (platformVersion == null) throw new ArgumentNullException(nameof(platformVersion)); 134throw new ArgumentNullException(nameof(mappings));
NuGetFrameworkFactory.cs (7)
42if (folderName == null) throw new ArgumentNullException(nameof(folderName)); 43if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 73if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 148if (frameworkName == null) throw new ArgumentNullException(nameof(frameworkName)); 149if (mappings == null) throw new ArgumentNullException(nameof(mappings)); 255throw new ArgumentNullException(nameof(folderName)); 260throw new ArgumentNullException(nameof(mappings));
NuGetFrameworkUtility.cs (8)
36if (framework == null) throw new ArgumentNullException(nameof(framework)); 37if (frameworkMappings == null) throw new ArgumentNullException(nameof(frameworkMappings)); 38if (compatibilityProvider == null) throw new ArgumentNullException(nameof(compatibilityProvider)); 74if (framework == null) throw new ArgumentNullException(nameof(framework)); 75if (frameworkMappings == null) throw new ArgumentNullException(nameof(frameworkMappings)); 76if (compatibilityProvider == null) throw new ArgumentNullException(nameof(compatibilityProvider)); 97if (projectFramework is null) throw new ArgumentNullException(nameof(projectFramework)); 98if (candidate is null) throw new ArgumentNullException(nameof(candidate));
NuGet.LibraryModel (14)
CentralPackageVersion.cs (2)
21Name = name ?? throw new ArgumentNullException(nameof(name)); 22VersionRange = versionRange ?? throw new ArgumentNullException(nameof(versionRange));
CentralPackageVersionNameComparer.cs (1)
32throw new ArgumentNullException(nameof(obj));
FrameworkDependency.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
Library.cs (3)
29LibraryRange = libraryRange ?? throw new ArgumentNullException(nameof(libraryRange)); 30Identity = identity ?? throw new ArgumentNullException(nameof(identity)); 31Dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
LibraryDependency.cs (1)
71LibraryRange = libraryRange ?? throw new ArgumentNullException(nameof(libraryRange));
LibraryDependencyInfo.cs (3)
41Library = library ?? throw new ArgumentNullException(nameof(library)); 42Framework = framework ?? throw new ArgumentNullException(nameof(framework)); 43Dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
LibraryIncludeFlagUtils.cs (1)
31throw new ArgumentNullException(nameof(flags));
PrunePackageReference.cs (2)
31Name = name ?? throw new ArgumentNullException(nameof(name)); 32VersionRange = versionRange ?? throw new ArgumentNullException(nameof(versionRange));
NuGet.PackageManagement (198)
Audit\AuditChecker.cs (2)
43if (packages == null) throw new ArgumentNullException(nameof(packages)); 44if (restoreAuditProperties == null) throw new ArgumentNullException(nameof(restoreAuditProperties));
Audit\AuditCheckResult.cs (1)
52throw new ArgumentNullException(nameof(warnings));
BuildIntegratedPackageReference.cs (4)
39throw new ArgumentNullException(nameof(dependency)); 60throw new ArgumentNullException(nameof(dependency)); 73throw new ArgumentNullException(nameof(dependency)); 89throw new ArgumentNullException(nameof(dependency));
BuildIntegration\BuildIntegratedProjectAction.cs (13)
53throw new ArgumentNullException(nameof(project)); 58throw new ArgumentNullException(nameof(packageIdentity)); 63throw new ArgumentNullException(nameof(originalLockFile)); 68throw new ArgumentNullException(nameof(restoreResultPair)); 73throw new ArgumentNullException(nameof(sources)); 78throw new ArgumentNullException(nameof(originalActions)); 83throw new ArgumentNullException(nameof(installationContext)); 105throw new ArgumentNullException(nameof(project)); 110throw new ArgumentNullException(nameof(packageIdentity)); 115throw new ArgumentNullException(nameof(originalLockFile)); 120throw new ArgumentNullException(nameof(restoreResultPair)); 125throw new ArgumentNullException(nameof(sources)); 130throw new ArgumentNullException(nameof(originalActionsAndInstallationContexts));
BuildIntegration\BuildIntegratedRestoreUtility.cs (3)
117throw new ArgumentNullException(nameof(projects)); 122throw new ArgumentNullException(nameof(target)); 127throw new ArgumentNullException(nameof(cache));
BuildIntegration\PackageReferenceRollbackException.cs (2)
35throw new ArgumentNullException(nameof(message)); 40throw new ArgumentNullException(nameof(logMessages));
Context\IDEExecutionContext.cs (1)
20throw new ArgumentNullException(nameof(commonOperations));
Context\ResolutionContext.cs (1)
60throw new ArgumentNullException(nameof(gatherCache));
FileModifiers\Preprocessor.cs (4)
41throw new ArgumentNullException(nameof(streamTaskFactory)); 46throw new ArgumentNullException(nameof(projectSystem)); 82throw new ArgumentNullException(nameof(streamTaskFactory)); 87throw new ArgumentNullException(nameof(projectSystem));
FileModifiers\XdtTransformer.cs (4)
47throw new ArgumentNullException(nameof(streamTaskFactory)); 52throw new ArgumentNullException(nameof(projectSystem)); 86throw new ArgumentNullException(nameof(streamTaskFactory)); 91throw new ArgumentNullException(nameof(projectSystem));
FileModifiers\XmlTransformer.cs (5)
35throw new ArgumentNullException(nameof(nodeActions)); 63throw new ArgumentNullException(nameof(streamTaskFactory)); 68throw new ArgumentNullException(nameof(projectSystem)); 108throw new ArgumentNullException(nameof(streamTaskFactory)); 113throw new ArgumentNullException(nameof(projectSystem));
IDE\IPackageRestoreManager.cs (1)
123throw new ArgumentNullException(nameof(packageIdentity));
IDE\PackageRestoreContext.cs (4)
83PackageManager = nuGetPackageManager ?? throw new ArgumentNullException(nameof(nuGetPackageManager)); 84Packages = packages ?? throw new ArgumentNullException(nameof(packages)); 85Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 93RestoreAuditProperties = restoreAuditProperties ?? throw new ArgumentNullException(nameof(restoreAuditProperties));
IDE\PackageRestoreData.cs (2)
21throw new ArgumentNullException(nameof(packageReference)); 26throw new ArgumentNullException(nameof(projectNames));
IDE\PackageRestoreFailedEventArgs.cs (3)
21throw new ArgumentNullException(nameof(restoredFailedPackageReference)); 26throw new ArgumentNullException(nameof(exception)); 31throw new ArgumentNullException(nameof(projectNames));
IDE\PackageRestoreManager.cs (7)
56SourceRepositoryProvider = sourceRepositoryProvider ?? throw new ArgumentNullException(nameof(sourceRepositoryProvider)); 57Settings = settings ?? throw new ArgumentNullException(nameof(settings)); 58SolutionManager = solutionManager ?? throw new ArgumentNullException(nameof(solutionManager)); 251if (nuGetProjectContext == null) throw new ArgumentNullException(nameof(nuGetProjectContext)); 294throw new ArgumentNullException(nameof(packages)); 354throw new ArgumentNullException(nameof(packageRestoreContext)); 359throw new ArgumentNullException(nameof(nuGetProjectContext));
IDE\PackageRestoreResult.cs (1)
23RestoredPackages = restoredPackages ?? throw new ArgumentNullException(nameof(restoredPackages));
IDE\PackagesMarkedForDeletionEventArgs.cs (1)
29throw new ArgumentNullException(nameof(directoriesMarkedForDeletion));
InstallationCompatibility.cs (3)
108throw new ArgumentNullException(nameof(nuGetProject)); 113throw new ArgumentNullException(nameof(packageIdentity)); 118throw new ArgumentNullException(nameof(resourceResult));
LoggerAdapter.cs (1)
21ProjectLogger = projectLogger ?? throw new ArgumentNullException(nameof(projectLogger));
NuGetPackageManager.cs (58)
98throw new ArgumentNullException(nameof(packagesFolderPath)); 101SourceRepositoryProvider = sourceRepositoryProvider ?? throw new ArgumentNullException(nameof(sourceRepositoryProvider)); 102Settings = settings ?? throw new ArgumentNullException(nameof(settings)); 139_ = reporter ?? throw new ArgumentNullException(nameof(reporter)); 150SourceRepositoryProvider = sourceRepositoryProvider ?? throw new ArgumentNullException(nameof(sourceRepositoryProvider)); 151Settings = settings ?? throw new ArgumentNullException(nameof(settings)); 152SolutionManager = solutionManager ?? throw new ArgumentNullException(nameof(solutionManager)); 155DeleteOnRestartManager = deleteOnRestartManager ?? throw new ArgumentNullException(nameof(deleteOnRestartManager)); 227throw new ArgumentNullException(nameof(resolutionContext)); 285throw new ArgumentNullException(nameof(resolutionContext)); 413throw new ArgumentNullException(nameof(resolutionContext)); 513throw new ArgumentNullException(nameof(nuGetProject)); 518throw new ArgumentNullException(nameof(packageId)); 523throw new ArgumentNullException(nameof(resolutionContext)); 528throw new ArgumentNullException(nameof(nuGetProjectContext)); 651throw new ArgumentNullException(nameof(packageIdentities)); 656throw new ArgumentNullException(nameof(nuGetProjects)); 661throw new ArgumentNullException(nameof(resolutionContext)); 666throw new ArgumentNullException(nameof(nuGetProjectContext)); 671throw new ArgumentNullException(nameof(primarySources)); 676throw new ArgumentNullException(nameof(secondarySources)); 1622throw new ArgumentNullException(nameof(nuGetProjects)); 1627throw new ArgumentNullException(nameof(packageIdentity)); 1632throw new ArgumentNullException(nameof(resolutionContext)); 1637throw new ArgumentNullException(nameof(nuGetProjectContext)); 1642throw new ArgumentNullException(nameof(activeSources)); 1652throw new ArgumentNullException(nameof(packageIdentity)); 1738throw new ArgumentNullException(nameof(nuGetProject)); 1743throw new ArgumentNullException(nameof(packageIdentity)); 1748throw new ArgumentNullException(nameof(resolutionContext)); 1753throw new ArgumentNullException(nameof(nuGetProjectContext)); 1758throw new ArgumentNullException(nameof(primarySources)); 2133throw new ArgumentNullException(nameof(nuGetProjects)); 2138throw new ArgumentNullException(nameof(packageId)); 2143throw new ArgumentNullException(nameof(uninstallationContext)); 2148throw new ArgumentNullException(nameof(nuGetProjectContext)); 2272throw new ArgumentNullException(nameof(nuGetProject)); 2277throw new ArgumentNullException(nameof(packageId)); 2282throw new ArgumentNullException(nameof(uninstallationContext)); 2287throw new ArgumentNullException(nameof(nuGetProjectContext)); 2313throw new ArgumentNullException(nameof(nuGetProject)); 2318throw new ArgumentNullException(nameof(packageIdentity)); 2323throw new ArgumentNullException(nameof(uninstallationContext)); 2328throw new ArgumentNullException(nameof(nuGetProjectContext)); 2506throw new ArgumentNullException(nameof(nuGetProject)); 2511throw new ArgumentNullException(nameof(nuGetProjectActions)); 2516throw new ArgumentNullException(nameof(nuGetProjectContext)); 2835throw new ArgumentNullException(nameof(nuGetProjectActions)); 2840throw new ArgumentNullException(nameof(buildIntegratedProject)); 2845throw new ArgumentNullException(nameof(nuGetProjectContext)); 2892throw new ArgumentNullException(nameof(buildIntegratedProjects)); 2903throw new ArgumentNullException(nameof(nuGetProjectContext)); 2954throw new ArgumentNullException(nameof(primarySources), $"Should have value in {nameof(primarySources)} if there is value for {nameof(packageIdentity)}"); 3266throw new ArgumentNullException(nameof(buildIntegratedProject)); 3703throw new ArgumentNullException(nameof(nuGetProject)); 3708throw new ArgumentNullException(nameof(packageIdentity)); 3744throw new ArgumentNullException(nameof(packageIdentity)); 3749throw new ArgumentNullException(nameof(nuGetProjectContext));
NuGetProjectAction.cs (1)
53throw new ArgumentNullException(nameof(packageIdentity));
PackageDownloader.cs (8)
59throw new ArgumentNullException(nameof(sources)); 64throw new ArgumentNullException(nameof(packageIdentity)); 69throw new ArgumentNullException(nameof(downloadContext)); 74throw new ArgumentNullException(nameof(logger)); 273throw new ArgumentNullException(nameof(sourceRepository)); 278throw new ArgumentNullException(nameof(packageIdentity)); 283throw new ArgumentNullException(nameof(downloadContext)); 288throw new ArgumentNullException(nameof(logger));
PackagePreFetcher.cs (8)
35throw new ArgumentNullException(nameof(actions)); 40throw new ArgumentNullException(nameof(packagesFolder)); 45throw new ArgumentNullException(nameof(downloadContext)); 50throw new ArgumentNullException(nameof(globalPackagesFolder)); 55throw new ArgumentNullException(nameof(logger)); 165throw new ArgumentNullException(nameof(fetchResults)); 170throw new ArgumentNullException(nameof(packagesFolderRoot)); 175throw new ArgumentNullException(nameof(logger));
PackagePreFetcherResult.cs (5)
61throw new ArgumentNullException(nameof(source)); 66throw new ArgumentNullException(nameof(downloadTask)); 71throw new ArgumentNullException(nameof(package)); 90throw new ArgumentNullException(nameof(nupkgPath)); 95throw new ArgumentNullException(nameof(package));
PackageRestoreConsent.cs (3)
38_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 39_environmentReader = environmentReader ?? throw new ArgumentNullException(nameof(environmentReader)); 40_configurationDefaults = configurationDefaults ?? throw new ArgumentNullException(nameof(configurationDefaults));
PackageWithDependants.cs (2)
21Identity = identity ?? throw new ArgumentNullException(nameof(identity)); 22DependantPackages = dependingPackages ?? throw new ArgumentNullException(nameof(dependingPackages));
Projects\FolderNuGetProject.cs (18)
72throw new ArgumentNullException(nameof(targetFramework)); 75Root = root ?? throw new ArgumentNullException(nameof(root)); 76_packagePathResolver = packagePathResolver ?? throw new ArgumentNullException(nameof(packagePathResolver)); 121throw new ArgumentNullException(nameof(packageIdentity)); 126throw new ArgumentNullException(nameof(downloadResourceResult)); 131throw new ArgumentNullException(nameof(nuGetProjectContext)); 258throw new ArgumentNullException(nameof(packageIdentity)); 276throw new ArgumentNullException(nameof(packageIdentity)); 337throw new ArgumentNullException(nameof(packageIdentity)); 364throw new ArgumentNullException(nameof(packageIdentity)); 392throw new ArgumentNullException(nameof(packageIdentity)); 397throw new ArgumentNullException(nameof(nuGetProjectContext)); 425throw new ArgumentNullException(nameof(packageIdentity)); 481throw new ArgumentNullException(nameof(packageIdentity)); 511throw new ArgumentNullException(nameof(packageIdentity)); 539throw new ArgumentNullException(nameof(packageIdentity)); 572throw new ArgumentNullException(nameof(packageIdentity)); 577throw new ArgumentNullException(nameof(nuGetProjectContext));
Projects\MSBuildNuGetProject.cs (9)
96throw new ArgumentNullException(nameof(folderNuGetProjectPath)); 101throw new ArgumentNullException(nameof(packagesConfigFolderPath)); 106ProjectSystem = msbuildNuGetProjectSystem ?? throw new ArgumentNullException(nameof(msbuildNuGetProjectSystem)); 150throw new ArgumentNullException(nameof(packageIdentity)); 155throw new ArgumentNullException(nameof(downloadResourceResult)); 160throw new ArgumentNullException(nameof(nuGetProjectContext)); 421throw new ArgumentNullException(nameof(packageIdentity)); 426throw new ArgumentNullException(nameof(nuGetProjectContext)); 650throw new ArgumentNullException(nameof(context));
Projects\NuGetProject.cs (2)
76throw new ArgumentNullException(nameof(key)); 135throw new ArgumentNullException(nameof(nuGetProject));
Projects\PackagesConfigNuGetProject.cs (5)
62throw new ArgumentNullException(nameof(folderPath)); 91throw new ArgumentNullException(nameof(packageIdentity)); 96throw new ArgumentNullException(nameof(nuGetProjectContext)); 190throw new ArgumentNullException(nameof(packageIdentity)); 195throw new ArgumentNullException(nameof(nuGetProjectContext));
Projects\ProjectJsonNuGetProject.cs (2)
48throw new ArgumentNullException(nameof(jsonConfig)); 53throw new ArgumentNullException(nameof(msBuildProjectPath));
Resolution\ResolverGather.cs (1)
80if (context == null) throw new ArgumentNullException(nameof(context));
SourceControl\SourceControlManager.cs (1)
21throw new ArgumentNullException(nameof(settings));
Utility\ExceptionUtility.cs (2)
17throw new ArgumentNullException(nameof(exception)); 32throw new ArgumentNullException(nameof(exception));
Utility\FileSystemUtility.cs (4)
53throw new ArgumentNullException(nameof(stream)); 63throw new ArgumentNullException(nameof(writeToStream)); 328throw new ArgumentNullException(nameof(streamFactory)); 359throw new ArgumentNullException(nameof(streamTaskFactory));
Utility\NuGetEventArgs.cs (1)
29throw new ArgumentNullException(nameof(arg));
Utility\PackagesConfigLockFileUtility.cs (3)
289throw new ArgumentNullException(nameof(pcFile)); 297throw new ArgumentNullException(nameof(projectTfm)); 301throw new ArgumentNullException(nameof(packagesFolderPath));
Utility\PackagesFolderPathUtility.cs (2)
23throw new ArgumentNullException(nameof(solutionManager)); 45throw new ArgumentNullException(nameof(settings));
NuGet.Packaging (279)
ContentModel\ContentItemCollection.cs (5)
33throw new ArgumentNullException(nameof(paths)); 68throw new ArgumentNullException(nameof(definition)); 86throw new ArgumentNullException(nameof(definition)); 90throw new ArgumentNullException(nameof(contentItemGroupList)); 145throw new ArgumentNullException(nameof(criteria));
ContentModel\ContentQueryDefinition.cs (5)
18if (properties == null) throw new ArgumentNullException(nameof(properties)); 19if (groupPatterns == null) throw new ArgumentNullException(nameof(groupPatterns)); 20if (pathPatterns == null) throw new ArgumentNullException(nameof(pathPatterns)); 105if (pattern == null) throw new ArgumentNullException(nameof(pattern)); 106if (defaults == null) throw new ArgumentNullException(nameof(defaults));
ContentModel\PatternTable.cs (2)
30throw new ArgumentNullException(nameof(entries)); 56throw new ArgumentNullException(nameof(propertyName));
ContentModel\PatternTableEntry.cs (2)
29throw new ArgumentNullException(nameof(propertyName)); 34throw new ArgumentNullException(nameof(name));
Core\comparers\PackageDependencyComparer.cs (1)
24throw new ArgumentNullException(nameof(versionRangeComparer));
Core\comparers\PackageDependencyInfoComparer.cs (2)
25throw new ArgumentNullException(nameof(identityComparer)); 30throw new ArgumentNullException(nameof(dependencyComparer));
Core\comparers\PackageIdentityComparer.cs (1)
40throw new ArgumentNullException(nameof(versionComparer));
Core\ContentFilesEntry.cs (1)
49throw new ArgumentNullException(nameof(include));
Core\Fingerprints.cs (1)
15_keyValuePairs = fingerPrints ?? throw new ArgumentNullException(nameof(fingerPrints));
Core\FrameworkReference.cs (1)
17Name = name ?? throw new ArgumentNullException(nameof(name));
Core\FrameworkReferenceGroup.cs (2)
23TargetFramework = targetFramework ?? throw new ArgumentNullException(nameof(targetFramework)); 24FrameworkReferences = frameworkReferences ?? throw new ArgumentNullException(nameof(frameworkReferences));
Core\FrameworkSpecificGroup.cs (2)
30throw new ArgumentNullException(nameof(targetFramework)); 35throw new ArgumentNullException(nameof(items));
Core\NuspecCoreReaderBase.cs (3)
37throw new ArgumentNullException(nameof(path)); 58throw new ArgumentNullException(nameof(stream)); 71throw new ArgumentNullException(nameof(xml));
Core\PackageDependencyGroup.cs (2)
46throw new ArgumentNullException(nameof(targetFramework)); 51throw new ArgumentNullException(nameof(packages));
Core\PackageIdentity.cs (1)
27throw new ArgumentNullException(nameof(id));
Core\PackageType.cs (1)
32Version = version ?? throw new ArgumentNullException(nameof(version));
FallbackPackagePathInfo.cs (3)
30throw new ArgumentNullException(nameof(id)); 35throw new ArgumentNullException(nameof(version)); 40throw new ArgumentNullException(nameof(resolver));
FallbackPackagePathResolver.cs (3)
33throw new ArgumentNullException(nameof(fallbackPackageFolders)); 38throw new ArgumentNullException(nameof(userPackageFolder)); 117throw new ArgumentNullException(nameof(version));
Licenses\LogicalOperator.cs (2)
20Left = left ?? throw new ArgumentNullException(nameof(left)); 21Right = right ?? throw new ArgumentNullException(nameof(right));
Licenses\NuGetLicense.cs (1)
33Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier));
Licenses\NuGetLicenseException.cs (1)
21Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier));
Licenses\WithOperator.cs (2)
17License = license ?? throw new ArgumentNullException(nameof(license)); 18Exception = exception ?? throw new ArgumentNullException(nameof(exception));
MinClientVersionUtility.cs (3)
26throw new ArgumentNullException(nameof(nuspecReader)); 49throw new ArgumentNullException(nameof(nuspecReader)); 65throw new ArgumentNullException(nameof(packageMinClientVersion));
NupkgMetadata\NupkgMetadataFileFormat.cs (2)
43if (stream is null) { throw new ArgumentNullException(nameof(stream)); } 87if (stream is null) { throw new ArgumentNullException(nameof(stream)); }
PackageArchiveReader.cs (3)
119_zipArchive = zipArchive ?? throw new ArgumentNullException(nameof(zipArchive)); 128throw new ArgumentNullException(nameof(filePath)); 435throw new ArgumentNullException(nameof(signatureContent));
PackageCreation\Authoring\EmptyFrameworkFolderFile.cs (1)
22throw new ArgumentNullException(nameof(directoryPathInPackage));
PackageCreation\Authoring\FrameworkAssemblyReference.cs (1)
21throw new ArgumentNullException(nameof(supportedFrameworks));
PackageCreation\Authoring\LicenseMetadata.cs (2)
51License = license ?? throw new ArgumentNullException(nameof(license)); 54Version = version ?? throw new ArgumentNullException(nameof(version));
PackageCreation\Authoring\Manifest.cs (1)
35throw new ArgumentNullException(nameof(metadata));
PackageCreation\Authoring\ManifestVersionUtility.cs (1)
22throw new ArgumentNullException(nameof(metadata));
PackageCreation\Authoring\PackageReferenceSet.cs (1)
43throw new ArgumentNullException(nameof(references));
PackageCreation\Utility\PackageIdValidator.cs (1)
26throw new ArgumentNullException(nameof(packageId));
PackageExtraction\PackageExtractionContext.cs (1)
34Logger = logger ?? throw new ArgumentNullException(nameof(logger));
PackageExtraction\PackagePathHelper.cs (2)
108throw new ArgumentNullException(nameof(packageIdentity)); 120throw new ArgumentNullException(nameof(packagePathResolver));
PackageExtraction\ZipArchiveExtensions.cs (3)
97if (entry == null) throw new ArgumentNullException(nameof(entry)); 98if (fileFullPath == null) throw new ArgumentNullException(nameof(fileFullPath)); 127if (string.IsNullOrEmpty(fileFullPath)) throw new ArgumentNullException(nameof(fileFullPath));
PackageExtractor.cs (18)
44throw new ArgumentNullException(nameof(packageStream)); 54throw new ArgumentNullException(nameof(packagePathResolver)); 59throw new ArgumentNullException(nameof(packageExtractionContext)); 176throw new ArgumentNullException(nameof(packageStream)); 181throw new ArgumentNullException(nameof(packagePathResolver)); 186throw new ArgumentNullException(nameof(packageExtractionContext)); 280throw new ArgumentNullException(nameof(packageReader)); 285throw new ArgumentNullException(nameof(packagePathResolver)); 290throw new ArgumentNullException(nameof(packageExtractionContext)); 388throw new ArgumentNullException(nameof(copyToAsync)); 393throw new ArgumentNullException(nameof(packageExtractionContext)); 665throw new ArgumentNullException(nameof(packageDownloader)); 670throw new ArgumentNullException(nameof(packageExtractionContext)); 954throw new ArgumentNullException(nameof(packageIdentity)); 959throw new ArgumentNullException(nameof(packagePathResolver)); 991throw new ArgumentNullException(nameof(packageReader)); 996throw new ArgumentNullException(nameof(packagePathResolver)); 1001throw new ArgumentNullException(nameof(packageExtractionContext));
PackageReaderBase.cs (2)
52throw new ArgumentNullException(nameof(frameworkProvider)); 57throw new ArgumentNullException(nameof(compatibilityProvider));
PackagesConfigReader.cs (4)
42throw new ArgumentNullException(nameof(xml)); 47throw new ArgumentNullException(nameof(frameworkMappings)); 83throw new ArgumentNullException(nameof(stream)); 88throw new ArgumentNullException(nameof(frameworkMappings));
PackagesConfigWriter.cs (14)
49throw new ArgumentNullException(nameof(fullPath)); 97throw new ArgumentNullException(nameof(stream)); 147throw new ArgumentNullException(nameof(packageId)); 152throw new ArgumentNullException(nameof(version)); 157throw new ArgumentNullException(nameof(targetFramework)); 181throw new ArgumentNullException(nameof(entry)); 216throw new ArgumentNullException(nameof(oldEntry)); 221throw new ArgumentNullException(nameof(newEntry)); 254throw new ArgumentNullException(nameof(originalConfig)); 259throw new ArgumentNullException(nameof(newEntry)); 301throw new ArgumentNullException(nameof(packageId)); 306throw new ArgumentNullException(nameof(version)); 311throw new ArgumentNullException(nameof(targetFramework)); 337throw new ArgumentNullException(nameof(entry));
Rules\BestPractice\MissingReadmeRule.cs (1)
18MessageFormat = messageFormat ?? throw new ArgumentNullException(nameof(messageFormat));
Rules\DefaultManifestValuesRule.cs (1)
34throw new ArgumentNullException(nameof(builder));
Rules\IconUrlDeprecationWarning.cs (1)
17MessageFormat = messageFormat ?? throw new ArgumentNullException(nameof(messageFormat));
Rules\LicenseUrlDeprecationWarning.cs (1)
17MessageFormat = messageFormat ?? throw new ArgumentNullException(nameof(messageFormat));
Rules\UnrecognizedLicenseIdentifierRule.cs (1)
19MessageFormat = messageFormat ?? throw new ArgumentNullException(nameof(messageFormat));
Rules\UnspecifiedDependencyVersionRule.cs (1)
26throw new ArgumentNullException(nameof(builder));
RuntimeModel\JsonObjectWriter.cs (10)
24throw new ArgumentNullException(nameof(writer)); 51throw new ArgumentNullException(nameof(name)); 64throw new ArgumentNullException(nameof(name)); 91throw new ArgumentNullException(nameof(name)); 104throw new ArgumentNullException(nameof(name)); 117throw new ArgumentNullException(nameof(name)); 130throw new ArgumentNullException(nameof(name)); 135throw new ArgumentNullException(nameof(values)); 155throw new ArgumentNullException(nameof(name)); 160throw new ArgumentNullException(nameof(values));
RuntimeModel\RuntimeGraph.cs (4)
392RuntimeName = runtimeName ?? throw new ArgumentNullException(nameof(runtimeName)); 393PackageId = packageId ?? throw new ArgumentNullException(nameof(packageId)); 424RuntimeName = runtimeName ?? throw new ArgumentNullException(nameof(runtimeName)); 425Other = other ?? throw new ArgumentNullException(nameof(other));
Signing\Archive\ReadOnlyBufferedStream.cs (2)
98throw new ArgumentNullException(nameof(stream)); 153throw new ArgumentNullException(nameof(buffer));
Signing\Archive\SignedPackageArchiveIOUtility.cs (11)
38throw new ArgumentNullException(nameof(reader)); 43throw new ArgumentNullException(nameof(writer)); 83throw new ArgumentNullException(nameof(reader)); 126throw new ArgumentNullException(nameof(hashAlgorithm)); 154throw new ArgumentNullException(nameof(reader)); 202throw new ArgumentNullException(nameof(hashFunc)); 228throw new ArgumentNullException(nameof(reader)); 340throw new ArgumentNullException(nameof(reader)); 522throw new ArgumentNullException(nameof(signatureStream)); 527throw new ArgumentNullException(nameof(reader)); 532throw new ArgumentNullException(nameof(writer));
Signing\Archive\SignedPackageArchiveUtility.cs (9)
33throw new ArgumentNullException(nameof(reader)); 82throw new ArgumentNullException(nameof(reader)); 159throw new ArgumentNullException(nameof(reader)); 245throw new ArgumentNullException(nameof(input)); 250throw new ArgumentNullException(nameof(output)); 397throw new ArgumentNullException(nameof(reader)); 402throw new ArgumentNullException(nameof(writer)); 440throw new ArgumentNullException(nameof(reader)); 445throw new ArgumentNullException(nameof(hashAlgorithm));
Signing\Authoring\RepositorySignPackageRequest.cs (1)
62throw new ArgumentNullException(nameof(v3ServiceIndexUrl));
Signing\Authoring\SigningOptions.cs (6)
87_inputPackageStream = inputPackageStream ?? throw new ArgumentNullException(nameof(inputPackageStream)); 88_outputPackageStream = outputPackageStream ?? throw new ArgumentNullException(nameof(outputPackageStream)); 89SignatureProvider = signatureProvider ?? throw new ArgumentNullException(nameof(signatureProvider)); 90Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 139throw new ArgumentNullException(nameof(signatureProvider)); 144throw new ArgumentNullException(nameof(logger));
Signing\Authoring\SignPackageRequest.cs (1)
63throw new ArgumentNullException(nameof(certificate));
Signing\Authoring\X509SignatureProvider.cs (6)
36throw new ArgumentNullException(nameof(request)); 41throw new ArgumentNullException(nameof(signatureContent)); 46throw new ArgumentNullException(nameof(logger)); 68throw new ArgumentNullException(nameof(request)); 73throw new ArgumentNullException(nameof(primarySignature)); 78throw new ArgumentNullException(nameof(logger));
Signing\ChainBuilding\DefaultX509ChainBuildPolicy.cs (2)
19throw new ArgumentNullException(nameof(chain)); 24throw new ArgumentNullException(nameof(certificate));
Signing\ChainBuilding\RetriableX509ChainBuildPolicy.cs (3)
21throw new ArgumentNullException(nameof(innerPolicy)); 43throw new ArgumentNullException(nameof(chain)); 48throw new ArgumentNullException(nameof(certificate));
Signing\ChainBuilding\X509ChainBuildPolicyFactory.cs (2)
24throw new ArgumentNullException(nameof(reader)); 45throw new ArgumentNullException(nameof(reader));
Signing\Cms\CmsFactory.cs (1)
14throw new ArgumentNullException(nameof(cmsBytes));
Signing\Content\KeyPairFileReader.cs (2)
23throw new ArgumentNullException(nameof(stream)); 28throw new ArgumentNullException(nameof(encoding));
Signing\Content\KeyPairFileWriter.cs (2)
19throw new ArgumentNullException(nameof(stream)); 24throw new ArgumentNullException(nameof(encoding));
Signing\Content\SignatureContent.cs (3)
35throw new ArgumentNullException(nameof(signingSpecifications)); 82throw new ArgumentNullException(nameof(bytes)); 87throw new ArgumentNullException(nameof(signingSpecifications));
Signing\Package\SignedPackageArchive.cs (2)
29ZipReadStream = packageReadStream ?? throw new ArgumentNullException(nameof(packageReadStream)); 30_zipWriteStream = packageWriteStream ?? throw new ArgumentNullException(nameof(packageWriteStream));
Signing\RepositorySignatureInfoProvider.cs (1)
39_dict[source] = repositorySignatureInfo ?? throw new ArgumentNullException(nameof(repositorySignatureInfo));
Signing\Signatures\CommitmentTypeIndication.cs (1)
37throw new ArgumentNullException(nameof(commitmentTypeId));
Signing\Signatures\EssCertIdV2.cs (1)
47throw new ArgumentNullException(nameof(certificate));
Signing\Signatures\GeneralName.cs (1)
65throw new ArgumentNullException(nameof(distinguishedName));
Signing\Signatures\IssuerSerial.cs (1)
44throw new ArgumentNullException(nameof(certificate));
Signing\Signatures\NuGetV3ServiceIndexUrl.cs (1)
22throw new ArgumentNullException(nameof(v3ServiceIndexUrl));
Signing\Signatures\PrimarySignature.cs (4)
54throw new ArgumentNullException(nameof(cms)); 76throw new ArgumentNullException(nameof(data)); 92throw new ArgumentNullException(nameof(stream)); 150throw new ArgumentNullException(nameof(signedCms));
Signing\Signatures\RepositoryCountersignature.cs (2)
39throw new ArgumentNullException(nameof(primarySignature)); 122throw new ArgumentNullException(nameof(primarySignature));
Signing\Signatures\Signature.cs (2)
78throw new ArgumentNullException(nameof(issues)); 83throw new ArgumentNullException(nameof(settings));
Signing\Signatures\SigningCertificateV2.cs (1)
38throw new ArgumentNullException(nameof(certificate));
Signing\Timestamp\Rfc3161TimestampProvider.cs (3)
40_timestamperUrl = timeStampServerUrl ?? throw new ArgumentNullException(nameof(timeStampServerUrl)); 73throw new ArgumentNullException(nameof(request)); 78throw new ArgumentNullException(nameof(logger));
Signing\Timestamp\Rfc3161TimestampRequestFactory.cs (1)
22throw new ArgumentNullException(nameof(messageHash));
Signing\Timestamp\Rfc3161TimestampRequestNetstandard21Wrapper.cs (1)
41throw new ArgumentNullException(nameof(timestampUri));
Signing\Timestamp\Rfc3161TimestampTokenFactory.cs (4)
19throw new ArgumentNullException(nameof(tstInfo)); 24throw new ArgumentNullException(nameof(signerCertificate)); 29throw new ArgumentNullException(nameof(additionalCerts)); 34throw new ArgumentNullException(nameof(encoded));
Signing\Timestamp\Rfc3161TimestampTokenInfoFactory.cs (1)
14throw new ArgumentNullException(nameof(bytes));
Signing\Timestamp\Timestamp.cs (4)
62SignedCms = timestampCms ?? throw new ArgumentNullException(nameof(timestampCms)); 104throw new ArgumentNullException(nameof(settings)); 109throw new ArgumentNullException(nameof(signature)); 113throw new ArgumentNullException(nameof(issues));
Signing\Timestamp\TimestampRequest.cs (2)
36SigningSpecifications = signingSpecifications ?? throw new ArgumentNullException(nameof(signingSpecifications)); 37HashedMessage = hashedMessage ?? throw new ArgumentNullException(nameof(hashedMessage));
Signing\TrustedSigners\TrustedSignersProvider.cs (5)
19_settings = settings ?? throw new ArgumentNullException(nameof(settings)); 57throw new ArgumentNullException(nameof(trustedSigner)); 69throw new ArgumentNullException(nameof(settings)); 74throw new ArgumentNullException(nameof(logger)); 166Certificate = certificate ?? throw new ArgumentNullException(nameof(certificate));
Signing\TrustStore\CertificateBundleX509ChainFactory.cs (1)
68throw new ArgumentNullException(nameof(chain));
Signing\TrustStore\X509ChainWrapper.cs (2)
30throw new ArgumentNullException(nameof(chain)); 41throw new ArgumentNullException(nameof(certificate));
Signing\TrustStore\X509TrustStore.cs (1)
47throw new ArgumentNullException(nameof(logger));
Signing\Utility\AttributeUtility.cs (8)
45throw new ArgumentNullException(nameof(signedAttributes)); 82throw new ArgumentNullException(nameof(v3ServiceIndexUrl)); 116throw new ArgumentNullException(nameof(signedAttributes)); 185throw new ArgumentNullException(nameof(signedAttributes)); 254throw new ArgumentNullException(nameof(certificate)); 275throw new ArgumentNullException(nameof(oid)); 321throw new ArgumentNullException(nameof(attributes)); 357throw new ArgumentNullException(nameof(attributes));
Signing\Utility\CertificateChainUtility.cs (8)
67throw new ArgumentNullException(nameof(certificate)); 72throw new ArgumentNullException(nameof(extraStore)); 77throw new ArgumentNullException(nameof(logger)); 149throw new ArgumentNullException(nameof(x509Chain)); 178throw new ArgumentNullException(nameof(certificate)); 221throw new ArgumentNullException(nameof(certificate)); 236throw new ArgumentNullException(nameof(chain)); 241throw new ArgumentNullException(nameof(certificate));
Signing\Utility\CertificateUtility.cs (3)
289throw new ArgumentNullException(nameof(certificate)); 306throw new ArgumentNullException(nameof(certificate)); 332throw new ArgumentNullException(nameof(certificate));
Signing\Utility\RepositorySignatureInfoUtility.cs (1)
25throw new ArgumentNullException(nameof(fallbackSettings));
Signing\Utility\SignatureUtility.cs (15)
40throw new ArgumentNullException(nameof(primarySignature)); 70throw new ArgumentNullException(nameof(primarySignature)); 75throw new ArgumentNullException(nameof(repositoryCountersignature)); 108throw new ArgumentNullException(nameof(signedCms)); 113throw new ArgumentNullException(nameof(signerInfo)); 167throw new ArgumentNullException(nameof(primarySignature)); 203throw new ArgumentNullException(nameof(primarySignature)); 208throw new ArgumentNullException(nameof(repositoryCountersignature)); 238throw new ArgumentNullException(nameof(signedCms)); 243throw new ArgumentNullException(nameof(signerInfo)); 270throw new ArgumentNullException(nameof(primarySignature)); 296throw new ArgumentNullException(nameof(chain)); 301throw new ArgumentNullException(nameof(issues)); 372throw new ArgumentNullException(nameof(signedCms)); 377throw new ArgumentNullException(nameof(signingSpecifications));
Signing\Utility\SigningUtility.cs (6)
25throw new ArgumentNullException(nameof(request)); 30throw new ArgumentNullException(nameof(logger)); 62throw new ArgumentNullException(nameof(request)); 92throw new ArgumentNullException(nameof(request)); 116throw new ArgumentNullException(nameof(request)); 121throw new ArgumentNullException(nameof(logger));
Signing\Utility\VerificationUtility.cs (5)
61throw new ArgumentNullException(nameof(certificate)); 66throw new ArgumentNullException(nameof(issues)); 102throw new ArgumentNullException(nameof(timestamp)); 106throw new ArgumentNullException(nameof(signature)); 110throw new ArgumentNullException(nameof(issues));
Signing\Verification\CertificateHashAllowListEntry.cs (1)
52Fingerprint = fingerprint ?? throw new ArgumentNullException(nameof(fingerprint));
Signing\Verification\ClientPolicyContext.cs (2)
48throw new ArgumentNullException(nameof(settings)); 53throw new ArgumentNullException(nameof(logger));
Signing\Verification\PackageSignatureVerifier.cs (3)
20_verificationProviders = verificationProviders?.ToList() ?? throw new ArgumentNullException(nameof(verificationProviders)); 27throw new ArgumentNullException(nameof(package)); 32throw new ArgumentNullException(nameof(settings));
Signing\Verification\SignatureTrustAndValidityVerificationProvider.cs (3)
36throw new ArgumentNullException(nameof(package)); 41throw new ArgumentNullException(nameof(signature)); 46throw new ArgumentNullException(nameof(settings));
Signing\Verification\SignedPackageVerificationResult.cs (1)
19Signature = signature ?? throw new ArgumentNullException(nameof(signature));
Signing\Verification\VerifySignaturesResult.cs (1)
39Results = results?.ToList().AsReadOnly() ?? throw new ArgumentNullException(nameof(results));
TopologicalSortUtility.cs (5)
30throw new ArgumentNullException(nameof(items)); 35throw new ArgumentNullException(nameof(comparer)); 40throw new ArgumentNullException(nameof(getId)); 45throw new ArgumentNullException(nameof(getDependencies)); 195_comparer = comparer ?? throw new ArgumentNullException(nameof(comparer));
NuGet.ProjectModel (73)
CacheFileFormat.cs (3)
56if (stream == null) throw new ArgumentNullException(nameof(stream)); 57if (log == null) throw new ArgumentNullException(nameof(log)); 58if (path == null) throw new ArgumentNullException(nameof(path));
CentralTransitiveDependencyGroup.cs (2)
18throw new ArgumentNullException(nameof(framework)); 22throw new ArgumentNullException(nameof(transitiveDependencies));
CircularMemoryStream.cs (2)
22throw new ArgumentNullException(nameof(buffer)); 32throw new ArgumentNullException(nameof(buffer));
DependencyGraphSpec.cs (4)
82throw new ArgumentNullException(nameof(projectUniqueName)); 153throw new ArgumentNullException(nameof(closure)); 176throw new ArgumentNullException(nameof(rootUniqueName)); 368throw new ArgumentNullException(nameof(getHashFunction));
ExternalProjectReference.cs (2)
53throw new ArgumentNullException(nameof(uniqueName)); 58throw new ArgumentNullException(nameof(projectReferences));
FnvHash64Function.cs (1)
21throw new ArgumentNullException(nameof(data));
HashObjectWriter.cs (10)
39throw new ArgumentNullException(nameof(hashFunc)); 80throw new ArgumentNullException(nameof(name)); 111throw new ArgumentNullException(nameof(name)); 125throw new ArgumentNullException(nameof(name)); 139throw new ArgumentNullException(nameof(name)); 153throw new ArgumentNullException(nameof(name)); 158throw new ArgumentNullException(nameof(values)); 179throw new ArgumentNullException(nameof(name)); 184throw new ArgumentNullException(nameof(values)); 234throw new ArgumentNullException(nameof(name));
JsonTextReaderExtensions.cs (9)
20throw new ArgumentNullException(nameof(reader)); 44throw new ArgumentNullException(nameof(reader)); 78throw new ArgumentNullException(nameof(reader)); 83throw new ArgumentNullException(nameof(onProperty)); 103throw new ArgumentNullException(nameof(reader)); 108throw new ArgumentNullException(nameof(onProperty)); 131throw new ArgumentNullException(nameof(reader)); 155throw new ArgumentNullException(nameof(reader)); 177throw new ArgumentNullException(nameof(reader));
LazyStringSplit.cs (1)
32throw new ArgumentNullException(nameof(input));
LockFile\LockFileExtensions.cs (6)
23throw new ArgumentNullException(nameof(message)); 28throw new ArgumentNullException(nameof(assetsFile)); 46throw new ArgumentNullException(nameof(message)); 51throw new ArgumentNullException(nameof(assetsFile)); 64throw new ArgumentNullException(nameof(target)); 69throw new ArgumentNullException(nameof(libraryId));
PackageSpecOperations.cs (14)
32if (spec == null) throw new ArgumentNullException(nameof(spec)); 33if (dependency == null) throw new ArgumentNullException(nameof(dependency)); 94if (spec == null) throw new ArgumentNullException(nameof(spec)); 95if (identity == null) throw new ArgumentNullException(nameof(identity)); 122if (spec == null) throw new ArgumentNullException(nameof(spec)); 123if (dependency == null) throw new ArgumentNullException(nameof(dependency)); 148if (spec == null) throw new ArgumentNullException(nameof(spec)); 149if (dependency == null) throw new ArgumentNullException(nameof(dependency)); 203if (spec == null) throw new ArgumentNullException(nameof(spec)); 204if (identity == null) throw new ArgumentNullException(nameof(identity)); 221if (spec == null) throw new ArgumentNullException(nameof(spec)); 222if (identity == null) throw new ArgumentNullException(nameof(identity)); 231if (spec == null) throw new ArgumentNullException(nameof(spec)); 232if (packageId == null) throw new ArgumentNullException(nameof(packageId));
PackageSpecReferenceDependencyProvider.cs (3)
60throw new ArgumentNullException(nameof(externalProjects)); 105if (libraryRange == null) throw new ArgumentNullException(nameof(libraryRange)); 106if (targetFramework == null) throw new ArgumentNullException(nameof(targetFramework));
PackageSpecWriter.cs (2)
45throw new ArgumentNullException(nameof(packageSpec)); 50throw new ArgumentNullException(nameof(writer));
ProjectFileDependencyGroup.cs (2)
14FrameworkName = frameworkName ?? throw new ArgumentNullException(nameof(frameworkName)); 15Dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
ProjectLockFile\PackagesLockFileUtilities.cs (5)
25throw new ArgumentNullException(nameof(project)); 81throw new ArgumentNullException(nameof(dgSpec)); 84throw new ArgumentNullException(nameof(nuGetLockFile)); 321throw new ArgumentNullException(nameof(expected)); 325throw new ArgumentNullException(nameof(actual));
ProjectRestoreMetadataFile.cs (2)
27throw new ArgumentNullException(nameof(packagePath)); 32throw new ArgumentNullException(nameof(absolutePath));
src\nuget-client\build\Shared\Utf8JsonStreamReader.cs (1)
48throw new ArgumentNullException(nameof(stream));
ToolPathResolver.cs (1)
25_packagesDirectory = packagesDirectory ?? throw new ArgumentNullException(nameof(packagesDirectory));
WarningProperties.cs (3)
47WarningsAsErrors = warningsAsErrors ?? throw new ArgumentNullException(nameof(warningsAsErrors)); 48NoWarn = noWarn ?? throw new ArgumentNullException(nameof(noWarn)); 50WarningsNotAsErrors = warningsNotAsErrors ?? throw new ArgumentNullException(nameof(warningsNotAsErrors));
NuGet.Protocol (515)
CachingSourceProvider.cs (3)
31throw new ArgumentNullException(nameof(packageSourceProvider)); 72throw new ArgumentNullException(nameof(source)); 87throw new ArgumentNullException(nameof(source));
Converters\VersionRangeConverter.cs (1)
46throw new ArgumentNullException(nameof(value));
DownloadResourceResult.cs (2)
49throw new ArgumentNullException(nameof(stream)); 80throw new ArgumentNullException(nameof(packageReader));
EnhancedHttpRetryHelper.cs (1)
83_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader));
Exceptions\PackageNotFoundProtocolException.cs (2)
23PackageIdentity = package ?? throw new ArgumentNullException(nameof(package)); 29PackageIdentity = package ?? throw new ArgumentNullException(nameof(package));
FactoryExtensionsV3.cs (1)
37throw new ArgumentNullException(nameof(factory));
FindPackageByIdDependencyInfo.cs (3)
43throw new ArgumentNullException(nameof(dependencyGroups)); 48throw new ArgumentNullException(nameof(frameworkReferenceGroups)); 51PackageIdentity = packageIdentity ?? throw new ArgumentNullException(nameof(packageIdentity));
HttpResponseMessageExtensions.cs (2)
16throw new ArgumentNullException(nameof(log)); 21throw new ArgumentNullException(nameof(response));
HttpSource\HttpCacheResult.cs (2)
15throw new ArgumentNullException(nameof(newFile)); 20throw new ArgumentNullException(nameof(cacheFule));
HttpSource\HttpHandlerResourceV3.cs (2)
24throw new ArgumentNullException(nameof(clientHandler)); 29throw new ArgumentNullException(nameof(messageHandler));
HttpSource\HttpHandlerResourceV3Provider.cs (1)
40_proxyCache = proxyCache ?? throw new ArgumentNullException(nameof(proxyCache));
HttpSource\HttpRequestMessageExtensions.cs (3)
97throw new ArgumentNullException(nameof(request)); 116throw new ArgumentNullException(nameof(request)); 121throw new ArgumentNullException(nameof(configuration));
HttpSource\HttpRequestMessageFactory.cs (6)
28throw new ArgumentNullException(nameof(log)); 45throw new ArgumentNullException(nameof(log)); 65throw new ArgumentNullException(nameof(requestUri)); 70throw new ArgumentNullException(nameof(configuration)); 93throw new ArgumentNullException(nameof(requestUri)); 98throw new ArgumentNullException(nameof(configuration));
HttpSource\HttpRetryHandler.cs (1)
65throw new ArgumentNullException(nameof(source));
HttpSource\HttpRetryHandlerRequest.cs (2)
23throw new ArgumentNullException(nameof(httpClient)); 28throw new ArgumentNullException(nameof(requestFactory));
HttpSource\HttpSource.cs (7)
45throw new ArgumentNullException(nameof(packageSource)); 50throw new ArgumentNullException(nameof(messageHandlerFactory)); 55throw new ArgumentNullException(nameof(throttle)); 445throw new ArgumentNullException(nameof(source)); 450throw new ArgumentNullException(nameof(throttle)); 494throw new ArgumentNullException(nameof(throttle)); 499throw new ArgumentNullException(nameof(response));
HttpSource\HttpSourceAuthenticationHandler.cs (2)
39_packageSource = packageSource ?? throw new ArgumentNullException(nameof(packageSource)); 40_clientHandler = clientHandler ?? throw new ArgumentNullException(nameof(clientHandler));
HttpSource\HttpSourceCachedRequest.cs (3)
22throw new ArgumentNullException(nameof(uri)); 27throw new ArgumentNullException(nameof(cacheKey)); 32throw new ArgumentNullException(nameof(cacheContext));
HttpSource\HttpSourceRequest.cs (1)
31throw new ArgumentNullException(nameof(requestFactory));
HttpSource\HttpSourceResult.cs (1)
26throw new ArgumentNullException(nameof(stream));
HttpSource\HttpStreamValidation.cs (9)
29throw new ArgumentNullException(nameof(uri)); 34throw new ArgumentNullException(nameof(stream)); 118throw new ArgumentNullException(nameof(uri)); 123throw new ArgumentNullException(nameof(stream)); 151throw new ArgumentNullException(nameof(uri)); 156throw new ArgumentNullException(nameof(stream)); 161throw new ArgumentNullException(nameof(expectedIdentity)); 203throw new ArgumentNullException(nameof(uri)); 208throw new ArgumentNullException(nameof(stream));
HttpSource\ProxyAuthenticationHandler.cs (2)
41throw new ArgumentNullException(nameof(clientHandler)); 51throw new ArgumentNullException(nameof(credentialCache));
HttpSource\SemaphoreSlimThrottle.cs (1)
21_semaphore = semaphore ?? throw new ArgumentNullException(nameof(semaphore));
HttpSource\ServerWarningLogHandler.cs (1)
15: base(clientHandler ?? throw new ArgumentNullException(nameof(clientHandler)))
HttpSource\TokenStore.cs (3)
21throw new ArgumentNullException(nameof(sourceUri)); 43throw new ArgumentNullException(nameof(sourceUri)); 48throw new ArgumentNullException(nameof(token));
HttpSourceCacheContext.cs (3)
17throw new ArgumentNullException(nameof(rootTempFolder)); 30SourceCacheContext = cacheContext ?? throw new ArgumentNullException(nameof(cacheContext)); 57throw new ArgumentNullException(nameof(cacheContext));
LegacyFeed\AutoCompleteResourceV2Feed.cs (2)
34throw new ArgumentNullException(nameof(httpSourceResource)); 39throw new ArgumentNullException(nameof(packageSource));
LegacyFeed\DependencyInfoResourceV2Feed.cs (1)
28throw new ArgumentNullException(nameof(feedParser));
LegacyFeed\DownloadResourceV2Feed.cs (4)
31throw new ArgumentNullException(nameof(feedParser)); 47throw new ArgumentNullException(nameof(identity)); 52throw new ArgumentNullException(nameof(downloadContext)); 57throw new ArgumentNullException(nameof(logger));
LegacyFeed\MetadataResourceV2Feed.cs (1)
26throw new ArgumentNullException(nameof(feedParser));
LegacyFeed\ODataServiceDocumentResourceV2.cs (1)
16_baseAddress = (baseAddress ?? throw new ArgumentNullException(nameof(baseAddress))).Trim('/');
LegacyFeed\PackageMetadataResourceV2Feed.cs (2)
27throw new ArgumentNullException(nameof(httpSourceResource)); 32throw new ArgumentNullException(nameof(packageSource));
LegacyFeed\PackageSearchResourceV2Feed.cs (2)
23throw new ArgumentNullException(nameof(httpSourceResource)); 28throw new ArgumentNullException(nameof(packageSource));
LegacyFeed\V2FeedPage.cs (1)
18throw new ArgumentNullException(nameof(items));
LegacyFeed\V2FeedParser.cs (5)
84throw new ArgumentNullException(nameof(httpSource)); 89throw new ArgumentNullException(nameof(baseAddress)); 94throw new ArgumentNullException(nameof(source)); 116throw new ArgumentNullException(nameof(log)); 162throw new ArgumentNullException(nameof(log));
LegacyFeed\V2FeedQueryBuilder.cs (1)
112throw new ArgumentNullException(nameof(package));
LocalPackageArchiveDownloader.cs (3)
104throw new ArgumentNullException(nameof(packageIdentity)); 109throw new ArgumentNullException(nameof(logger)); 263throw new ArgumentNullException(nameof(handleExceptionAsync));
LocalRepositories\FindLocalPackagesResourcePackagesConfig.cs (1)
19Root = root ?? throw new ArgumentNullException(nameof(root));
LocalRepositories\FindLocalPackagesResourceUnzipped.cs (1)
27Root = root ?? throw new ArgumentNullException(nameof(root));
LocalRepositories\FindLocalPackagesResourceV2.cs (1)
16Root = root ?? throw new ArgumentNullException(nameof(root));
LocalRepositories\FindLocalPackagesResourceV3.cs (1)
19Root = root ?? throw new ArgumentNullException(nameof(root));
LocalRepositories\LocalAutoCompleteResource.cs (1)
24throw new ArgumentNullException(nameof(localResource));
LocalRepositories\LocalDependencyInfoResource.cs (6)
28throw new ArgumentNullException(nameof(localResource)); 33throw new ArgumentNullException(nameof(source)); 55throw new ArgumentNullException(nameof(package)); 60throw new ArgumentNullException(nameof(projectFramework)); 102throw new ArgumentNullException(nameof(packageId)); 107throw new ArgumentNullException(nameof(projectFramework));
LocalRepositories\LocalDownloadResource.cs (3)
26throw new ArgumentNullException(nameof(localResource)); 42throw new ArgumentNullException(nameof(identity)); 47throw new ArgumentNullException(nameof(logger));
LocalRepositories\LocalMetadataResource.cs (1)
26throw new ArgumentNullException(nameof(localResource));
LocalRepositories\LocalPackageInfo.cs (3)
32throw new ArgumentNullException(nameof(identity)); 37throw new ArgumentNullException(nameof(path)); 42throw new ArgumentNullException(nameof(nuspec));
LocalRepositories\LocalPackageMetadataResource.cs (1)
24throw new ArgumentNullException(nameof(localResource));
LocalRepositories\LocalPackageSearchResource.cs (1)
27throw new ArgumentNullException(nameof(localResource));
LocalRepositories\LocalV2FindPackageByIdResource.cs (16)
48throw new ArgumentNullException(nameof(packageSource)); 85throw new ArgumentNullException(nameof(cacheContext)); 90throw new ArgumentNullException(nameof(logger)); 148throw new ArgumentNullException(nameof(version)); 153throw new ArgumentNullException(nameof(destination)); 158throw new ArgumentNullException(nameof(cacheContext)); 163throw new ArgumentNullException(nameof(logger)); 228throw new ArgumentNullException(nameof(version)); 233throw new ArgumentNullException(nameof(cacheContext)); 238throw new ArgumentNullException(nameof(logger)); 299throw new ArgumentNullException(nameof(packageIdentity)); 304throw new ArgumentNullException(nameof(cacheContext)); 309throw new ArgumentNullException(nameof(logger)); 370throw new ArgumentNullException(nameof(version)); 375throw new ArgumentNullException(nameof(cacheContext)); 380throw new ArgumentNullException(nameof(logger));
LocalRepositories\LocalV3FindPackageByIdResource.cs (16)
82throw new ArgumentNullException(nameof(packageSource)); 121throw new ArgumentNullException(nameof(cacheContext)); 126throw new ArgumentNullException(nameof(logger)); 182throw new ArgumentNullException(nameof(version)); 187throw new ArgumentNullException(nameof(destination)); 192throw new ArgumentNullException(nameof(cacheContext)); 197throw new ArgumentNullException(nameof(logger)); 274throw new ArgumentNullException(nameof(version)); 279throw new ArgumentNullException(nameof(cacheContext)); 284throw new ArgumentNullException(nameof(logger)); 339throw new ArgumentNullException(nameof(packageIdentity)); 344throw new ArgumentNullException(nameof(cacheContext)); 349throw new ArgumentNullException(nameof(logger)); 412throw new ArgumentNullException(nameof(version)); 417throw new ArgumentNullException(nameof(cacheContext)); 422throw new ArgumentNullException(nameof(logger));
Model\LocalPackageSearchMetadata.cs (1)
24_package = package ?? throw new ArgumentNullException(nameof(package));
Model\PackageSearchMetadataBuilder.cs (1)
81throw new ArgumentNullException(nameof(metadata));
Model\PackageVulnerabilityInfo.cs (2)
34Url = url ?? throw new ArgumentNullException(paramName: nameof(url)); 36Versions = versions ?? throw new ArgumentNullException(nameof(versions));
Model\PackageVulnerabilityMetadata.cs (1)
29AdvisoryUrl = advisoryUrl ?? throw new ArgumentNullException(nameof(advisoryUrl));
Model\ServiceIndexEntry.cs (3)
33throw new ArgumentNullException(nameof(serviceType)); 38throw new ArgumentNullException(nameof(serviceType)); 43throw new ArgumentNullException(nameof(clientVersion));
Model\V3VulnerabilityIndexEntry.cs (3)
32Name = name ?? throw new ArgumentNullException(nameof(name)); 33Url = url ?? throw new ArgumentNullException(nameof(url)); 34Updated = updated ?? throw new ArgumentNullException(nameof(updated));
NuGetTestMode.cs (1)
58throw new ArgumentNullException(nameof(function));
PackageDownloadContext.cs (2)
27throw new ArgumentNullException(nameof(sourceCacheContext)); 34throw new ArgumentNullException(nameof(directDownloadDirectory));
PackageProgressEventArgs.cs (1)
33throw new ArgumentNullException(nameof(identity));
PackagesFolder\LocalPackageFileCache.cs (7)
54throw new ArgumentNullException(nameof(manifestPath)); 59throw new ArgumentNullException(nameof(expandedPath)); 73throw new ArgumentNullException(nameof(expandedPath)); 88throw new ArgumentNullException(nameof(sha512Path)); 108throw new ArgumentNullException(nameof(sha512Path)); 134throw new ArgumentNullException(nameof(nupkgMetadataPath)); 161throw new ArgumentNullException(nameof(expandedPath));
PackagesFolder\LocalPackageInfo.cs (11)
36Id = packageId ?? throw new ArgumentNullException(nameof(packageId)); 37Version = version ?? throw new ArgumentNullException(nameof(version)); 38_expandedPath = path ?? throw new ArgumentNullException(nameof(path)); 39ManifestPath = manifestPath ?? throw new ArgumentNullException(nameof(manifestPath)); 40ZipPath = zipPath ?? throw new ArgumentNullException(nameof(zipPath)); 41Sha512Path = sha512Path ?? throw new ArgumentNullException(nameof(sha512Path)); 42_nuspec = nuspec ?? throw new ArgumentNullException(nameof(nuspec)); 43_files = files ?? throw new ArgumentNullException(nameof(files)); 44_sha512 = sha512 ?? throw new ArgumentNullException(nameof(sha512)); 45_runtimeGraph = runtimeGraph ?? throw new ArgumentNullException(nameof(runtimeGraph)); 56set => _expandedPath = value ?? throw new ArgumentNullException(nameof(value));
PackagesFolder\LocalPackageSourceInfo.cs (2)
18throw new ArgumentNullException(nameof(repository)); 23throw new ArgumentNullException(nameof(package));
PackagesFolder\NuGetv3LocalRepository.cs (7)
59throw new ArgumentNullException(nameof(path)); 76throw new ArgumentNullException(nameof(packageId)); 81throw new ArgumentNullException(nameof(version)); 91throw new ArgumentNullException(nameof(packageId)); 96throw new ArgumentNullException(nameof(version)); 146throw new ArgumentNullException(nameof(packageId)); 264throw new ArgumentNullException(nameof(packageIds));
PackagesFolder\NuGetv3LocalRepositoryUtility.cs (3)
20_ = repositories ?? throw new ArgumentNullException(nameof(repositories)); 21_ = id ?? throw new ArgumentNullException(nameof(id)); 22_ = version ?? throw new ArgumentNullException(nameof(version));
Plugins\AutomaticProgressReporter.cs (2)
120throw new ArgumentNullException(nameof(connection)); 125throw new ArgumentNullException(nameof(request));
Plugins\Connection.cs (6)
86throw new ArgumentNullException(nameof(dispatcher)); 91throw new ArgumentNullException(nameof(sender)); 96throw new ArgumentNullException(nameof(receiver)); 101throw new ArgumentNullException(nameof(options)); 106throw new ArgumentNullException(nameof(logger)); 229throw new ArgumentNullException(nameof(message));
Plugins\ConnectionOptions.cs (2)
65throw new ArgumentNullException(nameof(protocolVersion)); 70throw new ArgumentNullException(nameof(minimumProtocolVersion));
Plugins\FaultedPluginEventArgs.cs (2)
34throw new ArgumentNullException(nameof(plugin)); 39throw new ArgumentNullException(nameof(exception));
Plugins\InboundRequestContext.cs (8)
69throw new ArgumentNullException(nameof(connection)); 79throw new ArgumentNullException(nameof(logger)); 84throw new ArgumentNullException(nameof(inboundRequestProcessingHandler)); 175throw new ArgumentNullException(nameof(request)); 180throw new ArgumentNullException(nameof(exception)); 239throw new ArgumentNullException(nameof(request)); 244throw new ArgumentNullException(nameof(requestHandler)); 249throw new ArgumentNullException(nameof(responseHandler));
Plugins\InboundRequestProcessingHandler.cs (1)
31throw new ArgumentNullException(nameof(fastProcessingMethods));
Plugins\JsonSerializationUtilities.cs (3)
85throw new ArgumentNullException(nameof(value)); 105throw new ArgumentNullException(nameof(writer)); 126throw new ArgumentNullException(nameof(jObject));
Plugins\Logging\PluginLogger.cs (1)
72throw new ArgumentNullException(nameof(environmentVariableReader));
Plugins\Logging\PluginLogMessage.cs (1)
28throw new ArgumentNullException(nameof(message));
Plugins\MessageDispatcher.cs (12)
66throw new ArgumentNullException(nameof(requestHandlers)); 71throw new ArgumentNullException(nameof(idGenerator)); 76throw new ArgumentNullException(nameof(inboundRequestProcessingHandler)); 80throw new ArgumentNullException(nameof(logger)); 164throw new ArgumentNullException(nameof(payload)); 185throw new ArgumentNullException(nameof(request)); 215throw new ArgumentNullException(nameof(fault)); 246throw new ArgumentNullException(nameof(request)); 251throw new ArgumentNullException(nameof(progress)); 325throw new ArgumentNullException(nameof(request)); 330throw new ArgumentNullException(nameof(responsePayload)); 604throw new ArgumentNullException(nameof(fault));
Plugins\MessageEventArgs.cs (1)
27throw new ArgumentNullException(nameof(message));
Plugins\Messages\GetAuthenticationCredentialsRequest.cs (1)
48Uri = uri ?? throw new ArgumentNullException(nameof(uri));
Plugins\Messages\GetOperationClaimsResponse.cs (1)
35throw new ArgumentNullException(nameof(claims));
Plugins\Messages\GetServiceIndexResponse.cs (1)
65throw new ArgumentNullException(nameof(serviceIndexJson));
Plugins\Messages\HandshakeRequest.cs (2)
46throw new ArgumentNullException(nameof(protocolVersion)); 51throw new ArgumentNullException(nameof(minimumProtocolVersion));
Plugins\MessageUtilities.cs (3)
66throw new ArgumentNullException(nameof(payload)); 87throw new ArgumentNullException(nameof(message)); 124throw new ArgumentNullException(nameof(message));
Plugins\NoOpDisposePlugin.cs (1)
74throw new ArgumentNullException(nameof(plugin));
Plugins\OutboundRequestContext`1.cs (6)
91throw new ArgumentNullException(nameof(connection)); 96throw new ArgumentNullException(nameof(request)); 101throw new ArgumentNullException(nameof(logger)); 161throw new ArgumentNullException(nameof(progress)); 186throw new ArgumentNullException(nameof(response)); 207throw new ArgumentNullException(nameof(fault));
Plugins\Plugin.cs (2)
97throw new ArgumentNullException(nameof(connection)); 102throw new ArgumentNullException(nameof(process));
Plugins\PluginCreationResult.cs (4)
65throw new ArgumentNullException(nameof(plugin)); 70throw new ArgumentNullException(nameof(utilities)); 75throw new ArgumentNullException(nameof(claims)); 112throw new ArgumentNullException(nameof(exception));
Plugins\PluginDiscoveryResult.cs (1)
74PluginFile = pluginFile ?? throw new ArgumentNullException(nameof(pluginFile));
Plugins\PluginEventArgs.cs (1)
27throw new ArgumentNullException(nameof(plugin));
Plugins\PluginFactory.cs (6)
51_environmentVariableReader = environmentVariableReader ?? throw new ArgumentNullException(nameof(environmentVariableReader)); 141throw new ArgumentNullException(nameof(arguments)); 146throw new ArgumentNullException(nameof(requestHandlers)); 151throw new ArgumentNullException(nameof(options)); 331throw new ArgumentNullException(nameof(requestHandlers)); 336throw new ArgumentNullException(nameof(options));
Plugins\PluginManager.cs (6)
137throw new ArgumentNullException(nameof(source)); 183throw new ArgumentNullException(nameof(pluginDiscoveryResult)); 334EnvironmentVariableReader = reader ?? throw new ArgumentNullException(nameof(reader)); 335_discoverer = pluginDiscoverer ?? throw new ArgumentNullException(nameof(pluginDiscoverer)); 336_pluginsCacheDirectoryPath = pluginsCacheDirectoryPath ?? throw new ArgumentNullException(nameof(pluginsCacheDirectoryPath)); 340throw new ArgumentNullException(nameof(pluginFactoryCreator));
Plugins\PluginMulticlientUtilities.cs (1)
51throw new ArgumentNullException(nameof(taskFunc));
Plugins\PluginPackageDownloader.cs (4)
88throw new ArgumentNullException(nameof(plugin)); 93throw new ArgumentNullException(nameof(packageIdentity)); 98throw new ArgumentNullException(nameof(packageReader)); 227throw new ArgumentNullException(nameof(handleExceptionAsync));
Plugins\PluginPackageReader.cs (6)
53throw new ArgumentNullException(nameof(plugin)); 58throw new ArgumentNullException(nameof(packageIdentity)); 196throw new ArgumentNullException(nameof(folder)); 256throw new ArgumentNullException(nameof(packageFiles)); 261throw new ArgumentNullException(nameof(logger)); 723throw new ArgumentNullException(nameof(folderName));
Plugins\PluginProcess.cs (1)
83throw new ArgumentNullException(nameof(startInfo));
Plugins\ProtocolErrorEventArgs.cs (2)
32throw new ArgumentNullException(nameof(exception)); 50throw new ArgumentNullException(nameof(message));
Plugins\RequestHandlers.cs (3)
42throw new ArgumentNullException(nameof(addHandlerFunc)); 47throw new ArgumentNullException(nameof(updateHandlerFunc)); 64throw new ArgumentNullException(nameof(handler));
Plugins\RequestHandlers\CloseRequestHandler.cs (4)
29throw new ArgumentNullException(nameof(plugin)); 68throw new ArgumentNullException(nameof(connection)); 73throw new ArgumentNullException(nameof(request)); 78throw new ArgumentNullException(nameof(responseHandler));
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (5)
52throw new ArgumentNullException(nameof(plugin)); 86throw new ArgumentNullException(nameof(sourceRepository)); 125throw new ArgumentNullException(nameof(connection)); 130throw new ArgumentNullException(nameof(request)); 135throw new ArgumentNullException(nameof(responseHandler));
Plugins\RequestHandlers\GetServiceIndexRequestHandler.cs (5)
38throw new ArgumentNullException(nameof(plugin)); 70throw new ArgumentNullException(nameof(sourceRepository)); 109throw new ArgumentNullException(nameof(connection)); 114throw new ArgumentNullException(nameof(request)); 119throw new ArgumentNullException(nameof(responseHandler));
Plugins\RequestHandlers\LogRequestHandler.cs (6)
34throw new ArgumentNullException(nameof(logger)); 67throw new ArgumentNullException(nameof(connection)); 72throw new ArgumentNullException(nameof(request)); 77throw new ArgumentNullException(nameof(responseHandler)); 112throw new ArgumentNullException(nameof(logger)); 134throw new ArgumentNullException(nameof(logger));
Plugins\RequestHandlers\MonitorNuGetProcessExitRequestHandler.cs (4)
35throw new ArgumentNullException(nameof(plugin)); 85throw new ArgumentNullException(nameof(connection)); 90throw new ArgumentNullException(nameof(request)); 95throw new ArgumentNullException(nameof(responseHandler));
Plugins\RequestHandlers\SymmetricHandshake.cs (6)
49throw new ArgumentNullException(nameof(connection)); 62throw new ArgumentNullException(nameof(protocolVersion)); 67throw new ArgumentNullException(nameof(minimumProtocolVersion)); 170throw new ArgumentNullException(nameof(connection)); 175throw new ArgumentNullException(nameof(request)); 180throw new ArgumentNullException(nameof(responseHandler));
Plugins\Sender.cs (2)
43throw new ArgumentNullException(nameof(writer)); 126throw new ArgumentNullException(nameof(message));
Plugins\StandardInputReceiver.cs (1)
41throw new ArgumentNullException(nameof(reader));
Plugins\StandardOutputReceiver.cs (1)
37throw new ArgumentNullException(nameof(process));
ProviderComparer.cs (2)
26throw new ArgumentNullException(nameof(providerA)); 31throw new ArgumentNullException(nameof(providerB));
Providers\DownloadResourcePluginProvider.cs (1)
43throw new ArgumentNullException(nameof(source));
Providers\PluginResourceProvider.cs (2)
28_pluginManager = pluginManager ?? throw new ArgumentNullException(nameof(pluginManager)); 47throw new ArgumentNullException(nameof(source));
RemotePackageArchiveDownloader.cs (5)
99throw new ArgumentNullException(nameof(resource)); 104throw new ArgumentNullException(nameof(packageIdentity)); 109throw new ArgumentNullException(nameof(cacheContext)); 114throw new ArgumentNullException(nameof(logger)); 257throw new ArgumentNullException(nameof(handleExceptionAsync));
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (17)
69throw new ArgumentNullException(nameof(baseUris)); 79throw new ArgumentNullException(nameof(httpSource)); 122throw new ArgumentNullException(nameof(cacheContext)); 127throw new ArgumentNullException(nameof(logger)); 182throw new ArgumentNullException(nameof(version)); 187throw new ArgumentNullException(nameof(cacheContext)); 192throw new ArgumentNullException(nameof(logger)); 264throw new ArgumentNullException(nameof(version)); 269throw new ArgumentNullException(nameof(destination)); 274throw new ArgumentNullException(nameof(cacheContext)); 279throw new ArgumentNullException(nameof(logger)); 338throw new ArgumentNullException(nameof(packageIdentity)); 343throw new ArgumentNullException(nameof(cacheContext)); 348throw new ArgumentNullException(nameof(logger)); 394throw new ArgumentNullException(nameof(version)); 399throw new ArgumentNullException(nameof(cacheContext)); 404throw new ArgumentNullException(nameof(logger));
RemoteRepositories\PluginFindPackageByIdResource.cs (14)
56throw new ArgumentNullException(nameof(plugin)); 61throw new ArgumentNullException(nameof(utilities)); 66throw new ArgumentNullException(nameof(packageSource)); 120throw new ArgumentNullException(nameof(packageIdentity)); 125throw new ArgumentNullException(nameof(cacheContext)); 130throw new ArgumentNullException(nameof(logger)); 183throw new ArgumentNullException(nameof(cacheContext)); 188throw new ArgumentNullException(nameof(logger)); 250throw new ArgumentNullException(nameof(version)); 255throw new ArgumentNullException(nameof(cacheContext)); 260throw new ArgumentNullException(nameof(logger)); 345throw new ArgumentNullException(nameof(version)); 350throw new ArgumentNullException(nameof(cacheContext)); 355throw new ArgumentNullException(nameof(logger));
RemoteRepositories\PluginFindPackageByIdResourceProvider.cs (1)
43throw new ArgumentNullException(nameof(source));
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (17)
58throw new ArgumentNullException(nameof(packageSource)); 63throw new ArgumentNullException(nameof(httpSource)); 108throw new ArgumentNullException(nameof(cacheContext)); 113throw new ArgumentNullException(nameof(logger)); 168throw new ArgumentNullException(nameof(version)); 173throw new ArgumentNullException(nameof(cacheContext)); 178throw new ArgumentNullException(nameof(logger)); 248throw new ArgumentNullException(nameof(version)); 253throw new ArgumentNullException(nameof(destination)); 258throw new ArgumentNullException(nameof(cacheContext)); 263throw new ArgumentNullException(nameof(logger)); 318throw new ArgumentNullException(nameof(packageIdentity)); 323throw new ArgumentNullException(nameof(cacheContext)); 328throw new ArgumentNullException(nameof(logger)); 393throw new ArgumentNullException(nameof(version)); 398throw new ArgumentNullException(nameof(cacheContext)); 403throw new ArgumentNullException(nameof(logger));
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (17)
52throw new ArgumentNullException(nameof(sourceRepository)); 57throw new ArgumentNullException(nameof(httpSource)); 99throw new ArgumentNullException(nameof(cacheContext)); 104throw new ArgumentNullException(nameof(logger)); 159throw new ArgumentNullException(nameof(version)); 164throw new ArgumentNullException(nameof(cacheContext)); 169throw new ArgumentNullException(nameof(logger)); 238throw new ArgumentNullException(nameof(version)); 243throw new ArgumentNullException(nameof(destination)); 248throw new ArgumentNullException(nameof(cacheContext)); 253throw new ArgumentNullException(nameof(logger)); 308throw new ArgumentNullException(nameof(packageIdentity)); 313throw new ArgumentNullException(nameof(cacheContext)); 318throw new ArgumentNullException(nameof(logger)); 383throw new ArgumentNullException(nameof(version)); 388throw new ArgumentNullException(nameof(cacheContext)); 393throw new ArgumentNullException(nameof(logger));
RemoteSourceDependencyInfo.cs (2)
33throw new ArgumentNullException(nameof(identity)); 38throw new ArgumentNullException(nameof(dependencyGroups));
Repository.cs (5)
29throw new ArgumentNullException(nameof(value)); 109throw new ArgumentNullException(nameof(resourceProviders)); 124throw new ArgumentNullException(nameof(resourceProviders)); 162throw new ArgumentNullException(nameof(source)); 167throw new ArgumentNullException(nameof(resourceProviders));
ResourceProvider.cs (4)
44throw new ArgumentNullException(nameof(resourceType)); 49throw new ArgumentNullException(nameof(name)); 54throw new ArgumentNullException(nameof(before)); 59throw new ArgumentNullException(nameof(after));
Resources\DependencyInfoResourceV3.cs (3)
41throw new ArgumentNullException(nameof(client)); 46throw new ArgumentNullException(nameof(regResource)); 51throw new ArgumentNullException(nameof(source));
Resources\DownloadResourcePlugin.cs (6)
46throw new ArgumentNullException(nameof(plugin)); 51throw new ArgumentNullException(nameof(utilities)); 56throw new ArgumentNullException(nameof(packageSource)); 90throw new ArgumentNullException(nameof(identity)); 95throw new ArgumentNullException(nameof(downloadContext)); 100throw new ArgumentNullException(nameof(logger));
Resources\DownloadResourceV3.cs (6)
42throw new ArgumentNullException(nameof(regResource)); 57throw new ArgumentNullException(nameof(packageBaseAddress)); 67throw new ArgumentNullException(nameof(client)); 154throw new ArgumentNullException(nameof(identity)); 159throw new ArgumentNullException(nameof(downloadContext)); 164throw new ArgumentNullException(nameof(logger));
Resources\MetadataResourceV3.cs (1)
36_regResource = regResource ?? throw new ArgumentNullException(nameof(regResource));
Resources\OwnerDetailsUriTemplateResourceV3.cs (2)
19_template = template ?? throw new ArgumentNullException(nameof(template)); 31throw new ArgumentNullException(nameof(uriTemplate));
Resources\PackageDetailsUriResourceV3.cs (1)
16_template = template ?? throw new ArgumentNullException(nameof(template));
Resources\PackageSearchResourceV3.cs (2)
35_client = client ?? throw new ArgumentNullException(nameof(client)); 36_searchEndpoints = searchEndpoints ?? throw new ArgumentNullException(nameof(searchEndpoints));
Resources\PluginResource.cs (2)
41throw new ArgumentNullException(nameof(pluginCreationResults)); 46throw new ArgumentNullException(nameof(packageSource));
Resources\RawSearchResourceV3.cs (2)
28throw new ArgumentNullException(nameof(client)); 33throw new ArgumentNullException(nameof(searchEndpoints));
Resources\RegistrationResourceV3.cs (3)
30throw new ArgumentNullException(nameof(client)); 35throw new ArgumentNullException(nameof(baseUrl)); 75throw new ArgumentNullException(nameof(version));
Resources\RepositorySignatureResource.cs (2)
55_ = model ?? throw new ArgumentNullException(nameof(model)); 56_ = source ?? throw new ArgumentNullException(nameof(source));
Resources\ServiceIndexResourceV3.cs (4)
40_ = index ?? throw new ArgumentNullException(nameof(index)); 54_ = model ?? throw new ArgumentNullException(nameof(model)); 101throw new ArgumentNullException(nameof(clientVersion)); 164throw new ArgumentNullException(nameof(clientVersion));
Resources\VulnerabilityInfoResourceV3.cs (1)
27_sourceRepository = sourceRepository ?? throw new ArgumentNullException(nameof(sourceRepository));
SourceRepository.cs (2)
62throw new ArgumentNullException(nameof(source)); 67throw new ArgumentNullException(nameof(providers));
SourceRepositoryProvider.cs (2)
33throw new ArgumentNullException(nameof(packageSourceProvider)); 38throw new ArgumentNullException(nameof(resourceProviders));
UserAgent.cs (2)
22throw new ArgumentNullException(nameof(builder)); 38throw new ArgumentNullException(nameof(client));
Utility\DownloadTimeoutStream.cs (2)
22throw new ArgumentNullException(nameof(downloadName)); 27throw new ArgumentNullException(nameof(networkStream));
Utility\FindPackagesByIdNupkgDownloader.cs (4)
36throw new ArgumentNullException(nameof(httpSource)); 178throw new ArgumentNullException(nameof(identity)); 183throw new ArgumentNullException(nameof(url)); 188throw new ArgumentNullException(nameof(cacheContext));
Utility\GetDownloadResultUtility.cs (3)
167throw new ArgumentNullException(nameof(packageIdentity)); 172throw new ArgumentNullException(nameof(packageStream)); 177throw new ArgumentNullException(nameof(downloadContext));
Utility\GlobalPackagesFolderUtility.cs (5)
26throw new ArgumentNullException(nameof(packageIdentity)); 31throw new ArgumentNullException(nameof(globalPackagesFolder)); 96throw new ArgumentNullException(nameof(packageIdentity)); 101throw new ArgumentNullException(nameof(packageStream)); 106throw new ArgumentNullException(nameof(globalPackagesFolder));
Utility\LocalFolderUtility.cs (57)
34throw new ArgumentNullException(nameof(path)); 39throw new ArgumentNullException(nameof(log)); 66throw new ArgumentNullException(nameof(root)); 71throw new ArgumentNullException(nameof(log)); 97throw new ArgumentNullException(nameof(root)); 102throw new ArgumentNullException(nameof(id)); 107throw new ArgumentNullException(nameof(log)); 145throw new ArgumentNullException(nameof(root)); 150throw new ArgumentNullException(nameof(id)); 155throw new ArgumentNullException(nameof(version)); 160throw new ArgumentNullException(nameof(log)); 186throw new ArgumentNullException(nameof(root)); 191throw new ArgumentNullException(nameof(identity)); 196throw new ArgumentNullException(nameof(log)); 266throw new ArgumentNullException(nameof(root)); 271throw new ArgumentNullException(nameof(log)); 305throw new ArgumentNullException(nameof(root)); 310throw new ArgumentNullException(nameof(id)); 315throw new ArgumentNullException(nameof(log)); 354throw new ArgumentNullException(nameof(root)); 359throw new ArgumentNullException(nameof(identity)); 364throw new ArgumentNullException(nameof(log)); 443throw new ArgumentNullException(nameof(root)); 448throw new ArgumentNullException(nameof(id)); 453throw new ArgumentNullException(nameof(version)); 458throw new ArgumentNullException(nameof(log)); 495throw new ArgumentNullException(nameof(identity)); 500throw new ArgumentNullException(nameof(file)); 514throw new ArgumentNullException(nameof(id)); 519throw new ArgumentNullException(nameof(file)); 533throw new ArgumentNullException(nameof(id)); 538throw new ArgumentNullException(nameof(file)); 559throw new ArgumentNullException(nameof(id)); 564throw new ArgumentNullException(nameof(fileName)); 569throw new ArgumentNullException(nameof(extension)); 619throw new ArgumentNullException(nameof(root)); 624throw new ArgumentNullException(nameof(id)); 629throw new ArgumentNullException(nameof(version)); 634throw new ArgumentNullException(nameof(log)); 647throw new ArgumentNullException(nameof(root)); 652throw new ArgumentNullException(nameof(identity)); 657throw new ArgumentNullException(nameof(log)); 717throw new ArgumentNullException(nameof(root)); 722throw new ArgumentNullException(nameof(log)); 744throw new ArgumentNullException(nameof(root)); 749throw new ArgumentNullException(nameof(log)); 861throw new ArgumentNullException(nameof(root)); 866throw new ArgumentNullException(nameof(log)); 918throw new ArgumentNullException(nameof(root)); 923throw new ArgumentNullException(nameof(id)); 928throw new ArgumentNullException(nameof(log)); 960throw new ArgumentNullException(nameof(root)); 965throw new ArgumentNullException(nameof(log)); 1010throw new ArgumentNullException(nameof(root)); 1015throw new ArgumentNullException(nameof(id)); 1020throw new ArgumentNullException(nameof(log)); 1118throw new ArgumentNullException(nameof(packages));
Utility\OfflineFeedAddContext.cs (2)
46Logger = logger ?? throw new ArgumentNullException(nameof(logger)); 50ExtractionContext = extractionContext ?? throw new ArgumentNullException(nameof(extractionContext));
Utility\OfflineFeedUtility.cs (4)
27throw new ArgumentNullException(nameof(packageIdentity)); 32throw new ArgumentNullException(nameof(offlineFeed)); 120throw new ArgumentNullException(nameof(resourceString)); 140throw new ArgumentNullException(nameof(offlineFeedAddContext));
NuGet.Resolver (8)
CompareWrapper.cs (1)
23throw new ArgumentNullException(nameof(compareImpl));
PackageResolver.cs (1)
35throw new ArgumentNullException(nameof(context));
PackageResolverContext.cs (6)
38throw new ArgumentNullException(nameof(targetIds)); 43throw new ArgumentNullException(nameof(requiredPackageIds)); 48throw new ArgumentNullException(nameof(packagesConfig)); 53throw new ArgumentNullException(nameof(preferredVersions)); 58throw new ArgumentNullException(nameof(availablePackages)); 63throw new ArgumentNullException(nameof(packageSources));
NuGet.Versioning (24)
FloatRange.cs (5)
51_minVersion = minVersion ?? throw new ArgumentNullException(nameof(minVersion)); 69throw new ArgumentNullException(nameof(releasePrefix)); 116throw new ArgumentNullException(nameof(version)); 200throw new ArgumentNullException(nameof(versionString)); 398throw new ArgumentNullException(nameof(sb));
NuGetVersion.cs (2)
31: this(version == null ? throw new ArgumentNullException(nameof(version)) : version.Version, version.ReleaseLabels, version.Metadata, version.OriginalVersion) 42: this(version ?? throw new ArgumentNullException(nameof(version)),
ResourcesFormatter.cs (1)
24return new ArgumentNullException(
SemanticVersion.cs (2)
27: this(version == null ? throw new ArgumentNullException(nameof(version)) : version.Major, 133throw new ArgumentNullException(nameof(version));
VersionExtensions.cs (2)
22if (items == null) throw new ArgumentNullException(nameof(items)); 23if (selector == null) throw new ArgumentNullException(nameof(selector));
VersionFormatter.cs (1)
27throw new ArgumentNullException(nameof(arg));
VersionRange.cs (1)
52: this(range == null ? throw new ArgumentNullException(nameof(range)) : range.MinVersion,
VersionRangeBase.cs (3)
132throw new ArgumentNullException(nameof(version)); 137throw new ArgumentNullException(nameof(comparer)); 210throw new ArgumentNullException(nameof(comparer));
VersionRangeComparer.cs (1)
39throw new ArgumentNullException(nameof(versionComparer));
VersionRangeFactory.cs (5)
74throw new ArgumentNullException(nameof(value)); 350throw new ArgumentNullException(nameof(ranges)); 355throw new ArgumentNullException(nameof(comparer)); 466throw new ArgumentNullException(nameof(ranges)); 471throw new ArgumentNullException(nameof(comparer));
VersionRangeFormatter.cs (1)
26throw new ArgumentNullException(nameof(arg));
PresentationBuildTasks (37)
MS\Internal\MarkupCompiler\PathInternal.cs (2)
29throw new ArgumentNullException(nameof(relativeTo)); 35throw new ArgumentNullException(nameof(path));
MS\Internal\Tasks\TaskFileService.cs (8)
126throw new ArgumentNullException(nameof(srcFile)); 217throw new ArgumentNullException(nameof(srcFile)); 243throw new ArgumentNullException(nameof(fileName)); 265throw new ArgumentNullException(nameof(fileName)); 287throw new ArgumentNullException(nameof(destinationFile)); 292throw new ArgumentNullException(nameof(contentArray)); 331throw new ArgumentNullException(nameof(destinationFileBaseName)); 336throw new ArgumentNullException(nameof(contentArray));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
420throw new ArgumentNullException( nameof(parserContext));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlBrushSerializer.cs (1)
97throw new ArgumentNullException(nameof(writer));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (4)
431throw new ArgumentNullException(nameof(typeFullName)); 435throw new ArgumentNullException(nameof(propertyName)); 2210throw new ArgumentNullException(nameof(typeFullName)); 2214throw new ArgumentNullException(nameof(propertyName));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (11)
74throw new ArgumentNullException( nameof(assemblyNames)); 105throw new ArgumentNullException( nameof(xmlNamespace)); 109throw new ArgumentNullException( nameof(localName)); 182throw new ArgumentNullException(nameof(assemblyName)); 186throw new ArgumentNullException(nameof(assemblyPath)); 4230throw new ArgumentNullException(nameof(xmlNamespace)); 4233throw new ArgumentNullException(nameof(assemblyName)); 4236throw new ArgumentNullException(nameof(clrNamespace)); 4274throw new ArgumentNullException(nameof(value)); 4293throw new ArgumentNullException(nameof(value)); 4312throw new ArgumentNullException(nameof(value));
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (5)
337throw new ArgumentNullException( nameof(prefix)); 609throw new ArgumentNullException(nameof(xmlNamespace)); 612throw new ArgumentNullException(nameof(prefix)); 659throw new ArgumentNullException(nameof(xmlNamespace)); 664throw new ArgumentNullException(nameof(prefix));
src\wpf\src\Microsoft.DotNet.Wpf\src\WindowsBase\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (1)
262throw new ArgumentNullException(testStringIdentifier);
src\wpf\src\Microsoft.DotNet.Wpf\src\WindowsBase\System\IO\Packaging\CompoundFile\FormatVersion.cs (4)
67throw new ArgumentNullException(nameof(featureId)); 69throw new ArgumentNullException(nameof(writerVersion)); 71throw new ArgumentNullException(nameof(readerVersion)); 73throw new ArgumentNullException(nameof(updaterVersion));
PresentationCore (62)
MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (2)
362throw new ArgumentNullException(StrokeCollectionSerializer.ISFDebugMessage("input or compressed data was null in Compress")); 410throw new ArgumentNullException(StrokeCollectionSerializer.ISFDebugMessage("reader or compressedData was null in compress"));
MS\Internal\Media\VisualTreeUtils.cs (1)
210throw new ArgumentNullException(nameof(element));
MS\Internal\TextFormatting\FullTextLine.cs (1)
711throw new ArgumentNullException(nameof(collapsingPropertiesList));
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
451throw new ArgumentNullException("paragraphProperties.DefaultTextRunProperties"); 454throw new ArgumentNullException("paragraphProperties.DefaultTextRunProperties.Typeface");
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
380throw new ArgumentNullException(nameof(characterString));
System\Windows\DragDrop.cs (1)
893throw new ArgumentNullException(nameof(handle));
System\Windows\Ink\DrawingAttributes.cs (2)
590throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 619throw new ArgumentNullException(nameof(e), SR.EventArgIsNull);
System\Windows\Ink\Events.cs (1)
158throw new ArgumentNullException(nameof(oldProperty));
System\Windows\Ink\Stroke.cs (5)
586throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 617throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 632throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 649throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 667throw new ArgumentNullException(nameof(e), SR.EventArgIsNull);
System\Windows\Ink\StrokeCollection.cs (5)
448throw new ArgumentNullException(SR.EmptyScToReplace); 465throw new ArgumentNullException(SR.EmptyScToReplace); 469throw new ArgumentNullException(SR.EmptyScToReplaceWith); 617throw new ArgumentNullException(nameof(e), SR.EventArgIsNull); 674throw new ArgumentNullException(nameof(e), SR.EventArgIsNull);
System\Windows\Ink\StrokeCollection2.cs (2)
318throw new System.ArgumentNullException(SR.SCEraseShape); 322throw new System.ArgumentNullException(SR.SCErasePath);
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (2)
38throw new ArgumentNullException(nameof(plugIn), SR.Stylus_PlugInIsNull); 171throw new ArgumentNullException(nameof(plugIn), SR.Stylus_PlugInIsNull);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (1)
290throw new ArgumentNullException("stylusPointDescription");
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (1)
111throw new ArgumentNullException("stylusPointPropertyInfo");
System\Windows\InterOp\Imaging.cs (3)
54throw new ArgumentNullException(nameof(bitmap)); 77throw new ArgumentNullException(nameof(icon)); 106throw new ArgumentNullException(nameof(section));
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "BooleanKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ByteKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "CharKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ColorKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DecimalKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DoubleKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int16KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int32KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int64KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "MatrixKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ObjectKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Point3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "PointKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "QuaternionKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "RectKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Rotation3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SingleKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SizeKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "StringKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Vector3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "VectorKeyFrameCollection[{0}]", index));
System\Windows\Media\ColorTransformHelper.cs (2)
59throw new ArgumentNullException(nameof(sourceProfile)); 64throw new ArgumentNullException(nameof(destinationProfile));
System\Windows\Media\Fonts.cs (1)
102throw new ArgumentNullException(nameof(baseUri), SR.Format(SR.NullBaseUriParam, "baseUri", "location"));
System\Windows\Media\FormattedText.cs (1)
1270throw new ArgumentNullException(nameof(maxTextWidths));
System\Windows\Media\Imaging\BitmapSource.cs (1)
684throw new ArgumentNullException(nameof(buffer));
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
833throw new ArgumentNullException(backwardsCompat ? "buffer" : "sourceBuffer"); 1048throw new ArgumentNullException(backwardsCompat ? "pixels" : "sourceBuffer");
System\Windows\Media\textformatting\TextCharacters.cs (3)
114throw new ArgumentNullException("textRunProperties.Typeface"); 119throw new ArgumentNullException("textRunProperties.CultureInfo"); 186throw new ArgumentNullException("characterBufferReference.CharacterBuffer");
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
46throw new ArgumentNullException("textRunProperties.Typeface");
PresentationFramework (68)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
44throw new ArgumentNullException("annotation component");
MS\Internal\AppModel\ResourcePart.cs (1)
30throw new ArgumentNullException(nameof(rmWrapper));
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (1)
41throw new ArgumentNullException(nameof(thisPtr));
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
232throw new ArgumentNullException("anchorLocator.Parts");
System\Windows\Condition.cs (1)
277throw new ArgumentNullException(nameof(targetObject));
System\Windows\Controls\DataGridColumnCollection.cs (2)
40throw new ArgumentNullException(nameof(item), SR.DataGrid_NullColumn); 61throw new ArgumentNullException(nameof(item), SR.DataGrid_NullColumn);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1655throw new ArgumentNullException(nameof(attributeId));
System\Windows\Controls\UIElementCollection.cs (2)
36throw new ArgumentNullException(SR.Format(SR.Panel_NoNullVisualParent, "visualParent", this.GetType())); 515throw new ArgumentNullException(SR.Format(SR.Panel_NoNullChildren, this.GetType()));
System\Windows\Controls\WebBrowser.cs (2)
170throw new ArgumentNullException(nameof(text)); 257throw new ArgumentNullException(nameof(scriptName));
System\Windows\ControlTemplate.cs (1)
132throw new ArgumentNullException(argName);
System\Windows\Data\BindingListCollectionView.cs (1)
1149throw new ArgumentNullException(nameof(value));
System\Windows\Data\ListCollectionView.cs (3)
1392throw new ArgumentNullException(nameof(value)); 1416throw new ArgumentNullException(nameof(value)); 1440throw new ArgumentNullException(nameof(value));
System\Windows\Documents\ValidationHelper.cs (2)
39throw new ArgumentNullException(paramName); 102throw new ArgumentNullException(paramName);
System\Windows\Documents\WpfPayload.cs (1)
484throw new ArgumentNullException("image.Source");
System\Windows\Markup\ParserContext.cs (2)
93throw new ArgumentNullException( nameof(xmlParserContext)); 420throw new ArgumentNullException( nameof(parserContext));
System\Windows\Markup\XamlNodes.cs (4)
431throw new ArgumentNullException(nameof(typeFullName)); 435throw new ArgumentNullException(nameof(propertyName)); 2210throw new ArgumentNullException(nameof(typeFullName)); 2214throw new ArgumentNullException(nameof(propertyName));
System\Windows\Markup\XamlTypeMapper.cs (20)
55throw new ArgumentNullException( nameof(assemblyNames)); 74throw new ArgumentNullException( nameof(assemblyNames)); 105throw new ArgumentNullException( nameof(xmlNamespace)); 109throw new ArgumentNullException( nameof(localName)); 139throw new ArgumentNullException(nameof(xmlNamespace)); 143throw new ArgumentNullException(nameof(clrNamespace)); 147throw new ArgumentNullException(nameof(assemblyName)); 182throw new ArgumentNullException(nameof(assemblyName)); 186throw new ArgumentNullException(nameof(assemblyPath)); 447throw new ArgumentNullException( nameof(localName)); 451throw new ArgumentNullException( nameof(xmlNamespace)); 1785throw new ArgumentNullException( nameof(ownerType)); 2155throw new ArgumentNullException( nameof(element)); 2159throw new ArgumentNullException( nameof(typeName)); 4230throw new ArgumentNullException(nameof(xmlNamespace)); 4233throw new ArgumentNullException(nameof(assemblyName)); 4236throw new ArgumentNullException(nameof(clrNamespace)); 4274throw new ArgumentNullException(nameof(value)); 4293throw new ArgumentNullException(nameof(value)); 4312throw new ArgumentNullException(nameof(value));
System\Windows\Markup\XmlAttributeProperties.cs (8)
185throw new ArgumentNullException( nameof(dependencyObject)); 198throw new ArgumentNullException( nameof(dependencyObject)); 219throw new ArgumentNullException( nameof(dependencyObject)); 232throw new ArgumentNullException( nameof(dependencyObject)); 257throw new ArgumentNullException( nameof(dependencyObject)); 270throw new ArgumentNullException( nameof(dependencyObject)); 294throw new ArgumentNullException( nameof(dependencyObject)); 310throw new ArgumentNullException( nameof(dependencyObject));
System\Windows\Markup\XmlnsDictionary.cs (7)
96throw new ArgumentNullException( nameof(xmlnsDictionary)); 337throw new ArgumentNullException( nameof(prefix)); 368throw new ArgumentNullException( nameof(xmlNamespace)); 609throw new ArgumentNullException(nameof(xmlNamespace)); 612throw new ArgumentNullException(nameof(prefix)); 659throw new ArgumentNullException(nameof(xmlNamespace)); 664throw new ArgumentNullException(nameof(prefix));
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ThicknessKeyFrameCollection[{0}]", index));
System\Windows\Setter.cs (1)
249throw new ArgumentNullException(nameof(targetObject));
System\Windows\Standard\Verify.cs (3)
62throw new ArgumentNullException(name, errorMessage); 86throw new ArgumentNullException(name, errorMessage); 116throw new ArgumentNullException(name);
System\Windows\TemplateKey.cs (1)
159result = new ArgumentNullException(argName);
System\Windows\Trigger.cs (1)
285throw new ArgumentNullException(nameof(targetObject));
ReachFramework (1)
Serialization\Manager\XpsPackagingPolicy.cs (1)
1332throw new ArgumentNullException("CurrentFixedPageWriter");
Roslyn.Diagnostics.Analyzers (121)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
372throw new ArgumentNullException(paramName);
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
93throw new ArgumentNullException(nameof(source)); 112throw new ArgumentNullException(nameof(stream)); 152throw new ArgumentNullException(nameof(stream));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
66throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (11)
33throw new ArgumentNullException(nameof(source)); 38throw new ArgumentNullException(nameof(action)); 99throw new ArgumentNullException(nameof(source)); 109throw new ArgumentNullException(nameof(source1)); 114throw new ArgumentNullException(nameof(source2)); 124throw new ArgumentNullException(nameof(source1)); 129throw new ArgumentNullException(nameof(source2)); 139throw new ArgumentNullException(nameof(source)); 149throw new ArgumentNullException(nameof(source)); 657throw new ArgumentNullException(nameof(sequence)); 1015throw new ArgumentNullException(nameof(source));
src\roslyn\src\Dependencies\Collections\Internal\ICollectionDebugView`1.cs (1)
25_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (3)
26_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 47_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 68_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
157return new ArgumentNullException(GetArgumentName(argument));
src\roslyn\src\Dependencies\Collections\OneOrMany.cs (1)
43throw new ArgumentNullException(nameof(many));
src\roslyn\src\Dependencies\Collections\RoslynImmutableInterlocked.cs (19)
36throw new ArgumentNullException(nameof(transformer)); 77throw new ArgumentNullException(nameof(transformer)); 157throw new ArgumentNullException(nameof(transformer)); 198throw new ArgumentNullException(nameof(transformer)); 280throw new ArgumentNullException(nameof(transformer)); 323throw new ArgumentNullException(nameof(transformer)); 395throw new ArgumentNullException(nameof(valueFactory)); 399throw new ArgumentNullException(nameof(location)); 415throw new ArgumentNullException(nameof(valueFactory)); 419throw new ArgumentNullException(nameof(location)); 438throw new ArgumentNullException(nameof(location)); 463throw new ArgumentNullException(nameof(addValueFactory)); 465throw new ArgumentNullException(nameof(updateValueFactory)); 472throw new ArgumentNullException(nameof(location)); 501throw new ArgumentNullException(nameof(updateValueFactory)); 508throw new ArgumentNullException(nameof(location)); 540throw new ArgumentNullException(nameof(location)); 567throw new ArgumentNullException(nameof(location)); 594throw new ArgumentNullException(nameof(location));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary.cs (5)
51throw new ArgumentNullException(nameof(builder)); 60throw new ArgumentNullException(nameof(items)); 76throw new ArgumentNullException(nameof(source)); 78throw new ArgumentNullException(nameof(keySelector)); 80throw new ArgumentNullException(nameof(elementSelector));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (3)
81_dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 212throw new ArgumentNullException(nameof(keys)); 235throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (3)
45throw new ArgumentNullException(nameof(value)); 124throw new ArgumentNullException(nameof(items)); 199throw new ArgumentNullException(nameof(keys));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet.cs (1)
87throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList.cs (1)
48throw new ArgumentNullException(nameof(builder));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
407throw new ArgumentNullException(nameof(items)); 431throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
92throw new ArgumentNullException(nameof(items));
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (11)
20throw new ArgumentNullException(nameof(immutableList)); 22throw new ArgumentNullException(nameof(predicate)); 36throw new ArgumentNullException(nameof(immutableList)); 44throw new ArgumentNullException(nameof(builder)); 52throw new ArgumentNullException(nameof(immutableList)); 54throw new ArgumentNullException(nameof(predicate)); 77throw new ArgumentNullException(nameof(builder)); 89throw new ArgumentNullException(nameof(immutableList)); 91throw new ArgumentNullException(nameof(predicate)); 106throw new ArgumentNullException(nameof(immutableList)); 108throw new ArgumentNullException(nameof(selector));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
353_ = comparer ?? throw new ArgumentNullException(nameof(comparer));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (9)
190throw new ArgumentNullException(nameof(compilation)); 203throw new ArgumentNullException(nameof(context)); 216throw new ArgumentNullException(nameof(context)); 230throw new ArgumentNullException(nameof(symbol)); 235throw new ArgumentNullException(nameof(compilation)); 248throw new ArgumentNullException(nameof(symbol)); 253throw new ArgumentNullException(nameof(context)); 293throw new ArgumentNullException(nameof(symbol)); 298throw new ArgumentNullException(nameof(context));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (4)
20throw new ArgumentNullException(nameof(source)); 47throw new ArgumentNullException(nameof(source)); 84throw new ArgumentNullException(nameof(source)); 121throw new ArgumentNullException(nameof(source));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
136throw new ArgumentNullException(nameof(root)); 170throw new ArgumentNullException(nameof(root));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\SourceTextExtensions.cs (2)
29throw new ArgumentNullException(nameof(text)); 34throw new ArgumentNullException(nameof(parser));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
53analyzerConfigOptionsProvider = analyzerConfigOptionsProvider ?? throw new ArgumentNullException(nameof(analyzerConfigOptionsProvider));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\OptionKey.cs (1)
20Name = name ?? throw new ArgumentNullException(nameof(name));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (1)
35this.SymbolDisplayStringCache = symbolDisplayStringCache ?? throw new ArgumentNullException(nameof(symbolDisplayStringCache));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (2)
106_text = text ?? throw new ArgumentNullException(nameof(text)); 240throw new ArgumentNullException(nameof(words));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (11)
66throw new ArgumentNullException(nameof(left)); 71throw new ArgumentNullException(nameof(right)); 140throw new ArgumentNullException(nameof(left)); 145throw new ArgumentNullException(nameof(right)); 200throw new ArgumentNullException(nameof(left)); 205throw new ArgumentNullException(nameof(right)); 258throw new ArgumentNullException(nameof(left)); 263throw new ArgumentNullException(nameof(right)); 393throw new ArgumentNullException(nameof(set)); 453throw new ArgumentNullException(nameof(set)); 589throw new ArgumentNullException(nameof(spans));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
33throw new ArgumentNullException(CompilerExtensionsResources.A_language_name_must_be_specified_for_this_option); 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
124private readonly string _symbolKeyData = data ?? throw new ArgumentNullException(nameof(data));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
16throw new ArgumentNullException(argumentName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EditDistance.cs (1)
49private readonly string _source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (4)
31throw new ArgumentNullException(argumentName); 47throw new ArgumentNullException(argumentName); 151? new ArgumentNullException(argumentName) 158=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.IndexOf(null)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
102_instance = instance ?? throw new ArgumentNullException(nameof(instance)); 238throw new ArgumentNullException(nameof(reference));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WordSimilarityChecker.cs (1)
39_source = text ?? throw new ArgumentNullException(nameof(text));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (4)
160throw new ArgumentNullException(nameof(destination)); 177throw new ArgumentNullException(nameof(destination)); 197throw new ArgumentNullException(nameof(destination)); 468throw new ArgumentNullException(nameof(namespaceOrType));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
53throw new ArgumentNullException(nameof(documentId));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
22=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
234var parent = token.Parent ?? throw new ArgumentNullException(nameof(token));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
18=> _name = name ?? throw new ArgumentNullException(nameof(name));
rzc (7)
CommandBase.cs (1)
19throw new ArgumentNullException(nameof(parent));
CompositeRazorProjectFileSystem.cs (1)
14FileSystems = fileSystems ?? throw new ArgumentNullException(nameof(fileSystems));
DefaultExtensionAssemblyLoader.cs (2)
44throw new ArgumentNullException(nameof(filePath)); 109throw new ArgumentNullException(nameof(filePath));
Json\ThrowHelper.cs (2)
62=> throw new ArgumentNullException(paramName); 81=> throw new ArgumentNullException(paramName);
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
27_getEnvironmentVariable = getEnvironmentVariable ?? throw new ArgumentNullException(nameof(getEnvironmentVariable));
ScenarioTests.Common.Tests (3)
ScenarioTestTypes.cs (3)
188if (d == null) throw new ArgumentNullException("d"); 1264throw new ArgumentNullException("allowedIssuerName", "[MyX509CertificateValidator] The string parameter allowedIssuerName was null or empty."); 1277throw new ArgumentNullException("certificate", "[MyX509CertificateValidator] The X509Certificate2 parameter certificate was null.");
sdk-tasks (2)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkFeatureBand.cs (2)
13public SdkFeatureBand(string? version) : this(new ReleaseVersion(version) ?? throw new ArgumentNullException(nameof(version))) { } 17var fullVersion = version ?? throw new ArgumentNullException(nameof(version));
Security.TransportSecurity.IntegrationTests (1)
Tcp\ClientCredentialTypeTests.OSX.cs (1)
96throw new ArgumentNullException(nameof(certificate));
Shared (3)
ServerSentEvents\ThrowHelper.cs (1)
16throw new ArgumentNullException(parameterName);
Throw\Throw.cs (2)
310=> throw new ArgumentNullException(paramName); 322=> throw new ArgumentNullException(paramName, message);
Shared.Tests (1)
JsonSchemaExporter\TestData.cs (1)
32?? throw new ArgumentNullException("schema must not be null");
System.CodeDom (1)
System\CodeDom\CodeGotoStatement.cs (1)
24throw new ArgumentNullException(nameof(value));
System.Collections (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (3)
14_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 40_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 61_collection = collection ?? throw new ArgumentNullException(nameof(collection));
System\Collections\Generic\PriorityQueueDebugView.cs (1)
23_queue = collection?._queue ?? throw new ArgumentNullException(nameof(collection));
System\Collections\Generic\SortedList.cs (2)
150: this(dictionary?.Count ?? throw new ArgumentNullException(nameof(dictionary)), comparer) 614throw new ArgumentNullException(nameof(key));
System.Collections.Concurrent (1)
System\Collections\Concurrent\BlockingCollection.cs (1)
1571throw new ArgumentNullException(nameof(array));
System.Collections.Immutable (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (3)
14_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 40_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 61_collection = collection ?? throw new ArgumentNullException(nameof(collection));
System\Collections\ThrowHelper.cs (1)
18throw new ArgumentNullException(paramName);
Validation\Requires.cs (1)
77throw new ArgumentNullException(parameterName);
System.Collections.NonGeneric (3)
System\Collections\Queue.cs (1)
68public Queue(ICollection col) : this(col?.Count ?? throw new ArgumentNullException(nameof(col)))
System\Collections\SortedList.cs (1)
155: this(comparer, d?.Count ?? throw new ArgumentNullException(nameof(d)))
System\Collections\Stack.cs (1)
55public Stack(ICollection col) : this(col?.Count ?? throw new ArgumentNullException(nameof(col)))
System.Collections.Specialized (1)
System\Collections\Specialized\NameValueCollection.cs (1)
81: base(capacity, col != null ? col.Comparer : throw new ArgumentNullException(nameof(col)))
System.CommandLine (34)
Command.cs (6)
114throw new ArgumentNullException(nameof(action)); 132throw new ArgumentNullException(nameof(action)); 145throw new ArgumentNullException(nameof(action)); 169throw new ArgumentNullException(nameof(action)); 193throw new ArgumentNullException(nameof(action)); 210throw new ArgumentNullException(nameof(action));
Completions\CompletionItem.cs (1)
29Label = label ?? throw new ArgumentNullException(nameof(label));
Completions\SuggestDirective.cs (1)
22set => _action = value ?? throw new ArgumentNullException(nameof(value));
CompletionSourceExtensions.cs (4)
26throw new ArgumentNullException(nameof(completionSources)); 31throw new ArgumentNullException(nameof(completionsDelegate)); 48throw new ArgumentNullException(nameof(completionSources)); 53throw new ArgumentNullException(nameof(completions));
EnvironmentVariablesDirective.cs (1)
25set => _action = value ?? throw new ArgumentNullException(nameof(value));
Help\HelpAction.cs (1)
52set => _builder = value ?? throw new ArgumentNullException(nameof(value));
Help\HelpBuilder.cs (4)
43throw new ArgumentNullException(nameof(context)); 74throw new ArgumentNullException(nameof(symbol)); 91_getLayout = getLayout ?? throw new ArgumentNullException(nameof(getLayout)); 403throw new ArgumentNullException(nameof(symbol));
Help\HelpContext.cs (3)
21HelpBuilder = helpBuilder ?? throw new ArgumentNullException(nameof(helpBuilder)); 22Command = command ?? throw new ArgumentNullException(nameof(command)); 23Output = output ?? throw new ArgumentNullException(nameof(output));
Help\HelpOption.cs (1)
44set => _action = value ?? throw new ArgumentNullException(nameof(value));
Invocation\ParseErrorAction.cs (2)
181throw new ArgumentNullException(nameof(first)); 186throw new ArgumentNullException(nameof(second));
InvocationConfiguration.cs (2)
39set => _output = value ?? throw new ArgumentNullException(nameof(value), "Use TextWriter.Null to disable the output"); 52set => _error = value ?? throw new ArgumentNullException(nameof(value), "Use TextWriter.Null to disable the output");
ParseDiagramDirective.cs (1)
25set => _action = value ?? throw new ArgumentNullException(nameof(value));
Parsing\ArgumentResult.cs (1)
23Argument = argument ?? throw new ArgumentNullException(nameof(argument));
Parsing\CommandLineParser.cs (1)
146throw new ArgumentNullException(nameof(arguments));
Parsing\CommandResult.cs (2)
21Command = command ?? throw new ArgumentNullException(nameof(command)); 22IdentifierToken = token ?? throw new ArgumentNullException(nameof(token));
Parsing\OptionResult.cs (1)
21Option = option ?? throw new ArgumentNullException(nameof(option));
Parsing\SymbolResult.cs (1)
18SymbolResultTree = symbolResultTree ?? throw new ArgumentNullException(nameof(symbolResultTree));
VersionOption.cs (1)
46set => _action = value ?? throw new ArgumentNullException(nameof(value));
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
196throw new ArgumentNullException(nameof(propertyName));
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
192throw new ArgumentNullException(nameof(value));
System.ComponentModel.Composition (1)
Microsoft\Internal\Requires.cs (1)
109throw new ArgumentNullException(parameterName);
System.Composition.AttributedModel (2)
System\Composition\PartMetadataAttribute.cs (1)
26Name = name ?? throw new ArgumentNullException(nameof(name));
System\Composition\SharingBoundaryAttribute.cs (1)
32_sharingBoundaryNames = sharingBoundaryNames ?? throw new ArgumentNullException(nameof(sharingBoundaryNames));
System.Composition.Hosting (1)
System\Composition\Hosting\Core\ExportDescriptorPromise.cs (1)
87throw new ArgumentNullException("descriptor");
System.Composition.Runtime (5)
System\Composition\ExportFactoryOfT.cs (1)
20_exportLifetimeContextCreator = exportCreator ?? throw new ArgumentNullException(nameof(exportCreator));
System\Composition\Hosting\Core\CompositionContract.cs (2)
47if (contractType == null) throw new ArgumentNullException(nameof(contractType)); 127if (newContractType == null) throw new ArgumentNullException(nameof(newContractType));
System\Composition\Runtime\Util\Formatters.cs (2)
13value is null ? throw new ArgumentNullException(nameof(value)) : 18type is null ? throw new ArgumentNullException(nameof(type)) :
System.Composition.TypedParts (4)
System\Composition\Hosting\ContainerConfiguration.cs (1)
96if (partType == null) throw new ArgumentNullException(nameof(partType));
System\Composition\TypedParts\Util\DirectAttributeContext.cs (3)
14if (reflectedType == null) throw new ArgumentNullException(nameof(reflectedType)); 15if (member == null) throw new ArgumentNullException(nameof(member)); 27if (reflectedType == null) throw new ArgumentNullException(nameof(reflectedType));
System.Configuration.ConfigurationManager (10)
System\Configuration\CallbackValidator.cs (1)
13if (type == null) throw new ArgumentNullException(nameof(type));
System\Configuration\CallbackValidatorAttribute.cs (1)
21if (_type == null) throw new ArgumentNullException(nameof(Type));
System\Configuration\ConfigurationCollectionAttribute.cs (1)
19if (itemType == null) throw new ArgumentNullException(nameof(itemType));
System\Configuration\ConfigurationFileMap.cs (1)
28throw new ArgumentNullException(nameof(machineConfigFilename));
System\Configuration\ConfigurationValidatorAttribute.cs (1)
17if (validator == null) throw new ArgumentNullException(nameof(validator));
System\Configuration\GenericEnumConverter.cs (1)
17throw new ArgumentNullException(nameof(typeEnum));
System\Configuration\MgmtConfigurationRecord.cs (1)
662if (configSection == null) throw new ArgumentNullException(nameof(configSection));
System\Configuration\Provider\ProviderBase.cs (1)
29throw new ArgumentNullException(nameof(name));
System\Configuration\Provider\ProviderCollection.cs (1)
42throw new ArgumentNullException(nameof(provider));
System\Configuration\SubclassTypeValidator.cs (1)
14throw new ArgumentNullException(nameof(baseClass));
System.Data.Common (4)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
64ArgumentNullException e = new ArgumentNullException(parameter); 71ArgumentNullException e = new ArgumentNullException(parameter, error);
System\Data\DataException.cs (1)
340private static Exception _ArgumentNull(string paramName, string msg) => TraceExceptionAsReturnValue(new ArgumentNullException(paramName, msg));
System\Data\DataSetUtil.cs (1)
25return new ArgumentNullException(message);
System.Data.Odbc (2)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
64ArgumentNullException e = new ArgumentNullException(parameter); 71ArgumentNullException e = new ArgumentNullException(parameter, error);
System.Data.OleDb (2)
System\Data\Common\AdapterUtil.cs (2)
90ArgumentNullException e = new ArgumentNullException(parameter); 96ArgumentNullException e = new ArgumentNullException(parameter, error);
System.Diagnostics.DiagnosticSource (20)
System\Diagnostics\Activity.cs (1)
190set => _displayName = value ?? throw new ArgumentNullException(nameof(value));
System\Diagnostics\ActivitySource.cs (2)
46public ActivitySource(ActivitySourceOptions options) : this((options ?? throw new ArgumentNullException(nameof(options))).Name, options.Version, options.Tags, options.Scope, options.TelemetrySchemaUrl) {} 50Name = name ?? throw new ArgumentNullException(nameof(name));
System\Diagnostics\ActivitySourceOptions.cs (2)
21_name = name ?? throw new ArgumentNullException(nameof(name)); 30set => _name = value ?? throw new ArgumentNullException(nameof(value));
System\Diagnostics\ActivityTagsCollection.cs (1)
160throw new ArgumentNullException(nameof(item));
System\Diagnostics\DistributedContextPropagator.cs (1)
82s_current = value ?? throw new ArgumentNullException(nameof(value));
System\Diagnostics\Metrics\Instrument.cs (2)
69Meter = meter ?? throw new ArgumentNullException(nameof(meter)); 70Name = name ?? throw new ArgumentNullException(nameof(name));
System\Diagnostics\Metrics\Meter.cs (1)
74Name = name ?? throw new ArgumentNullException(nameof(name));
System\Diagnostics\Metrics\MeterOptions.cs (1)
21set => _name = value ?? throw new ArgumentNullException(nameof(value));
System\Diagnostics\Metrics\ObservableCounter.cs (3)
28_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 38_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 48_callback = observeValues ?? throw new ArgumentNullException(nameof(observeValues));
System\Diagnostics\Metrics\ObservableGauge.cs (3)
28_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 38_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 48_callback = observeValues ?? throw new ArgumentNullException(nameof(observeValues));
System\Diagnostics\Metrics\ObservableUpDownCounter.cs (3)
28_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 38_callback = observeValue ?? throw new ArgumentNullException(nameof(observeValue)); 48_callback = observeValues ?? throw new ArgumentNullException(nameof(observeValues));
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogQuery.cs (1)
29throw new ArgumentNullException(nameof(path));
System.Diagnostics.PerformanceCounter (7)
System\Diagnostics\InstanceDataCollection.cs (1)
45throw new ArgumentNullException(nameof(instanceName));
System\Diagnostics\InstanceDataCollectionCollection.cs (1)
26throw new ArgumentNullException(nameof(counterName));
System\Diagnostics\PerformanceCounter.cs (2)
145throw new ArgumentNullException(nameof(value)); 185throw new ArgumentNullException(nameof(value));
System\Diagnostics\PerformanceCounterCategory.cs (2)
71throw new ArgumentNullException(nameof(value)); 209throw new ArgumentNullException(nameof(counterData));
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
232throw new ArgumentNullException(nameof(counterName));
System.Diagnostics.Process (3)
System\Diagnostics\ProcessOutputLine.cs (1)
21Content = content ?? throw new ArgumentNullException(nameof(content));
System\Diagnostics\ProcessStartInfo.cs (2)
459throw new ArgumentNullException($"ArgumentList[{i}]"); 509throw new ArgumentNullException(InheritedHandlesParamName(i));
System.DirectoryServices (141)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchedule.cs (1)
87throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaPropertyCollection.cs (1)
60throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (2)
414throw new ArgumentNullException(nameof(value)); 1125throw new ArgumentNullException(nameof(siteName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteCollection.cs (1)
31throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (2)
669throw new ArgumentNullException(nameof(context)); 685throw new ArgumentNullException(nameof(siteLinkName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (2)
325throw new ArgumentNullException(nameof(context)); 341throw new ArgumentNullException(nameof(bridgeName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkCollection.cs (9)
25throw new ArgumentNullException(nameof(value)); 40throw new ArgumentNullException(nameof(link)); 54throw new ArgumentNullException(nameof(links)); 63throw new ArgumentNullException(nameof(links)); 73throw new ArgumentNullException(nameof(link)); 101throw new ArgumentNullException(nameof(link)); 124throw new ArgumentNullException(nameof(link)); 138throw new ArgumentNullException(nameof(link)); 231if (value == null) throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (3)
152throw new ArgumentNullException(nameof(siteName)); 378throw new ArgumentNullException(nameof(context)); 395throw new ArgumentNullException(nameof(subnetName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (9)
35throw new ArgumentNullException(nameof(value)); 50throw new ArgumentNullException(nameof(subnet)); 64throw new ArgumentNullException(nameof(subnets)); 81throw new ArgumentNullException(nameof(subnets)); 91throw new ArgumentNullException(nameof(subnet)); 119throw new ArgumentNullException(nameof(subnet)); 142throw new ArgumentNullException(nameof(subnet)); 156throw new ArgumentNullException(nameof(subnet)); 268if (value == null) throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (7)
317throw new ArgumentNullException(nameof(partition)); 351throw new ArgumentNullException(nameof(partition)); 390throw new ArgumentNullException(nameof(objectPath)); 407throw new ArgumentNullException(nameof(partition)); 413throw new ArgumentNullException(nameof(sourceServer)); 429throw new ArgumentNullException(nameof(partition)); 445throw new ArgumentNullException(nameof(partition));
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (2)
163throw new ArgumentNullException(nameof(context)); 181throw new ArgumentNullException(nameof(distinguishedName));
System\DirectoryServices\ActiveDirectory\AttributeMetadataCollection.cs (2)
17throw new ArgumentNullException(nameof(metadata)); 35throw new ArgumentNullException(nameof(metadata));
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
76throw new ArgumentNullException(nameof(context));
System\DirectoryServices\ActiveDirectory\DirectoryServerCollection.cs (8)
54throw new ArgumentNullException(nameof(value)); 66throw new ArgumentNullException(nameof(server)); 112throw new ArgumentNullException(nameof(servers)); 129throw new ArgumentNullException(nameof(server)); 151throw new ArgumentNullException(nameof(server)); 168throw new ArgumentNullException(nameof(server)); 214throw new ArgumentNullException(nameof(server)); 375if (value == null) throw new ArgumentNullException(nameof(value));
System\DirectoryServices\ActiveDirectory\Domain.cs (19)
65throw new ArgumentNullException(nameof(context)); 502throw new ArgumentNullException(nameof(targetDomainName)); 526throw new ArgumentNullException(nameof(targetDomainName)); 539throw new ArgumentNullException(nameof(targetDomainName)); 552throw new ArgumentNullException(nameof(targetDomainName)); 565throw new ArgumentNullException(nameof(targetDomainName)); 578throw new ArgumentNullException(nameof(targetDomainName)); 592throw new ArgumentNullException(nameof(targetDomain)); 606throw new ArgumentNullException(nameof(targetDomainName)); 619throw new ArgumentNullException(nameof(targetDomain)); 656throw new ArgumentNullException(nameof(targetDomainName)); 665throw new ArgumentNullException(nameof(trustPassword)); 683throw new ArgumentNullException(nameof(targetDomain)); 708throw new ArgumentNullException(nameof(targetDomainName)); 714throw new ArgumentNullException(nameof(newTrustPassword)); 727throw new ArgumentNullException(nameof(targetDomainName)); 736throw new ArgumentNullException(nameof(newTrustPassword)); 749throw new ArgumentNullException(nameof(targetDomain)); 776throw new ArgumentNullException(nameof(targetDomain));
System\DirectoryServices\ActiveDirectory\DomainCollection.cs (2)
28throw new ArgumentNullException(nameof(domain)); 44throw new ArgumentNullException(nameof(domain));
System\DirectoryServices\ActiveDirectory\DomainController.cs (8)
128throw new ArgumentNullException(nameof(context)); 441throw new ArgumentNullException(nameof(partition)); 475throw new ArgumentNullException(nameof(partition)); 514throw new ArgumentNullException(nameof(objectPath)); 531throw new ArgumentNullException(nameof(partition)); 537throw new ArgumentNullException(nameof(sourceServer)); 553throw new ArgumentNullException(nameof(partition)); 569throw new ArgumentNullException(nameof(partition));
System\DirectoryServices\ActiveDirectory\DomainControllerCollection.cs (2)
25throw new ArgumentNullException(nameof(domainController)); 41throw new ArgumentNullException(nameof(domainController));
System\DirectoryServices\ActiveDirectory\Forest.cs (19)
92throw new ArgumentNullException(nameof(context)); 315throw new ArgumentNullException(nameof(targetForestName)); 338throw new ArgumentNullException(nameof(targetForestName)); 351throw new ArgumentNullException(nameof(targetForestName)); 364throw new ArgumentNullException(nameof(targetForestName)); 377throw new ArgumentNullException(nameof(targetForestName)); 390throw new ArgumentNullException(nameof(targetForestName)); 404throw new ArgumentNullException(nameof(targetForest)); 418throw new ArgumentNullException(nameof(targetForestName)); 431throw new ArgumentNullException(nameof(targetForest)); 468throw new ArgumentNullException(nameof(targetForestName)); 477throw new ArgumentNullException(nameof(trustPassword)); 495throw new ArgumentNullException(nameof(targetForest)); 520throw new ArgumentNullException(nameof(targetForestName)); 526throw new ArgumentNullException(nameof(newTrustPassword)); 539throw new ArgumentNullException(nameof(targetForestName)); 548throw new ArgumentNullException(nameof(newTrustPassword)); 561throw new ArgumentNullException(nameof(targetForest)); 587throw new ArgumentNullException(nameof(targetForest));
System\DirectoryServices\ActiveDirectory\ForestTrustCollision.cs (2)
39throw new ArgumentNullException(nameof(collision)); 47throw new ArgumentNullException(nameof(collision));
System\DirectoryServices\ActiveDirectory\ForestTrustDomainInfoCollection.cs (2)
20throw new ArgumentNullException(nameof(information)); 28throw new ArgumentNullException(nameof(information));
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
36throw new ArgumentNullException(nameof(context));
System\DirectoryServices\ActiveDirectory\GlobalCatalogCollection.cs (2)
25throw new ArgumentNullException(nameof(globalCatalog)); 41throw new ArgumentNullException(nameof(globalCatalog));
System\DirectoryServices\ActiveDirectory\ReadOnlyActiveDirectorySchemaClassCollection.cs (2)
28throw new ArgumentNullException(nameof(schemaClass)); 44throw new ArgumentNullException(nameof(schemaClass));
System\DirectoryServices\ActiveDirectory\ReadOnlyActiveDirectorySchemaPropertyCollection.cs (2)
28throw new ArgumentNullException(nameof(schemaProperty)); 43throw new ArgumentNullException(nameof(schemaProperty));
System\DirectoryServices\ActiveDirectory\ReadOnlyDirectoryServerCollection.cs (2)
28throw new ArgumentNullException(nameof(directoryServer)); 44throw new ArgumentNullException(nameof(directoryServer));
System\DirectoryServices\ActiveDirectory\ReadOnlySiteCollection.cs (2)
25throw new ArgumentNullException(nameof(site)); 46throw new ArgumentNullException(nameof(site));
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkBridgeCollection.cs (2)
20throw new ArgumentNullException(nameof(bridge)); 40throw new ArgumentNullException(nameof(bridge));
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkCollection.cs (2)
20throw new ArgumentNullException(nameof(link)); 40throw new ArgumentNullException(nameof(link));
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (3)
122throw new ArgumentNullException(nameof(sourceServer)); 911throw new ArgumentNullException(nameof(context)); 918throw new ArgumentNullException(nameof(name));
System\DirectoryServices\ActiveDirectory\ReplicationConnectionCollection.cs (2)
17throw new ArgumentNullException(nameof(connection)); 40throw new ArgumentNullException(nameof(connection));
System\DirectoryServices\ActiveDirectory\ReplicationCursorCollection.cs (2)
23throw new ArgumentNullException(nameof(cursor)); 31throw new ArgumentNullException(nameof(cursor));
System\DirectoryServices\ActiveDirectory\ReplicationFailureCollection.cs (2)
26throw new ArgumentNullException(nameof(failure)); 34throw new ArgumentNullException(nameof(failure));
System\DirectoryServices\ActiveDirectory\ReplicationNeighborCollection.cs (2)
26throw new ArgumentNullException(nameof(neighbor)); 34throw new ArgumentNullException(nameof(neighbor));
System\DirectoryServices\ActiveDirectory\ReplicationOperationCollection.cs (2)
26throw new ArgumentNullException(nameof(operation)); 34throw new ArgumentNullException(nameof(operation));
System\DirectoryServices\ActiveDirectory\TopLevelNameCollection.cs (3)
17throw new ArgumentNullException(nameof(name)); 25throw new ArgumentNullException(nameof(name)); 38throw new ArgumentNullException(nameof(name));
System\DirectoryServices\ActiveDirectory\TrustRelationshipInformationCollection.cs (2)
36throw new ArgumentNullException(nameof(information)); 44throw new ArgumentNullException(nameof(information));
System\DirectoryServices\DirectorySearcher.cs (1)
377set => _sort = value ?? throw new ArgumentNullException(nameof(value));
System\DirectoryServices\PropertyCollection.cs (2)
33throw new ArgumentNullException(nameof(propertyName)); 155throw new ArgumentNullException(nameof(array));
System\DirectoryServices\SortOption.cs (1)
30set => _propertyName = value ?? throw new ArgumentNullException(nameof(value));
System.DirectoryServices.AccountManagement (44)
System\DirectoryServices\AccountManagement\AD\DSPropertyCollection.cs (1)
30throw new ArgumentNullException(nameof(propertyName));
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (3)
58throw new ArgumentNullException(nameof(value)); 367throw new ArgumentNullException(nameof(context)); 370throw new ArgumentNullException(nameof(subtype));
System\DirectoryServices\AccountManagement\Group.cs (2)
79throw new ArgumentNullException(nameof(value)); 125throw new ArgumentNullException(nameof(value));
System\DirectoryServices\AccountManagement\PasswordInfo.cs (3)
137throw new ArgumentNullException(nameof(newPassword)); 155throw new ArgumentNullException(nameof(oldPassword)); 158throw new ArgumentNullException(nameof(newPassword));
System\DirectoryServices\AccountManagement\Principal.cs (10)
126throw new ArgumentNullException(nameof(value)); 246throw new ArgumentNullException(nameof(value)); 538throw new ArgumentNullException(nameof(contextToQuery)); 549throw new ArgumentNullException(nameof(group)); 560throw new ArgumentNullException(nameof(context)); 563throw new ArgumentNullException(nameof(identityValue)); 903throw new ArgumentNullException(nameof(context)); 906throw new ArgumentNullException(nameof(identityValue)); 915throw new ArgumentNullException(nameof(context)); 918throw new ArgumentNullException(nameof(identityValue));
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (11)
24throw new ArgumentNullException(nameof(array)); 248throw new ArgumentNullException(nameof(principal)); 292throw new ArgumentNullException(nameof(context)); 295throw new ArgumentNullException(nameof(identityValue)); 371throw new ArgumentNullException(nameof(principal)); 439throw new ArgumentNullException(nameof(context)); 442throw new ArgumentNullException(nameof(identityValue)); 464throw new ArgumentNullException(nameof(principal)); 513throw new ArgumentNullException(nameof(principal)); 588throw new ArgumentNullException(nameof(context)); 591throw new ArgumentNullException(nameof(identityValue));
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (1)
58throw new ArgumentNullException(nameof(QueryFilter));
System\DirectoryServices\AccountManagement\TrackedCollection.cs (1)
22throw new ArgumentNullException(nameof(array));
System\DirectoryServices\AccountManagement\ValueCollection.cs (12)
36throw new ArgumentNullException(nameof(value)); 50throw new ArgumentNullException(nameof(value)); 58throw new ArgumentNullException(nameof(value)); 66throw new ArgumentNullException(nameof(value)); 74throw new ArgumentNullException(nameof(value)); 94throw new ArgumentNullException(nameof(value)); 179throw new ArgumentNullException(nameof(value)); 192throw new ArgumentNullException(nameof(value)); 200throw new ArgumentNullException(nameof(value)); 229throw new ArgumentNullException(nameof(value)); 247throw new ArgumentNullException(nameof(value)); 315throw new ArgumentNullException(nameof(value));
System.DirectoryServices.Protocols (4)
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (1)
61set => _attributeName = value ?? throw new ArgumentNullException(nameof(value));
System\DirectoryServices\Protocols\common\DirectoryControl.cs (3)
76set => _name = value ?? throw new ArgumentNullException(nameof(value)); 571set => _serverName = value ?? throw new ArgumentNullException(nameof(value)); 1162set => List[index] = value ?? throw new ArgumentNullException(nameof(value));
System.Drawing.Common (12)
System\Drawing\BufferedGraphicsContext.cs (1)
356throw new ArgumentNullException(nameof(hdc));
System\Drawing\Drawing2D\CustomLineCap.cs (1)
59throw new ArgumentNullException(nameof(handle));
System\Drawing\Drawing2D\GraphicsPath.cs (1)
104throw new ArgumentNullException(nameof(nativePath));
System\Drawing\Graphics.cs (2)
73throw new ArgumentNullException(nameof(gdipNativeGraphics)); 84return hdc == 0 ? throw new ArgumentNullException(nameof(hdc)) : FromHdcInternal(hdc);
System\Drawing\Image.cs (1)
250throw new ArgumentNullException(nameof(encoder));
System\Drawing\Imaging\ImageAttributes.cs (1)
46throw new ArgumentNullException(nameof(handle));
System\Drawing\Imaging\PropertyItem.cs (1)
39throw new ArgumentNullException(nameof(native));
System\Drawing\Printing\PageSettings.cs (1)
228throw new ArgumentNullException(nameof(hdevmode));
System\Drawing\Printing\PrinterSettings.cs (1)
254throw new ArgumentNullException(value);
System\Drawing\Region.cs (2)
68throw new ArgumentNullException(nameof(nativeRegion)); 84throw new ArgumentNullException(nameof(regionHandle));
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnDecoder.Enumerated.cs (1)
197throw new ArgumentNullException(nameof(enumType));
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
185throw new ArgumentNullException(nameof(flagsEnumType));
System.IO.Packaging (15)
System\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
22_stream = stream ?? throw new ArgumentNullException(nameof(stream));
System\IO\Packaging\Package.cs (8)
218throw new ArgumentNullException(nameof(partUri)); 221throw new ArgumentNullException(nameof(contentType)); 287throw new ArgumentNullException(nameof(partUri)); 313throw new ArgumentNullException(nameof(partUri)); 627throw new ArgumentNullException(nameof(id)); 668throw new ArgumentNullException(nameof(relationshipType)); 1140throw new ArgumentNullException(nameof(partUri)); 1179throw new ArgumentNullException(nameof(id));
System\IO\Packaging\PackagePart.cs (3)
428throw new ArgumentNullException(nameof(id)); 472throw new ArgumentNullException(nameof(relationshipType)); 743throw new ArgumentNullException(nameof(id));
System\IO\Packaging\PackUriHelper.PackUriScheme.cs (2)
252throw new ArgumentNullException(nameof(packageUri)); 264throw new ArgumentNullException(nameof(packUri));
System\IO\Packaging\ZipPackage.cs (1)
44throw new ArgumentNullException(nameof(contentType));
System.IO.Pipelines (1)
System\IO\Pipelines\ThrowHelper.cs (1)
19private static ArgumentNullException CreateArgumentNullException(ExceptionArgument argument) => new ArgumentNullException(argument.ToString());
System.IO.Ports (9)
System\IO\Ports\SerialPort.cs (9)
302throw new ArgumentNullException(nameof(Encoding)); 350throw new ArgumentNullException(nameof(NewLine)); 397throw new ArgumentNullException(nameof(PortName)); 663throw new ArgumentNullException(nameof(buffer)); 804throw new ArgumentNullException(nameof(buffer)); 1061throw new ArgumentNullException(nameof(value)); 1179throw new ArgumentNullException(nameof(text)); 1195throw new ArgumentNullException(nameof(buffer)); 1215throw new ArgumentNullException(nameof(buffer));
System.Linq (1)
System\Linq\ThrowHelper.cs (1)
12internal static void ThrowArgumentNullException(ExceptionArgument argument) => throw new ArgumentNullException(GetArgumentString(argument));
System.Linq.AsyncEnumerable (1)
System\Linq\ThrowHelper.cs (1)
28internal static void ThrowArgumentNullException(string paramName) => throw new ArgumentNullException(paramName);
System.Linq.Expressions (6)
System\Dynamic\Utils\ContractUtils.cs (2)
71throw new ArgumentNullException(GetParamName(paramName, index)); 117throw new ArgumentNullException(GetParamName(arrayName, i));
System\Linq\Expressions\LambdaExpression.cs (2)
1032throw new ArgumentNullException(nameof(typeArgs)); 1079throw new ArgumentNullException(nameof(typeArgs));
System\Linq\Expressions\NewExpression.cs (2)
143throw new ArgumentNullException($"{nameof(constructor)}.{nameof(constructor.DeclaringType)}"); 168throw new ArgumentNullException($"{nameof(constructor)}.{nameof(constructor.DeclaringType)}");
System.Management (41)
System\Management\ManagementBaseObject.cs (3)
501throw new ArgumentNullException(nameof(propertyName)); 738throw new ArgumentNullException(nameof(otherObject)); 822throw new ArgumentNullException(nameof(propertyName));
System\Management\ManagementClass.cs (5)
580throw new ArgumentNullException(nameof(watcher)); 731throw new ArgumentNullException(nameof(watcher)); 807throw new ArgumentNullException(nameof(newClassName)); 1122throw new ArgumentNullException(nameof(watcher)); 1310throw new ArgumentNullException(nameof(watcher));
System\Management\ManagementEventWatcher.cs (3)
306throw new ArgumentNullException(nameof(value)); 339throw new ArgumentNullException(nameof(value)); 373throw new ArgumentNullException(nameof(value));
System\Management\ManagementObject.cs (15)
525throw new ArgumentNullException(nameof(value)); 641throw new ArgumentNullException(nameof(value)); 895throw new ArgumentNullException(nameof(watcher)); 1149throw new ArgumentNullException(nameof(watcher)); 1373throw new ArgumentNullException(nameof(watcher)); 1611throw new ArgumentNullException(nameof(watcher)); 1870throw new ArgumentNullException(nameof(watcher)); 2012throw new ArgumentNullException(nameof(watcher)); 2135throw new ArgumentNullException(nameof(methodName)); 2180throw new ArgumentNullException(nameof(watcher)); 2182throw new ArgumentNullException(nameof(methodName)); 2281throw new ArgumentNullException(nameof(methodName)); 2346throw new ArgumentNullException(nameof(watcher)); 2348throw new ArgumentNullException(nameof(methodName)); 2429throw new ArgumentNullException(nameof(methodName));
System\Management\ManagementObjectCollection.cs (1)
205throw new ArgumentNullException(nameof(array));
System\Management\ManagementObjectSearcher.cs (4)
256throw new ArgumentNullException(nameof(value)); 282throw new ArgumentNullException(nameof(value)); 303throw new ArgumentNullException(nameof(value)); 406throw new ArgumentNullException(nameof(watcher));
System\Management\ManagementScope.cs (2)
825throw new ArgumentNullException(nameof(value)); 865throw new ArgumentNullException(nameof(value));
System\Management\MethodSet.cs (1)
344throw new ArgumentNullException(nameof(methodName));
System\Management\PropertySet.cs (5)
132throw new ArgumentNullException(nameof(array)); 351throw new ArgumentNullException(nameof(propertyName)); 414throw new ArgumentNullException(nameof(propertyValue)); 453throw new ArgumentNullException(nameof(propertyName)); 495throw new ArgumentNullException(propertyName);
System\Management\QualifierSet.cs (2)
181throw new ArgumentNullException(nameof(array)); 414throw new ArgumentNullException(nameof(qualifierName));
System.Memory (1)
System\ThrowHelper.cs (1)
30private static ArgumentNullException CreateArgumentNullException(ExceptionArgument argument) { return new ArgumentNullException(argument.ToString()); }
System.Memory.Data (1)
System\BinaryData.cs (1)
62_bytes = data ?? throw new ArgumentNullException(nameof(data));
System.Net.HttpListener (2)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
287throw new ArgumentNullException(nameof(result));
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
101throw new ArgumentNullException(parameterName + "." + nameof(arraySegment.Array));
System.Net.Ping (2)
System\Net\NetworkInformation\Ping.cs (2)
355throw new ArgumentNullException(nameof(hostNameOrAddress)); 635throw new ArgumentNullException(nameof(hostNameOrAddress));
System.Net.Primitives (1)
System\Net\IPAddress.cs (1)
770private static byte[] ThrowAddressNullException() => throw new ArgumentNullException("address");
System.Net.Quic (2)
System\Net\Quic\Internal\ThrowHelper.cs (1)
215throw new ArgumentNullException(argumentName, SR.Format(resourceName, propertyName));
System\Net\Quic\QuicListenerOptions.cs (1)
49throw new ArgumentNullException(argumentName, SR.Format(SR.net_quic_not_null_not_empty_listener, nameof(ApplicationProtocols)));
System.Net.Requests (1)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
287throw new ArgumentNullException(nameof(result));
System.Net.Security (3)
System\Net\Security\AuthenticatedStream.cs (1)
19throw new ArgumentNullException(nameof(innerStream));
System\Net\Security\SslApplicationProtocol.cs (2)
43this(protocol ?? throw new ArgumentNullException(nameof(protocol)), copy: true) 48this(s_utf8.GetBytes(protocol ?? throw new ArgumentNullException(nameof(protocol))), copy: false)
System.Net.ServerSentEvents (1)
System\Net\ServerSentEvents\ThrowHelper.cs (1)
13throw new ArgumentNullException(parameterName);
System.Net.Sockets (1)
System\Net\Sockets\Socket.cs (1)
2405throw new ArgumentNullException(null, SR.net_sockets_empty_select);
System.Net.WebHeaderCollection (3)
System\Net\WebHeaderCollection.cs (3)
111throw new ArgumentNullException(nameof(name)); 309throw new ArgumentNullException(nameof(header)); 364throw new ArgumentNullException(nameof(name));
System.Net.WebSockets (1)
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
101throw new ArgumentNullException(parameterName + "." + nameof(arraySegment.Array));
System.Net.WebSockets.Client (1)
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
101throw new ArgumentNullException(parameterName + "." + nameof(arraySegment.Array));
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (2)
47public ObservableCollection(IEnumerable<T> collection) : base(new List<T>(collection ?? throw new ArgumentNullException(nameof(collection)))) 61public ObservableCollection(List<T> list) : base(new List<T>(list ?? throw new ArgumentNullException(nameof(list))))
System.Private.CoreLib (43)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtableOfPointers.cs (2)
339throw new ArgumentNullException(); 540throw new ArgumentNullException(nameof(value));
src\runtime\src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (4)
74this(SR.AggregateException_ctor_DefaultMessage, innerExceptions ?? throw new ArgumentNullException(nameof(innerExceptions))) 88this(SR.AggregateException_ctor_DefaultMessage, innerExceptions ?? throw new ArgumentNullException(nameof(innerExceptions))) 103: this(message, new List<Exception>(innerExceptions ?? throw new ArgumentNullException(nameof(innerExceptions))).ToArray(), cloneExceptions: false) 118this(message, innerExceptions ?? throw new ArgumentNullException(nameof(innerExceptions)), cloneExceptions: true)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArgumentNullException.cs (1)
98throw new ArgumentNullException(paramName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (3)
14_dict = dictionary ?? throw new ArgumentNullException(nameof(dictionary)); 40_collection = collection ?? throw new ArgumentNullException(nameof(collection)); 61_collection = collection ?? throw new ArgumentNullException(nameof(collection));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
282this((ReadOnlySpan<int>)(bits ?? throw new ArgumentNullException(nameof(bits))))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\FieldMetadata.cs (1)
102throw new ArgumentNullException(
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (1)
74GenerateGuidFromName((eventSourceName ?? throw new ArgumentNullException(nameof(eventSourceName))).ToUpperInvariant()),
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (2)
1048throw new ArgumentNullException("value", SR.ArgumentNull_ArrayValue); 1604throw new ArgumentNullException(nameof(patterns) + "[" + i + "]", SR.ArgumentNull_ArrayValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (1)
5307return new ArgumentNullException("formats", SR.ArgumentNull_String);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (1)
134throw new ArgumentNullException(propertyName, SR.ArgumentNull_ArrayValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
61this(new ReadOnlySpan<byte>(b ?? throw new ArgumentNullException(nameof(b))))
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (1)
17: this(fileName ?? throw new ArgumentNullException(nameof(fileName)), isNormalized: false)
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
2185throw new ArgumentNullException(lowInclusive is null ? nameof(lowInclusive) : nameof(highInclusive));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBody.cs (2)
12public virtual IList<LocalVariableInfo> LocalVariables => throw new ArgumentNullException("array"); 16public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses => throw new ArgumentNullException("array");
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (4)
939throw new ArgumentNullException(nameof(externalComObject)); 960throw new ArgumentNullException(nameof(externalComObject)); 1002throw new ArgumentNullException(nameof(externalComObject)); 1111throw new ArgumentNullException(nameof(externalComObject));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\VersioningHelper.cs (1)
42throw new ArgumentNullException(nameof(type), SR.ArgumentNull_TypeRequiredByResourceScope);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (2)
339_ => throw (value is null ? new ArgumentNullException(nameof(value)) : new ArgumentException(SR.NotSupported_StringComparison, nameof(comparisonType))), 669_ => throw (value is null ? new ArgumentNullException(nameof(value)) : new ArgumentException(SR.NotSupported_StringComparison, nameof(comparisonType))),
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
60throw new ArgumentNullException(nameof(timeProvider));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
252WaitHandle waitHandle = waitHandles[i] ?? throw new ArgumentNullException($"waitHandles[{i}]", SR.ArgumentNull_ArrayElement);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (5)
131throw new ArgumentNullException("value", SR.ArgumentNull_TypedRefType); 341throw new ArgumentNullException(GetArgumentName(argument)); 347throw new ArgumentNullException(GetResourceString(resource)); 353throw new ArgumentNullException(GetArgumentName(argument), GetResourceString(resource)); 708return new ArgumentNullException(nameof(array));
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (1)
345throw new ArgumentNullException(paramName);
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
134throw new ArgumentNullException();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
476throw new ArgumentNullException();
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
300throw new ArgumentNullException(nameof(type), SR.ArgumentNull_Type);
System\Runtime\InteropServices\Marshal.NativeAot.cs (1)
38throw new ArgumentNullException(nameof(fieldName));
System\Runtime\Loader\AssemblyLoadContext.NativeAot.cs (1)
56throw new ArgumentNullException(nameof(rawAssembly));
System\RuntimeMethodHandle.cs (1)
101throw new ArgumentNullException(null, SR.Arg_InvalidHandle);
System.Private.CoreLib.Generators (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
System.Private.DataContractSerialization (9)
System\Xml\XmlBaseReader.cs (4)
1059throw new ArgumentNullException($"localNames[{i}]"); 1074throw new ArgumentNullException($"localNames[{i}]"); 1100throw new ArgumentNullException($"localNames[{i}]"); 1115throw new ArgumentNullException($"localNames[{i}]");
System\Xml\XmlBaseWriter.cs (1)
204throw new ArgumentNullException(nameof(localName));
System\Xml\XmlDictionaryReader.cs (4)
301throw new ArgumentNullException($"localNames[{i}]"); 324throw new ArgumentNullException($"localNames[{i}]"); 619throw new ArgumentNullException($"strings[{i}]"); 639throw new ArgumentNullException($"strings[{i}]");
System.Private.Windows.Core (9)
System\ArgumentValidation.cs (5)
18argument is null ? throw new ArgumentNullException(paramName, message) : argument; 21argument == 0 ? throw new ArgumentNullException(paramName) : argument; 39throw new ArgumentNullException(paramName); 47throw new ArgumentNullException(paramName, message); 57throw new ArgumentNullException(paramName);
Windows\Win32\System\Com\ComHelpers.cs (2)
278throw new ArgumentNullException(nameof(comPointer)); 304throw new ArgumentNullException(nameof(unknown));
Windows\Win32\System\Com\ComPointerList.cs (2)
25throw new ArgumentNullException(nameof(item)); 32return item is null ? throw new ArgumentNullException(nameof(item)) : _pointers.Remove((nint)item);
System.Private.Windows.GdiPlus (2)
System\Drawing\CoreImageExtensions.cs (1)
18throw new ArgumentNullException(nameof(encoder));
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
85throw new ArgumentNullException(nameof(deviceContext));
System.Private.Xml (5)
System\Xml\Core\XmlTextReaderImpl.cs (1)
8150throw new ArgumentNullException((_incReadDecoder is IncrementalReadCharsDecoder) ? "buffer" : nameof(array));
System\Xml\Schema\XmlSchemaCollection.cs (1)
99throw new ArgumentNullException(nameof(uri));
System\Xml\Schema\XmlSchemaSet.cs (1)
211throw new ArgumentNullException(nameof(schemaUri));
System\Xml\Serialization\XmlSerializationReader.cs (1)
987throw new ArgumentNullException(nameof(value), SR.Format(SR.XmlMissingArrayType, CurrentTag()));
System\Xml\XmlConvert.cs (1)
349throw new ArgumentNullException(nameof(name));
System.Reflection.Context (1)
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
26throw new ArgumentNullException(nameof(propertyType));
System.Reflection.Metadata (3)
System\Reflection\Metadata\AssemblyNameInfo.cs (1)
44Name = name ?? throw new ArgumentNullException(nameof(name));
System\Reflection\Metadata\TypeNameParserHelpers.cs (1)
345throw new ArgumentNullException(paramName);
System\Reflection\Throw.cs (1)
101throw new ArgumentNullException(parameterName);
System.Reflection.MetadataLoadContext (4)
System\Reflection\DefaultBinder.cs (1)
156throw new ArgumentNullException(nameof(indexes));
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
177throw new ArgumentNullException(nameof(type));
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
114throw new ArgumentNullException();
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
107throw new ArgumentNullException();
System.Resources.Extensions (2)
System\Resources\Extensions\TypeNameComparer.cs (2)
60throw new ArgumentNullException(nameof(assemblyQualifiedTypeName1)); 64throw new ArgumentNullException(nameof(assemblyQualifiedTypeName2));
System.Runtime.Caching (1)
System\Runtime\Caching\Counters.cs (1)
62internal Counters(string cacheName) : base(EVENT_SOURCE_NAME_ROOT + (cacheName ?? throw new ArgumentNullException(nameof(cacheName))))
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
329this(new ReadOnlySpan<byte>(value ?? throw new ArgumentNullException(nameof(value))))
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\FormatterServices.cs (2)
232throw new ArgumentNullException(nameof(members), SR.Format(SR.ArgumentNull_NullMember, i)); 269throw new ArgumentNullException(nameof(members), SR.Format(SR.ArgumentNull_NullMember, i));
System.Runtime.Serialization.Schema (19)
System\Runtime\Serialization\Schema\DiagnosticUtility.cs (1)
77return new ArgumentNullException(message);
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (18)
82throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 96throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 99throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeNames))); 113throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 116throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeName))); 133throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 136throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(element))); 153throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 168throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 171throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeNames))); 186throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 189throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeName))); 204throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(schemas))); 207throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(element))); 236throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(element))); 238throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeName))); 248throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeName))); 269throw ExceptionUtil.ThrowHelperError(new ArgumentNullException(nameof(typeName)));
System.Security.AccessControl (2)
System\Security\AccessControl\NativeObjectSecurity.cs (2)
81throw new ArgumentNullException(nameof(name)); 85throw new ArgumentNullException(nameof(handle));
System.Security.Cryptography (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AesGcm.cs (1)
116: this(new ReadOnlySpan<byte>(key ?? throw new ArgumentNullException(nameof(key))), tagSizeInBytes)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
14throw new ArgumentNullException(nameof(attribute));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
45throw new ArgumentNullException(nameof(bagIdValue));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SP800108HmacCounterKdf.cs (1)
537throw new ArgumentNullException(nameof(hashAlgorithm));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (1)
724throw new ArgumentNullException(paramName);
System\Security\Cryptography\AesGcm.cs (1)
27: this(new ReadOnlySpan<byte>(key ?? throw new ArgumentNullException(nameof(key))))
System\Security\Cryptography\Base64Transforms.cs (1)
389public static void ThrowArgumentNull(ExceptionArgument argument) => throw new ArgumentNullException(argument.ToString());
System\Security\Cryptography\Rfc2898DeriveBytes.cs (3)
59Encoding.UTF8.GetBytes(password ?? throw new ArgumentNullException(nameof(password))), 100new ReadOnlySpan<byte>(password ?? throw new ArgumentNullException(nameof(password))), 101new ReadOnlySpan<byte>(salt ?? throw new ArgumentNullException(nameof(salt))),
System\Security\Cryptography\X509Certificates\ChainPal.Windows.cs (1)
23throw new ArgumentNullException(nameof(chainContext));
System\Security\Cryptography\X509Certificates\StorePal.Windows.cs (1)
19throw new ArgumentNullException(nameof(storeHandle));
System\Security\Cryptography\X509Certificates\X509Extension.cs (1)
21: this(oid, (ReadOnlySpan<byte>)(rawData ?? throw new ArgumentNullException(nameof(rawData))), critical)
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
28: this((ReadOnlySpan<byte>)(subjectKeyIdentifier ?? throw new ArgumentNullException(nameof(subjectKeyIdentifier))), critical)
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseSigner.cs (1)
132throw new ArgumentNullException(nameof(key));
System.Security.Cryptography.Pkcs (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
14throw new ArgumentNullException(nameof(attribute));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
45throw new ArgumentNullException(nameof(bagIdValue));
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
596throw new ArgumentNullException(nameof(extraStore));
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
297throw new ArgumentNullException(nameof(signer));
System.Security.Cryptography.Xml (8)
System\Security\Cryptography\Xml\CipherData.cs (2)
43throw new ArgumentNullException(nameof(value)); 59throw new ArgumentNullException(nameof(value));
System\Security\Cryptography\Xml\DataObject.cs (1)
79throw new ArgumentNullException(nameof(value));
System\Security\Cryptography\Xml\EncryptedReference.cs (2)
38throw new ArgumentNullException(SR.Cryptography_Xml_UriRequired); 114throw new ArgumentNullException(SR.Cryptography_Xml_UriRequired);
System\Security\Cryptography\Xml\EncryptedType.cs (1)
120throw new ArgumentNullException(nameof(value));
System\Security\Cryptography\Xml\EncryptionProperty.cs (1)
47throw new ArgumentNullException(nameof(value));
System\Security\Cryptography\Xml\ReferenceList.cs (1)
100throw new ArgumentNullException(nameof(value));
System.Security.Principal.Windows (1)
System\Security\Principal\SID.cs (1)
572throw new ArgumentNullException(nameof(domainSid), SR.Format(SR.IdentityReference_DomainSidRequired, sidType));
System.ServiceModel.Federation (19)
System\IdentityModel\Security\WrapperSecurityCommunicationObject.cs (1)
22_innerCommunicationObject = innerCommunicationObject ?? throw new ArgumentNullException(nameof(innerCommunicationObject));
System\Runtime\OperationWithTimeoutAsyncResult.cs (1)
359throw new ArgumentNullException(nameof(result));
System\ServiceModel\Federation\WsFederationHttpBinding.cs (1)
28WSTrustTokenParameters = wsTrustTokenParameters ?? throw new ArgumentNullException(nameof(wsTrustTokenParameters));
System\ServiceModel\Federation\WSTrustChannel.cs (5)
30RequestChannel = requestChannel ?? throw new ArgumentNullException(nameof(requestChannel)); 75_ = trustRequest ?? throw new ArgumentNullException(nameof(trustRequest)); 88_ = trustRequest ?? throw new ArgumentNullException(nameof(trustRequest)); 119_ = trustRequest ?? throw new ArgumentNullException(nameof(trustRequest)); 358_ = trustRequest ?? throw new ArgumentNullException(nameof(trustRequest));
System\ServiceModel\Federation\WSTrustChannelFactory.cs (5)
23_ = serviceEndpoint ?? throw new ArgumentNullException(nameof(serviceEndpoint)); 35_ = binding ?? throw new ArgumentNullException(nameof(binding)); 37EndpointAddress = endpointAddress ?? throw new ArgumentNullException(nameof(endpointAddress)); 48_ = endpointAddress ?? throw new ArgumentNullException(nameof(endpointAddress)); 49_ = via ?? throw new ArgumentNullException(nameof(via));
System\ServiceModel\Federation\WsTrustChannelSecurityTokenManager.cs (2)
28_wsTrustChannelClientCredentials = wsTrustChannelClientCredentials ?? throw new ArgumentNullException(nameof(wsTrustChannelClientCredentials)); 39throw new ArgumentNullException(nameof(tokenRequirement));
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
55SecurityTokenRequirement = tokenRequirement ?? throw new ArgumentNullException(nameof(tokenRequirement));
System\ServiceModel\Federation\WSTrustRequestBodyWriter.cs (2)
23TrustRequest = trustRequest ?? throw new ArgumentNullException(nameof(trustRequest)); 24TrustSerializer = trustSerializer ?? throw new ArgumentNullException(nameof(trustSerializer));
System\ServiceModel\Federation\WsTrustTokenParameters.cs (1)
166set => _messageSecurityVersion = value ?? throw new ArgumentNullException(nameof(value));
System.ServiceModel.Http (5)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
68_messageSecurityVersion = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\WSHttpBinding.cs (1)
46_security = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\WSHttpBindingBase.cs (1)
117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\WSHttpSecurity.cs (2)
54_transportSecurity = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 63_messageSecurity = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\SocketConnection.cs (1)
759throw new ArgumentNullException(nameof(callback));
System\ServiceModel\NetTcpBinding.cs (1)
93throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System.ServiceModel.Primitives (237)
Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
87throw new ArgumentNullException("source");
Internals\System\Runtime\ExceptionTrace.cs (2)
237return TraceException(new ArgumentNullException(paramName)); 242return TraceException(new ArgumentNullException(paramName, message));
Internals\System\Text\BinHexEncoding.cs (4)
63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars")); 73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(bytes))); 129throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("bytes")); 140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("chars"));
Internals\System\Xml\XmlMtomWriter.cs (3)
274throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 292throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value")); 313throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("buffer"));
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
29return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName, message)); 141return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName));
System\IdentityModel\CryptoHelper.cs (2)
213throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(algorithm))); 271throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(algorithm)));
System\IdentityModel\IdentityModelDictionary.cs (2)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key))); 93throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key)));
System\IdentityModel\Tokens\BinaryKeyIdentifierClause.cs (1)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(identificationData)));
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(clause)));
System\IdentityModel\Tokens\SymmetricKey.cs (1)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(symmetricKey)));
System\ServiceModel\Channels\AddressHeader.cs (8)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 126throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 183throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 195throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 205throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageVersion))); 284throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name)));
System\ServiceModel\Channels\AddressHeaderCollection.cs (4)
79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 84throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(ns))); 104throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 109throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(ns)));
System\ServiceModel\Channels\Addressing.cs (14)
62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(action))); 77throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(dictionaryAction))); 194throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(from))); 293throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(faultTo))); 435throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(to))); 617throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(replyTo))); 622throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(addressingVersion))); 723throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageId))); 728throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(addressingVersion))); 823throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageId))); 828throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(addressingVersion))); 838throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageId))); 843throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(addressingVersion))); 848throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(relationshipType)));
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
727throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 731throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream)));
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
59_binaryVersion = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Channels\BodyWriter.cs (1)
112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer)));
System\ServiceModel\Channels\Message.cs (24)
125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 130throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 160throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 165throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(body))); 175throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 180throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(body))); 190throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 200throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 215throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(envelopeReader))); 220throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 231throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 236throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(faultCode))); 241throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reason))); 251throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 256throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(faultCode))); 261throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reason))); 271throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(fault))); 276throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 307throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 490throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(writer)), this); 584throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(localName)), this); 589throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(ns)), this); 692throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(writer)), this); 741throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(writer)), this);
System\ServiceModel\Channels\MessageBuffer.cs (2)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream))); 199throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream)));
System\ServiceModel\Channels\MessageEncoder.cs (1)
142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(contentType)));
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (2)
31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(context))); 42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(context)));
System\ServiceModel\Channels\MessageFault.cs (7)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(code))); 59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reason))); 64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(actor))); 69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(node))); 79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer)));
System\ServiceModel\Channels\MessageHeader.cs (9)
107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageVersion))); 124throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 129throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageVersion))); 145throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 150throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageVersion))); 216throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 395throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 626throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageVersion)));
System\ServiceModel\Channels\MessageHeaders.cs (20)
58throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(version))); 63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reader))); 457throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(headerInfo))); 555throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 607throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 617throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(collection))); 683throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 688throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(ns))); 759throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 764throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(ns))); 769throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(actors))); 982throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 1011throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(serializer))); 1132throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(relationshipType))); 1267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(actors))); 1361throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(header))); 1445throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(headerInfo))); 1550throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(headerInfo))); 1572throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 1577throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(ns)));
System\ServiceModel\Channels\MessageProperties.cs (11)
49throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(array))); 338throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(property))); 496throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 628throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 692throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 817throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(array))); 876throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 891throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 896throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Key")); 973throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Value")); 978throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("pair.Key"));
System\ServiceModel\Channels\MtomMessageEncoder.cs (4)
344throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(contentType))); 400throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream))); 548throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 550throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(stream)), message);
System\ServiceModel\Channels\ProducerConsumerStream.cs (2)
60throw new ArgumentNullException(nameof(buffer)); 111throw new ArgumentNullException("buffer");
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
115_messageSecurityVersion = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 131_defaultAlgorithmSuite = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 280throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(factory))); 285throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(credentialsManager)));
System\ServiceModel\Channels\TextMessageEncoder.cs (6)
405throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(bufferManager))); 448throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream))); 495throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 500throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(bufferManager)), message); 557throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 562throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(stream)), message);
System\ServiceModel\Channels\UriGenerator.cs (1)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(scheme)));
System\ServiceModel\Description\FaultDescription.cs (1)
20Action = action ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(action)));
System\ServiceModel\Description\TypedMessageConverter.cs (3)
37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageContract")); 48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("messageContract")); 98throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("typedMessage"));
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
473return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName), message);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
224throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 229throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters))); 414throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reader))); 419throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
193throw TraceUtility.ThrowHelperError(new ArgumentNullException("IOperationInvoker.BeginDispatch"),
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
49throw new ArgumentNullException("rpc.InstanceContext");
System\ServiceModel\Dispatcher\MessageOperationFormatter.cs (4)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 52throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)), message); 82throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)));
System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
119throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)), message); 187throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)), message); 625throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(description))); 645_instance = instance ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(SRP.Format(SRP.SFxTypedMessageCannotBeNull, description.Action)));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
475throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 480throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)), message); 524throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message))); 529throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)), message);
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
331throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(buffer)), _message);
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
23Method = method ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(method)));
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
27Method = taskMethod ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(taskMethod)));
System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (1)
122throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reader)));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
308throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(writer))); 313throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters))); 442throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(reader))); 447throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parameters)));
System\ServiceModel\FaultCode.cs (2)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(name))); 129throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(subCode)));
System\ServiceModel\FaultContractAttribute.cs (1)
22DetailType = detailType ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(detailType)));
System\ServiceModel\FaultReason.cs (2)
46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(translations))); 88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(cultureInfo)));
System\ServiceModel\FaultReasonText.cs (6)
16_text = text ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(text))); 22_text = text ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(text))); 23XmlLang = xmlLang ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(xmlLang))); 30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(cultureInfo))); 33_text = text ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(text))); 41throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(cultureInfo)));
System\ServiceModel\OperationContext.cs (2)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(channel))); 74OutgoingMessageVersion = outgoingMessageVersion ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(outgoingMessageVersion)));
System\ServiceModel\Security\ChannelProtectionRequirements.cs (6)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(other))); 45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(other))); 77throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(protectionRequirements))); 202throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(contract))); 345throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(faults))); 350throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(requirements)));
System\ServiceModel\Security\RequestSecurityToken.cs (3)
101_standardsManager = standardsManager ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(standardsManager))); 122_standardsManager = standardsManager ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(standardsManager))); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index)));
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
115_standardsManager = standardsManager ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(standardsManager))); 138_standardsManager = standardsManager ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(standardsManager)));
System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
40_standardsManager = standardsManager ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(standardsManager)));
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (5)
40throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(other))); 69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parts))); 81throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(action))); 86throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(parts))); 103throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(action)));
System\ServiceModel\Security\SecurityChannel.cs (1)
47_securityProtocol = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
106throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(keyIdentifierClause)));
System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
205_incomingAlgorithmSuite = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 265_outgoingAlgorithmSuite = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 356_standardsManager = value ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
151throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
34MessageSecurityVersion = messageSecurityVersion ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(messageSecurityVersion)));
System\ServiceModel\Security\SecurityUtils.cs (1)
671throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(securityVersion)));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (4)
87SecurityVersion = securityVersion ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(securityVersion))); 516_dictionaryStrings = dictionaryStrings ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(dictionaryStrings))); 523throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value))); 556throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(value)));
System\ServiceModel\Security\XmlHelper.cs (1)
304throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(idPrefix)));
System\ServiceModel\ServiceChannelManager.cs (1)
362_syncRoot = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot)));
System\ServiceModel\ServiceModelDictionary.cs (2)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key))); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key)));
System\ServiceModel\SynchronizedCollection.cs (5)
25_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(list))); 36_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 43throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(list))); 52_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot)));
System\ServiceModel\SynchronizedKeyedCollection.cs (5)
38_comparer = comparer ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(comparer))); 59_comparer = comparer ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(comparer))); 68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key))); 158throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key))); 233throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(key)));
System\ServiceModel\SynchronizedReadOnlyCollection.cs (7)
24_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(list))); 35_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(list))); 51_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot))); 58throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(list))); 70_sync = syncRoot ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(syncRoot)));
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
145set => _items = value ?? throw new ArgumentNullException(nameof(value));
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
723throw new ArgumentNullException(nameof(callback));
System.ServiceProcess.ServiceController (3)
System\ServiceProcess\ServiceController.cs (3)
162throw new ArgumentNullException(nameof(value)); 275throw new ArgumentNullException(nameof(value)); 881throw new ArgumentNullException($"{nameof(args)}[{i}]", SR.ArgsCantBeNull);
System.Speech (9)
Internal\Helpers.cs (1)
23throw new ArgumentNullException(paramName);
Recognition\RecognizerBase.cs (2)
1704Grammar grammar = (Grammar?)grammarObject ?? throw new ArgumentNullException(nameof(grammarObject)); 1764Grammar grammar = (Grammar?)grammarObject ?? throw new ArgumentNullException(nameof(grammarObject));
Recognition\SrgsGrammar\SrgsItem.cs (1)
40throw new ArgumentNullException(nameof(elements), SR.Get(SRID.ParamsEntryNullIllegal));
Recognition\SrgsGrammar\SrgsOneOf.cs (2)
31throw new ArgumentNullException(nameof(items), SR.Get(SRID.ParamsEntryNullIllegal)); 47throw new ArgumentNullException(nameof(items), SR.Get(SRID.ParamsEntryNullIllegal));
Recognition\SrgsGrammar\SrgsRule.cs (1)
41throw new ArgumentNullException(nameof(elements), SR.Get(SRID.ParamsEntryNullIllegal));
Recognition\SrgsGrammar\SrgsRulesCollection.cs (1)
20throw new ArgumentNullException(nameof(rules), SR.Get(SRID.ParamsEntryNullIllegal));
Synthesis\PromptBuilder.cs (1)
633throw new ArgumentNullException(nameof(strength));
System.Text.Encoding.CodePages (16)
System\Text\DecoderNLS.cs (5)
100throw new ArgumentNullException(nameof(bytes)); 149throw new ArgumentNullException(nameof(bytes)); 152throw new ArgumentNullException(nameof(chars)); 202throw new ArgumentNullException(nameof(bytes)); 205throw new ArgumentNullException(nameof(chars));
System\Text\EncoderNLS.cs (5)
98throw new ArgumentNullException(nameof(chars)); 137throw new ArgumentNullException(nameof(chars)); 140throw new ArgumentNullException(nameof(bytes)); 187throw new ArgumentNullException(nameof(chars)); 190throw new ArgumentNullException(nameof(bytes));
System\Text\EncodingNLS.cs (6)
84throw new ArgumentNullException(nameof(chars)); 170throw new ArgumentNullException(nameof(chars)); 173throw new ArgumentNullException(nameof(bytes)); 211throw new ArgumentNullException(nameof(bytes)); 258throw new ArgumentNullException(nameof(bytes)); 261throw new ArgumentNullException(nameof(chars));
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\ThrowHelper.cs (1)
14throw new ArgumentNullException(GetArgumentName(argument));
System\ThrowHelper.cs (1)
40throw new ArgumentNullException(GetArgumentName(argument));
System.Text.Json (4)
src\runtime\src\libraries\System.Text.Json\Common\ThrowHelper.cs (1)
13throw new ArgumentNullException(parameterName);
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
304throw new ArgumentNullException(nameof(utf8Json)); 365_output = bufferWriter ?? throw new ArgumentNullException(nameof(bufferWriter));
System\ThrowHelper.cs (1)
40throw new ArgumentNullException(GetArgumentName(argument));
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\System.Text.Json\Common\ThrowHelper.cs (1)
13throw new ArgumentNullException(parameterName);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\ThrowHelper.cs (1)
12throw new ArgumentNullException(GetStringForExceptionArgument(arg));
System.Text.RegularExpressions.Generator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
76throw new ArgumentNullException(paramName);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\MetadataName.T.cs (1)
22_name = name ?? throw new ArgumentNullException(nameof(name));
System.Threading.Tasks.Dataflow (25)
Base\DataflowBlock.cs (6)
136if (source == null) throw new ArgumentNullException(nameof(source)); 622if (target == null) throw new ArgumentNullException(nameof(target)); 667if (target == null) throw new ArgumentNullException(nameof(target)); 684if (target == null) throw new ArgumentNullException(nameof(target)); 1405source is null ? throw new ArgumentNullException(nameof(source)) : 1463if (source == null) throw new ArgumentNullException(nameof(source));
Base\DataflowBlockOptions.cs (2)
114if (value == null) throw new ArgumentNullException(nameof(value)); 176if (value == null) throw new ArgumentNullException(nameof(value));
Blocks\BatchBlock.cs (1)
50if (dataflowBlockOptions == null) throw new ArgumentNullException(nameof(dataflowBlockOptions));
Blocks\BatchedJoinBlock.cs (2)
58if (dataflowBlockOptions == null) throw new ArgumentNullException(nameof(dataflowBlockOptions)); 303if (dataflowBlockOptions == null) throw new ArgumentNullException(nameof(dataflowBlockOptions));
Blocks\BroadcastBlock.cs (3)
1036if (target == null) throw new ArgumentNullException(nameof(target)); 1076if (target == null) throw new ArgumentNullException(nameof(target)); 1103if (target == null) throw new ArgumentNullException(nameof(target));
Blocks\TransformBlock.cs (2)
95if (transformSync == null && transformAsync == null) throw new ArgumentNullException("transform"); 96if (dataflowBlockOptions == null) throw new ArgumentNullException(nameof(dataflowBlockOptions));
Blocks\TransformManyBlock.cs (3)
70if (transform == null) throw new ArgumentNullException(nameof(transform)); 94if (transform == null) throw new ArgumentNullException(nameof(transform)); 106if (dataflowBlockOptions == null) throw new ArgumentNullException(nameof(dataflowBlockOptions));
Blocks\WriteOnceBlock.cs (3)
384if (target == null) throw new ArgumentNullException(nameof(target)); 405if (target == null) throw new ArgumentNullException(nameof(target)); 418if (target == null) throw new ArgumentNullException(nameof(target));
Internal\SourceCore.cs (3)
161if (target == null) throw new ArgumentNullException(nameof(target)); 217if (target == null) throw new ArgumentNullException(nameof(target)); 244if (target == null) throw new ArgumentNullException(nameof(target));
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DCMapping.cs (1)
33throw new ArgumentNullException(nameof(hdc));
System\Windows\Forms\WindowSubclassHandler.cs (1)
65throw new ArgumentNullException(nameof(hwnd));
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
30throw new ArgumentNullException(nameof(descriptor));
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
91throw new ArgumentNullException(nameof(descriptor)); 367throw new ArgumentNullException(nameof(descriptor));
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
220_picker = picker ?? throw new ArgumentNullException(nameof(picker));
System.Windows.Forms.Primitives (2)
System\Windows\Forms\NonNullCollection.cs (1)
132private static T ThrowArgumentNull(string name) => throw new ArgumentNullException(name);
Windows\Win32\System\Com\StandardDispatch.cs (1)
36throw new ArgumentNullException(nameof(typeInfo));
System.Xaml (33)
System\Windows\Markup\ArrayExtension.cs (1)
34Type = arrayType ?? throw new ArgumentNullException(nameof(arrayType));
System\Windows\Markup\StaticExtension.cs (3)
37_member = member ?? throw new ArgumentNullException(nameof(member)); 160set => _member = value ?? throw new ArgumentNullException(nameof(value)); 167set => _memberType = value ?? throw new ArgumentNullException(nameof(value));
System\Windows\Markup\TypeExtension.cs (4)
34_typeName = typeName ?? throw new ArgumentNullException(nameof(typeName)); 42_type = type ?? throw new ArgumentNullException(nameof(type)); 95_typeName = value ?? throw new ArgumentNullException(nameof(value)); 111_type = value ?? throw new ArgumentNullException(nameof(value));
System\Windows\Markup\XamlDeferLoadAttribute.cs (2)
21LoaderTypeName = loaderType ?? throw new ArgumentNullException(nameof(loaderType)); 22ContentTypeName = contentType ?? throw new ArgumentNullException(nameof(contentType));
System\Windows\Markup\XmlnsCompatibleWithAttribute.cs (2)
31OldNamespace = oldNamespace ?? throw new ArgumentNullException(nameof(oldNamespace)); 32NewNamespace = newNamespace ?? throw new ArgumentNullException(nameof(newNamespace));
System\Windows\Markup\XmlnsDefinitionAttribute.cs (2)
48XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 49ClrNamespace = clrNamespace ?? throw new ArgumentNullException(nameof(clrNamespace));
System\Windows\Markup\XmlnsPrefixAttribute.cs (2)
39XmlNamespace = xmlNamespace ?? throw new ArgumentNullException(nameof(xmlNamespace)); 40Prefix= prefix ?? throw new ArgumentNullException(nameof(prefix));
System\Xaml\Events\XamlObjectEventArgs.cs (1)
12Instance = instance ?? throw new ArgumentNullException(nameof(instance));
System\Xaml\NameScopeDictionary.cs (1)
33_underlyingNameScope = underlyingNameScope ?? throw new ArgumentNullException(nameof(underlyingNameScope));
System\Xaml\ReaderBaseDelegate.cs (1)
23_schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext));
System\Xaml\Schema\XamlMemberInvoker.cs (1)
25_member = member ?? throw new ArgumentNullException(nameof(member));
System\Xaml\Schema\XamlTypeInvoker.cs (1)
31_xamlType = type ?? throw new ArgumentNullException(nameof(type));
System\Xaml\XamlMember.cs (5)
36_name = name ?? throw new ArgumentNullException(nameof(name)); 37_declaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType)); 107throw new ArgumentNullException(SR.GetterOrSetterRequired, (Exception)null); 110_name = attachablePropertyName ?? throw new ArgumentNullException(nameof(attachablePropertyName)); 141_name = attachableEventName ?? throw new ArgumentNullException(nameof(attachableEventName));
System\Xaml\XamlObjectReader.cs (1)
46this.schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext));
System\Xaml\XamlType.cs (5)
40_name = typeName ?? throw new ArgumentNullException(nameof(typeName)); 41_schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); 49_name = unknownTypeName ?? throw new ArgumentNullException(nameof(unknownTypeName)); 51_schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); 72_schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext));
System\Xaml\XamlXmlWriter.cs (1)
96this.schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext));
UIAutomationClient (2)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
43throw new ArgumentNullException( nameof(hwnd));
System\Windows\Automation\Text\TextRange.cs (1)
449throw new ArgumentNullException(name);
UnitTests.Common (1)
TestTypes.cs (1)
278if (d == null) throw new ArgumentNullException("d");
vstest.console (20)
Processors\AeDebuggerArgumentProcessor.cs (5)
80_environment = environment ?? throw new ArgumentNullException(nameof(environment)); 81_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper)); 82_processHelper = processHelper ?? throw new ArgumentNullException(nameof(processHelper)); 83_output = output ?? throw new ArgumentNullException(nameof(output)); 84_environmentVariableHelper = environmentVariableHelper ?? throw new ArgumentNullException(nameof(environmentVariableHelper));
Processors\ArtifactProcessingCollectModeProcessor.cs (1)
81_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options));
Processors\ArtifactProcessingPostProcessModeProcessor.cs (2)
85_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 86_artifactProcessingManage = artifactProcessingManager ?? throw new ArgumentNullException(nameof(artifactProcessingManager));
Processors\EnableCodeCoverageArgumentProcessor.cs (2)
292_ = runSettingDocument ?? throw new ArgumentNullException(nameof(runSettingDocument)); 293_ = dataCollectorFriendlyName ?? throw new ArgumentNullException(nameof(dataCollectorFriendlyName));
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (4)
116_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 117_runSettingsManager = runSettingsManager ?? throw new ArgumentNullException(nameof(runSettingsManager)); 118_output = output ?? throw new ArgumentNullException(nameof(output)); 119_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper));
Processors\TestAdapterPathArgumentProcessor.cs (4)
120_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 121_runSettingsManager = runSettingsManager ?? throw new ArgumentNullException(nameof(runSettingsManager)); 122_output = output ?? throw new ArgumentNullException(nameof(output)); 123_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper));
Processors\TestSessionCorrelationIdProcessor.cs (1)
76_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options));
TestPlatformHelpers\TestRequestManager.cs (1)
573updatedRunSettingsXml = runsettingsXml ?? throw new ArgumentNullException(nameof(runsettingsXml));
vstest.console.arm64 (20)
src\vstest\src\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (5)
80_environment = environment ?? throw new ArgumentNullException(nameof(environment)); 81_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper)); 82_processHelper = processHelper ?? throw new ArgumentNullException(nameof(processHelper)); 83_output = output ?? throw new ArgumentNullException(nameof(output)); 84_environmentVariableHelper = environmentVariableHelper ?? throw new ArgumentNullException(nameof(environmentVariableHelper));
src\vstest\src\vstest.console\Processors\ArtifactProcessingCollectModeProcessor.cs (1)
81_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options));
src\vstest\src\vstest.console\Processors\ArtifactProcessingPostProcessModeProcessor.cs (2)
85_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 86_artifactProcessingManage = artifactProcessingManager ?? throw new ArgumentNullException(nameof(artifactProcessingManager));
src\vstest\src\vstest.console\Processors\EnableCodeCoverageArgumentProcessor.cs (2)
292_ = runSettingDocument ?? throw new ArgumentNullException(nameof(runSettingDocument)); 293_ = dataCollectorFriendlyName ?? throw new ArgumentNullException(nameof(dataCollectorFriendlyName));
src\vstest\src\vstest.console\Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (4)
116_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 117_runSettingsManager = runSettingsManager ?? throw new ArgumentNullException(nameof(runSettingsManager)); 118_output = output ?? throw new ArgumentNullException(nameof(output)); 119_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper));
src\vstest\src\vstest.console\Processors\TestAdapterPathArgumentProcessor.cs (4)
120_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options)); 121_runSettingsManager = runSettingsManager ?? throw new ArgumentNullException(nameof(runSettingsManager)); 122_output = output ?? throw new ArgumentNullException(nameof(output)); 123_fileHelper = fileHelper ?? throw new ArgumentNullException(nameof(fileHelper));
src\vstest\src\vstest.console\Processors\TestSessionCorrelationIdProcessor.cs (1)
76_commandLineOptions = options ?? throw new ArgumentNullException(nameof(options));
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (1)
573updatedRunSettingsXml = runsettingsXml ?? throw new ArgumentNullException(nameof(runsettingsXml));
WindowsFormsIntegration (6)
System\Windows\Integration\IntegrationExceptionEventArgs.cs (1)
20throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "exception"));
System\Windows\Integration\PropertyMap.cs (3)
82throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "propertyName")); 86throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "translator")); 250throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_ArgumentNullOrEmpty, "propertyName"));
System\Windows\Integration\PropertyMappingExceptionEventArgs.cs (2)
24throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "exception")); 28throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_ArgumentNullOrEmpty, "propertyName"));
25047 references to ArgumentNullException
aspire (166)
Acquisition\IdentityChannelReader.cs (3)
66/// <exception cref="ArgumentNullException"> 71ArgumentNullException.ThrowIfNull(assembly); 98ArgumentNullException.ThrowIfNull(assembly);
Acquisition\IdentityResolver.cs (3)
75ArgumentNullException.ThrowIfNull(sidecarReader); 76ArgumentNullException.ThrowIfNull(assembly); 77ArgumentNullException.ThrowIfNull(environment);
Acquisition\InstallationDiscovery.cs (7)
43ArgumentNullException.ThrowIfNull(channelReader); 44ArgumentNullException.ThrowIfNull(sidecarReader); 45ArgumentNullException.ThrowIfNull(peerProbe); 46ArgumentNullException.ThrowIfNull(executionContext); 47ArgumentNullException.ThrowIfNull(environment); 48ArgumentNullException.ThrowIfNull(logger); 49ArgumentNullException.ThrowIfNull(candidateSources);
Acquisition\PeerInstallProbe.cs (1)
61ArgumentNullException.ThrowIfNull(logger);
Acquisition\WingetFirstRunProbe.cs (2)
23ArgumentNullException.ThrowIfNull(registry); 24ArgumentNullException.ThrowIfNull(logger);
Agents\AgentEnvironmentApplicator.cs (2)
26ArgumentNullException.ThrowIfNull(description); 27ArgumentNullException.ThrowIfNull(applyCallback);
Agents\AgentEnvironmentScanContext.cs (1)
39ArgumentNullException.ThrowIfNull(applicator);
Agents\AspireSkills\AspireSkillsBundle.cs (1)
32ArgumentNullException.ThrowIfNull(skill);
Agents\AspireSkills\AspireSkillsBundleProvider.cs (4)
51ArgumentNullException.ThrowIfNull(executionContext); 83ArgumentNullException.ThrowIfNull(archive); 84ArgumentNullException.ThrowIfNull(bundleDirectory); 117ArgumentNullException.ThrowIfNull(bundleDirectory);
Agents\AspireSkills\EmbeddedAspireSkillsBundleProvider.cs (3)
41ArgumentNullException.ThrowIfNull(bundleProvider); 42ArgumentNullException.ThrowIfNull(logger); 55ArgumentNullException.ThrowIfNull(bundleDirectory);
Agents\ClaudeCode\ClaudeCodeAgentEnvironmentScanner.cs (4)
36ArgumentNullException.ThrowIfNull(claudeCodeCliRunner); 37ArgumentNullException.ThrowIfNull(playwrightCliInstaller); 38ArgumentNullException.ThrowIfNull(executionContext); 39ArgumentNullException.ThrowIfNull(logger);
Agents\CopilotCli\CopilotCliAgentEnvironmentScanner.cs (5)
38ArgumentNullException.ThrowIfNull(copilotCliRunner); 39ArgumentNullException.ThrowIfNull(playwrightCliInstaller); 40ArgumentNullException.ThrowIfNull(executionContext); 41ArgumentNullException.ThrowIfNull(environment); 42ArgumentNullException.ThrowIfNull(logger);
Agents\DeprecatedMcpCommandScanner.cs (2)
32ArgumentNullException.ThrowIfNull(executionContext); 33ArgumentNullException.ThrowIfNull(logger);
Agents\Hooks\TelemetryHookConfigurator.cs (5)
46ArgumentNullException.ThrowIfNull(installer); 47ArgumentNullException.ThrowIfNull(executionContext); 48ArgumentNullException.ThrowIfNull(environment); 49ArgumentNullException.ThrowIfNull(logger); 61ArgumentNullException.ThrowIfNull(detectedClients);
Agents\Hooks\TelemetryHookInstaller.cs (2)
30ArgumentNullException.ThrowIfNull(executionContext); 31ArgumentNullException.ThrowIfNull(logger);
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (3)
33ArgumentNullException.ThrowIfNull(openCodeCliRunner); 34ArgumentNullException.ThrowIfNull(playwrightCliInstaller); 35ArgumentNullException.ThrowIfNull(logger);
Agents\VsCode\VsCodeAgentEnvironmentScanner.cs (5)
38ArgumentNullException.ThrowIfNull(vsCodeCliRunner); 39ArgumentNullException.ThrowIfNull(playwrightCliInstaller); 40ArgumentNullException.ThrowIfNull(executionContext); 41ArgumentNullException.ThrowIfNull(environment); 42ArgumentNullException.ThrowIfNull(logger);
Backchannel\AppHostAuxiliaryBackchannel.cs (6)
136ArgumentNullException.ThrowIfNull(logger); 164ArgumentNullException.ThrowIfNull(logger); 210ArgumentNullException.ThrowIfNull(logger); 732ArgumentNullException.ThrowIfNull(request); 748ArgumentNullException.ThrowIfNull(request); 865ArgumentNullException.ThrowIfNull(request);
Bundles\BundleLayoutLease.cs (1)
44ArgumentNullException.ThrowIfNull(startInfo);
Commands\AddCommand.cs (2)
766ArgumentNullException.ThrowIfNull(x); 767ArgumentNullException.ThrowIfNull(y);
Commands\AppHostConnectionResultHandler.cs (1)
38ArgumentNullException.ThrowIfNull(result);
Commands\BaseCommand.cs (2)
300ArgumentNullException.ThrowIfNull(ex); 301ArgumentNullException.ThrowIfNull(InteractionService);
Commands\CertificatesCommand.cs (2)
16ArgumentNullException.ThrowIfNull(cleanCommand); 17ArgumentNullException.ThrowIfNull(trustCommand);
Commands\DashboardCommand.cs (1)
20ArgumentNullException.ThrowIfNull(runCommand);
Commands\Sdk\IntegrationAssemblyNameResolver.cs (1)
15ArgumentNullException.ThrowIfNull(projectFile);
Commands\TelemetryCommand.cs (3)
22ArgumentNullException.ThrowIfNull(logsCommand); 23ArgumentNullException.ThrowIfNull(spansCommand); 24ArgumentNullException.ThrowIfNull(tracesCommand);
Commands\TemplateCommand.cs (2)
18ArgumentNullException.ThrowIfNull(template); 19ArgumentNullException.ThrowIfNull(executeCallback);
Commands\TerminalCommand.cs (2)
22ArgumentNullException.ThrowIfNull(attachCommand); 23ArgumentNullException.ThrowIfNull(psCommand);
Configuration\ConfigurationService.cs (1)
368ArgumentNullException.ThrowIfNull(startDirectory);
ConsoleEnvironment.cs (2)
20ArgumentNullException.ThrowIfNull(output); 21ArgumentNullException.ThrowIfNull(error);
Documentation\SourceContentFingerprint.cs (1)
34ArgumentNullException.ThrowIfNull(content);
DotNet\DotNetCliRunner.cs (1)
1390ArgumentNullException.ThrowIfNull(workingDirectory);
Git\GitRepository.cs (1)
93ArgumentNullException.ThrowIfNull(searchRoot);
Interaction\BannerService.cs (2)
47ArgumentNullException.ThrowIfNull(consoleEnvironment); 48ArgumentNullException.ThrowIfNull(executionContext);
Interaction\ConsoleInteractionService.cs (13)
89ArgumentNullException.ThrowIfNull(consoleEnvironment); 90ArgumentNullException.ThrowIfNull(executionContext); 91ArgumentNullException.ThrowIfNull(hostEnvironment); 92ArgumentNullException.ThrowIfNull(processPathProvider); 93ArgumentNullException.ThrowIfNull(loggerFactory); 94ArgumentNullException.ThrowIfNull(logBufferContext); 220ArgumentNullException.ThrowIfNull(promptText, nameof(promptText)); 288ArgumentNullException.ThrowIfNull(promptText, nameof(promptText)); 289ArgumentNullException.ThrowIfNull(choices, nameof(choices)); 290ArgumentNullException.ThrowIfNull(choiceFormatter, nameof(choiceFormatter)); 352ArgumentNullException.ThrowIfNull(promptText, nameof(promptText)); 353ArgumentNullException.ThrowIfNull(choices, nameof(choices)); 354ArgumentNullException.ThrowIfNull(choiceFormatter, nameof(choiceFormatter));
Npm\SigstoreNpmProvenanceChecker.cs (3)
50ArgumentNullException.ThrowIfNull(httpClient); 51ArgumentNullException.ThrowIfNull(logger); 52ArgumentNullException.ThrowIfNull(verifyBundleWithPolicyAsync);
Packaging\NuGetConfigMerger.cs (7)
35ArgumentNullException.ThrowIfNull(targetDirectory); 36ArgumentNullException.ThrowIfNull(channel); 58ArgumentNullException.ThrowIfNull(targetDirectory); 59ArgumentNullException.ThrowIfNull(mappings); 816ArgumentNullException.ThrowIfNull(targetDirectory); 817ArgumentNullException.ThrowIfNull(channel); 926ArgumentNullException.ThrowIfNull(directory);
Packaging\NuGetConfigPrompter.cs (5)
18ArgumentNullException.ThrowIfNull(interactionService); 31ArgumentNullException.ThrowIfNull(targetDirectory); 32ArgumentNullException.ThrowIfNull(channel); 85ArgumentNullException.ThrowIfNull(targetDirectory); 86ArgumentNullException.ThrowIfNull(channel);
Packaging\PackageChannel.cs (1)
656ArgumentNullException.ThrowIfNull(packageIds);
Packaging\PackageSourceOverrideMappings.cs (1)
16ArgumentNullException.ThrowIfNull(workingDirectory);
Processes\IsolatedProcess.cs (1)
124ArgumentNullException.ThrowIfNull(startInfo);
Profiling\ProfileCaptureEnvironment.cs (2)
20ArgumentNullException.ThrowIfNull(options); 41ArgumentNullException.ThrowIfNull(environmentVariables);
Profiling\ProfileCaptureOptions.cs (3)
31ArgumentNullException.ThrowIfNull(args); 32ArgumentNullException.ThrowIfNull(timeProvider); 33ArgumentNullException.ThrowIfNull(workingDirectory);
Profiling\ProfileCaptureService.cs (1)
60ArgumentNullException.ThrowIfNull(options);
Program.cs (1)
701ArgumentNullException.ThrowIfNull(identityResolver);
Projects\AppHostServerClosureSnapshots.cs (3)
108ArgumentNullException.ThrowIfNull(sourceFiles); 109ArgumentNullException.ThrowIfNull(appSettingsContent); 404ArgumentNullException.ThrowIfNull(manifest);
Projects\AppHostWorkloadId.cs (1)
22ArgumentNullException.ThrowIfNull(appHostFile);
Projects\GuestRuntime.cs (3)
38ArgumentNullException.ThrowIfNull(commandResolver); 39ArgumentNullException.ThrowIfNull(environment); 40ArgumentNullException.ThrowIfNull(profilingTelemetry);
Projects\PrebuiltAppHostServer.cs (1)
1561ArgumentNullException.ThrowIfNull(line);
Projects\ProcessGuestLauncher.cs (1)
31ArgumentNullException.ThrowIfNull(commandResolver);
Projects\ProjectLocator.cs (1)
1408ArgumentNullException.ThrowIfNull(ex);
Scaffolding\ScaffoldingService.cs (5)
538ArgumentNullException.ThrowIfNull(scaffoldFileNames); 561ArgumentNullException.ThrowIfNull(existingContent); 562ArgumentNullException.ThrowIfNull(scaffoldContent); 636ArgumentNullException.ThrowIfNull(existingContent); 637ArgumentNullException.ThrowIfNull(scaffoldContent);
src\Shared\AppHostProfilePortGenerator.cs (1)
23ArgumentNullException.ThrowIfNull(random);
src\Shared\BackchannelConstants.cs (1)
545ArgumentNullException.ThrowIfNull(socketPath);
src\Shared\BundleVersionLease.cs (1)
161ArgumentNullException.ThrowIfNull(environmentVariables);
src\Shared\ChannelExtensions.cs (1)
81ArgumentNullException.ThrowIfNull(source);
src\Shared\IntegrationPackageProbeManifest.cs (3)
43ArgumentNullException.ThrowIfNull(managedAssemblies); 44ArgumentNullException.ThrowIfNull(nativeLibraries); 129ArgumentNullException.ThrowIfNull(manifest);
src\Shared\X509Certificate2Extensions.cs (5)
27ArgumentNullException.ThrowIfNull(certificate); 46ArgumentNullException.ThrowIfNull(certificate); 71ArgumentNullException.ThrowIfNull(certificate); 87ArgumentNullException.ThrowIfNull(collection); 115ArgumentNullException.ThrowIfNull(certificate);
Utils\CliPathHelper.cs (1)
72ArgumentNullException.ThrowIfNull(aspireHomeDirectory);
Utils\ConfigurationHelper.cs (1)
109ArgumentNullException.ThrowIfNull(startDirectory);
Utils\EnvironmentChecker\DeprecatedAgentConfigCheck.cs (1)
31ArgumentNullException.ThrowIfNull(executionContext);
Utils\EnvironmentChecker\OperatingSystemCheck.cs (1)
28ArgumentNullException.ThrowIfNull(getOperatingSystemDetails);
Utils\EnvironmentChecker\VsCodeExtensionCheck.cs (3)
44ArgumentNullException.ThrowIfNull(environment); 45ArgumentNullException.ThrowIfNull(executionContext); 46ArgumentNullException.ThrowIfNull(commandResolver);
Utils\ProcessCaptureRunner.cs (4)
29ArgumentNullException.ThrowIfNull(startInfo); 30ArgumentNullException.ThrowIfNull(captureAsync); 31ArgumentNullException.ThrowIfNull(createEmptyCapture); 32ArgumentNullException.ThrowIfNull(logger);
Utils\SdkInstallHelper.cs (3)
33ArgumentNullException.ThrowIfNull(sdkInstaller); 34ArgumentNullException.ThrowIfNull(interactionService); 35ArgumentNullException.ThrowIfNull(telemetry);
Utils\TransactionalAction.cs (1)
74ArgumentNullException.ThrowIfNull(action);
Utils\VersionHelper.cs (2)
43ArgumentNullException.ThrowIfNull(candidates); 44ArgumentNullException.ThrowIfNull(versionSelector);
aspire-managed (4)
src\Shared\BundleVersionLease.cs (1)
161ArgumentNullException.ThrowIfNull(environmentVariables);
src\Shared\IntegrationPackageProbeManifest.cs (3)
43ArgumentNullException.ThrowIfNull(managedAssemblies); 44ArgumentNullException.ThrowIfNull(nativeLibraries); 129ArgumentNullException.ThrowIfNull(manifest);
Aspire.Azure.AI.Inference (8)
AspireAzureAIInferenceExtensions.cs (8)
65ArgumentNullException.ThrowIfNull(builder); 116ArgumentNullException.ThrowIfNull(builder); 226ArgumentNullException.ThrowIfNull(builder); 255ArgumentNullException.ThrowIfNull(builder); 321ArgumentNullException.ThrowIfNull(builder); 372ArgumentNullException.ThrowIfNull(builder); 479ArgumentNullException.ThrowIfNull(builder); 508ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.AI.Inference.Tests (12)
AspireAzureAIInferenceEmbeddingsPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
AspireAzureAIInferencePublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.AI.OpenAI (4)
AspireAzureOpenAIExtensions.cs (2)
44ArgumentNullException.ThrowIfNull(builder); 73ArgumentNullException.ThrowIfNull(builder);
AspireConfigurableOpenAIExtensions.cs (2)
33ArgumentNullException.ThrowIfNull(builder); 59ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.AI.OpenAI.Tests (15)
AIOpenAIPublicApiTests.cs (15)
22var exception = Assert.Throws<ArgumentNullException>(action); 40? Assert.Throws<ArgumentNullException>(action) 53var exception = Assert.Throws<ArgumentNullException>(action); 68? Assert.Throws<ArgumentNullException>(action) 81var exception = Assert.Throws<ArgumentNullException>(action); 96? Assert.Throws<ArgumentNullException>(action) 109var exception = Assert.Throws<ArgumentNullException>(action); 124? Assert.Throws<ArgumentNullException>(action) 137var exception = Assert.Throws<ArgumentNullException>(action); 152? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Data.Tables (4)
AspireTablesExtensions.cs (4)
40ArgumentNullException.ThrowIfNull(builder); 54ArgumentNullException.ThrowIfNull(builder); 76ArgumentNullException.ThrowIfNull(builder); 90ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.Data.Tables.Tests (6)
DataTablesPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Messaging.EventHubs (11)
AspireEventHubsExtensions.cs (10)
36ArgumentNullException.ThrowIfNull(builder); 59ArgumentNullException.ThrowIfNull(builder); 82ArgumentNullException.ThrowIfNull(builder); 105ArgumentNullException.ThrowIfNull(builder); 128ArgumentNullException.ThrowIfNull(builder); 151ArgumentNullException.ThrowIfNull(builder); 175ArgumentNullException.ThrowIfNull(builder); 199ArgumentNullException.ThrowIfNull(builder); 222ArgumentNullException.ThrowIfNull(builder); 246ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Azure.Messaging.EventHubs.Tests (30)
MessagingEventHubsPublicApiTests.cs (30)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action) 75var exception = Assert.Throws<ArgumentNullException>(action); 90? Assert.Throws<ArgumentNullException>(action) 103var exception = Assert.Throws<ArgumentNullException>(action); 118? Assert.Throws<ArgumentNullException>(action) 131var exception = Assert.Throws<ArgumentNullException>(action); 146? Assert.Throws<ArgumentNullException>(action) 159var exception = Assert.Throws<ArgumentNullException>(action); 174? Assert.Throws<ArgumentNullException>(action) 187var exception = Assert.Throws<ArgumentNullException>(action); 202? Assert.Throws<ArgumentNullException>(action) 215var exception = Assert.Throws<ArgumentNullException>(action); 230? Assert.Throws<ArgumentNullException>(action) 243var exception = Assert.Throws<ArgumentNullException>(action); 258? Assert.Throws<ArgumentNullException>(action) 271var exception = Assert.Throws<ArgumentNullException>(action); 286? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Messaging.ServiceBus (3)
AspireServiceBusExtensions.cs (2)
40ArgumentNullException.ThrowIfNull(builder); 61ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Azure.Messaging.ServiceBus.Tests (6)
MessagingServiceBusPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Messaging.WebPubSub (4)
AspireWebPubSubExtensions.cs (3)
39ArgumentNullException.ThrowIfNull(builder); 62ArgumentNullException.ThrowIfNull(builder); 94ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Azure.Messaging.WebPubSub.Tests (7)
MessagingWebPubSubPublicApiTests.cs (7)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 48var exception = Assert.Throws<ArgumentNullException>(action); 64? Assert.Throws<ArgumentNullException>(action) 81? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Npgsql (4)
AspireAzureNpgsqlExtensions.cs (4)
27/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 31ArgumentNullException.ThrowIfNull(builder); 55/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="name"/> is null.</exception> 60ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (4)
AspireAzureEFPostgreSqlExtensions.cs (4)
44/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 52ArgumentNullException.ThrowIfNull(builder); 70/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 77ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (5)
AzureNpgsqlEntityFrameworkCorePostgreSQLPublicApiTests.cs (5)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Azure.Npgsql.Tests (6)
NpgsqlPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Search.Documents (3)
AspireAzureSearchExtensions.cs (2)
40ArgumentNullException.ThrowIfNull(builder); 60ArgumentNullException.ThrowIfNull(builder);
AzureSearchIndexHealthCheck.cs (1)
17ArgumentNullException.ThrowIfNull(indexClient, nameof(indexClient));
Aspire.Azure.Search.Documents.Tests (6)
SearchDocumentsPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Security.KeyVault (7)
AspireKeyVaultExtensions.cs (7)
40ArgumentNullException.ThrowIfNull(builder); 63ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(builder); 129ArgumentNullException.ThrowIfNull(builder); 151ArgumentNullException.ThrowIfNull(builder); 173ArgumentNullException.ThrowIfNull(configurationManager);
Aspire.Azure.Security.KeyVault.Tests (12)
AspireKeyVaultExtensionsTests.cs (3)
285? Assert.Throws<ArgumentNullException>(action) 303? Assert.Throws<ArgumentNullException>(action) 321? Assert.Throws<ArgumentNullException>(action)
SecurityKeyVaultPublicApiTests.cs (9)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 48var exception = Assert.Throws<ArgumentNullException>(action); 63? Assert.Throws<ArgumentNullException>(action) 76var exception = Assert.Throws<ArgumentNullException>(action); 91? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Storage.Blobs (6)
AspireBlobStorageExtensions.cs (6)
42ArgumentNullException.ThrowIfNull(builder); 56ArgumentNullException.ThrowIfNull(builder); 88ArgumentNullException.ThrowIfNull(builder); 102ArgumentNullException.ThrowIfNull(builder); 133ArgumentNullException.ThrowIfNull(builder); 167ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.Storage.Blobs.Tests (6)
StorageBlobsPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Azure.Storage.Files.DataLake (4)
AspireDataLakeExtensions.cs (4)
36ArgumentNullException.ThrowIfNull(builder); 74ArgumentNullException.ThrowIfNull(builder); 111ArgumentNullException.ThrowIfNull(builder); 147ArgumentNullException.ThrowIfNull(builder);
Aspire.Azure.Storage.Files.DataLake.Tests (16)
AzureDataLakePublicApiTests.cs (16)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action) 75var exception = Assert.Throws<ArgumentNullException>(action); 90? Assert.Throws<ArgumentNullException>(action) 103var exception = Assert.Throws<ArgumentNullException>(action); 118? Assert.Throws<ArgumentNullException>(action) 127var exception = Assert.Throws<ArgumentNullException>(action); 135var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Azure.Storage.Queues (7)
AspireQueueStorageExtensions.cs (6)
42ArgumentNullException.ThrowIfNull(builder); 65ArgumentNullException.ThrowIfNull(builder); 87ArgumentNullException.ThrowIfNull(builder); 110ArgumentNullException.ThrowIfNull(builder); 141ArgumentNullException.ThrowIfNull(builder); 175ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Azure.Storage.Queues.Tests (12)
StorageQueuesPublicApiTests.cs (12)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action) 77var exception = Assert.Throws<ArgumentNullException>(action); 94? Assert.Throws<ArgumentNullException>(action) 109var exception = Assert.Throws<ArgumentNullException>(action); 126? Assert.Throws<ArgumentNullException>(action)
Aspire.Cli.EndToEnd.Tests (2)
tests\Shared\Hex1bAutomatorTestHelpers.cs (2)
56ArgumentNullException.ThrowIfNull(auto); 57ArgumentNullException.ThrowIfNull(counter);
Aspire.Cli.Tests (11)
Acquisition\IdentityChannelReaderTests.cs (1)
20Assert.Throws<ArgumentNullException>(() => new IdentityChannelReader(null!));
Mcp\Docs\SourceContentFingerprintTests.cs (1)
51Assert.Throws<ArgumentNullException>(() => SourceContentFingerprint.Compute(null!, schemaVersion: 1));
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
200ArgumentNullException.ThrowIfNull(request); 216ArgumentNullException.ThrowIfNull(request);
TestServices\TestTypeScriptStarterProjectFactory.cs (1)
17ArgumentNullException.ThrowIfNull(language);
Utils\AspireAnsiConsoleOutputTests.cs (2)
198Assert.Throws<ArgumentNullException>(() => new AspireAnsiConsoleOutput(null!, configuration)); 205Assert.Throws<ArgumentNullException>(() => new AspireAnsiConsoleOutput(Console.Out, null!));
Utils\FileSystemHelperTests.cs (2)
107Assert.Throws<ArgumentNullException>(() => 119Assert.Throws<ArgumentNullException>(() =>
Aspire.Confluent.Kafka (5)
AspireKafkaConsumerExtensions.cs (1)
118ArgumentNullException.ThrowIfNull(builder);
AspireKafkaProducerExtensions.cs (1)
118ArgumentNullException.ThrowIfNull(builder);
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\OpenTelemetryConsumeResultExtensions.cs (3)
36ArgumentNullException.ThrowIfNull(consumeResult); 84ArgumentNullException.ThrowIfNull(consumer); 98ArgumentNullException.ThrowIfNull(handler);
Aspire.Confluent.Kafka.Tests (12)
ConfluentKafkaPublicApiTests.cs (12)
38var exception = Assert.Throws<ArgumentNullException>(action); 75? Assert.Throws<ArgumentNullException>(action) 106var exception = Assert.Throws<ArgumentNullException>(action); 143? Assert.Throws<ArgumentNullException>(action) 174var exception = Assert.Throws<ArgumentNullException>(action); 211? Assert.Throws<ArgumentNullException>(action) 242var exception = Assert.Throws<ArgumentNullException>(action); 279? Assert.Throws<ArgumentNullException>(action)
Aspire.Dashboard (16)
Authentication\AspirePolicyEvaluator.cs (1)
107ArgumentNullException.ThrowIfNull(policy);
Components\Pages\IPageWithSessionAndUrlState.cs (1)
122ArgumentNullException.ThrowIfNull(page.PageViewModel, nameof(page.PageViewModel));
Extensions\CollectionExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(source);
Model\ResourceViewModel.cs (2)
471ArgumentNullException.ThrowIfNull(url); 472ArgumentNullException.ThrowIfNull(displayProperties);
Model\SpanDetailsViewModel.cs (3)
24ArgumentNullException.ThrowIfNull(span); 25ArgumentNullException.ThrowIfNull(telemetryRepository); 26ArgumentNullException.ThrowIfNull(resources);
Otlp\Model\OtlpHelpers.cs (1)
90ArgumentNullException.ThrowIfNull(bytes);
Otlp\Storage\TelemetryRepository.cs (1)
231ArgumentNullException.ThrowIfNull(resource);
ServiceClient\DashboardClient.cs (1)
970ArgumentNullException.ThrowIfNull(options);
src\Shared\ChannelExtensions.cs (1)
81ArgumentNullException.ThrowIfNull(source);
src\Shared\InteractionHelpers.cs (1)
39ArgumentNullException.ThrowIfNull(label);
src\Shared\StringUtils.cs (2)
38ArgumentNullException.ThrowIfNull(value); 39ArgumentNullException.ThrowIfNull(suffix);
Utils\BrowserStorageKeys.cs (1)
36ArgumentNullException.ThrowIfNull(applicationName);
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
Aspire.Dashboard.Tests (2)
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
Aspire.Deployment.EndToEnd.Tests (2)
tests\Shared\Hex1bAutomatorTestHelpers.cs (2)
56ArgumentNullException.ThrowIfNull(auto); 57ArgumentNullException.ThrowIfNull(counter);
Aspire.Hosting (776)
ApplicationModel\AllocatedEndpoint.cs (1)
57ArgumentNullException.ThrowIfNull(endpoint);
ApplicationModel\AspireStore.cs (3)
26ArgumentNullException.ThrowIfNull(basePath); 27ArgumentNullException.ThrowIfNull(directoryService); 44ArgumentNullException.ThrowIfNull(contentStream);
ApplicationModel\CertificateAuthorityCollectionResource.cs (1)
23ArgumentNullException.ThrowIfNull(name);
ApplicationModel\CertificateAuthorityCollectionResourceExtensions.cs (11)
24ArgumentNullException.ThrowIfNull(builder); 25ArgumentNullException.ThrowIfNull(name); 50ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(certificate); 67ArgumentNullException.ThrowIfNull(builder); 68ArgumentNullException.ThrowIfNull(certificates); 84ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(certificates); 119ArgumentNullException.ThrowIfNull(builder); 159ArgumentNullException.ThrowIfNull(builder); 160ArgumentNullException.ThrowIfNull(pemFilePath);
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (2)
26ArgumentNullException.ThrowIfNull(callback); 37ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\CommandLineArgsEditor.cs (1)
29ArgumentNullException.ThrowIfNull(value);
ApplicationModel\ContainerFileSystemCallbackAnnotation.cs (4)
336ArgumentNullException.ThrowIfNull(context); 370ArgumentNullException.ThrowIfNull(context); 401ArgumentNullException.ThrowIfNull(context); 403ArgumentNullException.ThrowIfNull(entries);
ApplicationModel\ContainerImagePushOptions.cs (2)
60/// <exception cref="ArgumentNullException">Thrown when <paramref name="registry"/> is <c>null</c>.</exception> 82ArgumentNullException.ThrowIfNull(registry);
ApplicationModel\ContainerImagePushOptionsCallbackAnnotation.cs (4)
25/// <exception cref="ArgumentNullException">Thrown when <paramref name="callback"/> is <c>null</c>.</exception> 28ArgumentNullException.ThrowIfNull(callback); 41/// <exception cref="ArgumentNullException">Thrown when <paramref name="callback"/> is <c>null</c>.</exception> 44ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\ContainerNetworkAliasAnnotation.cs (1)
46ArgumentNullException.ThrowIfNull(value, nameof(value));
ApplicationModel\ContainerRegistryResource.cs (2)
48/// <exception cref="ArgumentNullException">Thrown when <paramref name="endpoint"/> is <see langword="null"/>.</exception> 52ArgumentNullException.ThrowIfNull(endpoint);
ApplicationModel\ContainerRuntimeArgsCallbackAnnotation.cs (2)
20ArgumentNullException.ThrowIfNull(callback); 31ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\CustomResourceSnapshotExtensions.cs (2)
19/// <exception cref="ArgumentNullException">Thrown when <paramref name="snapshot"/> is <see langword="null"/>.</exception> 27ArgumentNullException.ThrowIfNull(snapshot);
ApplicationModel\DebugSupportExtensions.cs (9)
47ArgumentNullException.ThrowIfNull(resource); 48ArgumentNullException.ThrowIfNull(configuration); 90ArgumentNullException.ThrowIfNull(resource); 91ArgumentNullException.ThrowIfNull(supportsDebuggingAnnotation); 105/// <exception cref="ArgumentNullException"><paramref name="resource"/> or <paramref name="mode"/> is <see langword="null"/>.</exception> 131ArgumentNullException.ThrowIfNull(resource); 132ArgumentNullException.ThrowIfNull(mode); 169ArgumentNullException.ThrowIfNull(resource); 170ArgumentNullException.ThrowIfNull(context);
ApplicationModel\Docker\ContainerFilesExtensions.cs (5)
26ArgumentNullException.ThrowIfNull(builder); 27ArgumentNullException.ThrowIfNull(resource); 84ArgumentNullException.ThrowIfNull(stage); 85ArgumentNullException.ThrowIfNull(resource); 86ArgumentNullException.ThrowIfNull(rootDestinationPath);
ApplicationModel\Docker\DockerfileBuilder.cs (1)
108ArgumentNullException.ThrowIfNull(writer);
ApplicationModel\Docker\DockerfileStage.cs (6)
63ArgumentNullException.ThrowIfNull(defaultValue); 172ArgumentNullException.ThrowIfNull(value); 198ArgumentNullException.ThrowIfNull(command); 215ArgumentNullException.ThrowIfNull(command); 234ArgumentNullException.ThrowIfNull(mounts); 275ArgumentNullException.ThrowIfNull(comment);
ApplicationModel\DockerfileBuildAnnotation.cs (1)
139ArgumentNullException.ThrowIfNull(context);
ApplicationModel\DockerfileBuilderCallbackAnnotation.cs (2)
29ArgumentNullException.ThrowIfNull(callback); 45ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\EndpointHostHelpers.cs (2)
124/// <exception cref="ArgumentNullException">Thrown when <paramref name="endpoint"/> is null.</exception> 127ArgumentNullException.ThrowIfNull(endpoint);
ApplicationModel\EndpointReference.cs (4)
264ArgumentNullException.ThrowIfNull(owner); 265ArgumentNullException.ThrowIfNull(endpoint); 296ArgumentNullException.ThrowIfNull(owner); 297ArgumentNullException.ThrowIfNull(endpointName);
ApplicationModel\EnvironmentAnnotation.cs (2)
17ArgumentNullException.ThrowIfNull(name); 18ArgumentNullException.ThrowIfNull(value);
ApplicationModel\EnvironmentCallbackAnnotation.cs (5)
27ArgumentNullException.ThrowIfNull(name); 28ArgumentNullException.ThrowIfNull(callback); 44ArgumentNullException.ThrowIfNull(callback); 59ArgumentNullException.ThrowIfNull(callback); 74ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\EnvironmentEditor.cs (2)
31ArgumentNullException.ThrowIfNull(name); 32ArgumentNullException.ThrowIfNull(value);
ApplicationModel\IComputeEnvironmentResource.cs (2)
37/// <exception cref="ArgumentNullException">Thrown when <paramref name="endpointReferenceExpression"/> is <see langword="null"/>.</exception> 42ArgumentNullException.ThrowIfNull(endpointReferenceExpression);
ApplicationModel\LaunchConfigurationCallbackContext.cs (3)
25ArgumentNullException.ThrowIfNull(mode); 26ArgumentNullException.ThrowIfNull(resource); 27ArgumentNullException.ThrowIfNull(environmentVariables);
ApplicationModel\LaunchToolArgsCallbackAnnotation.cs (1)
56ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\LogFacade.cs (5)
19ArgumentNullException.ThrowIfNull(logger); 34ArgumentNullException.ThrowIfNull(message); 45ArgumentNullException.ThrowIfNull(message); 56ArgumentNullException.ThrowIfNull(message); 67ArgumentNullException.ThrowIfNull(message);
ApplicationModel\McpServerEndpointAnnotation.cs (1)
21ArgumentNullException.ThrowIfNull(endpointUrlResolver);
ApplicationModel\ParameterResource.cs (2)
28ArgumentNullException.ThrowIfNull(name); 29ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\ProcessCommandOptions.cs (1)
65ArgumentNullException.ThrowIfNull(value);
ApplicationModel\ProjectLaunchArgsOverrideAnnotation.cs (1)
62ArgumentNullException.ThrowIfNull(arguments);
ApplicationModel\ProjectResourceExtensions.cs (3)
23ArgumentNullException.ThrowIfNull(model); 42ArgumentNullException.ThrowIfNull(projectResource); 59ArgumentNullException.ThrowIfNull(projectResource);
ApplicationModel\ReferenceExpression.cs (6)
50ArgumentNullException.ThrowIfNull(format); 51ArgumentNullException.ThrowIfNull(valueProviders); 52ArgumentNullException.ThrowIfNull(manifestExpressions); 62ArgumentNullException.ThrowIfNull(condition); 63ArgumentNullException.ThrowIfNull(whenTrue); 64ArgumentNullException.ThrowIfNull(whenFalse);
ApplicationModel\ResourceCommandAnnotation.cs (4)
70ArgumentNullException.ThrowIfNull(name); 71ArgumentNullException.ThrowIfNull(displayName); 72ArgumentNullException.ThrowIfNull(updateState); 73ArgumentNullException.ThrowIfNull(executeCommand);
ApplicationModel\ResourceCommandService.cs (5)
94ArgumentNullException.ThrowIfNull(arguments); 132ArgumentNullException.ThrowIfNull(arguments); 308ArgumentNullException.ThrowIfNull(options); 315ArgumentNullException.ThrowIfNull(resource); 470ArgumentNullException.ThrowIfNull(arguments);
ApplicationModel\ResourceExtensions.cs (5)
515ArgumentNullException.ThrowIfNull(serviceProvider); 549ArgumentNullException.ThrowIfNull(builder); 550ArgumentNullException.ThrowIfNull(callback); 569ArgumentNullException.ThrowIfNull(builder); 570ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\ResourceLoggerService.cs (14)
51ArgumentNullException.ThrowIfNull(resource); 135ArgumentNullException.ThrowIfNull(resourceName); 147ArgumentNullException.ThrowIfNull(resource); 167ArgumentNullException.ThrowIfNull(resource); 187ArgumentNullException.ThrowIfNull(resourceName); 199ArgumentNullException.ThrowIfNull(resourceName); 206ArgumentNullException.ThrowIfNull(resourceName); 207ArgumentNullException.ThrowIfNull(onLogs); 214ArgumentNullException.ThrowIfNull(resourceName); 276ArgumentNullException.ThrowIfNull(resource); 294ArgumentNullException.ThrowIfNull(name); 307ArgumentNullException.ThrowIfNull(resourceName); 363ArgumentNullException.ThrowIfNull(resourceName); 364ArgumentNullException.ThrowIfNull(logEntries);
ApplicationModel\ResourceUrlsCallbackAnnotation.cs (2)
17ArgumentNullException.ThrowIfNull(callback); 32ArgumentNullException.ThrowIfNull(callback);
ApplicationModel\ResourceUrlsEditor.cs (3)
24ArgumentNullException.ThrowIfNull(url); 55ArgumentNullException.ThrowIfNull(endpoint); 56ArgumentNullException.ThrowIfNull(url);
ApplicationModel\TerminalAnnotation.cs (2)
33ArgumentNullException.ThrowIfNull(options); 66ArgumentNullException.ThrowIfNull(terminalHosts);
ApplicationModel\TerminalHostResource.cs (2)
30ArgumentNullException.ThrowIfNull(parent); 31ArgumentNullException.ThrowIfNull(layout);
ApplicationModel\TerminalResourceSnapshotProperties.cs (2)
40ArgumentNullException.ThrowIfNull(resource); 41ArgumentNullException.ThrowIfNull(resourceId);
ApplicationModel\ValueSnapshot.cs (1)
69ArgumentNullException.ThrowIfNull(exception);
Ats\AspireStoreExports.cs (1)
22ArgumentNullException.ThrowIfNull(serviceProvider);
Ats\AspireUnionAttribute.cs (1)
43/// <exception cref="ArgumentNullException">Thrown when <paramref name="types"/> is null.</exception>
Ats\BuilderExports.cs (21)
54ArgumentNullException.ThrowIfNull(builder); 80ArgumentNullException.ThrowIfNull(configuration); 81ArgumentNullException.ThrowIfNull(name); 95ArgumentNullException.ThrowIfNull(configuration); 96ArgumentNullException.ThrowIfNull(key); 109ArgumentNullException.ThrowIfNull(configuration); 123ArgumentNullException.ThrowIfNull(configuration); 124ArgumentNullException.ThrowIfNull(key); 141ArgumentNullException.ThrowIfNull(environment); 154ArgumentNullException.ThrowIfNull(environment); 167ArgumentNullException.ThrowIfNull(environment); 181ArgumentNullException.ThrowIfNull(environment); 182ArgumentNullException.ThrowIfNull(environmentName); 206ArgumentNullException.ThrowIfNull(builder); 207ArgumentNullException.ThrowIfNull(callback); 230ArgumentNullException.ThrowIfNull(builder); 231ArgumentNullException.ThrowIfNull(callback); 254ArgumentNullException.ThrowIfNull(builder); 255ArgumentNullException.ThrowIfNull(callback); 278ArgumentNullException.ThrowIfNull(builder); 279ArgumentNullException.ThrowIfNull(callback);
Ats\CoreExports.cs (2)
124ArgumentNullException.ThrowIfNull(resource); 125ArgumentNullException.ThrowIfNull(endpointNames);
Ats\DockerfileBuilderExports.cs (19)
23ArgumentNullException.ThrowIfNull(builder); 34ArgumentNullException.ThrowIfNull(builder); 45ArgumentNullException.ThrowIfNull(stage); 56ArgumentNullException.ThrowIfNull(stage); 66ArgumentNullException.ThrowIfNull(stage); 76ArgumentNullException.ThrowIfNull(stage); 87ArgumentNullException.ThrowIfNull(stage); 98ArgumentNullException.ThrowIfNull(stage); 108ArgumentNullException.ThrowIfNull(stage); 118ArgumentNullException.ThrowIfNull(stage); 128ArgumentNullException.ThrowIfNull(stage); 138ArgumentNullException.ThrowIfNull(stage); 148ArgumentNullException.ThrowIfNull(stage); 158ArgumentNullException.ThrowIfNull(stage); 168ArgumentNullException.ThrowIfNull(stage); 178ArgumentNullException.ThrowIfNull(builder); 179ArgumentNullException.ThrowIfNull(resource); 190ArgumentNullException.ThrowIfNull(stage); 191ArgumentNullException.ThrowIfNull(resource);
Ats\EventingExports.cs (25)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(subscribe); 39ArgumentNullException.ThrowIfNull(builder); 40ArgumentNullException.ThrowIfNull(subscribe); 60ArgumentNullException.ThrowIfNull(serviceProvider); 75ArgumentNullException.ThrowIfNull(builder); 76ArgumentNullException.ThrowIfNull(callback); 91ArgumentNullException.ThrowIfNull(builder); 92ArgumentNullException.ThrowIfNull(callback); 107ArgumentNullException.ThrowIfNull(builder); 108ArgumentNullException.ThrowIfNull(callback); 123ArgumentNullException.ThrowIfNull(builder); 124ArgumentNullException.ThrowIfNull(callback); 139ArgumentNullException.ThrowIfNull(builder); 140ArgumentNullException.ThrowIfNull(callback); 155ArgumentNullException.ThrowIfNull(builder); 156ArgumentNullException.ThrowIfNull(callback); 170ArgumentNullException.ThrowIfNull(context); 171ArgumentNullException.ThrowIfNull(callback); 185ArgumentNullException.ThrowIfNull(context); 186ArgumentNullException.ThrowIfNull(callback); 200ArgumentNullException.ThrowIfNull(context); 201ArgumentNullException.ThrowIfNull(callback); 215ArgumentNullException.ThrowIfNull(context); 216ArgumentNullException.ThrowIfNull(callback);
Ats\ExecutionConfigurationExports.cs (7)
26ArgumentNullException.ThrowIfNull(resource); 46ArgumentNullException.ThrowIfNull(builder); 47ArgumentNullException.ThrowIfNull(executionContext); 63ArgumentNullException.ThrowIfNull(builder); 64ArgumentNullException.ThrowIfNull(configContextFactory); 79ArgumentNullException.ThrowIfNull(configuration); 107ArgumentNullException.ThrowIfNull(configuration);
Ats\HealthCheckExports.cs (2)
24ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(check);
Ats\InteractionExports.cs (13)
32ArgumentNullException.ThrowIfNull(serviceProvider); 45ArgumentNullException.ThrowIfNull(interactionService); 61ArgumentNullException.ThrowIfNull(interactionService); 78ArgumentNullException.ThrowIfNull(interactionService); 95ArgumentNullException.ThrowIfNull(interactionService); 113ArgumentNullException.ThrowIfNull(interactionService); 133ArgumentNullException.ThrowIfNull(interactionService); 134ArgumentNullException.ThrowIfNull(input); 154ArgumentNullException.ThrowIfNull(interactionService); 155ArgumentNullException.ThrowIfNull(inputs); 337ArgumentNullException.ThrowIfNull(choices); 378ArgumentNullException.ThrowIfNull(callback); 474ArgumentNullException.ThrowIfNull(choices);
Ats\LoggingExports.cs (4)
23ArgumentNullException.ThrowIfNull(serviceProvider); 82ArgumentNullException.ThrowIfNull(loggerFactory); 96ArgumentNullException.ThrowIfNull(serviceProvider); 121ArgumentNullException.ThrowIfNull(level);
Ats\ModelExports.cs (3)
22ArgumentNullException.ThrowIfNull(serviceProvider); 35ArgumentNullException.ThrowIfNull(model); 49ArgumentNullException.ThrowIfNull(model);
Ats\NotificationExports.cs (1)
22ArgumentNullException.ThrowIfNull(serviceProvider);
Ats\PipelineExports.cs (26)
32ArgumentNullException.ThrowIfNull(pipeline); 34ArgumentNullException.ThrowIfNull(callback); 49ArgumentNullException.ThrowIfNull(pipeline); 50ArgumentNullException.ThrowIfNull(callback); 64ArgumentNullException.ThrowIfNull(summary); 66ArgumentNullException.ThrowIfNull(markdownString); 77ArgumentNullException.ThrowIfNull(reportingStep); 89ArgumentNullException.ThrowIfNull(reportingStep); 90ArgumentNullException.ThrowIfNull(markdownString); 101ArgumentNullException.ThrowIfNull(reportingStep); 102ArgumentNullException.ThrowIfNull(level); 103ArgumentNullException.ThrowIfNull(message); 114ArgumentNullException.ThrowIfNull(reportingStep); 115ArgumentNullException.ThrowIfNull(level); 116ArgumentNullException.ThrowIfNull(markdownString); 127ArgumentNullException.ThrowIfNull(reportingStep); 128ArgumentNullException.ThrowIfNull(completionText); 139ArgumentNullException.ThrowIfNull(reportingStep); 140ArgumentNullException.ThrowIfNull(markdownString); 151ArgumentNullException.ThrowIfNull(reportingTask); 163ArgumentNullException.ThrowIfNull(reportingTask); 164ArgumentNullException.ThrowIfNull(markdownString); 175ArgumentNullException.ThrowIfNull(reportingTask); 186ArgumentNullException.ThrowIfNull(reportingTask); 187ArgumentNullException.ThrowIfNull(markdownString); 194ArgumentNullException.ThrowIfNull(completionState);
Ats\ResourceCommandExports.cs (3)
22ArgumentNullException.ThrowIfNull(serviceProvider); 44ArgumentNullException.ThrowIfNull(resourceCommandService); 45ArgumentNullException.ThrowIfNull(resource);
Ats\UserSecretsExports.cs (6)
25ArgumentNullException.ThrowIfNull(serviceProvider); 40ArgumentNullException.ThrowIfNull(userSecretsManager); 41ArgumentNullException.ThrowIfNull(json); 60ArgumentNullException.ThrowIfNull(userSecretsManager); 61ArgumentNullException.ThrowIfNull(resourceBuilder); 63ArgumentNullException.ThrowIfNull(value);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (6)
182ArgumentNullException.ThrowIfNull(request); 202ArgumentNullException.ThrowIfNull(request); 222ArgumentNullException.ThrowIfNull(request); 269ArgumentNullException.ThrowIfNull(request); 428ArgumentNullException.ThrowIfNull(request); 629ArgumentNullException.ThrowIfNull(request);
ConnectionPropertiesExtensions.cs (2)
22ArgumentNullException.ThrowIfNull(source); 23ArgumentNullException.ThrowIfNull(additional);
ContainerExecutableResourceExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(model);
ContainerRegistryResourceBuilderExtensions.cs (7)
45ArgumentNullException.ThrowIfNull(builder); 47ArgumentNullException.ThrowIfNull(endpoint); 98ArgumentNullException.ThrowIfNull(builder); 129ArgumentNullException.ThrowIfNull(builder); 131ArgumentNullException.ThrowIfNull(endpoint); 191ArgumentNullException.ThrowIfNull(builder); 192ArgumentNullException.ThrowIfNull(registry);
ContainerResourceBuilderExtensions.cs (85)
118ArgumentNullException.ThrowIfNull(builder); 119ArgumentNullException.ThrowIfNull(name); 120ArgumentNullException.ThrowIfNull(image); 156ArgumentNullException.ThrowIfNull(builder); 158ArgumentNullException.ThrowIfNull(image); 173ArgumentNullException.ThrowIfNull(options); 223ArgumentNullException.ThrowIfNull(builder); 224ArgumentNullException.ThrowIfNull(target); 264ArgumentNullException.ThrowIfNull(builder); 265ArgumentNullException.ThrowIfNull(target); 322ArgumentNullException.ThrowIfNull(builder); 323ArgumentNullException.ThrowIfNull(source); 324ArgumentNullException.ThrowIfNull(target); 343ArgumentNullException.ThrowIfNull(builder); 344ArgumentNullException.ThrowIfNull(entrypoint); 361ArgumentNullException.ThrowIfNull(builder); 362ArgumentNullException.ThrowIfNull(tag); 393ArgumentNullException.ThrowIfNull(builder); 416ArgumentNullException.ThrowIfNull(builder); 417ArgumentNullException.ThrowIfNull(image); 484ArgumentNullException.ThrowIfNull(builder); 485ArgumentNullException.ThrowIfNull(sha256); 511ArgumentNullException.ThrowIfNull(builder); 530ArgumentNullException.ThrowIfNull(builder); 531ArgumentNullException.ThrowIfNull(callback); 554ArgumentNullException.ThrowIfNull(builder); 555ArgumentNullException.ThrowIfNull(callback); 589ArgumentNullException.ThrowIfNull(builder); 615ArgumentNullException.ThrowIfNull(builder); 633ArgumentNullException.ThrowIfNull(builder); 680ArgumentNullException.ThrowIfNull(builder); 778ArgumentNullException.ThrowIfNull(builder); 779ArgumentNullException.ThrowIfNull(dockerfileFactory); 826ArgumentNullException.ThrowIfNull(builder); 828ArgumentNullException.ThrowIfNull(dockerfileFactory); 924ArgumentNullException.ThrowIfNull(builder); 925ArgumentNullException.ThrowIfNull(name); 926ArgumentNullException.ThrowIfNull(contextPath); 953ArgumentNullException.ThrowIfNull(builder); 954ArgumentNullException.ThrowIfNull(name); 955ArgumentNullException.ThrowIfNull(contextPath); 956ArgumentNullException.ThrowIfNull(dockerfileFactory); 984ArgumentNullException.ThrowIfNull(builder); 985ArgumentNullException.ThrowIfNull(name); 986ArgumentNullException.ThrowIfNull(contextPath); 987ArgumentNullException.ThrowIfNull(dockerfileFactory); 1034ArgumentNullException.ThrowIfNull(builder); 1035ArgumentNullException.ThrowIfNull(name); 1036ArgumentNullException.ThrowIfNull(contextPath); 1037ArgumentNullException.ThrowIfNull(callback); 1082ArgumentNullException.ThrowIfNull(builder); 1083ArgumentNullException.ThrowIfNull(name); 1084ArgumentNullException.ThrowIfNull(contextPath); 1085ArgumentNullException.ThrowIfNull(callback); 1108ArgumentNullException.ThrowIfNull(builder); 1109ArgumentNullException.ThrowIfNull(name); 1149ArgumentNullException.ThrowIfNull(builder); 1200ArgumentNullException.ThrowIfNull(builder); 1201ArgumentNullException.ThrowIfNull(name); 1202ArgumentNullException.ThrowIfNull(value); 1227ArgumentNullException.ThrowIfNull(builder); 1229ArgumentNullException.ThrowIfNull(value); 1279ArgumentNullException.ThrowIfNull(builder); 1281ArgumentNullException.ThrowIfNull(value); 1310ArgumentNullException.ThrowIfNull(builder); 1337ArgumentNullException.ThrowIfNull(builder); 1391ArgumentNullException.ThrowIfNull(builder); 1392ArgumentNullException.ThrowIfNull(destinationPath); 1393ArgumentNullException.ThrowIfNull(entries); 1463ArgumentNullException.ThrowIfNull(builder); 1464ArgumentNullException.ThrowIfNull(destinationPath); 1465ArgumentNullException.ThrowIfNull(callback); 1495ArgumentNullException.ThrowIfNull(builder); 1496ArgumentNullException.ThrowIfNull(destinationPath); 1497ArgumentNullException.ThrowIfNull(sourcePath); 1559ArgumentNullException.ThrowIfNull(builder); 1560ArgumentNullException.ThrowIfNull(destinationPath); 1561ArgumentNullException.ThrowIfNull(sourcePath); 1608ArgumentNullException.ThrowIfNull(builder); 1609ArgumentNullException.ThrowIfNull(destinationPath); 1610ArgumentNullException.ThrowIfNull(callback); 1700ArgumentNullException.ThrowIfNull(builder); 1702ArgumentNullException.ThrowIfNull(callback); 1805ArgumentNullException.ThrowIfNull(callback); 1846ArgumentNullException.ThrowIfNull(builder);
ContainerResourceExtensions.cs (2)
21ArgumentNullException.ThrowIfNull(model); 40ArgumentNullException.ThrowIfNull(resource);
CustomResourceExtensions.cs (2)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(initialSnapshot);
Dashboard\DashboardServiceData.cs (1)
127ArgumentNullException.ThrowIfNull(options);
Dcp\DcpProcessMonitor.cs (1)
14ArgumentNullException.ThrowIfNull(parentProcess);
DistributedApplication.cs (4)
73ArgumentNullException.ThrowIfNull(host); 164ArgumentNullException.ThrowIfNull(args); 212ArgumentNullException.ThrowIfNull(options); 230ArgumentNullException.ThrowIfNull(options);
DistributedApplicationBuilder.cs (7)
129ArgumentNullException.ThrowIfNull(args); 188ArgumentNullException.ThrowIfNull(options); 851ArgumentNullException.ThrowIfNull(resource); 862ArgumentNullException.ThrowIfNull(resource); 870ArgumentNullException.ThrowIfNull(configuration); 881ArgumentNullException.ThrowIfNull(configuration); 897ArgumentNullException.ThrowIfNull(configuration);
DistributedApplicationBuilderExtensions.cs (2)
65ArgumentNullException.ThrowIfNull(builder, nameof(builder)); 97ArgumentNullException.ThrowIfNull(builder, nameof(builder));
DistributedApplicationResourceBuilder.cs (1)
16ArgumentNullException.ThrowIfNull(annotation);
EmulatorResourceExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(resource);
ExecutableResourceBuilderExtensions.cs (10)
33ArgumentNullException.ThrowIfNull(builder); 34ArgumentNullException.ThrowIfNull(name); 35ArgumentNullException.ThrowIfNull(command); 36ArgumentNullException.ThrowIfNull(workingDirectory); 54ArgumentNullException.ThrowIfNull(builder); 55ArgumentNullException.ThrowIfNull(name); 56ArgumentNullException.ThrowIfNull(command); 57ArgumentNullException.ThrowIfNull(workingDirectory); 96ArgumentNullException.ThrowIfNull(builder); 214ArgumentNullException.ThrowIfNull(workingDirectory);
ExecutableResourceExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(model);
ExternalServiceBuilderExtensions.cs (20)
29ArgumentNullException.ThrowIfNull(builder); 30ArgumentNullException.ThrowIfNull(name); 31ArgumentNullException.ThrowIfNull(url); 50ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(name); 52ArgumentNullException.ThrowIfNull(url); 73ArgumentNullException.ThrowIfNull(builder); 74ArgumentNullException.ThrowIfNull(name); 75ArgumentNullException.ThrowIfNull(uri); 90ArgumentNullException.ThrowIfNull(builder); 91ArgumentNullException.ThrowIfNull(name); 92ArgumentNullException.ThrowIfNull(urlParameter); 296ArgumentNullException.ThrowIfNull(builder); 376ArgumentNullException.ThrowIfNull(uri); 377ArgumentNullException.ThrowIfNull(httpClientFactory); 399ArgumentNullException.ThrowIfNull(urlParameter); 400ArgumentNullException.ThrowIfNull(httpClientFactory); 463ArgumentNullException.ThrowIfNull(endpoint); 464ArgumentNullException.ThrowIfNull(path); 465ArgumentNullException.ThrowIfNull(httpClientFactory);
IInteractionService.cs (2)
295ArgumentNullException.ThrowIfNull(name); 853ArgumentNullException.ThrowIfNull(input, nameof(input));
Lifecycle\TerminalHostEventingSubscriber.cs (1)
45ArgumentNullException.ThrowIfNull(eventing);
Lifecycle\TerminalHostOrphanCleanupService.cs (2)
55ArgumentNullException.ThrowIfNull(eventing); 82ArgumentNullException.ThrowIfNull(replicaIds);
McpServerResourceBuilderExtensions.cs (1)
49ArgumentNullException.ThrowIfNull(builder);
OtlpConfigurationExtensions.cs (9)
25ArgumentNullException.ThrowIfNull(resource); 26ArgumentNullException.ThrowIfNull(configuration); 27ArgumentNullException.ThrowIfNull(environment); 44ArgumentNullException.ThrowIfNull(resource); 45ArgumentNullException.ThrowIfNull(configuration); 46ArgumentNullException.ThrowIfNull(environment); 138ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(builder); 175ArgumentNullException.ThrowIfNull(builder);
ParameterResourceBuilderExtensions.cs (35)
30ArgumentNullException.ThrowIfNull(builder); 31ArgumentNullException.ThrowIfNull(name); 77ArgumentNullException.ThrowIfNull(builder); 78ArgumentNullException.ThrowIfNull(name); 79ArgumentNullException.ThrowIfNull(value); 102ArgumentNullException.ThrowIfNull(builder); 103ArgumentNullException.ThrowIfNull(name); 104ArgumentNullException.ThrowIfNull(valueGetter); 136ArgumentNullException.ThrowIfNull(builder); 137ArgumentNullException.ThrowIfNull(name); 138ArgumentNullException.ThrowIfNull(configurationKey); 168ArgumentNullException.ThrowIfNull(builder); 169ArgumentNullException.ThrowIfNull(name); 170ArgumentNullException.ThrowIfNull(value); 191ArgumentNullException.ThrowIfNull(builder); 192ArgumentNullException.ThrowIfNull(name); 193ArgumentNullException.ThrowIfNull(value); 211ArgumentNullException.ThrowIfNull(builder); 212ArgumentNullException.ThrowIfNull(description); 244ArgumentNullException.ThrowIfNull(builder); 245ArgumentNullException.ThrowIfNull(createInput); 261ArgumentNullException.ThrowIfNull(builder); 262ArgumentNullException.ThrowIfNull(options); 324ArgumentNullException.ThrowIfNull(builder); 325ArgumentNullException.ThrowIfNull(name); 345ArgumentNullException.ThrowIfNull(builder); 346ArgumentNullException.ThrowIfNull(name); 372ArgumentNullException.ThrowIfNull(builder); 384ArgumentNullException.ThrowIfNull(builder); 416ArgumentNullException.ThrowIfNull(builder); 417ArgumentNullException.ThrowIfNull(name); 449ArgumentNullException.ThrowIfNull(builder); 450ArgumentNullException.ThrowIfNull(name); 477ArgumentNullException.ThrowIfNull(builder); 478ArgumentNullException.ThrowIfNull(name);
Pipelines\DistributedApplicationPipeline.cs (1)
543ArgumentNullException.ThrowIfNull(callback);
Pipelines\DistributedApplicationPipelineExtensions.cs (1)
27ArgumentNullException.ThrowIfNull(pipeline);
Pipelines\MarkdownString.cs (2)
34/// <exception cref="ArgumentNullException">Thrown when <paramref name="value"/> is <see langword="null"/>.</exception> 37ArgumentNullException.ThrowIfNull(value);
Pipelines\PipelineConfigurationAnnotation.cs (2)
29ArgumentNullException.ThrowIfNull(callback); 39ArgumentNullException.ThrowIfNull(callback);
Pipelines\PipelineConfigurationContext.cs (4)
71ArgumentNullException.ThrowIfNull(tag); 84ArgumentNullException.ThrowIfNull(resource); 99ArgumentNullException.ThrowIfNull(resource); 100ArgumentNullException.ThrowIfNull(tag);
Pipelines\PipelineEditor.cs (1)
34ArgumentNullException.ThrowIfNull(tag);
Pipelines\PipelineOutputService.cs (5)
36ArgumentNullException.ThrowIfNull(options); 37ArgumentNullException.ThrowIfNull(configuration); 38ArgumentNullException.ThrowIfNull(directoryService); 77ArgumentNullException.ThrowIfNull(resource); 92ArgumentNullException.ThrowIfNull(resource);
Pipelines\PipelineStep.cs (1)
98ArgumentNullException.ThrowIfNull(tag);
Pipelines\PipelineStepFactoryExtensions.cs (14)
28ArgumentNullException.ThrowIfNull(builder); 29ArgumentNullException.ThrowIfNull(factory); 47ArgumentNullException.ThrowIfNull(builder); 48ArgumentNullException.ThrowIfNull(factory); 66ArgumentNullException.ThrowIfNull(builder); 67ArgumentNullException.ThrowIfNull(factory); 85ArgumentNullException.ThrowIfNull(builder); 86ArgumentNullException.ThrowIfNull(factory); 113ArgumentNullException.ThrowIfNull(builder); 115ArgumentNullException.ThrowIfNull(callback); 142ArgumentNullException.ThrowIfNull(builder); 143ArgumentNullException.ThrowIfNull(callback); 161ArgumentNullException.ThrowIfNull(builder); 162ArgumentNullException.ThrowIfNull(callback);
Pipelines\PipelineSummary.cs (1)
103ArgumentNullException.ThrowIfNull(value);
Pipelines\ReportingStep.cs (3)
119ArgumentNullException.ThrowIfNull(statusText); 156ArgumentNullException.ThrowIfNull(message); 180ArgumentNullException.ThrowIfNull(completionText);
Pipelines\ReportingTask.cs (2)
63ArgumentNullException.ThrowIfNull(statusText); 76ArgumentNullException.ThrowIfNull(completionMessage);
ProjectResourceBuilderExtensions.cs (34)
69ArgumentNullException.ThrowIfNull(builder); 70ArgumentNullException.ThrowIfNull(name); 103ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(name); 105ArgumentNullException.ThrowIfNull(projectPath); 120ArgumentNullException.ThrowIfNull(builder); 122ArgumentNullException.ThrowIfNull(projectPath); 175ArgumentNullException.ThrowIfNull(builder); 176ArgumentNullException.ThrowIfNull(name); 214ArgumentNullException.ThrowIfNull(builder); 215ArgumentNullException.ThrowIfNull(name); 216ArgumentNullException.ThrowIfNull(projectPath); 265ArgumentNullException.ThrowIfNull(builder); 266ArgumentNullException.ThrowIfNull(name); 267ArgumentNullException.ThrowIfNull(configure); 308ArgumentNullException.ThrowIfNull(builder); 309ArgumentNullException.ThrowIfNull(name); 310ArgumentNullException.ThrowIfNull(projectPath); 311ArgumentNullException.ThrowIfNull(configure); 353ArgumentNullException.ThrowIfNull(builder); 354ArgumentNullException.ThrowIfNull(name); 355ArgumentNullException.ThrowIfNull(path); 405ArgumentNullException.ThrowIfNull(builder); 406ArgumentNullException.ThrowIfNull(name); 407ArgumentNullException.ThrowIfNull(path); 408ArgumentNullException.ThrowIfNull(configure); 444ArgumentNullException.ThrowIfNull(target); 445ArgumentNullException.ThrowIfNull(source); 483ArgumentNullException.ThrowIfNull(builder); 484ArgumentNullException.ThrowIfNull(options); 886ArgumentNullException.ThrowIfNull(builder); 923ArgumentNullException.ThrowIfNull(builder); 941ArgumentNullException.ThrowIfNull(builder); 942ArgumentNullException.ThrowIfNull(filter);
RequiredCommandResourceExtensions.cs (5)
34ArgumentNullException.ThrowIfNull(builder); 35ArgumentNullException.ThrowIfNull(command); 71ArgumentNullException.ThrowIfNull(builder); 72ArgumentNullException.ThrowIfNull(command); 73ArgumentNullException.ThrowIfNull(validationCallback);
ResourceBuilderExtensions.cs (206)
64ArgumentNullException.ThrowIfNull(builder); 96ArgumentNullException.ThrowIfNull(builder); 121ArgumentNullException.ThrowIfNull(builder); 122ArgumentNullException.ThrowIfNull(sourceBuilder); 169ArgumentNullException.ThrowIfNull(builder); 230ArgumentNullException.ThrowIfNull(builder); 231ArgumentNullException.ThrowIfNull(name); 254ArgumentNullException.ThrowIfNull(builder); 255ArgumentNullException.ThrowIfNull(name); 256ArgumentNullException.ThrowIfNull(value); 287ArgumentNullException.ThrowIfNull(builder); 288ArgumentNullException.ThrowIfNull(name); 327ArgumentNullException.ThrowIfNull(builder); 328ArgumentNullException.ThrowIfNull(name); 329ArgumentNullException.ThrowIfNull(value); 351ArgumentNullException.ThrowIfNull(builder); 352ArgumentNullException.ThrowIfNull(name); 353ArgumentNullException.ThrowIfNull(callback); 368ArgumentNullException.ThrowIfNull(builder); 369ArgumentNullException.ThrowIfNull(callback); 385ArgumentNullException.ThrowIfNull(builder); 386ArgumentNullException.ThrowIfNull(callback); 403ArgumentNullException.ThrowIfNull(builder); 404ArgumentNullException.ThrowIfNull(name); 405ArgumentNullException.ThrowIfNull(endpointReference); 428ArgumentNullException.ThrowIfNull(builder); 429ArgumentNullException.ThrowIfNull(externalService); 469ArgumentNullException.ThrowIfNull(builder); 470ArgumentNullException.ThrowIfNull(name); 471ArgumentNullException.ThrowIfNull(parameter); 496ArgumentNullException.ThrowIfNull(builder); 497ArgumentNullException.ThrowIfNull(envVarName); 498ArgumentNullException.ThrowIfNull(resource); 542ArgumentNullException.ThrowIfNull(builder); 543ArgumentNullException.ThrowIfNull(name); 544ArgumentNullException.ThrowIfNull(value); 572ArgumentNullException.ThrowIfNull(builder); 573ArgumentNullException.ThrowIfNull(name); 574ArgumentNullException.ThrowIfNull(value); 603ArgumentNullException.ThrowIfNull(builder); 604ArgumentNullException.ThrowIfNull(name); 621ArgumentNullException.ThrowIfNull(builder); 622ArgumentNullException.ThrowIfNull(name); 641ArgumentNullException.ThrowIfNull(builder); 642ArgumentNullException.ThrowIfNull(name); 643ArgumentNullException.ThrowIfNull(value); 669ArgumentNullException.ThrowIfNull(builder); 670ArgumentNullException.ThrowIfNull(name); 671ArgumentNullException.ThrowIfNull(value); 687ArgumentNullException.ThrowIfNull(builder); 688ArgumentNullException.ThrowIfNull(args); 704ArgumentNullException.ThrowIfNull(builder); 705ArgumentNullException.ThrowIfNull(args); 723ArgumentNullException.ThrowIfNull(builder); 724ArgumentNullException.ThrowIfNull(callback); 743ArgumentNullException.ThrowIfNull(builder); 744ArgumentNullException.ThrowIfNull(callback); 760ArgumentNullException.ThrowIfNull(builder); 761ArgumentNullException.ThrowIfNull(callback); 778ArgumentNullException.ThrowIfNull(builder); 779ArgumentNullException.ThrowIfNull(callback); 796ArgumentNullException.ThrowIfNull(builder); 797ArgumentNullException.ThrowIfNull(resource); 882ArgumentNullException.ThrowIfNull(builder); 901ArgumentNullException.ThrowIfNull(builder); 902ArgumentNullException.ThrowIfNull(options); 919ArgumentNullException.ThrowIfNull(builder); 920ArgumentNullException.ThrowIfNull(source); 944ArgumentNullException.ThrowIfNull(builder); 945ArgumentNullException.ThrowIfNull(source); 1109ArgumentNullException.ThrowIfNull(builder); 1110ArgumentNullException.ThrowIfNull(source); 1152ArgumentNullException.ThrowIfNull(resource); 1206ArgumentNullException.ThrowIfNull(builder); 1207ArgumentNullException.ThrowIfNull(source); 1238ArgumentNullException.ThrowIfNull(builder); 1239ArgumentNullException.ThrowIfNull(source); 1259ArgumentNullException.ThrowIfNull(builder); 1260ArgumentNullException.ThrowIfNull(name); 1261ArgumentNullException.ThrowIfNull(uri); 1307ArgumentNullException.ThrowIfNull(builder); 1308ArgumentNullException.ThrowIfNull(externalService); 1383ArgumentNullException.ThrowIfNull(builder); 1384ArgumentNullException.ThrowIfNull(endpointReference); 1463ArgumentNullException.ThrowIfNull(builder); 1464ArgumentNullException.ThrowIfNull(endpointName); 1465ArgumentNullException.ThrowIfNull(callback); 1500ArgumentNullException.ThrowIfNull(builder); 1501ArgumentNullException.ThrowIfNull(endpointName); 1502ArgumentNullException.ThrowIfNull(callback); 1513ArgumentNullException.ThrowIfNull(builder); 1514ArgumentNullException.ThrowIfNull(callback); 1525ArgumentNullException.ThrowIfNull(builder); 1526ArgumentNullException.ThrowIfNull(callback); 1564ArgumentNullException.ThrowIfNull(builder); 1697ArgumentNullException.ThrowIfNull(builder); 1776ArgumentNullException.ThrowIfNull(builder); 1824ArgumentNullException.ThrowIfNull(builder); 1860ArgumentNullException.ThrowIfNull(builder); 1891ArgumentNullException.ThrowIfNull(builder); 1908ArgumentNullException.ThrowIfNull(builder); 1923ArgumentNullException.ThrowIfNull(builder); 1981ArgumentNullException.ThrowIfNull(builder); 1982ArgumentNullException.ThrowIfNull(callback); 2005ArgumentNullException.ThrowIfNull(builder); 2006ArgumentNullException.ThrowIfNull(callback); 2043ArgumentNullException.ThrowIfNull(builder); 2044ArgumentNullException.ThrowIfNull(url); 2077ArgumentNullException.ThrowIfNull(builder); 2078ArgumentNullException.ThrowIfNull(url); 2105ArgumentNullException.ThrowIfNull(builder); 2128ArgumentNullException.ThrowIfNull(builder); 2129ArgumentNullException.ThrowIfNull(url); 2263ArgumentNullException.ThrowIfNull(builder); 2264ArgumentNullException.ThrowIfNull(source); 2292ArgumentNullException.ThrowIfNull(builder); 2293ArgumentNullException.ThrowIfNull(sourcePath); 2311ArgumentNullException.ThrowIfNull(builder); 2331ArgumentNullException.ThrowIfNull(builder); 2366ArgumentNullException.ThrowIfNull(builder); 2367ArgumentNullException.ThrowIfNull(dependency); 2381ArgumentNullException.ThrowIfNull(builder); 2382ArgumentNullException.ThrowIfNull(dependency); 2426ArgumentNullException.ThrowIfNull(builder); 2427ArgumentNullException.ThrowIfNull(dependency); 2491ArgumentNullException.ThrowIfNull(builder); 2492ArgumentNullException.ThrowIfNull(dependency); 2506ArgumentNullException.ThrowIfNull(builder); 2507ArgumentNullException.ThrowIfNull(dependency); 2549ArgumentNullException.ThrowIfNull(builder); 2550ArgumentNullException.ThrowIfNull(dependency); 2657ArgumentNullException.ThrowIfNull(builder); 2658ArgumentNullException.ThrowIfNull(dependency); 2717ArgumentNullException.ThrowIfNull(builder); 2718ArgumentNullException.ThrowIfNull(key); 2764ArgumentNullException.ThrowIfNull(builder); 2885ArgumentNullException.ThrowIfNull(builder); 2919ArgumentNullException.ThrowIfNull(builder); 2920ArgumentNullException.ThrowIfNull(name); 2921ArgumentNullException.ThrowIfNull(displayName); 2922ArgumentNullException.ThrowIfNull(executeCommand); 2989ArgumentNullException.ThrowIfNull(builder); 2990ArgumentNullException.ThrowIfNull(name); 2991ArgumentNullException.ThrowIfNull(displayName); 2992ArgumentNullException.ThrowIfNull(executeCommand); 3127ArgumentNullException.ThrowIfNull(processSpecFactory); 3185ArgumentNullException.ThrowIfNull(builder); 3186ArgumentNullException.ThrowIfNull(commandName); 3187ArgumentNullException.ThrowIfNull(displayName); 3188ArgumentNullException.ThrowIfNull(processSpecFactory); 3230ArgumentNullException.ThrowIfNull(options); 3268ArgumentNullException.ThrowIfNull(createProcessSpec); 3991ArgumentNullException.ThrowIfNull(builder); 3992ArgumentNullException.ThrowIfNull(certificateAuthorityCollection); 4049ArgumentNullException.ThrowIfNull(builder); 4100ArgumentNullException.ThrowIfNull(builder); 4147ArgumentNullException.ThrowIfNull(builder); 4148ArgumentNullException.ThrowIfNull(callback); 4177ArgumentNullException.ThrowIfNull(builder); 4213ArgumentNullException.ThrowIfNull(builder); 4245ArgumentNullException.ThrowIfNull(builder); 4282ArgumentNullException.ThrowIfNull(builder); 4283ArgumentNullException.ThrowIfNull(callback); 4322ArgumentNullException.ThrowIfNull(builder); 4323ArgumentNullException.ThrowIfNull(callback); 4443ArgumentNullException.ThrowIfNull(builder); 4444ArgumentNullException.ThrowIfNull(resource); 4445ArgumentNullException.ThrowIfNull(type); 4464ArgumentNullException.ThrowIfNull(builder); 4465ArgumentNullException.ThrowIfNull(resourceBuilder); 4483ArgumentNullException.ThrowIfNull(builder); 4484ArgumentNullException.ThrowIfNull(resource); 4502ArgumentNullException.ThrowIfNull(builder); 4503ArgumentNullException.ThrowIfNull(expression); 4563ArgumentNullException.ThrowIfNull(builder); 4564ArgumentNullException.ThrowIfNull(resourceBuilder); 4736ArgumentNullException.ThrowIfNull(builder); 4756ArgumentNullException.ThrowIfNull(builder); 4757ArgumentNullException.ThrowIfNull(computeEnvironmentResource); 4817ArgumentNullException.ThrowIfNull(builder); 4818ArgumentNullException.ThrowIfNull(callback); 4863ArgumentNullException.ThrowIfNull(builder); 4864ArgumentNullException.ThrowIfNull(launchConfigurationProducer); 4903ArgumentNullException.ThrowIfNull(builder); 4904ArgumentNullException.ThrowIfNull(launchConfigurationProducer); 4960ArgumentNullException.ThrowIfNull(builder); 4961ArgumentNullException.ThrowIfNull(launchConfigurationProducer); 5012ArgumentNullException.ThrowIfNull(builder); 5121ArgumentNullException.ThrowIfNull(builder); 5141ArgumentNullException.ThrowIfNull(builder); 5161ArgumentNullException.ThrowIfNull(builder); 5184ArgumentNullException.ThrowIfNull(builder); 5206ArgumentNullException.ThrowIfNull(builder); 5207ArgumentNullException.ThrowIfNull(exitCodes); 5224/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="callback"/> is <c>null</c>.</exception> 5249ArgumentNullException.ThrowIfNull(builder); 5250ArgumentNullException.ThrowIfNull(callback); 5263/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="callback"/> is <c>null</c>.</exception> 5290ArgumentNullException.ThrowIfNull(builder); 5291ArgumentNullException.ThrowIfNull(callback); 5304/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="remoteImageName"/> is <c>null</c>.</exception> 5327ArgumentNullException.ThrowIfNull(builder); 5328ArgumentNullException.ThrowIfNull(remoteImageName); 5344/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="remoteImageTag"/> is <c>null</c>.</exception> 5367ArgumentNullException.ThrowIfNull(builder); 5368ArgumentNullException.ThrowIfNull(remoteImageTag);
src\Shared\BackchannelConstants.cs (1)
545ArgumentNullException.ThrowIfNull(socketPath);
src\Shared\ChannelExtensions.cs (1)
81ArgumentNullException.ThrowIfNull(source);
src\Shared\EnvironmentVariableNameEncoder.cs (1)
23ArgumentNullException.ThrowIfNull(name);
src\Shared\InteractionHelpers.cs (1)
39ArgumentNullException.ThrowIfNull(label);
src\Shared\StringUtils.cs (2)
38ArgumentNullException.ThrowIfNull(value); 39ArgumentNullException.ThrowIfNull(suffix);
src\Shared\X509Certificate2Extensions.cs (5)
27ArgumentNullException.ThrowIfNull(certificate); 46ArgumentNullException.ThrowIfNull(certificate); 71ArgumentNullException.ThrowIfNull(certificate); 87ArgumentNullException.ThrowIfNull(collection); 115ArgumentNullException.ThrowIfNull(certificate);
TerminalResourceBuilderExtensions.cs (1)
72ArgumentNullException.ThrowIfNull(builder);
Utils\ConcurrencyUtils.cs (4)
13ArgumentNullException.ThrowIfNull(action); 30ArgumentNullException.ThrowIfNull(bag); 31ArgumentNullException.ThrowIfNull(items); 42ArgumentNullException.ThrowIfNull(semaphores);
Utils\FileSystemService.cs (1)
26ArgumentNullException.ThrowIfNull(configuration);
Aspire.Hosting.Azure (97)
AcrLoginService.cs (1)
76ArgumentNullException.ThrowIfNull(credential);
AzureBicepResourceScope.cs (5)
19ArgumentNullException.ThrowIfNull(resourceGroup); 31ArgumentNullException.ThrowIfNull(subscription); 53ArgumentNullException.ThrowIfNull(subscription); 65ArgumentNullException.ThrowIfNull(subscription); 106ArgumentNullException.ThrowIfNull(annotation);
AzureEnvironmentResource.cs (1)
72/// <exception cref="ArgumentNullException">Thrown when the name is null or empty.</exception>
AzureEnvironmentResourceExtensions.cs (4)
116ArgumentNullException.ThrowIfNull(builder); 117ArgumentNullException.ThrowIfNull(location); 141ArgumentNullException.ThrowIfNull(builder); 142ArgumentNullException.ThrowIfNull(resourceGroup);
AzureProvisioningController.cs (26)
550ArgumentNullException.ThrowIfNull(model); 557ArgumentNullException.ThrowIfNull(model); 565ArgumentNullException.ThrowIfNull(model); 572ArgumentNullException.ThrowIfNull(model); 573ArgumentNullException.ThrowIfNull(options); 580ArgumentNullException.ThrowIfNull(model); 587ArgumentNullException.ThrowIfNull(model); 594ArgumentNullException.ThrowIfNull(model); 601ArgumentNullException.ThrowIfNull(model); 632ArgumentNullException.ThrowIfNull(model); 640ArgumentNullException.ThrowIfNull(model); 648ArgumentNullException.ThrowIfNull(model); 656ArgumentNullException.ThrowIfNull(model); 717ArgumentNullException.ThrowIfNull(model); 733ArgumentNullException.ThrowIfNull(context); 746ArgumentNullException.ThrowIfNull(context); 759ArgumentNullException.ThrowIfNull(context); 772ArgumentNullException.ThrowIfNull(context); 785ArgumentNullException.ThrowIfNull(context); 799ArgumentNullException.ThrowIfNull(context); 812ArgumentNullException.ThrowIfNull(context); 825ArgumentNullException.ThrowIfNull(context); 838ArgumentNullException.ThrowIfNull(context); 851ArgumentNullException.ThrowIfNull(context); 935ArgumentNullException.ThrowIfNull(context); 1429ArgumentNullException.ThrowIfNull(queuedOperation);
AzureProvisioningResource.cs (6)
128ArgumentNullException.ThrowIfNull(infrastructure); 129ArgumentNullException.ThrowIfNull(createExisting); 130ArgumentNullException.ThrowIfNull(createNew); 169ArgumentNullException.ThrowIfNull(aspireResource); 170ArgumentNullException.ThrowIfNull(infra); 171ArgumentNullException.ThrowIfNull(provisionableResource);
AzureProvisioningResourceExtensions.cs (16)
45ArgumentNullException.ThrowIfNull(builder); 46ArgumentNullException.ThrowIfNull(configure); 69ArgumentNullException.ThrowIfNull(secretReference); 70ArgumentNullException.ThrowIfNull(infrastructure); 131ArgumentNullException.ThrowIfNull(parameterResourceBuilder); 132ArgumentNullException.ThrowIfNull(infrastructure); 152ArgumentNullException.ThrowIfNull(manifestExpressionProvider); 153ArgumentNullException.ThrowIfNull(infrastructure); 183ArgumentNullException.ThrowIfNull(parameterResource); 184ArgumentNullException.ThrowIfNull(infrastructure); 213ArgumentNullException.ThrowIfNull(outputReference); 214ArgumentNullException.ThrowIfNull(infrastructure); 241ArgumentNullException.ThrowIfNull(endpointReference); 242ArgumentNullException.ThrowIfNull(infrastructure); 268ArgumentNullException.ThrowIfNull(expression); 269ArgumentNullException.ThrowIfNull(infrastructure);
AzurePublishingContext.cs (2)
85ArgumentNullException.ThrowIfNull(model); 86ArgumentNullException.ThrowIfNull(outputPath);
AzureResourceExtensions.cs (1)
72ArgumentNullException.ThrowIfNull(builder);
AzureUserAssignedIdentityExtensions.cs (4)
18/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 32ArgumentNullException.ThrowIfNull(builder); 69ArgumentNullException.ThrowIfNull(builder); 70ArgumentNullException.ThrowIfNull(identityResourceBuilder);
ExistingAzureResourceExtensions.cs (27)
24ArgumentNullException.ThrowIfNull(resource); 52ArgumentNullException.ThrowIfNull(builder); 69ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(builder); 124ArgumentNullException.ThrowIfNull(builder); 162ArgumentNullException.ThrowIfNull(builder); 201ArgumentNullException.ThrowIfNull(builder); 219ArgumentNullException.ThrowIfNull(builder); 258ArgumentNullException.ThrowIfNull(builder); 276ArgumentNullException.ThrowIfNull(builder); 315ArgumentNullException.ThrowIfNull(builder); 333ArgumentNullException.ThrowIfNull(builder); 372ArgumentNullException.ThrowIfNull(builder); 390ArgumentNullException.ThrowIfNull(builder); 432ArgumentNullException.ThrowIfNull(builder); 450ArgumentNullException.ThrowIfNull(builder); 492ArgumentNullException.ThrowIfNull(builder); 510ArgumentNullException.ThrowIfNull(builder); 551ArgumentNullException.ThrowIfNull(builder); 568ArgumentNullException.ThrowIfNull(builder); 603ArgumentNullException.ThrowIfNull(builder); 620ArgumentNullException.ThrowIfNull(builder); 655ArgumentNullException.ThrowIfNull(builder); 672ArgumentNullException.ThrowIfNull(builder); 698ArgumentNullException.ThrowIfNull(builder); 711ArgumentNullException.ThrowIfNull(builder); 724ArgumentNullException.ThrowIfNull(builder);
Provisioning\Internal\DefaultArmClientProvider.cs (2)
38ArgumentNullException.ThrowIfNull(options); 39ArgumentNullException.ThrowIfNull(timeProvider);
src\Shared\StringUtils.cs (2)
38ArgumentNullException.ThrowIfNull(value); 39ArgumentNullException.ThrowIfNull(suffix);
Aspire.Hosting.Azure.AppConfiguration (4)
AzureAppConfigurationExtensions.cs (4)
39ArgumentNullException.ThrowIfNull(builder); 141ArgumentNullException.ThrowIfNull(builder); 155ArgumentNullException.ThrowIfNull(builder); 170ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.AppContainers (31)
AzureContainerAppContainerExtensions.cs (2)
38ArgumentNullException.ThrowIfNull(container); 39ArgumentNullException.ThrowIfNull(configure);
AzureContainerAppEnvironmentResource.cs (1)
366ArgumentNullException.ThrowIfNull(endpointReferenceExpression);
AzureContainerAppExecutableExtensions.cs (2)
38ArgumentNullException.ThrowIfNull(executable); 39ArgumentNullException.ThrowIfNull(configure);
AzureContainerAppExtensions.cs (9)
46ArgumentNullException.ThrowIfNull(builder); 958/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 1001ArgumentNullException.ThrowIfNull(builder); 1048/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="workspaceBuilder"/> is null.</exception> 1052ArgumentNullException.ThrowIfNull(builder); 1053ArgumentNullException.ThrowIfNull(workspaceBuilder); 1104/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="identityBuilder"/> is <see langword="null"/>.</exception> 1110ArgumentNullException.ThrowIfNull(builder); 1111ArgumentNullException.ThrowIfNull(identityBuilder);
AzureContainerAppPolyglotCustomization.cs (2)
17ArgumentNullException.ThrowIfNull(containerApp); 18ArgumentNullException.ThrowIfNull(scale);
AzureContainerAppProjectExtensions.cs (2)
39ArgumentNullException.ThrowIfNull(project); 40ArgumentNullException.ThrowIfNull(configure);
ContainerAppExtensions.cs (9)
60ArgumentNullException.ThrowIfNull(app); 61ArgumentNullException.ThrowIfNull(customDomain); 62ArgumentNullException.ThrowIfNull(certificateName); 156ArgumentNullException.ThrowIfNull(resource); 157ArgumentNullException.ThrowIfNull(configure); 193ArgumentNullException.ThrowIfNull(resource); 211ArgumentNullException.ThrowIfNull(resource); 242ArgumentNullException.ThrowIfNull(resource); 264ArgumentNullException.ThrowIfNull(resource);
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
42ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.AppService (21)
AzureAppServiceComputeResourceExtensions.cs (2)
40ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(builder);
AzureAppServiceEnvironmentExtensions.cs (10)
359ArgumentNullException.ThrowIfNull(builder); 372ArgumentNullException.ThrowIfNull(builder); 437ArgumentNullException.ThrowIfNull(builder); 438ArgumentNullException.ThrowIfNull(deploymentSlot); 452ArgumentNullException.ThrowIfNull(builder); 453ArgumentNullException.ThrowIfNull(deploymentSlot); 472ArgumentNullException.ThrowIfNull(builder); 535/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="identityBuilder"/> is <see langword="null"/>.</exception> 541ArgumentNullException.ThrowIfNull(builder); 542ArgumentNullException.ThrowIfNull(identityBuilder);
AzureAppServiceEnvironmentResource.cs (1)
518ArgumentNullException.ThrowIfNull(endpointReferenceExpression);
AzureAppServicePolyglotCustomization.cs (4)
17ArgumentNullException.ThrowIfNull(webSite); 18ArgumentNullException.ThrowIfNull(siteConfig); 30ArgumentNullException.ThrowIfNull(webSiteSlot); 31ArgumentNullException.ThrowIfNull(siteConfig);
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
Aspire.Hosting.Azure.CognitiveServices (8)
AzureOpenAIDeploymentResource.cs (1)
38ArgumentNullException.ThrowIfNull(parent);
AzureOpenAIExtensions.cs (6)
38ArgumentNullException.ThrowIfNull(builder); 172ArgumentNullException.ThrowIfNull(builder); 173ArgumentNullException.ThrowIfNull(deployment); 193ArgumentNullException.ThrowIfNull(builder); 215ArgumentNullException.ThrowIfNull(builder); 216ArgumentNullException.ThrowIfNull(configure);
AzureOpenAIResource.cs (1)
75ArgumentNullException.ThrowIfNull(deployment);
Aspire.Hosting.Azure.ContainerRegistry (9)
AzureContainerRegistryExtensions.cs (9)
30/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 35ArgumentNullException.ThrowIfNull(builder); 87/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="registryBuilder"/> is null.</exception> 92ArgumentNullException.ThrowIfNull(builder); 93ArgumentNullException.ThrowIfNull(registryBuilder); 109/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is <see langword="null"/>.</exception> 116ArgumentNullException.ThrowIfNull(builder); 141/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is <see langword="null"/>.</exception> 162ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.CosmosDB (19)
AzureCosmosDBContainerResource.cs (2)
31ArgumentNullException.ThrowIfNull(partitionKeyPaths); 92ArgumentNullException.ThrowIfNull(value);
AzureCosmosDBExtensions.cs (16)
38ArgumentNullException.ThrowIfNull(builder); 98ArgumentNullException.ThrowIfNull(builder); 269ArgumentNullException.ThrowIfNull(builder); 295ArgumentNullException.ThrowIfNull(builder); 315ArgumentNullException.ThrowIfNull(builder); 341ArgumentNullException.ThrowIfNull(builder); 360ArgumentNullException.ThrowIfNull(builder); 384ArgumentNullException.ThrowIfNull(builder); 408ArgumentNullException.ThrowIfNull(builder); 410ArgumentNullException.ThrowIfNull(partitionKeyPaths); 431ArgumentNullException.ThrowIfNull(builder); 433ArgumentNullException.ThrowIfNull(partitionKeyPaths); 481ArgumentNullException.ThrowIfNull(builder); 547ArgumentNullException.ThrowIfNull(builder); 577ArgumentNullException.ThrowIfNull(builder); 593ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Hosting.Azure.EventHubs (14)
AzureEventHubsExtensions.cs (14)
47ArgumentNullException.ThrowIfNull(builder); 144ArgumentNullException.ThrowIfNull(builder); 163ArgumentNullException.ThrowIfNull(builder); 186ArgumentNullException.ThrowIfNull(builder); 187ArgumentNullException.ThrowIfNull(configure); 208ArgumentNullException.ThrowIfNull(builder); 254ArgumentNullException.ThrowIfNull(builder); 375ArgumentNullException.ThrowIfNull(builder); 389ArgumentNullException.ThrowIfNull(builder); 403ArgumentNullException.ThrowIfNull(builder); 417ArgumentNullException.ThrowIfNull(builder); 435ArgumentNullException.ThrowIfNull(builder); 451ArgumentNullException.ThrowIfNull(builder); 452ArgumentNullException.ThrowIfNull(configJson);
Aspire.Hosting.Azure.FrontDoor (7)
AzureFrontDoorExtensions.cs (3)
61ArgumentNullException.ThrowIfNull(builder); 187ArgumentNullException.ThrowIfNull(builder); 188ArgumentNullException.ThrowIfNull(resource);
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
Aspire.Hosting.Azure.Functions (8)
AzureFunctionsProjectResourceExtensions.cs (7)
67ArgumentNullException.ThrowIfNull(builder); 124ArgumentNullException.ThrowIfNull(builder); 126ArgumentNullException.ThrowIfNull(projectPath); 325ArgumentNullException.ThrowIfNull(builder); 326ArgumentNullException.ThrowIfNull(storage); 345ArgumentNullException.ThrowIfNull(destination); 346ArgumentNullException.ThrowIfNull(source);
DurableTask\DurableTaskResourceExtensions.cs (1)
139ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.KeyVault (17)
AzureKeyVaultResourceExtensions.cs (17)
66ArgumentNullException.ThrowIfNull(builder); 67ArgumentNullException.ThrowIfNull(name); 239ArgumentNullException.ThrowIfNull(builder); 254ArgumentNullException.ThrowIfNull(builder); 255ArgumentNullException.ThrowIfNull(parameterResource); 270ArgumentNullException.ThrowIfNull(builder); 271ArgumentNullException.ThrowIfNull(value); 293ArgumentNullException.ThrowIfNull(builder); 294ArgumentNullException.ThrowIfNull(parameterResource); 314ArgumentNullException.ThrowIfNull(builder); 315ArgumentNullException.ThrowIfNull(value); 336ArgumentNullException.ThrowIfNull(builder); 337ArgumentNullException.ThrowIfNull(parameterResource); 353ArgumentNullException.ThrowIfNull(builder); 354ArgumentNullException.ThrowIfNull(parameterResource); 375ArgumentNullException.ThrowIfNull(builder); 376ArgumentNullException.ThrowIfNull(value);
Aspire.Hosting.Azure.Kubernetes (24)
AzureCertManagerExtensions.cs (1)
39ArgumentNullException.ThrowIfNull(builder);
AzureKubernetesEnvironmentExtensions.cs (12)
54ArgumentNullException.ThrowIfNull(builder); 171ArgumentNullException.ThrowIfNull(builder); 225ArgumentNullException.ThrowIfNull(builder); 261ArgumentNullException.ThrowIfNull(builder); 262ArgumentNullException.ThrowIfNull(subnet); 296ArgumentNullException.ThrowIfNull(builder); 297ArgumentNullException.ThrowIfNull(subnet); 327ArgumentNullException.ThrowIfNull(builder); 328ArgumentNullException.ThrowIfNull(registry); 421ArgumentNullException.ThrowIfNull(builder); 423ArgumentNullException.ThrowIfNull(subnet); 503ArgumentNullException.ThrowIfNull(builder);
AzureKubernetesIngressExtensions.cs (7)
48ArgumentNullException.ThrowIfNull(builder); 78ArgumentNullException.ThrowIfNull(builder); 130ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder); 166ArgumentNullException.ThrowIfNull(loadBalancer); 203ArgumentNullException.ThrowIfNull(builder); 204ArgumentNullException.ThrowIfNull(loadBalancer);
AzureKubernetesLoadBalancerResource.cs (3)
70ArgumentNullException.ThrowIfNull(parent); 71ArgumentNullException.ThrowIfNull(subnetIdReference); 72ArgumentNullException.ThrowIfNull(subnetResource);
AzureKubernetesPersistentVolumeExtensions.cs (1)
57ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.Kubernetes.Tests (7)
AzureKubernetesEnvironmentExtensionsTests.cs (1)
136Assert.Throws<ArgumentNullException>(() =>
AzureKubernetesHelmChartTests.cs (1)
106Assert.Throws<ArgumentNullException>(() =>
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Azure.Kusto (10)
AzureKustoBuilderExtensions.cs (6)
48ArgumentNullException.ThrowIfNull(builder); 112ArgumentNullException.ThrowIfNull(builder); 161ArgumentNullException.ThrowIfNull(builder); 204ArgumentNullException.ThrowIfNull(builder); 205ArgumentNullException.ThrowIfNull(script); 223ArgumentNullException.ThrowIfNull(builder);
AzureKustoCreateDatabaseScriptAnnotation.cs (1)
21ArgumentNullException.ThrowIfNull(script);
AzureKustoHealthCheckBuilderExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(builder); 25ArgumentNullException.ThrowIfNull(connectionStringFactory);
AzureKustoReadWriteDatabaseResource.cs (1)
30ArgumentNullException.ThrowIfNull(kustoParentResource);
Aspire.Hosting.Azure.Kusto.Tests (10)
AddAzureKustoTests.cs (5)
153Assert.Throws<ArgumentNullException>(() => builder.AddAzureKustoCluster(invalidName!)); 160Assert.Throws<ArgumentNullException>(() => ((IDistributedApplicationBuilder)null!).AddAzureKustoCluster("test")); 167Assert.Throws<ArgumentNullException>(() => ((IResourceBuilder<AzureKustoClusterResource>)null!).RunAsEmulator()); 375var exception = Assert.Throws<ArgumentNullException>(() => builder.RunAsEmulator(c => c.WithHostPort(8080)));
KustoPublicApiTests.cs (5)
15Assert.Throws<ArgumentNullException>(action); 54Assert.Throws<ArgumentNullException>(action); 82Assert.Throws<ArgumentNullException>(action); 110Assert.Throws<ArgumentNullException>(action); 133Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Azure.Network (30)
AzureNatGatewayExtensions.cs (3)
44ArgumentNullException.ThrowIfNull(builder); 82ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(publicIPAddress);
AzureNetworkSecurityGroupExtensions.cs (3)
43ArgumentNullException.ThrowIfNull(builder); 95ArgumentNullException.ThrowIfNull(builder); 96ArgumentNullException.ThrowIfNull(rule);
AzureNetworkSecurityPerimeterExtensions.cs (5)
38ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(builder); 84ArgumentNullException.ThrowIfNull(rule); 141ArgumentNullException.ThrowIfNull(target); 142ArgumentNullException.ThrowIfNull(nsp);
AzurePrivateEndpointExtensions.cs (2)
54ArgumentNullException.ThrowIfNull(subnet); 55ArgumentNullException.ThrowIfNull(target);
AzurePublicIPAddressExtensions.cs (1)
40ArgumentNullException.ThrowIfNull(builder);
AzureVirtualNetworkExtensions.cs (15)
37ArgumentNullException.ThrowIfNull(builder); 68ArgumentNullException.ThrowIfNull(builder); 70ArgumentNullException.ThrowIfNull(addressPrefix); 198ArgumentNullException.ThrowIfNull(builder); 232ArgumentNullException.ThrowIfNull(builder); 234ArgumentNullException.ThrowIfNull(addressPrefix); 253ArgumentNullException.ThrowIfNull(addressPrefix); 313ArgumentNullException.ThrowIfNull(builder); 314ArgumentNullException.ThrowIfNull(subnet); 384ArgumentNullException.ThrowIfNull(builder); 433ArgumentNullException.ThrowIfNull(builder); 434ArgumentNullException.ThrowIfNull(natGateway); 466ArgumentNullException.ThrowIfNull(builder); 467ArgumentNullException.ThrowIfNull(nsg); 612ArgumentNullException.ThrowIfNull(builder);
AzureVirtualNetworkResource.cs (1)
70ArgumentNullException.ThrowIfNull(addressPrefix);
Aspire.Hosting.Azure.OperationalInsights (2)
AzureLogAnalyticsWorkspaceExtensions.cs (2)
26ArgumentNullException.ThrowIfNull(builder); 27ArgumentNullException.ThrowIfNull(name);
Aspire.Hosting.Azure.PostgreSQL (8)
AzurePostgresExtensions.cs (8)
40ArgumentNullException.ThrowIfNull(builder); 145ArgumentNullException.ThrowIfNull(builder); 167ArgumentNullException.ThrowIfNull(builder); 222ArgumentNullException.ThrowIfNull(builder); 305ArgumentNullException.ThrowIfNull(builder); 337ArgumentNullException.ThrowIfNull(builder); 360ArgumentNullException.ThrowIfNull(builder); 418ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.Redis (12)
AzureManagedRedisExtensions.cs (6)
53ArgumentNullException.ThrowIfNull(builder); 94ArgumentNullException.ThrowIfNull(builder); 137ArgumentNullException.ThrowIfNull(builder); 167ArgumentNullException.ThrowIfNull(builder); 183ArgumentNullException.ThrowIfNull(builder); 184ArgumentNullException.ThrowIfNull(keyVaultBuilder);
AzureRedisExtensions.cs (6)
32ArgumentNullException.ThrowIfNull(builder); 119ArgumentNullException.ThrowIfNull(builder); 158ArgumentNullException.ThrowIfNull(builder); 201ArgumentNullException.ThrowIfNull(builder); 232ArgumentNullException.ThrowIfNull(builder); 233ArgumentNullException.ThrowIfNull(keyVaultBuilder);
Aspire.Hosting.Azure.Search (1)
AzureSearchExtensions.cs (1)
38ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.ServiceBus (20)
AzureServiceBusExtensions.cs (20)
46ArgumentNullException.ThrowIfNull(builder); 158ArgumentNullException.ThrowIfNull(builder); 177ArgumentNullException.ThrowIfNull(builder); 200ArgumentNullException.ThrowIfNull(builder); 201ArgumentNullException.ThrowIfNull(configure); 218ArgumentNullException.ThrowIfNull(builder); 237ArgumentNullException.ThrowIfNull(builder); 239ArgumentNullException.ThrowIfNull(subscriptions); 263ArgumentNullException.ThrowIfNull(builder); 286ArgumentNullException.ThrowIfNull(builder); 287ArgumentNullException.ThrowIfNull(configure); 306ArgumentNullException.ThrowIfNull(builder); 336ArgumentNullException.ThrowIfNull(builder); 359ArgumentNullException.ThrowIfNull(builder); 360ArgumentNullException.ThrowIfNull(configure); 398ArgumentNullException.ThrowIfNull(builder); 529ArgumentNullException.ThrowIfNull(builder); 561ArgumentNullException.ThrowIfNull(builder); 562ArgumentNullException.ThrowIfNull(configJson); 579ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.SignalR (2)
AzureSignalRExtensions.cs (2)
59ArgumentNullException.ThrowIfNull(builder); 152ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.Sql (8)
AzureSqlExtensions.cs (8)
26ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder); 183ArgumentNullException.ThrowIfNull(builder); 401ArgumentNullException.ThrowIfNull(builder); 402ArgumentNullException.ThrowIfNull(subnet); 451ArgumentNullException.ThrowIfNull(builder); 452ArgumentNullException.ThrowIfNull(storage);
Aspire.Hosting.Azure.Storage (19)
AzureStorageExtensions.cs (19)
43ArgumentNullException.ThrowIfNull(builder); 184ArgumentNullException.ThrowIfNull(builder); 279ArgumentNullException.ThrowIfNull(builder); 294ArgumentNullException.ThrowIfNull(builder); 308ArgumentNullException.ThrowIfNull(builder); 325ArgumentNullException.ThrowIfNull(builder); 343ArgumentNullException.ThrowIfNull(builder); 361ArgumentNullException.ThrowIfNull(builder); 388ArgumentNullException.ThrowIfNull(builder); 416ArgumentNullException.ThrowIfNull(builder); 459ArgumentNullException.ThrowIfNull(builder); 468ArgumentNullException.ThrowIfNull(builder); 487ArgumentNullException.ThrowIfNull(builder); 528ArgumentNullException.ThrowIfNull(builder); 554ArgumentNullException.ThrowIfNull(builder); 591ArgumentNullException.ThrowIfNull(builder); 608ArgumentNullException.ThrowIfNull(builder); 632ArgumentNullException.ThrowIfNull(builder); 651ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Azure.Tests (301)
AzureContainerAppsTests.cs (1)
2252Assert.Throws<ArgumentNullException>(() => AzureContainerAppExtensions.WithUniqueResourceNaming(null!));
AzureFrontDoorTests.cs (2)
150Assert.Throws<ArgumentNullException>(() => builder.AddAzureFrontDoor(null!)); 159Assert.Throws<ArgumentNullException>(() => frontDoor.WithOrigin((IResourceBuilder<ProjectResource>)null!));
PublicApiTests\AppConfigurationPublicApiTests.cs (6)
18var exception = Assert.Throws<ArgumentNullException>(action); 33? Assert.Throws<ArgumentNullException>(action) 49? Assert.Throws<ArgumentNullException>(action) 62var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\AppContainersPublicApiTests.cs (22)
20var exception = Assert.Throws<ArgumentNullException>(action); 33var exception = Assert.Throws<ArgumentNullException>(action); 44var exception = Assert.Throws<ArgumentNullException>(action); 56var exception = Assert.Throws<ArgumentNullException>(action); 69var exception = Assert.Throws<ArgumentNullException>(action); 85var exception = Assert.Throws<ArgumentNullException>(action); 97var exception = Assert.Throws<ArgumentNullException>(action); 110var exception = Assert.Throws<ArgumentNullException>(action); 124var exception = Assert.Throws<ArgumentNullException>(action); 138var exception = Assert.Throws<ArgumentNullException>(action); 152var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\ApplicationInsightsPublicApiTests.cs (6)
27var exception = Assert.Throws<ArgumentNullException>(action); 50? Assert.Throws<ArgumentNullException>(action) 66? Assert.Throws<ArgumentNullException>(action) 79var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\CognitiveServicesPublicApiTests.cs (10)
25? Assert.Throws<ArgumentNullException>(action) 42? Assert.Throws<ArgumentNullException>(action) 59? Assert.Throws<ArgumentNullException>(action) 72var exception = Assert.Throws<ArgumentNullException>(action); 87? Assert.Throws<ArgumentNullException>(action) 100var exception = Assert.Throws<ArgumentNullException>(action); 113var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\CosmosDBPublicApiTests.cs (49)
26? Assert.Throws<ArgumentNullException>(action) 46? Assert.Throws<ArgumentNullException>(action) 66? Assert.Throws<ArgumentNullException>(action) 86? Assert.Throws<ArgumentNullException>(action) 106? Assert.Throws<ArgumentNullException>(action) 123var exception = Assert.Throws<ArgumentNullException>(action); 171var exception = Assert.Throws<ArgumentNullException>(action); 185var exception = Assert.Throws<ArgumentNullException>(action); 202? Assert.Throws<ArgumentNullException>(action) 220? Assert.Throws<ArgumentNullException>(action) 234var exception = Assert.Throws<ArgumentNullException>(action); 245var exception = Assert.Throws<ArgumentNullException>(action); 260? Assert.Throws<ArgumentNullException>(action) 273var exception = Assert.Throws<ArgumentNullException>(action); 285var exception = Assert.Throws<ArgumentNullException>(action); 300? Assert.Throws<ArgumentNullException>(action) 313var exception = Assert.Throws<ArgumentNullException>(action); 325var exception = Assert.Throws<ArgumentNullException>(action); 336var exception = Assert.Throws<ArgumentNullException>(action); 348var exception = Assert.Throws<ArgumentNullException>(action); 360var exception = Assert.Throws<ArgumentNullException>(action); 373var exception = Assert.Throws<ArgumentNullException>(action); 390? Assert.Throws<ArgumentNullException>(action) 403var exception = Assert.Throws<ArgumentNullException>(action); 419? Assert.Throws<ArgumentNullException>(action) 433var exception = Assert.Throws<ArgumentNullException>(action); 451? Assert.Throws<ArgumentNullException>(action) 470? Assert.Throws<ArgumentNullException>(action) 483var exception = Assert.Throws<ArgumentNullException>(action); 520var exception = Assert.Throws<ArgumentNullException>(action); 534var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\EventHubsPublicApiTests.cs (46)
26? Assert.Throws<ArgumentNullException>(action) 45? Assert.Throws<ArgumentNullException>(action) 59var exception = Assert.Throws<ArgumentNullException>(action); 75? Assert.Throws<ArgumentNullException>(action) 92? Assert.Throws<ArgumentNullException>(action) 106var exception = Assert.Throws<ArgumentNullException>(action); 117var exception = Assert.Throws<ArgumentNullException>(action); 129var exception = Assert.Throws<ArgumentNullException>(action); 144? Assert.Throws<ArgumentNullException>(action) 158var exception = Assert.Throws<ArgumentNullException>(action); 175? Assert.Throws<ArgumentNullException>(action) 188var exception = Assert.Throws<ArgumentNullException>(action); 204? Assert.Throws<ArgumentNullException>(action) 217var exception = Assert.Throws<ArgumentNullException>(action); 230var exception = Assert.Throws<ArgumentNullException>(action); 242var exception = Assert.Throws<ArgumentNullException>(action); 258? Assert.Throws<ArgumentNullException>(action) 270var exception = Assert.Throws<ArgumentNullException>(action); 283var exception = Assert.Throws<ArgumentNullException>(action); 296var exception = Assert.Throws<ArgumentNullException>(action); 309var exception = Assert.Throws<ArgumentNullException>(action); 321var exception = Assert.Throws<ArgumentNullException>(action); 333var exception = Assert.Throws<ArgumentNullException>(action); 350? Assert.Throws<ArgumentNullException>(action) 363var exception = Assert.Throws<ArgumentNullException>(action); 376var exception = Assert.Throws<ArgumentNullException>(action); 391? Assert.Throws<ArgumentNullException>(action) 404var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\FunctionsPublicApiTests.cs (10)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 48var exception = Assert.Throws<ArgumentNullException>(action); 61var exception = Assert.Throws<ArgumentNullException>(action); 77var exception = Assert.Throws<ArgumentNullException>(action); 91? Assert.Throws<ArgumentNullException>(action)
PublicApiTests\KeyVaultPublicApiTests.cs (6)
21? Assert.Throws<ArgumentNullException>(action) 34var exception = Assert.Throws<ArgumentNullException>(action); 46var exception = Assert.Throws<ArgumentNullException>(action); 61? Assert.Throws<ArgumentNullException>(action)
PublicApiTests\OperationalInsightsPublicApiTests.cs (6)
21? Assert.Throws<ArgumentNullException>(action) 34var exception = Assert.Throws<ArgumentNullException>(action); 46var exception = Assert.Throws<ArgumentNullException>(action); 61? Assert.Throws<ArgumentNullException>(action)
PublicApiTests\PostgreSQLPublicApiTests.cs (25)
23var exception = Assert.Throws<ArgumentNullException>(action); 38var exception = Assert.Throws<ArgumentNullException>(action); 50var exception = Assert.Throws<ArgumentNullException>(action); 65? Assert.Throws<ArgumentNullException>(action) 78var exception = Assert.Throws<ArgumentNullException>(action); 94? Assert.Throws<ArgumentNullException>(action) 106var exception = Assert.Throws<ArgumentNullException>(action); 117var exception = Assert.Throws<ArgumentNullException>(action); 130var exception = Assert.Throws<ArgumentNullException>(action); 145var exception = Assert.Throws<ArgumentNullException>(action); 161? Assert.Throws<ArgumentNullException>(action) 178? Assert.Throws<ArgumentNullException>(action) 192var exception = Assert.Throws<ArgumentNullException>(action); 207? Assert.Throws<ArgumentNullException>(action) 220var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\RedisPublicApiTests.cs (18)
24? Assert.Throws<ArgumentNullException>(action) 37var exception = Assert.Throws<ArgumentNullException>(action); 52var exception = Assert.Throws<ArgumentNullException>(action); 67var exception = Assert.Throws<ArgumentNullException>(action); 79var exception = Assert.Throws<ArgumentNullException>(action); 94? Assert.Throws<ArgumentNullException>(action) 106var exception = Assert.Throws<ArgumentNullException>(action); 120var exception = Assert.Throws<ArgumentNullException>(action); 133var exception = Assert.Throws<ArgumentNullException>(action); 146var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\SearchPublicApiTests.cs (6)
18var exception = Assert.Throws<ArgumentNullException>(action); 33? Assert.Throws<ArgumentNullException>(action) 49? Assert.Throws<ArgumentNullException>(action) 62var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\ServiceBusPublicApiTests.cs (40)
19var exception = Assert.Throws<ArgumentNullException>(action); 31var exception = Assert.Throws<ArgumentNullException>(action); 46? Assert.Throws<ArgumentNullException>(action) 60var exception = Assert.Throws<ArgumentNullException>(action); 77? Assert.Throws<ArgumentNullException>(action) 90var exception = Assert.Throws<ArgumentNullException>(action); 106? Assert.Throws<ArgumentNullException>(action) 119var exception = Assert.Throws<ArgumentNullException>(action); 132var exception = Assert.Throws<ArgumentNullException>(action); 144var exception = Assert.Throws<ArgumentNullException>(action); 160? Assert.Throws<ArgumentNullException>(action) 173var exception = Assert.Throws<ArgumentNullException>(action); 186var exception = Assert.Throws<ArgumentNullException>(action); 198var exception = Assert.Throws<ArgumentNullException>(action); 215? Assert.Throws<ArgumentNullException>(action) 228var exception = Assert.Throws<ArgumentNullException>(action); 243var exception = Assert.Throws<ArgumentNullException>(action); 254var exception = Assert.Throws<ArgumentNullException>(action); 266var exception = Assert.Throws<ArgumentNullException>(action); 282? Assert.Throws<ArgumentNullException>(action) 295var exception = Assert.Throws<ArgumentNullException>(action); 308var exception = Assert.Throws<ArgumentNullException>(action); 320var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\SignalRPublicApiTests.cs (10)
18var exception = Assert.Throws<ArgumentNullException>(action); 38var exception = Assert.Throws<ArgumentNullException>(action); 61? Assert.Throws<ArgumentNullException>(action) 73var exception = Assert.Throws<ArgumentNullException>(action); 88? Assert.Throws<ArgumentNullException>(action) 101var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\SqlPublicApiTests.cs (16)
23? Assert.Throws<ArgumentNullException>(action) 40? Assert.Throws<ArgumentNullException>(action) 54var exception = Assert.Throws<ArgumentNullException>(action); 69var exception = Assert.Throws<ArgumentNullException>(action); 84var exception = Assert.Throws<ArgumentNullException>(action); 96var exception = Assert.Throws<ArgumentNullException>(action); 111? Assert.Throws<ArgumentNullException>(action) 124var exception = Assert.Throws<ArgumentNullException>(action); 140? Assert.Throws<ArgumentNullException>(action) 152var exception = Assert.Throws<ArgumentNullException>(action);
PublicApiTests\WebPubSubPublicApiTests.cs (17)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 48var exception = Assert.Throws<ArgumentNullException>(action); 64? Assert.Throws<ArgumentNullException>(action) 85var exception = Assert.Throws<ArgumentNullException>(action); 109? Assert.Throws<ArgumentNullException>(action) 123var exception = Assert.Throws<ArgumentNullException>(action); 138? Assert.Throws<ArgumentNullException>(action) 151var exception = Assert.Throws<ArgumentNullException>(action); 166? Assert.Throws<ArgumentNullException>(action) 179var exception = Assert.Throws<ArgumentNullException>(action);
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Azure.WebPubSub (4)
AzureWebPubSubExtensions.cs (4)
39ArgumentNullException.ThrowIfNull(builder); 181ArgumentNullException.ThrowIfNull(builder); 246ArgumentNullException.ThrowIfNull(builder); 247ArgumentNullException.ThrowIfNull(urlExpression);
Aspire.Hosting.Browsers (8)
BrowserConfiguration.cs (1)
42ArgumentNullException.ThrowIfNull(configuration);
BrowserLogsArtifacts.cs (2)
35ArgumentNullException.ThrowIfNull(timeProvider); 36ArgumentNullException.ThrowIfNull(rootDirectoryFactory);
BrowserLogsBuilderExtensions.cs (1)
122ArgumentNullException.ThrowIfNull(builder);
BrowserLogsConfigurationManager.cs (1)
150ArgumentNullException.ThrowIfNull(resource);
BrowserLogsSessionManager.cs (3)
64ArgumentNullException.ThrowIfNull(resource); 65ArgumentNullException.ThrowIfNull(configuration.Browser); 67ArgumentNullException.ThrowIfNull(url);
Aspire.Hosting.Browsers.Tests (8)
src\Aspire.Hosting.Browsers\BrowserConfiguration.cs (1)
42ArgumentNullException.ThrowIfNull(configuration);
src\Aspire.Hosting.Browsers\BrowserLogsArtifacts.cs (2)
35ArgumentNullException.ThrowIfNull(timeProvider); 36ArgumentNullException.ThrowIfNull(rootDirectoryFactory);
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
122ArgumentNullException.ThrowIfNull(builder);
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (1)
150ArgumentNullException.ThrowIfNull(resource);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (3)
64ArgumentNullException.ThrowIfNull(resource); 65ArgumentNullException.ThrowIfNull(configuration.Browser); 67ArgumentNullException.ThrowIfNull(url);
Aspire.Hosting.CodeGeneration.TypeScript (1)
src\Shared\AppHostProfilePortGenerator.cs (1)
23ArgumentNullException.ThrowIfNull(random);
Aspire.Hosting.Containers.Tests (2)
ContainerFileSystemCallbackContextTests.cs (1)
135Assert.Throws<ArgumentNullException>(() => context.CreateDirectory("conf.d", entries: null!));
ContainerMountAnnotationTests.cs (1)
16Assert.Throws<ArgumentNullException>("source", () => new ContainerMountAnnotation(source, "/usr/foo", ContainerMountType.BindMount, false));
Aspire.Hosting.DevTunnels (22)
DevTunnelCliClient.cs (2)
25ArgumentNullException.ThrowIfNull(configuration); 26ArgumentNullException.ThrowIfNull(cli);
DevTunnelResourceBuilderExtensions.cs (19)
55ArgumentNullException.ThrowIfNull(builder); 56ArgumentNullException.ThrowIfNull(name); 268ArgumentNullException.ThrowIfNull(tunnelBuilder); 269ArgumentNullException.ThrowIfNull(resourceBuilder); 292ArgumentNullException.ThrowIfNull(tunnelBuilder); 293ArgumentNullException.ThrowIfNull(resourceBuilder); 346ArgumentNullException.ThrowIfNull(tunnelBuilder); 347ArgumentNullException.ThrowIfNull(targetEndpoint); 385ArgumentNullException.ThrowIfNull(tunnelBuilder); 386ArgumentNullException.ThrowIfNull(resourceBuilder); 387ArgumentNullException.ThrowIfNull(endpointName); 405ArgumentNullException.ThrowIfNull(tunnelBuilder); 406ArgumentNullException.ThrowIfNull(resource); 407ArgumentNullException.ThrowIfNull(endpointName); 429ArgumentNullException.ThrowIfNull(tunnelBuilder); 430ArgumentNullException.ThrowIfNull(targetEndpointReference); 470ArgumentNullException.ThrowIfNull(builder); 471ArgumentNullException.ThrowIfNull(targetResource); 472ArgumentNullException.ThrowIfNull(tunnelResource);
src\Shared\EnvironmentVariableNameEncoder.cs (1)
23ArgumentNullException.ThrowIfNull(name);
Aspire.Hosting.Docker (23)
DockerComposeAspireDashboardResourceBuilderExtensions.cs (3)
25/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is <c>null</c>.</exception> 31ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(builder);
DockerComposeEnvironmentExtensions.cs (10)
78ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder); 115ArgumentNullException.ThrowIfNull(configure); 136ArgumentNullException.ThrowIfNull(builder); 137ArgumentNullException.ThrowIfNull(configure); 159ArgumentNullException.ThrowIfNull(builder); 160ArgumentNullException.ThrowIfNull(configure); 176ArgumentNullException.ThrowIfNull(builder); 193ArgumentNullException.ThrowIfNull(builder); 194ArgumentNullException.ThrowIfNull(configure);
DockerComposePublishingContext.cs (2)
52ArgumentNullException.ThrowIfNull(model); 53ArgumentNullException.ThrowIfNull(OutputPath);
DockerComposeResourceExtensions.cs (6)
35ArgumentNullException.ThrowIfNull(composeFile); 65ArgumentNullException.ThrowIfNull(composeFile); 96ArgumentNullException.ThrowIfNull(composeFile); 130ArgumentNullException.ThrowIfNull(composeFile); 163ArgumentNullException.ThrowIfNull(composeFile); 198ArgumentNullException.ThrowIfNull(service);
DockerComposeServiceExtensions.cs (2)
38ArgumentNullException.ThrowIfNull(builder); 39ArgumentNullException.ThrowIfNull(configure);
Aspire.Hosting.Docker.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Dotnet (9)
DotnetProjectHostingExtensions.cs (9)
49ArgumentNullException.ThrowIfNull(builder); 50ArgumentNullException.ThrowIfNull(name); 51ArgumentNullException.ThrowIfNull(path); 101ArgumentNullException.ThrowIfNull(builder); 102ArgumentNullException.ThrowIfNull(name); 103ArgumentNullException.ThrowIfNull(path); 104ArgumentNullException.ThrowIfNull(configure); 225ArgumentNullException.ThrowIfNull(target); 226ArgumentNullException.ThrowIfNull(source);
Aspire.Hosting.Dotnet.Tests (11)
DotnetProjectPublicApiTests.cs (11)
58? Assert.Throws<ArgumentNullException>(action) 70var exception = Assert.Throws<ArgumentNullException>(action); 83var exception = Assert.Throws<ArgumentNullException>(action); 94var exception = Assert.Throws<ArgumentNullException>(action); 105var exception = Assert.Throws<ArgumentNullException>(action); 116var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.DotnetTool.Tests (1)
AddDotnetToolTests.cs (1)
39Assert.Throws<ArgumentNullException>(() => builder.AddDotnetTool("mytool", null!));
Aspire.Hosting.EntityFrameworkCore (7)
EFMigrationResourceBuilderExtensions.cs (2)
161ArgumentNullException.ThrowIfNull(builder); 277ArgumentNullException.ThrowIfNull(builder);
EFResourceBuilderExtensions.cs (5)
50ArgumentNullException.ThrowIfNull(builder); 77ArgumentNullException.ThrowIfNull(builder); 96ArgumentNullException.ThrowIfNull(builder); 111ArgumentNullException.ThrowIfNull(builder); 136ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.EntityFrameworkCore.Tests (2)
AddEFMigrationsTests.cs (1)
154Assert.Throws<ArgumentNullException>(() =>
EFMigrationConfigurationTests.cs (1)
188Assert.Throws<ArgumentNullException>(() => migrations.WithMigrationsProject(null!));
Aspire.Hosting.Foundry (94)
FoundryExtensions.cs (9)
63ArgumentNullException.ThrowIfNull(builder); 97ArgumentNullException.ThrowIfNull(builder); 98ArgumentNullException.ThrowIfNull(model); 132ArgumentNullException.ThrowIfNull(builder); 133ArgumentNullException.ThrowIfNull(model); 152ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(configure); 168ArgumentNullException.ThrowIfNull(builder, nameof(builder)); 336ArgumentNullException.ThrowIfNull(deployment, nameof(deployment));
FoundryResource.cs (1)
121ArgumentNullException.ThrowIfNull(deployment);
HostedAgent\AzureHostedAgentResource.cs (2)
39ArgumentNullException.ThrowIfNull(target); 156ArgumentNullException.ThrowIfNull(project);
HostedAgent\HostedAgentBuilderExtension.cs (7)
112ArgumentNullException.ThrowIfNull(configure); 131/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="project"/> is <see langword="null"/>.</exception> 139ArgumentNullException.ThrowIfNull(project); 161/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="project"/> is <see langword="null"/>.</exception> 171ArgumentNullException.ThrowIfNull(project); 213ArgumentNullException.ThrowIfNull(builder); 253ArgumentNullException.ThrowIfNull(configure);
Project\ConnectionBuilderExtensions.cs (15)
38ArgumentNullException.ThrowIfNull(builder); 86ArgumentNullException.ThrowIfNull(builder); 124ArgumentNullException.ThrowIfNull(builder); 125ArgumentNullException.ThrowIfNull(storage); 164ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(registry); 207ArgumentNullException.ThrowIfNull(builder); 208ArgumentNullException.ThrowIfNull(search); 254ArgumentNullException.ThrowIfNull(builder); 255ArgumentNullException.ThrowIfNull(keyVault); 294ArgumentNullException.ThrowIfNull(builder); 295ArgumentNullException.ThrowIfNull(resource); 338ArgumentNullException.ThrowIfNull(builder); 392ArgumentNullException.ThrowIfNull(builder); 394ArgumentNullException.ThrowIfNull(bingResourceId);
Project\ProjectBuilderExtension.cs (21)
43ArgumentNullException.ThrowIfNull(builder); 69ArgumentNullException.ThrowIfNull(builder); 70ArgumentNullException.ThrowIfNull(project); 95ArgumentNullException.ThrowIfNull(builder); 96ArgumentNullException.ThrowIfNull(keyVault); 147ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder); 183ArgumentNullException.ThrowIfNull(builder); 184ArgumentNullException.ThrowIfNull(cosmosDb); 201ArgumentNullException.ThrowIfNull(builder); 202ArgumentNullException.ThrowIfNull(storage); 219ArgumentNullException.ThrowIfNull(builder); 220ArgumentNullException.ThrowIfNull(search); 237ArgumentNullException.ThrowIfNull(builder); 238ArgumentNullException.ThrowIfNull(openAI); 259ArgumentNullException.ThrowIfNull(builder); 260ArgumentNullException.ThrowIfNull(resource); 285ArgumentNullException.ThrowIfNull(builder); 301ArgumentNullException.ThrowIfNull(builder); 302ArgumentNullException.ThrowIfNull(model); 326ArgumentNullException.ThrowIfNull(builder);
Project\ProjectResource.cs (5)
231ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 368ArgumentNullException.ThrowIfNull(cosmosDb); 380ArgumentNullException.ThrowIfNull(storage); 392ArgumentNullException.ThrowIfNull(search); 404ArgumentNullException.ThrowIfNull(openAI);
PromptAgent\AzurePromptAgentResource.cs (4)
55ArgumentNullException.ThrowIfNull(project); 150ArgumentNullException.ThrowIfNull(tool); 200ArgumentNullException.ThrowIfNull(project); 281ArgumentNullException.ThrowIfNull(tool);
PromptAgent\PromptAgentBuilderExtensions.cs (21)
65ArgumentNullException.ThrowIfNull(project); 66ArgumentNullException.ThrowIfNull(model); 149ArgumentNullException.ThrowIfNull(agent); 150ArgumentNullException.ThrowIfNull(tool); 176ArgumentNullException.ThrowIfNull(project); 200ArgumentNullException.ThrowIfNull(project); 225ArgumentNullException.ThrowIfNull(project); 247ArgumentNullException.ThrowIfNull(project); 275ArgumentNullException.ThrowIfNull(project); 308ArgumentNullException.ThrowIfNull(project); 333ArgumentNullException.ThrowIfNull(tool); 334ArgumentNullException.ThrowIfNull(search); 371ArgumentNullException.ThrowIfNull(project); 444ArgumentNullException.ThrowIfNull(tool); 445ArgumentNullException.ThrowIfNull(bingReference); 502ArgumentNullException.ThrowIfNull(project); 526ArgumentNullException.ThrowIfNull(project); 564ArgumentNullException.ThrowIfNull(project); 627ArgumentNullException.ThrowIfNull(project); 682ArgumentNullException.ThrowIfNull(builder); 683ArgumentNullException.ThrowIfNull(tool);
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
ToolResources\AzureFunctionToolResource.cs (1)
47ArgumentNullException.ThrowIfNull(parameters);
ToolResources\ConfigOnlyToolDefinitions.cs (2)
32ArgumentNullException.ThrowIfNull(projectConnectionIds); 76ArgumentNullException.ThrowIfNull(projectConnectionIds);
ToolResources\FoundryToolResource.cs (1)
28ArgumentNullException.ThrowIfNull(project);
ToolResources\FunctionToolResource.cs (1)
40ArgumentNullException.ThrowIfNull(parameters);
Aspire.Hosting.Foundry.Tests (7)
HostedAgentExtensionTests.cs (1)
629Assert.Throws<ArgumentNullException>(() => app.AsHostedAgentForExport(project: null!));
PromptAgentTests.cs (1)
138Assert.Throws<ArgumentNullException>(() => project.AddPromptAgent("my-agent", null!));
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Garnet (4)
GarnetBuilderExtensions.cs (4)
104ArgumentNullException.ThrowIfNull(builder); 215ArgumentNullException.ThrowIfNull(builder); 253ArgumentNullException.ThrowIfNull(builder); 309ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Garnet.Tests (13)
GarnetPublicApiTests.cs (13)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 58var exception = Assert.Throws<ArgumentNullException>(action); 74? Assert.Throws<ArgumentNullException>(action) 86var exception = Assert.Throws<ArgumentNullException>(action); 100var exception = Assert.Throws<ArgumentNullException>(action); 116? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.GitHub.Models (5)
GitHubModelsExtensions.cs (5)
29ArgumentNullException.ThrowIfNull(builder); 108ArgumentNullException.ThrowIfNull(model); 157ArgumentNullException.ThrowIfNull(builder); 158ArgumentNullException.ThrowIfNull(apiKey); 202ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Go (11)
GoHostingExtensions.cs (11)
82ArgumentNullException.ThrowIfNull(builder); 343ArgumentNullException.ThrowIfNull(builder); 344ArgumentNullException.ThrowIfNull(args); 360ArgumentNullException.ThrowIfNull(builder); 411ArgumentNullException.ThrowIfNull(builder); 457ArgumentNullException.ThrowIfNull(builder); 505ArgumentNullException.ThrowIfNull(builder); 582ArgumentNullException.ThrowIfNull(builder); 583ArgumentNullException.ThrowIfNull(privatePatterns); 699ArgumentNullException.ThrowIfNull(builder); 733ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Go.Tests (19)
GoPublicApiTests.cs (19)
27? Assert.Throws<ArgumentNullException>(action) 39var exception = Assert.Throws<ArgumentNullException>(action); 52var exception = Assert.Throws<ArgumentNullException>(action); 67? Assert.Throws<ArgumentNullException>(action) 83? Assert.Throws<ArgumentNullException>(action) 230var exception = Assert.Throws<ArgumentNullException>(action); 287var exception = Assert.Throws<ArgumentNullException>(action); 322var exception = Assert.Throws<ArgumentNullException>(action); 356var exception = Assert.Throws<ArgumentNullException>(action); 390var exception = Assert.Throws<ArgumentNullException>(action); 424var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Java (37)
JavaHostingExtensions.cs (37)
60/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 88ArgumentNullException.ThrowIfNull(builder); 174/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 191ArgumentNullException.ThrowIfNull(builder); 195ArgumentNullException.ThrowIfNull(args); 222/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 258ArgumentNullException.ThrowIfNull(builder); 281/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 330ArgumentNullException.ThrowIfNull(builder); 355/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 410ArgumentNullException.ThrowIfNull(builder); 633/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 646ArgumentNullException.ThrowIfNull(builder); 648ArgumentNullException.ThrowIfNull(args); 661/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 674ArgumentNullException.ThrowIfNull(builder); 676ArgumentNullException.ThrowIfNull(args); 740/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 757ArgumentNullException.ThrowIfNull(builder); 758ArgumentNullException.ThrowIfNull(args); 773/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 790ArgumentNullException.ThrowIfNull(builder); 791ArgumentNullException.ThrowIfNull(args); 941/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 952ArgumentNullException.ThrowIfNull(builder); 997/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 1008ArgumentNullException.ThrowIfNull(builder); 1021/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 1039ArgumentNullException.ThrowIfNull(builder); 1052/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="args"/> is <see langword="null"/>.</exception> 1070ArgumentNullException.ThrowIfNull(builder); 1071ArgumentNullException.ThrowIfNull(args); 1093/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 1122ArgumentNullException.ThrowIfNull(builder); 1174/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 1206ArgumentNullException.ThrowIfNull(builder); 1753ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Java.Tests (28)
AddJavaAppTests.cs (18)
213var exception = Assert.Throws<ArgumentNullException>(action); 227var nullEx = Assert.Throws<ArgumentNullException>(nullAction); 272var exception = Assert.Throws<ArgumentNullException>(action); 286var nullEx = Assert.Throws<ArgumentNullException>(nullAction); 520var exception = Assert.Throws<ArgumentNullException>(action); 533var nullEx = Assert.Throws<ArgumentNullException>(nullAction); 585var exception = Assert.Throws<ArgumentNullException>(action); 597var exception = Assert.Throws<ArgumentNullException>(action); 653var exception = Assert.Throws<ArgumentNullException>(action);
AddJavaContainerTests.cs (4)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 51? Assert.Throws<ArgumentNullException>(action)
JavaPublicApiTests.cs (1)
21? Assert.Throws<ArgumentNullException>(action)
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.JavaScript (17)
JavaScriptHostingExtensions.cs (17)
141ArgumentNullException.ThrowIfNull(builder); 484ArgumentNullException.ThrowIfNull(builder); 796ArgumentNullException.ThrowIfNull(builder); 864ArgumentNullException.ThrowIfNull(apiTarget); 903ArgumentNullException.ThrowIfNull(builder); 1013ArgumentNullException.ThrowIfNull(builder); 1078ArgumentNullException.ThrowIfNull(builder); 1467ArgumentNullException.ThrowIfNull(builder); 1668ArgumentNullException.ThrowIfNull(builder); 1778ArgumentNullException.ThrowIfNull(builder); 1798ArgumentNullException.ThrowIfNull(resource); 1847ArgumentNullException.ThrowIfNull(resource); 1915ArgumentNullException.ThrowIfNull(resource); 1994ArgumentNullException.ThrowIfNull(resource); 2160ArgumentNullException.ThrowIfNull(builder); 2190ArgumentNullException.ThrowIfNull(builder); 2256ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.JavaScript.Tests (26)
AddBunAppTests.cs (1)
227Assert.Throws<ArgumentNullException>(() =>
NodeJsPublicApiTests.cs (25)
25? Assert.Throws<ArgumentNullException>(action) 42? Assert.Throws<ArgumentNullException>(action) 56var exception = Assert.Throws<ArgumentNullException>(action); 69var exception = Assert.Throws<ArgumentNullException>(action); 85? Assert.Throws<ArgumentNullException>(action) 102? Assert.Throws<ArgumentNullException>(action) 116var exception = Assert.Throws<ArgumentNullException>(action); 132? Assert.Throws<ArgumentNullException>(action) 146var exception = Assert.Throws<ArgumentNullException>(action); 163? Assert.Throws<ArgumentNullException>(action) 175var exception = Assert.Throws<ArgumentNullException>(action); 186var exception = Assert.Throws<ArgumentNullException>(action); 202? Assert.Throws<ArgumentNullException>(action) 219? Assert.Throws<ArgumentNullException>(action) 231var exception = Assert.Throws<ArgumentNullException>(action); 247? Assert.Throws<ArgumentNullException>(action) 259var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Kafka (5)
KafkaBuilderExtensions.cs (5)
36ArgumentNullException.ThrowIfNull(builder); 98ArgumentNullException.ThrowIfNull(builder); 163ArgumentNullException.ThrowIfNull(builder); 182ArgumentNullException.ThrowIfNull(builder); 200ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Kafka.Tests (14)
KafkaPublicApiTests.cs (14)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 58var exception = Assert.Throws<ArgumentNullException>(action); 69var exception = Assert.Throws<ArgumentNullException>(action); 81var exception = Assert.Throws<ArgumentNullException>(action); 97? Assert.Throws<ArgumentNullException>(action) 112? Assert.Throws<ArgumentNullException>(action) 127? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.Keycloak (8)
KeycloakResourceBuilderExtensions.cs (8)
61ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder); 190ArgumentNullException.ThrowIfNull(builder); 219ArgumentNullException.ThrowIfNull(builder); 248ArgumentNullException.ThrowIfNull(builder); 317ArgumentNullException.ThrowIfNull(builder); 334ArgumentNullException.ThrowIfNull(builder); 356ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Keycloak.Tests (14)
KeycloakPublicApiTests.cs (14)
23? Assert.Throws<ArgumentNullException>(action) 37var exception = Assert.Throws<ArgumentNullException>(action); 49var exception = Assert.Throws<ArgumentNullException>(action); 64? Assert.Throws<ArgumentNullException>(action) 76var exception = Assert.Throws<ArgumentNullException>(action); 88var exception = Assert.Throws<ArgumentNullException>(action); 104? Assert.Throws<ArgumentNullException>(action) 117var exception = Assert.Throws<ArgumentNullException>(action); 133? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.Kubernetes (112)
CertManagerExtensions.cs (8)
87ArgumentNullException.ThrowIfNull(builder); 159ArgumentNullException.ThrowIfNull(builder); 252ArgumentNullException.ThrowIfNull(builder); 277ArgumentNullException.ThrowIfNull(builder); 279ArgumentNullException.ThrowIfNull(email); 306ArgumentNullException.ThrowIfNull(builder); 335ArgumentNullException.ThrowIfNull(builder); 336ArgumentNullException.ThrowIfNull(issuer);
CertManagerIssuerResource.cs (1)
41ArgumentNullException.ThrowIfNull(parent);
CertManagerResource.cs (2)
57ArgumentNullException.ThrowIfNull(environment); 58ArgumentNullException.ThrowIfNull(helmChart);
Deployment\HelmVersionValidator.cs (1)
60ArgumentNullException.ThrowIfNull(helmRunner);
Extensions\EndpointRoutingValidation.cs (1)
37ArgumentNullException.ThrowIfNull(endpoint);
HelmChartOptions.cs (10)
59ArgumentNullException.ThrowIfNull(@namespace); 72ArgumentNullException.ThrowIfNull(@namespace); 106ArgumentNullException.ThrowIfNull(releaseName); 119ArgumentNullException.ThrowIfNull(releaseName); 158ArgumentNullException.ThrowIfNull(version); 171ArgumentNullException.ThrowIfNull(version); 205ArgumentNullException.ThrowIfNull(name); 218ArgumentNullException.ThrowIfNull(name); 252ArgumentNullException.ThrowIfNull(description); 265ArgumentNullException.ThrowIfNull(description);
KubernetesAspireDashboardResourceBuilderExtensions.cs (5)
26/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is <c>null</c>.</exception> 32ArgumentNullException.ThrowIfNull(builder); 68ArgumentNullException.ThrowIfNull(builder); 99ArgumentNullException.ThrowIfNull(builder); 131ArgumentNullException.ThrowIfNull(builder);
KubernetesEnvironmentExtensions.cs (10)
86ArgumentNullException.ThrowIfNull(builder); 141ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder); 166ArgumentNullException.ThrowIfNull(configure); 188ArgumentNullException.ThrowIfNull(builder); 209ArgumentNullException.ThrowIfNull(builder); 210ArgumentNullException.ThrowIfNull(configure); 247ArgumentNullException.ThrowIfNull(builder); 288ArgumentNullException.ThrowIfNull(builder); 289ArgumentNullException.ThrowIfNull(nodePool);
KubernetesGatewayExtensions.cs (19)
38ArgumentNullException.ThrowIfNull(builder); 65ArgumentNullException.ThrowIfNull(builder); 84ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(className); 109ArgumentNullException.ThrowIfNull(builder); 111ArgumentNullException.ThrowIfNull(endpoint); 147ArgumentNullException.ThrowIfNull(builder); 150ArgumentNullException.ThrowIfNull(endpoint); 180ArgumentNullException.ThrowIfNull(builder); 199ArgumentNullException.ThrowIfNull(builder); 200ArgumentNullException.ThrowIfNull(hostname); 222ArgumentNullException.ThrowIfNull(builder); 243ArgumentNullException.ThrowIfNull(builder); 244ArgumentNullException.ThrowIfNull(secretName); 262ArgumentNullException.ThrowIfNull(builder); 297ArgumentNullException.ThrowIfNull(builder); 299ArgumentNullException.ThrowIfNull(value); 319ArgumentNullException.ThrowIfNull(builder); 321ArgumentNullException.ThrowIfNull(value);
KubernetesHelmChartExtensions.cs (7)
65ArgumentNullException.ThrowIfNull(builder); 147ArgumentNullException.ThrowIfNull(builder); 149ArgumentNullException.ThrowIfNull(value); 170ArgumentNullException.ThrowIfNull(builder); 191ArgumentNullException.ThrowIfNull(builder); 224ArgumentNullException.ThrowIfNull(builder); 280ArgumentNullException.ThrowIfNull(builder);
KubernetesHelmChartResource.cs (1)
59ArgumentNullException.ThrowIfNull(environment);
KubernetesIngressExtensions.cs (21)
46ArgumentNullException.ThrowIfNull(builder); 75ArgumentNullException.ThrowIfNull(builder); 94ArgumentNullException.ThrowIfNull(builder); 95ArgumentNullException.ThrowIfNull(className); 124ArgumentNullException.ThrowIfNull(builder); 126ArgumentNullException.ThrowIfNull(endpoint); 167ArgumentNullException.ThrowIfNull(builder); 170ArgumentNullException.ThrowIfNull(endpoint); 205ArgumentNullException.ThrowIfNull(builder); 224ArgumentNullException.ThrowIfNull(builder); 225ArgumentNullException.ThrowIfNull(hostname); 245ArgumentNullException.ThrowIfNull(builder); 266ArgumentNullException.ThrowIfNull(builder); 267ArgumentNullException.ThrowIfNull(secretName); 285ArgumentNullException.ThrowIfNull(builder); 308ArgumentNullException.ThrowIfNull(builder); 309ArgumentNullException.ThrowIfNull(endpoint); 342ArgumentNullException.ThrowIfNull(builder); 344ArgumentNullException.ThrowIfNull(value); 364ArgumentNullException.ThrowIfNull(builder); 366ArgumentNullException.ThrowIfNull(value);
KubernetesManifestResource.cs (2)
50ArgumentNullException.ThrowIfNull(value); 67ArgumentNullException.ThrowIfNull(value);
KubernetesPersistentVolumeExtensions.cs (16)
47ArgumentNullException.ThrowIfNull(builder); 78ArgumentNullException.ThrowIfNull(builder); 99ArgumentNullException.ThrowIfNull(builder); 100ArgumentNullException.ThrowIfNull(storageClassName); 120ArgumentNullException.ThrowIfNull(builder); 140ArgumentNullException.ThrowIfNull(builder); 141ArgumentNullException.ThrowIfNull(capacity); 162ArgumentNullException.ThrowIfNull(builder); 191ArgumentNullException.ThrowIfNull(builder); 193ArgumentNullException.ThrowIfNull(value); 214ArgumentNullException.ThrowIfNull(builder); 216ArgumentNullException.ThrowIfNull(value); 263ArgumentNullException.ThrowIfNull(builder); 264ArgumentNullException.ThrowIfNull(volume); 312ArgumentNullException.ThrowIfNull(builder); 313ArgumentNullException.ThrowIfNull(volume);
KubernetesPublishingContext.cs (2)
56ArgumentNullException.ThrowIfNull(model); 57ArgumentNullException.ThrowIfNull(OutputPath);
KubernetesServiceExtensions.cs (2)
37ArgumentNullException.ThrowIfNull(builder); 38ArgumentNullException.ThrowIfNull(configure);
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
Aspire.Hosting.Kubernetes.Tests (12)
KubernetesDeployTests.cs (1)
659Assert.Throws<ArgumentNullException>(() => builder.WithHelm());
KubernetesHelmChartTests.cs (6)
126Assert.Throws<ArgumentNullException>(() => 128Assert.Throws<ArgumentNullException>(() => k8s.AddHelmChart(null!, "oci://example.com/chart", "1.0.0")); 129Assert.Throws<ArgumentNullException>(() => k8s.AddHelmChart("test", null!, "1.0.0")); 130Assert.Throws<ArgumentNullException>(() => k8s.AddHelmChart("test", "oci://example.com/chart", null!)); 345Assert.Throws<ArgumentNullException>(() => 387Assert.Throws<ArgumentNullException>(() =>
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Maui (15)
MauiAndroidExtensions.cs (4)
52ArgumentNullException.ThrowIfNull(builder); 152ArgumentNullException.ThrowIfNull(builder); 254ArgumentNullException.ThrowIfNull(builder); 357ArgumentNullException.ThrowIfNull(builder);
MauiiOSExtensions.cs (4)
56ArgumentNullException.ThrowIfNull(builder); 159ArgumentNullException.ThrowIfNull(builder); 277ArgumentNullException.ThrowIfNull(builder); 370ArgumentNullException.ThrowIfNull(builder);
MauiMacCatalystExtensions.cs (2)
45ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(builder);
MauiOtlpExtensions.cs (1)
59ArgumentNullException.ThrowIfNull(builder);
MauiProjectResourceExtensions.cs (1)
53ArgumentNullException.ThrowIfNull(builder);
MauiWindowsExtensions.cs (2)
45ArgumentNullException.ThrowIfNull(builder); 83ArgumentNullException.ThrowIfNull(builder);
src\Shared\EnvironmentVariableNameEncoder.cs (1)
23ArgumentNullException.ThrowIfNull(name);
Aspire.Hosting.Maui.Tests (2)
MauiProjectResourceValidationTests.cs (2)
18Assert.Throws<ArgumentNullException>(() => 80Assert.Throws<ArgumentNullException>(() => new MauiProjectResource("name", null!));
Aspire.Hosting.Milvus (8)
MilvusBuilderExtensions.cs (7)
49ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(builder); 144ArgumentNullException.ThrowIfNull(builder); 173ArgumentNullException.ThrowIfNull(builder); 189ArgumentNullException.ThrowIfNull(builder); 204ArgumentNullException.ThrowIfNull(builder); 220ArgumentNullException.ThrowIfNull(builder);
MilvusServerResource.cs (1)
23ArgumentNullException.ThrowIfNull(apiKey);
Aspire.Hosting.Milvus.Tests (27)
MilvusPublicApiTests.cs (27)
21? Assert.Throws<ArgumentNullException>(action) 34var exception = Assert.Throws<ArgumentNullException>(action); 49? Assert.Throws<ArgumentNullException>(action) 62var exception = Assert.Throws<ArgumentNullException>(action); 78? Assert.Throws<ArgumentNullException>(action) 90var exception = Assert.Throws<ArgumentNullException>(action); 101var exception = Assert.Throws<ArgumentNullException>(action); 113var exception = Assert.Throws<ArgumentNullException>(action); 129? Assert.Throws<ArgumentNullException>(action) 144var exception = Assert.Throws<ArgumentNullException>(action); 162? Assert.Throws<ArgumentNullException>(action) 175var exception = Assert.Throws<ArgumentNullException>(action); 191? Assert.Throws<ArgumentNullException>(action) 209? Assert.Throws<ArgumentNullException>(action) 227? Assert.Throws<ArgumentNullException>(action) 241var exception = Assert.Throws<ArgumentNullException>(action); 256? Assert.Throws<ArgumentNullException>(action) 269var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.MongoDB (8)
MongoDBBuilderExtensions.cs (8)
58ArgumentNullException.ThrowIfNull(builder); 110ArgumentNullException.ThrowIfNull(builder); 162ArgumentNullException.ThrowIfNull(builder); 191ArgumentNullException.ThrowIfNull(builder); 210ArgumentNullException.ThrowIfNull(builder); 226ArgumentNullException.ThrowIfNull(builder); 244ArgumentNullException.ThrowIfNull(builder); 260ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.MongoDB.Tests (30)
MongoDBPublicApiTests.cs (30)
20var exception = Assert.Throws<ArgumentNullException>(action); 36? Assert.Throws<ArgumentNullException>(action) 50var exception = Assert.Throws<ArgumentNullException>(action); 67? Assert.Throws<ArgumentNullException>(action) 80var exception = Assert.Throws<ArgumentNullException>(action); 96? Assert.Throws<ArgumentNullException>(action) 108var exception = Assert.Throws<ArgumentNullException>(action); 122var exception = Assert.Throws<ArgumentNullException>(action); 133var exception = Assert.Throws<ArgumentNullException>(action); 145var exception = Assert.Throws<ArgumentNullException>(action); 161? Assert.Throws<ArgumentNullException>(action) 175var exception = Assert.Throws<ArgumentNullException>(action); 193? Assert.Throws<ArgumentNullException>(action) 205var exception = Assert.Throws<ArgumentNullException>(action); 221? Assert.Throws<ArgumentNullException>(action) 238? Assert.Throws<ArgumentNullException>(action) 255? Assert.Throws<ArgumentNullException>(action) 269var exception = Assert.Throws<ArgumentNullException>(action); 283? Assert.Throws<ArgumentNullException>(action) 298? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.MySql (14)
MySqlBuilderExtensions.cs (12)
38ArgumentNullException.ThrowIfNull(builder); 118ArgumentNullException.ThrowIfNull(builder); 205ArgumentNullException.ThrowIfNull(builder); 206ArgumentNullException.ThrowIfNull(script); 223ArgumentNullException.ThrowIfNull(builder); 224ArgumentNullException.ThrowIfNull(password); 244ArgumentNullException.ThrowIfNull(builder); 333ArgumentNullException.ThrowIfNull(builder); 352ArgumentNullException.ThrowIfNull(builder); 368ArgumentNullException.ThrowIfNull(builder); 384ArgumentNullException.ThrowIfNull(builder); 400ArgumentNullException.ThrowIfNull(builder);
MySqlCreateDatabaseScriptAnnotation.cs (1)
19ArgumentNullException.ThrowIfNull(script);
MySqlServerResource.cs (1)
25ArgumentNullException.ThrowIfNull(password);
Aspire.Hosting.MySql.Tests (33)
MySqlPublicApiTests.cs (33)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 63? Assert.Throws<ArgumentNullException>(action) 75var exception = Assert.Throws<ArgumentNullException>(action); 89var exception = Assert.Throws<ArgumentNullException>(action); 100var exception = Assert.Throws<ArgumentNullException>(action); 112var exception = Assert.Throws<ArgumentNullException>(action); 128? Assert.Throws<ArgumentNullException>(action) 143var exception = Assert.Throws<ArgumentNullException>(action); 161? Assert.Throws<ArgumentNullException>(action) 174var exception = Assert.Throws<ArgumentNullException>(action); 190? Assert.Throws<ArgumentNullException>(action) 211? Assert.Throws<ArgumentNullException>(action) 232? Assert.Throws<ArgumentNullException>(action) 247var exception = Assert.Throws<ArgumentNullException>(action); 264? Assert.Throws<ArgumentNullException>(action) 277var exception = Assert.Throws<ArgumentNullException>(action); 291? Assert.Throws<ArgumentNullException>(action) 304var exception = Assert.Throws<ArgumentNullException>(action); 317var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Nats (5)
NatsBuilderExtensions.cs (5)
55ArgumentNullException.ThrowIfNull(builder); 132ArgumentNullException.ThrowIfNull(builder); 154ArgumentNullException.ThrowIfNull(builder); 170ArgumentNullException.ThrowIfNull(builder); 188ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Nats.Tests (17)
NatsPublicApiTests.cs (17)
21var exception = Assert.Throws<ArgumentNullException>(action); 38? Assert.Throws<ArgumentNullException>(action) 57var exception = Assert.Throws<ArgumentNullException>(action); 78? Assert.Throws<ArgumentNullException>(action) 92var exception = Assert.Throws<ArgumentNullException>(action); 103var exception = Assert.Throws<ArgumentNullException>(action); 114var exception = Assert.Throws<ArgumentNullException>(action); 126var exception = Assert.Throws<ArgumentNullException>(action); 142? Assert.Throws<ArgumentNullException>(action) 157? Assert.Throws<ArgumentNullException>(action) 181? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.OpenAI (6)
OpenAIExtensions.cs (6)
25ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(builder); 149ArgumentNullException.ThrowIfNull(builder); 162ArgumentNullException.ThrowIfNull(builder); 163ArgumentNullException.ThrowIfNull(apiKey); 205ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.OpenAI.Tests (4)
OpenAIExtensionTests.cs (4)
292Assert.Throws<ArgumentNullException>(() => 328Assert.Throws<ArgumentNullException>(() => 338Assert.Throws<ArgumentNullException>(() => 345Assert.Throws<ArgumentNullException>(() =>
Aspire.Hosting.Oracle (8)
OracleDatabaseBuilderExtensions.cs (7)
36ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(builder); 122ArgumentNullException.ThrowIfNull(builder); 137ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(builder); 173ArgumentNullException.ThrowIfNull(builder);
OracleDatabaseServerResource.cs (1)
22ArgumentNullException.ThrowIfNull(password);
Aspire.Hosting.Oracle.Tests (27)
OraclePublicApiTests.cs (27)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 63? Assert.Throws<ArgumentNullException>(action) 75var exception = Assert.Throws<ArgumentNullException>(action); 87var exception = Assert.Throws<ArgumentNullException>(action); 103? Assert.Throws<ArgumentNullException>(action) 118var exception = Assert.Throws<ArgumentNullException>(action); 136? Assert.Throws<ArgumentNullException>(action) 149var exception = Assert.Throws<ArgumentNullException>(action); 165? Assert.Throws<ArgumentNullException>(action) 178var exception = Assert.Throws<ArgumentNullException>(action); 194? Assert.Throws<ArgumentNullException>(action) 213? Assert.Throws<ArgumentNullException>(action) 232? Assert.Throws<ArgumentNullException>(action) 246var exception = Assert.Throws<ArgumentNullException>(action); 261? Assert.Throws<ArgumentNullException>(action) 274var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Orleans (2)
OrleansServiceExtensions.cs (2)
383/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 389ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Orleans.Tests (3)
OrleansProviderTypeTests.cs (3)
85var exception = Assert.Throws<ArgumentNullException>(action); 105? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.PostgreSQL (20)
PostgresBuilderExtensions.cs (18)
54ArgumentNullException.ThrowIfNull(builder); 150ArgumentNullException.ThrowIfNull(builder); 196ArgumentNullException.ThrowIfNull(builder); 251ArgumentNullException.ThrowIfNull(builder); 268ArgumentNullException.ThrowIfNull(builder); 307ArgumentNullException.ThrowIfNull(builder); 381ArgumentNullException.ThrowIfNull(builder); 458ArgumentNullException.ThrowIfNull(builder); 489ArgumentNullException.ThrowIfNull(builder); 509ArgumentNullException.ThrowIfNull(builder); 525ArgumentNullException.ThrowIfNull(builder); 550ArgumentNullException.ThrowIfNull(builder); 551ArgumentNullException.ThrowIfNull(script); 568ArgumentNullException.ThrowIfNull(builder); 569ArgumentNullException.ThrowIfNull(password); 585ArgumentNullException.ThrowIfNull(builder); 586ArgumentNullException.ThrowIfNull(userName); 602ArgumentNullException.ThrowIfNull(builder);
PostgresCreateDatabaseScriptAnnotation.cs (1)
19ArgumentNullException.ThrowIfNull(script);
PostgresServerResource.cs (1)
23ArgumentNullException.ThrowIfNull(password);
Aspire.Hosting.PostgreSQL.Tests (34)
PostgrePublicApiTests.cs (34)
22? Assert.Throws<ArgumentNullException>(action) 37? Assert.Throws<ArgumentNullException>(action) 50var exception = Assert.Throws<ArgumentNullException>(action); 65? Assert.Throws<ArgumentNullException>(action) 78var exception = Assert.Throws<ArgumentNullException>(action); 94? Assert.Throws<ArgumentNullException>(action) 106var exception = Assert.Throws<ArgumentNullException>(action); 118var exception = Assert.Throws<ArgumentNullException>(action); 130var exception = Assert.Throws<ArgumentNullException>(action); 141var exception = Assert.Throws<ArgumentNullException>(action); 152var exception = Assert.Throws<ArgumentNullException>(action); 164var exception = Assert.Throws<ArgumentNullException>(action); 180? Assert.Throws<ArgumentNullException>(action) 195var exception = Assert.Throws<ArgumentNullException>(action); 207var exception = Assert.Throws<ArgumentNullException>(action); 225? Assert.Throws<ArgumentNullException>(action) 242? Assert.Throws<ArgumentNullException>(action) 262? Assert.Throws<ArgumentNullException>(action) 282? Assert.Throws<ArgumentNullException>(action) 296var exception = Assert.Throws<ArgumentNullException>(action); 313? Assert.Throws<ArgumentNullException>(action) 327var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Python (13)
PythonAppResourceBuilderExtensions.cs (13)
348ArgumentNullException.ThrowIfNull(builder); 350ArgumentNullException.ThrowIfNull(appDirectory); 352ArgumentNullException.ThrowIfNull(virtualEnvironmentPath); 735ArgumentNullException.ThrowIfNull(scriptArgs); 866ArgumentNullException.ThrowIfNull(builder); 927ArgumentNullException.ThrowIfNull(builder); 1039ArgumentNullException.ThrowIfNull(builder); 1134/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 1139ArgumentNullException.ThrowIfNull(builder); 1232/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> is null.</exception> 1237ArgumentNullException.ThrowIfNull(builder); 1527ArgumentNullException.ThrowIfNull(builder); 1528ArgumentNullException.ThrowIfNull(configure);
Aspire.Hosting.Python.Tests (32)
AddPythonAppTests.cs (10)
470var exception = Assert.Throws<ArgumentNullException>(() => 485var nullException = Assert.Throws<ArgumentNullException>(() => 806var exception = Assert.Throws<ArgumentNullException>(() => 1216var exception = Assert.Throws<ArgumentNullException>(() => 1230var nullException = Assert.Throws<ArgumentNullException>(() =>
PythonPublicApiTests.cs (22)
24? Assert.Throws<ArgumentNullException>(action) 41? Assert.Throws<ArgumentNullException>(action) 54var exception = Assert.Throws<ArgumentNullException>(action); 73var exception = Assert.Throws<ArgumentNullException>(action); 95? Assert.Throws<ArgumentNullException>(action) 115var exception = Assert.Throws<ArgumentNullException>(action); 137? Assert.Throws<ArgumentNullException>(action) 157var exception = Assert.Throws<ArgumentNullException>(action); 179? Assert.Throws<ArgumentNullException>(action) 205var exception = Assert.Throws<ArgumentNullException>(action); 229? Assert.Throws<ArgumentNullException>(action) 251var exception = Assert.Throws<ArgumentNullException>(action); 275? Assert.Throws<ArgumentNullException>(action) 297var exception = Assert.Throws<ArgumentNullException>(action); 321? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.Qdrant (7)
QdrantBuilderExtensions.cs (5)
45ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder); 131ArgumentNullException.ThrowIfNull(builder); 164ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(qdrantResource);
QdrantServerResource.cs (1)
22ArgumentNullException.ThrowIfNull(apiKey);
src\Components\Aspire.Qdrant.Client\QdrantHealthCheck.cs (1)
14ArgumentNullException.ThrowIfNull(client, nameof(client));
Aspire.Hosting.Qdrant.Tests (15)
QdrantPublicApiTests.cs (15)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 58var exception = Assert.Throws<ArgumentNullException>(action); 74? Assert.Throws<ArgumentNullException>(action) 88var exception = Assert.Throws<ArgumentNullException>(action); 101var exception = Assert.Throws<ArgumentNullException>(action); 118? Assert.Throws<ArgumentNullException>(action) 131var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.RabbitMQ (7)
RabbitMQBuilderExtensions.cs (6)
37ArgumentNullException.ThrowIfNull(builder); 102ArgumentNullException.ThrowIfNull(builder); 119ArgumentNullException.ThrowIfNull(builder); 140ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(builder); 174ArgumentNullException.ThrowIfNull(builder);
RabbitMQServerResource.cs (1)
25ArgumentNullException.ThrowIfNull(password);
Aspire.Hosting.RabbitMQ.Tests (15)
RabbitMQPublicApiTests.cs (15)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 58var exception = Assert.Throws<ArgumentNullException>(action); 74? Assert.Throws<ArgumentNullException>(action) 86var exception = Assert.Throws<ArgumentNullException>(action); 98var exception = Assert.Throws<ArgumentNullException>(action); 116? Assert.Throws<ArgumentNullException>(action) 130var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Radius (38)
Annotations\RadiusCloudProvidersAnnotation.cs (1)
31ArgumentNullException.ThrowIfNull(resource);
Annotations\RadiusRecipeParametersAnnotation.cs (1)
37ArgumentNullException.ThrowIfNull(resource);
Annotations\RadiusSecretStoresAnnotation.cs (1)
29ArgumentNullException.ThrowIfNull(resource);
CloudProviders\AwsRadiusProviderBuilder.cs (2)
31ArgumentNullException.ThrowIfNull(accessKeyId); 32ArgumentNullException.ThrowIfNull(secretAccessKey);
CloudProviders\AzureRadiusProviderBuilder.cs (1)
35ArgumentNullException.ThrowIfNull(clientSecret);
CloudProviders\RadiusCloudProviderExtensions.cs (4)
47ArgumentNullException.ThrowIfNull(builder); 50ArgumentNullException.ThrowIfNull(configure); 88ArgumentNullException.ThrowIfNull(builder); 91ArgumentNullException.ThrowIfNull(configure);
RadiusEnvironmentResource.cs (1)
146ArgumentNullException.ThrowIfNull(endpointReferenceExpression);
RadiusExtensions.cs (5)
37ArgumentNullException.ThrowIfNull(builder); 68ArgumentNullException.ThrowIfNull(builder); 96ArgumentNullException.ThrowIfNull(builder); 97ArgumentNullException.ThrowIfNull(configure); 137ArgumentNullException.ThrowIfNull(builder);
Recipes\RadiusRecipeParameterExtensions.cs (4)
69ArgumentNullException.ThrowIfNull(builder); 70ArgumentNullException.ThrowIfNull(configure); 102ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(configure);
Secrets\RadiusSecretStoreConsumerExtensions.cs (2)
75ArgumentNullException.ThrowIfNull(radius); 77ArgumentNullException.ThrowIfNull(store);
Secrets\RadiusSecretStoreExtensions.cs (12)
61ArgumentNullException.ThrowIfNull(builder); 109ArgumentNullException.ThrowIfNull(radius); 110ArgumentNullException.ThrowIfNull(configure); 140ArgumentNullException.ThrowIfNull(store); 141ArgumentNullException.ThrowIfNull(configure); 183ArgumentNullException.ThrowIfNull(store); 184ArgumentNullException.ThrowIfNull(parameter); 205ArgumentNullException.ThrowIfNull(store); 239ArgumentNullException.ThrowIfNull(store); 277ArgumentNullException.ThrowIfNull(store); 302ArgumentNullException.ThrowIfNull(keys); 423ArgumentNullException.ThrowIfNull(parameter);
Secrets\RadiusSecretStoreValidation.cs (4)
26ArgumentNullException.ThrowIfNull(context); 49ArgumentNullException.ThrowIfNull(context); 66ArgumentNullException.ThrowIfNull(model); 102ArgumentNullException.ThrowIfNull(model);
Aspire.Hosting.Radius.Tests (7)
CloudProviders\WithAwsProviderTests.cs (3)
77Assert.Throws<ArgumentNullException>(() => env.WithAwsProvider( 99Assert.Throws<ArgumentNullException>(() => env.WithAwsProvider( 110Assert.Throws<ArgumentNullException>(() => env.WithAwsProvider(
CloudProviders\WithAzureProviderTests.cs (1)
73Assert.Throws<ArgumentNullException>(() => env.WithAzureProvider(
Publishing\ConfigureRadiusInfrastructureTests.cs (1)
123Assert.Throws<ArgumentNullException>(() =>
RadiusExtensionsTests.cs (1)
137Assert.Throws<ArgumentNullException>(() => builder.AddRadiusEnvironment("radius"));
Recipes\WithRecipeParametersTests.cs (1)
86Assert.Throws<ArgumentNullException>(() => env.WithRecipeParameters(configure: null!));
Aspire.Hosting.Redis (14)
RedisBuilderExtensions.cs (14)
70ArgumentNullException.ThrowIfNull(builder); 71ArgumentNullException.ThrowIfNull(name); 228ArgumentNullException.ThrowIfNull(builder); 308ArgumentNullException.ThrowIfNull(builder); 410ArgumentNullException.ThrowIfNull(builder); 427ArgumentNullException.ThrowIfNull(builder); 458ArgumentNullException.ThrowIfNull(builder); 491ArgumentNullException.ThrowIfNull(builder); 523ArgumentNullException.ThrowIfNull(builder); 561ArgumentNullException.ThrowIfNull(builder); 586ArgumentNullException.ThrowIfNull(builder); 601ArgumentNullException.ThrowIfNull(builder); 617ArgumentNullException.ThrowIfNull(builder); 633ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Redis.Tests (29)
RedisPublicApiTests.cs (29)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 57var exception = Assert.Throws<ArgumentNullException>(action); 69var exception = Assert.Throws<ArgumentNullException>(action); 81var exception = Assert.Throws<ArgumentNullException>(action); 92var exception = Assert.Throws<ArgumentNullException>(action); 104var exception = Assert.Throws<ArgumentNullException>(action); 120? Assert.Throws<ArgumentNullException>(action) 132var exception = Assert.Throws<ArgumentNullException>(action); 143var exception = Assert.Throws<ArgumentNullException>(action); 159? Assert.Throws<ArgumentNullException>(action) 184var exception = Assert.Throws<ArgumentNullException>(action); 196var exception = Assert.Throws<ArgumentNullException>(action); 214? Assert.Throws<ArgumentNullException>(action) 229? Assert.Throws<ArgumentNullException>(action) 244? Assert.Throws<ArgumentNullException>(action) 259? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.RemoteHost (5)
AtsContextFilter.cs (2)
41ArgumentNullException.ThrowIfNull(context); 42ArgumentNullException.ThrowIfNull(assemblyNames);
src\Shared\IntegrationPackageProbeManifest.cs (3)
43ArgumentNullException.ThrowIfNull(managedAssemblies); 44ArgumentNullException.ThrowIfNull(nativeLibraries); 129ArgumentNullException.ThrowIfNull(manifest);
Aspire.Hosting.Rust (19)
RustCargoArgsCallbackAnnotation.cs (1)
25ArgumentNullException.ThrowIfNull(callback);
RustHostingExtensions.cs (18)
80ArgumentNullException.ThrowIfNull(builder); 195ArgumentNullException.ThrowIfNull(builder); 196ArgumentNullException.ThrowIfNull(args); 219ArgumentNullException.ThrowIfNull(builder); 220ArgumentNullException.ThrowIfNull(callback); 241ArgumentNullException.ThrowIfNull(builder); 242ArgumentNullException.ThrowIfNull(callback); 264ArgumentNullException.ThrowIfNull(builder); 289ArgumentNullException.ThrowIfNull(builder); 308ArgumentNullException.ThrowIfNull(builder); 309ArgumentNullException.ThrowIfNull(features); 335ArgumentNullException.ThrowIfNull(builder); 358ArgumentNullException.ThrowIfNull(builder); 382ArgumentNullException.ThrowIfNull(builder); 420ArgumentNullException.ThrowIfNull(builder); 450ArgumentNullException.ThrowIfNull(builder); 473ArgumentNullException.ThrowIfNull(builder); 640ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Rust.Tests (11)
RustPublicApiTests.cs (6)
32var exception = Assert.Throws<ArgumentNullException>(action); 197var exception = Assert.Throws<ArgumentNullException>(action); 208var exception = Assert.Throws<ArgumentNullException>(action);
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Aspire.Hosting.Seq (5)
SeqBuilderExtensions.cs (5)
52ArgumentNullException.ThrowIfNull(builder); 53ArgumentNullException.ThrowIfNull(name); 87ArgumentNullException.ThrowIfNull(builder); 103ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(source);
Aspire.Hosting.Seq.Tests (12)
SeqPublicApiTests.cs (12)
19var exception = Assert.Throws<ArgumentNullException>(action); 31var exception = Assert.Throws<ArgumentNullException>(action); 42var exception = Assert.Throws<ArgumentNullException>(action); 54var exception = Assert.Throws<ArgumentNullException>(action); 67var exception = Assert.Throws<ArgumentNullException>(action); 79var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.SqlServer (12)
SqlServerBuilderExtensions.cs (9)
40ArgumentNullException.ThrowIfNull(builder); 121ArgumentNullException.ThrowIfNull(builder); 162ArgumentNullException.ThrowIfNull(builder); 182ArgumentNullException.ThrowIfNull(builder); 219ArgumentNullException.ThrowIfNull(builder); 220ArgumentNullException.ThrowIfNull(script); 237ArgumentNullException.ThrowIfNull(builder); 238ArgumentNullException.ThrowIfNull(password); 254ArgumentNullException.ThrowIfNull(builder);
SqlServerCreateDatabaseScriptAnnotation.cs (1)
19ArgumentNullException.ThrowIfNull(script);
SqlServerServerResource.cs (2)
22ArgumentNullException.ThrowIfNull(password); 139ArgumentNullException.ThrowIfNull(password);
Aspire.Hosting.SqlServer.Tests (18)
SqlServerPublicApiTests.cs (18)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 63? Assert.Throws<ArgumentNullException>(action) 75var exception = Assert.Throws<ArgumentNullException>(action); 87var exception = Assert.Throws<ArgumentNullException>(action); 103? Assert.Throws<ArgumentNullException>(action) 124? Assert.Throws<ArgumentNullException>(action) 145? Assert.Throws<ArgumentNullException>(action) 159var exception = Assert.Throws<ArgumentNullException>(action); 176? Assert.Throws<ArgumentNullException>(action) 189var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Hosting.Testing (17)
DistributedApplicationFactory.cs (1)
153ArgumentNullException.ThrowIfNull(args);
DistributedApplicationHostingTestingExtensions.cs (6)
42/// <exception cref="ArgumentNullException">Thrown when <paramref name="app"/> is <see langword="null"/>.</exception> 69ArgumentNullException.ThrowIfNull(app); 150ArgumentNullException.ThrowIfNull(app); 173ArgumentNullException.ThrowIfNull(app); 210ArgumentNullException.ThrowIfNull(app); 230ArgumentNullException.ThrowIfNull(app);
DistributedApplicationTestingBuilder.cs (10)
53/// <exception cref="ArgumentNullException"> 72ArgumentNullException.ThrowIfNull(options); 99/// <exception cref="ArgumentNullException"> 118ArgumentNullException.ThrowIfNull(options); 189ArgumentNullException.ThrowIfNull(entryPoint); 191ArgumentNullException.ThrowIfNull(configureBuilder, nameof(configureBuilder)); 223/// <exception cref="ArgumentNullException"> 239ArgumentNullException.ThrowIfNull(options); 262ArgumentNullException.ThrowIfNull(configureBuilder); 440ArgumentNullException.ThrowIfNull(args);
Aspire.Hosting.Testing.Tests (62)
DashboardTestingBuilderTests.cs (4)
113await Assert.ThrowsAsync<ArgumentNullException>( 115await Assert.ThrowsAsync<ArgumentNullException>( 117Assert.Throws<ArgumentNullException>(() => DistributedApplicationTestingBuilder.Create(null!, [])); 123Assert.Throws<ArgumentNullException>(() => DistributedApplicationTestingBuilder.Create(default!));
TestingPublicApiTests.cs (49)
19var exception = Assert.Throws<ArgumentNullException>(action); 31var exception = Assert.Throws<ArgumentNullException>(action); 43var exception = Assert.Throws<ArgumentNullException>(action); 58? Assert.Throws<ArgumentNullException>(action) 79? Assert.Throws<ArgumentNullException>(action) 96? await Assert.ThrowsAsync<ArgumentNullException>(action) 113? Assert.Throws<ArgumentNullException>(action) 126var exception = Assert.Throws<ArgumentNullException>(action); 141? Assert.Throws<ArgumentNullException>(action) 154var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 169? await Assert.ThrowsAsync<ArgumentNullException>(action) 182var exception = Assert.Throws<ArgumentNullException>(action); 197? Assert.Throws<ArgumentNullException>(action) 230var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 241var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 255? await Assert.ThrowsAsync<ArgumentNullException>(action) 272var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 284var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 299? await Assert.ThrowsAsync<ArgumentNullException>(action) 316var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 328var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 343? await Assert.ThrowsAsync<ArgumentNullException>(action) 361var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 374var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 387var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 403? await Assert.ThrowsAsync<ArgumentNullException>(action) 419var exception = Assert.Throws<ArgumentNullException>(action); 433? Assert.Throws<ArgumentNullException>(action) 450var exception = Assert.Throws<ArgumentNullException>(action); 462var exception = Assert.Throws<ArgumentNullException>(action); 477? Assert.Throws<ArgumentNullException>(action)
tests\Aspire.Hosting.TestUtilities\Utils\LoggerNotificationExtensions.cs (7)
25ArgumentNullException.ThrowIfNull(app); 33ArgumentNullException.ThrowIfNull(app); 34ArgumentNullException.ThrowIfNull(resource); 49ArgumentNullException.ThrowIfNull(app); 50ArgumentNullException.ThrowIfNull(logTexts); 75ArgumentNullException.ThrowIfNull(app); 76ArgumentNullException.ThrowIfNull(predicate);
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
Aspire.Hosting.Tests (61)
ApplicationModel\Docker\DockerfileBuilderCallbackContextTests.cs (3)
39Assert.Throws<ArgumentNullException>(() => new DockerfileBuilderCallbackContext(null!, builder, services, CancellationToken.None)); 50Assert.Throws<ArgumentNullException>(() => new DockerfileBuilderCallbackContext(resource, null!, services, CancellationToken.None)); 61Assert.Throws<ArgumentNullException>(() => new DockerfileBuilderCallbackContext(resource, builder, null!, CancellationToken.None));
ApplicationModel\Docker\DockerfileBuilderTests.cs (3)
80Assert.Throws<ArgumentNullException>(() => builder.From(null!)); 91Assert.Throws<ArgumentNullException>(() => builder.From("node", null!)); 197await Assert.ThrowsAsync<ArgumentNullException>(() => builder.WriteAsync(null!));
ApplicationModel\Docker\DockerfileStageTests.cs (12)
38Assert.Throws<ArgumentNullException>(() => stage.WorkDir(null!)); 65Assert.Throws<ArgumentNullException>(() => stage.Run(null!)); 92Assert.Throws<ArgumentNullException>(() => stage.Copy(null!, "./")); 94Assert.Throws<ArgumentNullException>(() => stage.Copy("src/", null!)); 121Assert.Throws<ArgumentNullException>(() => stage.CopyFrom(null!, "/app", "/dest")); 123Assert.Throws<ArgumentNullException>(() => stage.CopyFrom("builder", null!, "/dest")); 125Assert.Throws<ArgumentNullException>(() => stage.CopyFrom("builder", "/app", null!)); 152Assert.Throws<ArgumentNullException>(() => stage.Env(null!, "value")); 163Assert.Throws<ArgumentNullException>(() => stage.Env("NODE_ENV", null!)); 217Assert.Throws<ArgumentNullException>(() => stage.Cmd(null!)); 255Assert.Throws<ArgumentNullException>(() => stage.User(null!)); 447Assert.Throws<ArgumentNullException>(() => stage.Comment(null!));
ApplicationModel\EndpointHostHelpersTests.cs (1)
270await Assert.ThrowsAsync<ArgumentNullException>(
ApplicationModel\McpServerEndpointAnnotationTests.cs (2)
14Assert.Throws<ArgumentNullException>(() => new McpServerEndpointAnnotation(null!)); 43Assert.Throws<ArgumentNullException>(() => McpServerEndpointAnnotation.FromEndpoint(null!));
ContainerImagePushOptionsTests.cs (1)
208await Assert.ThrowsAsync<ArgumentNullException>(() => options.GetFullRemoteImageNameAsync(null!));
ContainerRegistryResourceTests.cs (6)
88Assert.Throws<ArgumentNullException>(() => builder.AddContainerRegistry("registry", "docker.io")); 96Assert.Throws<ArgumentNullException>(() => builder.AddContainerRegistry(null!, "docker.io")); 112Assert.Throws<ArgumentNullException>(() => builder.AddContainerRegistry("registry", (string)null!)); 128Assert.Throws<ArgumentNullException>(() => builder.AddContainerRegistry("registry", (IResourceBuilder<ParameterResource>)null!)); 322Assert.Throws<ArgumentNullException>(() => containerBuilder.WithContainerRegistry(registry)); 333Assert.Throws<ArgumentNullException>(() => container.WithContainerRegistry(registry));
DebugSupportExtensionsTests.cs (1)
248await Assert.ThrowsAsync<ArgumentNullException>(
ExecutableResourceTests.cs (2)
104=> Assert.Throws<ArgumentNullException>("command", () => new ExecutableResource("name", command: null!, workingDirectory: ".")); 112=> Assert.Throws<ArgumentNullException>("workingDirectory", () => new ExecutableResource("name", command: "cmd", workingDirectory: null!));
ModelNameTests.cs (2)
13var exception = Assert.Throws<ArgumentNullException>(() => ModelName.ValidateName(nameof(Resource), null!));
Pipelines\PipelineLoggerProviderTests.cs (1)
170ArgumentNullException.ThrowIfNull(message);
RequiredCommandAnnotationTests.cs (3)
26Assert.Throws<ArgumentNullException>(() => new RequiredCommandAnnotation(null!)); 118Assert.Throws<ArgumentNullException>(() => 128Assert.Throws<ArgumentNullException>(() => resourceBuilder.WithRequiredCommand(null!));
ResourceExtensionsTests.cs (4)
380var ex = Assert.Throws<ArgumentNullException>(() => builder.WithImagePushOptions(context => { })); 390var ex = Assert.Throws<ArgumentNullException>(() =>
src\Shared\ComputeEnvironmentEndpointResolver.cs (4)
48ArgumentNullException.ThrowIfNull(endpointReference); 79ArgumentNullException.ThrowIfNull(endpointReferenceExpression); 80ArgumentNullException.ThrowIfNull(currentComputeEnvironments); 128ArgumentNullException.ThrowIfNull(resource);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
tests\Shared\TestPipelineActivityReporter.cs (5)
236ArgumentNullException.ThrowIfNull(message); 246ArgumentNullException.ThrowIfNull(statusText); 252ArgumentNullException.ThrowIfNull(completionText); 296ArgumentNullException.ThrowIfNull(statusText); 302ArgumentNullException.ThrowIfNull(completionMessage);
Utils\EnvironmentVariableNameEncoderTests.cs (1)
50Assert.Throws<ArgumentNullException>(() => EnvironmentVariableNameEncoder.Encode(null!));
Utils\UseCultureAttributeTests.cs (2)
17Assert.Throws<ArgumentNullException>(() => new UseCultureAttribute(null!).Culture); 18Assert.Throws<ArgumentNullException>(() => new UseCultureAttribute("en-US", null!).UICulture);
ValueSnapshotTests.cs (1)
211Assert.Throws<ArgumentNullException>(() => snapshot.SetException(null!));
WithEnvironmentTests.cs (3)
427Assert.Throws<ArgumentNullException>(() => 431Assert.Throws<ArgumentNullException>(() => 435Assert.Throws<ArgumentNullException>(() =>
WithIconNameTests.cs (1)
46Assert.Throws<ArgumentNullException>(() => container.WithIconName(null!));
WithMcpServerTests.cs (1)
18Assert.Throws<ArgumentNullException>(() => builder.WithMcpServer());
WithTerminalTests.cs (1)
1040Assert.Throws<ArgumentNullException>(() => builder.WithTerminal());
Aspire.Hosting.TestUtilities (17)
Publishing\FakeContainerRuntimeExtensions.cs (2)
31ArgumentNullException.ThrowIfNull(services); 32ArgumentNullException.ThrowIfNull(runtime);
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
Utils\ContainerRuntimeLogPatterns.cs (2)
57ArgumentNullException.ThrowIfNull(line); 85ArgumentNullException.ThrowIfNull(line);
Utils\DockerUtils.cs (1)
40ArgumentNullException.ThrowIfNull(runtimeDetector);
Utils\LaunchConfigurationTestHelpers.cs (3)
16ArgumentNullException.ThrowIfNull(resource); 29ArgumentNullException.ThrowIfNull(resource); 30ArgumentNullException.ThrowIfNull(callbackContext);
Utils\LoggerNotificationExtensions.cs (7)
25ArgumentNullException.ThrowIfNull(app); 33ArgumentNullException.ThrowIfNull(app); 34ArgumentNullException.ThrowIfNull(resource); 49ArgumentNullException.ThrowIfNull(app); 50ArgumentNullException.ThrowIfNull(logTexts); 75ArgumentNullException.ThrowIfNull(app); 76ArgumentNullException.ThrowIfNull(predicate);
Aspire.Hosting.Valkey (5)
ValkeyBuilderExtensions.cs (5)
65ArgumentNullException.ThrowIfNull(builder); 118ArgumentNullException.ThrowIfNull(builder); 216ArgumentNullException.ThrowIfNull(builder); 256ArgumentNullException.ThrowIfNull(builder); 294ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Valkey.Tests (11)
ValkeyPublicApiTests.cs (11)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 46var exception = Assert.Throws<ArgumentNullException>(action); 58var exception = Assert.Throws<ArgumentNullException>(action); 74? Assert.Throws<ArgumentNullException>(action) 86var exception = Assert.Throws<ArgumentNullException>(action); 100? Assert.Throws<ArgumentNullException>(action)
Aspire.Hosting.Yarp (31)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (3)
268ArgumentNullException.ThrowIfNull(builder); 269ArgumentNullException.ThrowIfNull(path); 270ArgumentNullException.ThrowIfNull(target);
ConfigurationBuilder\Transforms\PathTransformExtensions.cs (8)
42ArgumentNullException.ThrowIfNull(route); 43ArgumentNullException.ThrowIfNull(path); 74ArgumentNullException.ThrowIfNull(route); 75ArgumentNullException.ThrowIfNull(prefix); 106ArgumentNullException.ThrowIfNull(route); 107ArgumentNullException.ThrowIfNull(prefix); 138ArgumentNullException.ThrowIfNull(route); 139ArgumentNullException.ThrowIfNull(pattern);
ConfigurationBuilder\YarpCluster.cs (4)
196ArgumentNullException.ThrowIfNull(config); 219ArgumentNullException.ThrowIfNull(config); 242ArgumentNullException.ThrowIfNull(config); 265ArgumentNullException.ThrowIfNull(config);
ConfigurationBuilder\YarpConfigurationBuilder.cs (2)
56ArgumentNullException.ThrowIfNull(clusterName); 57ArgumentNullException.ThrowIfNull(destinations);
ConfigurationBuilder\YarpRoute.cs (8)
60ArgumentNullException.ThrowIfNull(match); 111ArgumentNullException.ThrowIfNull(headers); 145ArgumentNullException.ThrowIfNull(queryParameters); 200ArgumentNullException.ThrowIfNull(createTransform); 218ArgumentNullException.ThrowIfNull(transform); 233ArgumentNullException.ThrowIfNull(header); 246ArgumentNullException.ThrowIfNull(match); 260ArgumentNullException.ThrowIfNull(queryParameter);
YarpResourceExtensions.cs (6)
124ArgumentNullException.ThrowIfNull(builder); 142ArgumentNullException.ThrowIfNull(builder); 157ArgumentNullException.ThrowIfNull(builder); 173ArgumentNullException.ThrowIfNull(builder); 174ArgumentNullException.ThrowIfNull(sourcePath); 185ArgumentNullException.ThrowIfNull(builder);
Aspire.Hosting.Yarp.Tests (1)
YarpClusterTests.cs (1)
185Assert.Throws<ArgumentNullException>(() => config.AddCluster("test-cluster", (object[])null!));
Aspire.Keycloak.Authentication (2)
AspireKeycloakExtensions.cs (2)
79ArgumentNullException.ThrowIfNull(builder); 161ArgumentNullException.ThrowIfNull(builder);
Aspire.Keycloak.Authentication.Tests (36)
KeycloakAuthenticationPublicApiTests.cs (36)
23var exception = Assert.Throws<ArgumentNullException>(action); 40? Assert.Throws<ArgumentNullException>(action) 58? Assert.Throws<ArgumentNullException>(action) 73var exception = Assert.Throws<ArgumentNullException>(action); 91? Assert.Throws<ArgumentNullException>(action) 110? Assert.Throws<ArgumentNullException>(action) 129? Assert.Throws<ArgumentNullException>(action) 144var exception = Assert.Throws<ArgumentNullException>(action); 162? Assert.Throws<ArgumentNullException>(action) 181? Assert.Throws<ArgumentNullException>(action) 201var exception = Assert.Throws<ArgumentNullException>(action); 224? Assert.Throws<ArgumentNullException>(action) 248? Assert.Throws<ArgumentNullException>(action) 272? Assert.Throws<ArgumentNullException>(action) 286var exception = Assert.Throws<ArgumentNullException>(action); 303? Assert.Throws<ArgumentNullException>(action) 321? Assert.Throws<ArgumentNullException>(action) 336var exception = Assert.Throws<ArgumentNullException>(action); 354? Assert.Throws<ArgumentNullException>(action) 373? Assert.Throws<ArgumentNullException>(action) 392? Assert.Throws<ArgumentNullException>(action) 407var exception = Assert.Throws<ArgumentNullException>(action); 425? Assert.Throws<ArgumentNullException>(action) 444? Assert.Throws<ArgumentNullException>(action) 464var exception = Assert.Throws<ArgumentNullException>(action); 487? Assert.Throws<ArgumentNullException>(action) 511? Assert.Throws<ArgumentNullException>(action) 535? Assert.Throws<ArgumentNullException>(action)
Aspire.Microsoft.Azure.Cosmos (3)
AspireMicrosoftAzureCosmosExtensions.cs (1)
212ArgumentNullException.ThrowIfNull(builder);
AzureCosmosDbHealthCheck.cs (1)
20ArgumentNullException.ThrowIfNull(cosmosClient);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Microsoft.Azure.Cosmos.Tests (6)
MicrosoftAzureCosmosPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Microsoft.Azure.StackExchangeRedis (1)
AspireMicrosoftAzureStackExchangeRedisExtensions.cs (1)
30ArgumentNullException.ThrowIfNull(builder);
Aspire.Microsoft.Data.SqlClient (1)
AspireSqlServerSqlClientExtensions.cs (1)
56ArgumentNullException.ThrowIfNull(builder);
Aspire.Microsoft.Data.SqlClient.Tests (6)
MicrosoftDataSqlClientPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (7)
AspireAzureEFCoreCosmosExtensions.cs (6)
34/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 42ArgumentNullException.ThrowIfNull(builder); 77/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 86ArgumentNullException.ThrowIfNull(builder); 176/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 183ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (6)
MicrosoftEntityFrameworkCoreCosmosPublicApiTests.cs (6)
21var exception = Assert.Throws<ArgumentNullException>(action); 37? Assert.Throws<ArgumentNullException>(action) 54? Assert.Throws<ArgumentNullException>(action) 66var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (4)
AspireSqlServerEFCoreSqlClientExtensions.cs (4)
35/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 43ArgumentNullException.ThrowIfNull(builder); 94/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 100ArgumentNullException.ThrowIfNull(builder);
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (5)
MicrosoftEntityFrameworkCoreSqlServerPublicApiTests.cs (5)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration (2)
AspireAppConfigurationExtensions.cs (1)
53ArgumentNullException.ThrowIfNull(builder);
src\Shared\StableConnectionStringBuilder.cs (1)
39ArgumentNullException.ThrowIfNull(connectionString);
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.Tests (3)
AppConfiguratinPublicApiTests.cs (3)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action)
Aspire.Milvus.Client (2)
AspireMilvusExtensions.cs (1)
63ArgumentNullException.ThrowIfNull(builder);
MilvusHealthCheck.cs (1)
16ArgumentNullException.ThrowIfNull(milvusClient, nameof(milvusClient));
Aspire.Milvus.Client.Tests (6)
MilvusClientPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.MongoDB.Driver (2)
AspireMongoDBDriverExtensions.cs (2)
49/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 74ArgumentNullException.ThrowIfNull(builder);
Aspire.MongoDB.Driver.Tests (6)
MongoDBDriverPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.MongoDB.Driver.v2.Tests (6)
tests\Aspire.MongoDB.Driver.Tests\MongoDBDriverPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.MongoDB.EntityFrameworkCore (4)
AspireMongoDBEntityFrameworkCoreExtensions.cs (4)
34/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 43ArgumentNullException.ThrowIfNull(builder); 102/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 109ArgumentNullException.ThrowIfNull(builder);
Aspire.MongoDB.EntityFrameworkCore.Tests (5)
MongoDBEntityFrameworkCorePublicApiTests.cs (5)
22var exception = Assert.Throws<ArgumentNullException>(action); 38? Assert.Throws<ArgumentNullException>(action) 65var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.MySqlConnector (3)
AspireMySqlConnectorExtensions.cs (3)
30/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 43/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="name"/> is null.</exception> 59ArgumentNullException.ThrowIfNull(builder);
Aspire.MySqlConnector.Tests (6)
MySqlConnectorPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.NATS.Net (5)
AspireNatsClientExtensions.cs (5)
53/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 108/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="name"/> is null.</exception> 120ArgumentNullException.ThrowIfNull(builder); 199/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 202ArgumentNullException.ThrowIfNull(builder);
Aspire.NATS.Net.Tests (8)
NatsClientPublicApiTests.cs (8)
40var exception = Assert.Throws<ArgumentNullException>(action); 77? Assert.Throws<ArgumentNullException>(action) 108var exception = Assert.Throws<ArgumentNullException>(action); 145? Assert.Throws<ArgumentNullException>(action) 157var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Npgsql (3)
AspirePostgreSqlNpgsqlExtensions.cs (3)
30/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 44/// <exception cref="ArgumentNullException">Thrown when <paramref name="builder"/> or <paramref name="name"/> is null.</exception> 57ArgumentNullException.ThrowIfNull(builder);
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (4)
AspireEFPostgreSqlExtensions.cs (4)
43/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 51ArgumentNullException.ThrowIfNull(builder); 105/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 112ArgumentNullException.ThrowIfNull(builder);
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (5)
NpgsqlEntityFrameworkCorePostgreSQLPublicApiTests.cs (5)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Npgsql.Tests (6)
NpgsqlPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.OpenAI (7)
AspireOpenAIClientBuilderChatClientExtensions.cs (2)
27ArgumentNullException.ThrowIfNull(builder); 45ArgumentNullException.ThrowIfNull(builder);
AspireOpenAIClientBuilderEmbeddingGeneratorExtensions.cs (2)
27ArgumentNullException.ThrowIfNull(builder); 45ArgumentNullException.ThrowIfNull(builder);
AspireOpenAIExtensions.cs (3)
65ArgumentNullException.ThrowIfNull(builder); 66ArgumentNullException.ThrowIfNull(configurationSectionName); 67ArgumentNullException.ThrowIfNull(connectionName);
Aspire.OpenAI.Tests (19)
OpenAIPublicApiTests.cs (19)
22var exception = Assert.Throws<ArgumentNullException>(action); 40? Assert.Throws<ArgumentNullException>(action) 52var exception = Assert.Throws<ArgumentNullException>(action); 64var exception = Assert.Throws<ArgumentNullException>(action); 84? Assert.Throws<ArgumentNullException>(action) 96var exception = Assert.Throws<ArgumentNullException>(action); 108var exception = Assert.Throws<ArgumentNullException>(action); 128? Assert.Throws<ArgumentNullException>(action) 141var exception = Assert.Throws<ArgumentNullException>(action); 156? Assert.Throws<ArgumentNullException>(action) 169var exception = Assert.Throws<ArgumentNullException>(action); 184? Assert.Throws<ArgumentNullException>(action)
Aspire.Oracle.EntityFrameworkCore (4)
AspireOracleEFCoreExtensions.cs (4)
36/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 44ArgumentNullException.ThrowIfNull(builder); 93/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 99ArgumentNullException.ThrowIfNull(builder);
Aspire.Oracle.EntityFrameworkCore.Tests (5)
OracleEntityFrameworkCorePublicApiTests.cs (5)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Playground.Tests (14)
src\Shared\X509Certificate2Extensions.cs (5)
27ArgumentNullException.ThrowIfNull(certificate); 46ArgumentNullException.ThrowIfNull(certificate); 71ArgumentNullException.ThrowIfNull(certificate); 87ArgumentNullException.ThrowIfNull(collection); 115ArgumentNullException.ThrowIfNull(certificate);
tests\Aspire.Hosting.TestUtilities\Utils\LoggerNotificationExtensions.cs (7)
25ArgumentNullException.ThrowIfNull(app); 33ArgumentNullException.ThrowIfNull(app); 34ArgumentNullException.ThrowIfNull(resource); 49ArgumentNullException.ThrowIfNull(app); 50ArgumentNullException.ThrowIfNull(logTexts); 75ArgumentNullException.ThrowIfNull(app); 76ArgumentNullException.ThrowIfNull(predicate);
tests\Shared\Logging\LogValuesAssert.cs (2)
34ArgumentNullException.ThrowIfNull(expectedValues); 35ArgumentNullException.ThrowIfNull(actualValues);
Aspire.Pomelo.EntityFrameworkCore.MySql (4)
AspireEFMySqlExtensions.cs (4)
47/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 56ArgumentNullException.ThrowIfNull(builder); 147/// <exception cref="ArgumentNullException">Thrown if mandatory <paramref name="builder"/> is null.</exception> 154ArgumentNullException.ThrowIfNull(builder);
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (5)
PomeloEntityFrameworkCoreMySqlPublicApiTests.cs (5)
20var exception = Assert.Throws<ArgumentNullException>(action); 35? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action);
Aspire.Qdrant.Client (2)
AspireQdrantExtensions.cs (1)
61ArgumentNullException.ThrowIfNull(builder);
QdrantHealthCheck.cs (1)
14ArgumentNullException.ThrowIfNull(client, nameof(client));
Aspire.Qdrant.Client.Tests (6)
QdrantClientPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.RabbitMQ.Client (1)
src\Components\Aspire.RabbitMQ.Client\AspireRabbitMQExtensions.cs (1)
72ArgumentNullException.ThrowIfNull(builder);
Aspire.RabbitMQ.Client.Tests (6)
RabbitMQClientPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.Seq (1)
AspireSeqExtensions.cs (1)
34ArgumentNullException.ThrowIfNull(builder);
Aspire.Seq.Tests (3)
SeqPublicApiTests.cs (3)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action)
Aspire.StackExchange.Redis (2)
AspireRedisExtensions.cs (1)
100ArgumentNullException.ThrowIfNull(builder);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\Guard.cs (1)
64ArgumentNullException.ThrowIfNull(value, paramName);
Aspire.StackExchange.Redis.DistributedCaching (4)
AspireRedisDistributedCacheExtensions.cs (4)
37ArgumentNullException.ThrowIfNull(builder); 67ArgumentNullException.ThrowIfNull(builder); 101ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(builder);
Aspire.StackExchange.Redis.DistributedCaching.Tests (6)
StackExchangeRedisDistributedCachingPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.StackExchange.Redis.OutputCaching (3)
AspireRedisOutputCacheExtensions.cs (3)
36ArgumentNullException.ThrowIfNull(builder); 66ArgumentNullException.ThrowIfNull(builder); 84ArgumentNullException.ThrowIfNull(builder);
Aspire.StackExchange.Redis.OutputCaching.Tests (6)
StackExchangeRedisOutputCachingPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.StackExchange.Redis.Tests (6)
StackExchangeRedisPublicApiTests.cs (6)
19var exception = Assert.Throws<ArgumentNullException>(action); 34? Assert.Throws<ArgumentNullException>(action) 47var exception = Assert.Throws<ArgumentNullException>(action); 62? Assert.Throws<ArgumentNullException>(action)
Aspire.TerminalHost (6)
TerminalHostApp.cs (2)
41ArgumentNullException.ThrowIfNull(args); 42ArgumentNullException.ThrowIfNull(loggerFactory);
TerminalHostArgs.cs (1)
53ArgumentNullException.ThrowIfNull(args);
TerminalHostControlListener.cs (2)
40ArgumentNullException.ThrowIfNull(target); 41ArgumentNullException.ThrowIfNull(logger);
TerminalReplica.cs (1)
200ArgumentNullException.ThrowIfNull(loggerFactory);
Aspire.TerminalHost.Tests (1)
TerminalHostArgsTests.cs (1)
167Assert.Throws<ArgumentNullException>(() => TerminalHostArgs.Parse(null!));
Aspire.TestUtilities (5)
src\Shared\X509Certificate2Extensions.cs (5)
27ArgumentNullException.ThrowIfNull(certificate); 46ArgumentNullException.ThrowIfNull(certificate); 71ArgumentNullException.ThrowIfNull(certificate); 87ArgumentNullException.ThrowIfNull(collection); 115ArgumentNullException.ThrowIfNull(certificate);
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Parser\KnownTypeSymbols.cs (1)
127ArgumentNullException = compilation.GetBestTypeByMetadataName(typeof(ArgumentNullException));
dotnet (8)
Commands\Test\MTP\CtrlCCancellationManager.cs (2)
66ArgumentNullException.ThrowIfNull(process); 78ArgumentNullException.ThrowIfNull(process);
NugetPackageDownloader\NuGetPackageDownloader.cs (4)
644ArgumentNullException.ThrowIfNull(packageSources); 731ArgumentNullException.ThrowIfNull(packageSources); 832ArgumentNullException.ThrowIfNull(packageVersion); 833ArgumentNullException.ThrowIfNull(sources);
NuGetSignatureVerificationEnabler.cs (2)
19ArgumentNullException.ThrowIfNull(forwardingApp, nameof(forwardingApp)); 34ArgumentNullException.ThrowIfNull(forwardingApp, nameof(forwardingApp));
dotnet-aot (5)
src\sdk\src\Cli\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (4)
644ArgumentNullException.ThrowIfNull(packageSources); 731ArgumentNullException.ThrowIfNull(packageSources); 832ArgumentNullException.ThrowIfNull(packageVersion); 833ArgumentNullException.ThrowIfNull(sources);
src\sdk\src\Cli\dotnet\NuGetSignatureVerificationEnabler.cs (1)
19ArgumentNullException.ThrowIfNull(forwardingApp, nameof(forwardingApp));
dotnet-Microsoft.XmlSerializer.Generator (2)
Sgen.cs (1)
550ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
dotnet-razorpagegenerator (2)
Program.cs (2)
148ArgumentNullException.ThrowIfNull(options); 160ArgumentNullException.ThrowIfNull(options);
dotnet-sourcelink (2)
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
2090catch (ArgumentNullException)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1244catch (ArgumentNullException) { }
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (4)
176public ArgumentNullException ArgumentNull(string paramName) 178return TraceException<ArgumentNullException>(new ArgumentNullException(paramName)); 181public ArgumentNullException ArgumentNull(string paramName, string message) 183return TraceException<ArgumentNullException>(new ArgumentNullException(paramName, message));
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (4)
49public ArgumentNullException ThrowHelperArgumentNull(string paramName) 51return (ArgumentNullException)this.ThrowHelperError(new ArgumentNullException(paramName)); 54public ArgumentNullException ThrowHelperArgumentNull(string paramName, string message) 56return (ArgumentNullException)this.ThrowHelperError(new ArgumentNullException(paramName, message));
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (2)
254internal static ArgumentNullException ThrowHelperArgumentNull(string paramName, Message message) 256return (ArgumentNullException)TraceUtility.ThrowHelperError(new ArgumentNullException(paramName), message);
Shared\Utilities\Utilities.cs (1)
14return ex != null && (ex is NullReferenceException || ex is ArgumentNullException);
dotnet-user-jwts (2)
_generated\0\BindingExtensions.g.cs (1)
48ArgumentNullException.ThrowIfNull(configuration);
Helpers\ConsoleTable.cs (1)
30ArgumentNullException.ThrowIfNull(values);
DotNetHostedAgent (2)
HostedContributorRouteExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(app);
HostedContributorSetupExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(services);
EventSourceGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
GenerateDocumentationAndConfigFiles (32)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (3)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 62ArgumentNullException.ThrowIfNull(source);
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (6)
70/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 157/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
ILCompiler.Compiler (6)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
1126ArgumentNullException.ThrowIfNull(segmentName); 1127ArgumentNullException.ThrowIfNull(sectionName);
src\runtime\src\coreclr\tools\Common\Microsoft\SourceLink\Tools\SourceLinkMap.cs (4)
55/// <exception cref="ArgumentNullException"><paramref name="json"/> is null.</exception> 60ArgumentNullException.ThrowIfNull(json); 160/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 165ArgumentNullException.ThrowIfNull(path);
ILCompiler.ReadyToRun (2)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
1126ArgumentNullException.ThrowIfNull(segmentName); 1127ArgumentNullException.ThrowIfNull(sectionName);
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtable.cs (2)
371ArgumentNullException.ThrowIfNull(value); 600ArgumentNullException.ThrowIfNull(value);
illink (3)
ILLink.RoslynAnalyzer (1)
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\AssemblyNameInfo.cs (1)
41/// <exception cref="ArgumentNullException"><paramref name="name"/> is null.</exception>
Infrastructure.Common (1)
TestProperties.cs (1)
45/// <exception cref="ArgumentNullException">propertyName is <c>null</c>.</exception>
Microsoft.Analyzers.Local.Tests (5)
InternalReferencedInPublicDocAnalyzerTests.cs (1)
89Assert.Throws<ArgumentNullException>(() => a.Initialize(null!));
JsonArrayTest.cs (1)
31Assert.Throws<ArgumentNullException>("values", () => new JsonArray(default!));
JsonReaderTest.cs (2)
40Assert.Throws<ArgumentNullException>("source", () => JsonReader.Parse(default(string)!)); 41Assert.Throws<ArgumentNullException>("reader", () => JsonReader.Parse(default(TextReader)!));
JsonValueTest.cs (1)
186Assert.ThrowsAny<ArgumentNullException>(() => new JsonValue(new JsonObject())[null!]);
Microsoft.AspNetCore (5)
ConfigureHostBuilder.cs (2)
54ArgumentNullException.ThrowIfNull(configureDelegate); 105ArgumentNullException.ThrowIfNull(factory);
GenericHostBuilderExtensions.cs (2)
34ArgumentNullException.ThrowIfNull(configure); 60ArgumentNullException.ThrowIfNull(configure);
Internal\DefaultCsrfProtection.cs (1)
15ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Antiforgery (19)
AntiforgeryApplicationBuilderExtensions.cs (1)
41ArgumentNullException.ThrowIfNull(builder);
AntiforgeryServiceCollectionExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(services); 48ArgumentNullException.ThrowIfNull(services); 49ArgumentNullException.ThrowIfNull(setupAction);
AntiforgeryTokenSet.cs (1)
24ArgumentNullException.ThrowIfNull(formFieldName);
Internal\AntiforgeryOptionsSetup.cs (1)
23ArgumentNullException.ThrowIfNull(options);
Internal\DefaultAntiforgery.cs (5)
42ArgumentNullException.ThrowIfNull(httpContext); 79ArgumentNullException.ThrowIfNull(httpContext); 90ArgumentNullException.ThrowIfNull(httpContext); 141ArgumentNullException.ThrowIfNull(httpContext); 207ArgumentNullException.ThrowIfNull(httpContext);
Internal\DefaultAntiforgeryTokenGenerator.cs (3)
40ArgumentNullException.ThrowIfNull(httpContext); 41ArgumentNullException.ThrowIfNull(cookieToken); 112ArgumentNullException.ThrowIfNull(httpContext);
Internal\DefaultAntiforgeryTokenSerializer.cs (2)
23ArgumentNullException.ThrowIfNull(provider); 189ArgumentNullException.ThrowIfNull(token);
Internal\DefaultAntiforgeryTokenStore.cs (1)
17ArgumentNullException.ThrowIfNull(optionsAccessor);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.AsyncState (8)
AsyncStateHttpContextExtensions.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.AspNetCore.AsyncState.Tests (1)
AsyncStateHttpContextExtensionsTests.cs (1)
18Assert.Throws<ArgumentNullException>(() => AsyncStateHttpContextExtensions.AddAsyncStateHttpContext(null!));
Microsoft.AspNetCore.Authentication (29)
AuthAppBuilderExtensions.cs (1)
22ArgumentNullException.ThrowIfNull(app);
AuthenticationConfigurationProviderExtensions.cs (1)
23ArgumentNullException.ThrowIfNull(provider, nameof(provider));
AuthenticationHandler.cs (2)
149ArgumentNullException.ThrowIfNull(scheme); 150ArgumentNullException.ThrowIfNull(context);
AuthenticationMiddleware.cs (2)
24ArgumentNullException.ThrowIfNull(next); 25ArgumentNullException.ThrowIfNull(schemes);
AuthenticationServiceCollectionExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(services); 53ArgumentNullException.ThrowIfNull(services); 54ArgumentNullException.ThrowIfNull(configureOptions);
Events\BaseContext.cs (3)
21ArgumentNullException.ThrowIfNull(context); 22ArgumentNullException.ThrowIfNull(scheme); 23ArgumentNullException.ThrowIfNull(options);
HandleRequestResult.cs (1)
34ArgumentNullException.ThrowIfNull(ticket);
PropertiesSerializer.cs (3)
47ArgumentNullException.ThrowIfNull(writer); 48ArgumentNullException.ThrowIfNull(properties); 63ArgumentNullException.ThrowIfNull(reader);
RemoteAuthenticationHandler.cs (2)
234ArgumentNullException.ThrowIfNull(properties); 257ArgumentNullException.ThrowIfNull(properties);
SystemClock.cs (1)
21ArgumentNullException.ThrowIfNull(timeProvider);
TicketSerializer.cs (10)
63ArgumentNullException.ThrowIfNull(writer); 64ArgumentNullException.ThrowIfNull(ticket); 88ArgumentNullException.ThrowIfNull(writer); 89ArgumentNullException.ThrowIfNull(identity); 134ArgumentNullException.ThrowIfNull(writer); 135ArgumentNullException.ThrowIfNull(claim); 160ArgumentNullException.ThrowIfNull(reader); 195ArgumentNullException.ThrowIfNull(reader); 239ArgumentNullException.ThrowIfNull(reader); 240ArgumentNullException.ThrowIfNull(identity);
Microsoft.AspNetCore.Authentication.Abstractions (15)
AuthenticateResult.cs (1)
81ArgumentNullException.ThrowIfNull(ticket);
AuthenticationOptions.cs (2)
34ArgumentNullException.ThrowIfNull(name); 35ArgumentNullException.ThrowIfNull(configureBuilder);
AuthenticationScheme.cs (2)
22ArgumentNullException.ThrowIfNull(name); 23ArgumentNullException.ThrowIfNull(handlerType);
AuthenticationTicket.cs (1)
21ArgumentNullException.ThrowIfNull(principal);
TokenExtensions.cs (9)
23ArgumentNullException.ThrowIfNull(properties); 24ArgumentNullException.ThrowIfNull(tokens); 61ArgumentNullException.ThrowIfNull(properties); 62ArgumentNullException.ThrowIfNull(tokenName); 78ArgumentNullException.ThrowIfNull(properties); 79ArgumentNullException.ThrowIfNull(tokenName); 97ArgumentNullException.ThrowIfNull(properties); 136ArgumentNullException.ThrowIfNull(auth); 137ArgumentNullException.ThrowIfNull(tokenName);
Microsoft.AspNetCore.Authentication.BearerToken (3)
BearerTokenExtensions.cs (3)
64ArgumentNullException.ThrowIfNull(builder); 65ArgumentNullException.ThrowIfNull(authenticationScheme); 66ArgumentNullException.ThrowIfNull(configure);
Microsoft.AspNetCore.Authentication.Cookies (12)
CookieAuthenticationHandler.cs (1)
294ArgumentNullException.ThrowIfNull(user);
CookieSlidingExpirationContext.cs (1)
26ArgumentNullException.ThrowIfNull(ticket);
CookieValidatePrincipalContext.cs (1)
24ArgumentNullException.ThrowIfNull(ticket);
PostConfigureCookieAuthenticationOptions.cs (1)
34ArgumentNullException.ThrowIfNull(name);
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (8)
92ArgumentNullException.ThrowIfNull(context); 93ArgumentNullException.ThrowIfNull(key); 147ArgumentNullException.ThrowIfNull(context); 148ArgumentNullException.ThrowIfNull(key); 149ArgumentNullException.ThrowIfNull(options); 227ArgumentNullException.ThrowIfNull(context); 228ArgumentNullException.ThrowIfNull(key); 229ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Authentication.Core (4)
AuthenticationCoreServiceCollectionExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(services); 40ArgumentNullException.ThrowIfNull(services); 41ArgumentNullException.ThrowIfNull(configureOptions);
AuthenticationService.cs (1)
157ArgumentNullException.ThrowIfNull(principal);
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (4)
DeviceBoundSessionHttpContextExtensions.cs (2)
44/// <exception cref="ArgumentNullException"><paramref name="context"/> is <see langword="null"/>.</exception> 82ArgumentNullException.ThrowIfNull(context);
PostConfigureDeviceBoundSessionCookieOptions.cs (1)
26ArgumentNullException.ThrowIfNull(name);
PostConfigureDeviceBoundSessionDerivedCookieOptions.cs (1)
32ArgumentNullException.ThrowIfNull(name);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerOptions.cs (1)
129/// <exception cref="ArgumentNullException">if 'value' is null.</exception>
Microsoft.AspNetCore.Authentication.Negotiate (1)
NegotiateOptions.cs (1)
68ArgumentNullException.ThrowIfNull(configureSettings);
Microsoft.AspNetCore.Authentication.OAuth (14)
ClaimActionCollectionMapExtensions.cs (11)
24ArgumentNullException.ThrowIfNull(collection); 39ArgumentNullException.ThrowIfNull(collection); 54ArgumentNullException.ThrowIfNull(collection); 70ArgumentNullException.ThrowIfNull(collection); 84ArgumentNullException.ThrowIfNull(collection); 99ArgumentNullException.ThrowIfNull(collection); 110ArgumentNullException.ThrowIfNull(collection); 123ArgumentNullException.ThrowIfNull(collection); 136ArgumentNullException.ThrowIfNull(collection); 148ArgumentNullException.ThrowIfNull(collection); 149ArgumentNullException.ThrowIfNull(claimTypes);
Events\OAuthCreatingTicketContext.cs (2)
39ArgumentNullException.ThrowIfNull(backchannel); 40ArgumentNullException.ThrowIfNull(tokens);
OAuthPostConfigureOptions.cs (1)
33ArgumentNullException.ThrowIfNull(name);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectOptions.cs (1)
183/// <exception cref="ArgumentNullException">if 'value' is null.</exception>
OpenIdConnectPostConfigureOptions.cs (1)
36ArgumentNullException.ThrowIfNull(name);
Microsoft.AspNetCore.Authentication.Twitter (4)
Messages\RequestTokenSerializer.cs (3)
54ArgumentNullException.ThrowIfNull(writer); 55ArgumentNullException.ThrowIfNull(token); 71ArgumentNullException.ThrowIfNull(reader);
TwitterPostConfigureOptions.cs (1)
33ArgumentNullException.ThrowIfNull(name);
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationOptions.cs (1)
138/// <exception cref="ArgumentNullException"> if 'TokenValidationParameters' is null.</exception>
WsFederationPostConfigureOptions.cs (1)
36ArgumentNullException.ThrowIfNull(name);
Microsoft.AspNetCore.Authorization (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Authorization.Policy (13)
AuthorizationAppBuilderExtensions.cs (1)
28ArgumentNullException.ThrowIfNull(app);
AuthorizationEndpointConventionBuilderExtensions.cs (4)
44ArgumentNullException.ThrowIfNull(policyNames); 65ArgumentNullException.ThrowIfNull(authorizeData); 90ArgumentNullException.ThrowIfNull(policy); 111ArgumentNullException.ThrowIfNull(configurePolicy);
AuthorizationMiddleware.cs (2)
81ArgumentNullException.ThrowIfNull(services); 96ArgumentNullException.ThrowIfNull(context);
PolicyEvaluator.cs (1)
96ArgumentNullException.ThrowIfNull(policy);
PolicyServiceCollectionExtensions.cs (3)
30ArgumentNullException.ThrowIfNull(services); 45ArgumentNullException.ThrowIfNull(services); 61ArgumentNullException.ThrowIfNull(services);
src\aspnetcore\src\Http\Routing\src\DataSourceDependentCache.cs (2)
29ArgumentNullException.ThrowIfNull(dataSource); 30ArgumentNullException.ThrowIfNull(initialize);
Microsoft.AspNetCore.AzureAppServicesIntegration (1)
AppServicesWebHostBuilderExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(hostBuilder);
Microsoft.AspNetCore.Components (125)
AcceptsAssetPathAttribute.cs (2)
30ArgumentNullException.ThrowIfNull(elementName); 31ArgumentNullException.ThrowIfNull(attributeName);
BindElementAttribute.cs (3)
21ArgumentNullException.ThrowIfNull(element); 22ArgumentNullException.ThrowIfNull(valueAttribute); 23ArgumentNullException.ThrowIfNull(changeAttribute);
CascadingTypeParameterAttribute.cs (1)
20ArgumentNullException.ThrowIfNull(name);
CascadingValueSource.cs (2)
45ArgumentNullException.ThrowIfNull(name); 67ArgumentNullException.ThrowIfNull(name);
Dispatcher.cs (1)
80ArgumentNullException.ThrowIfNull(e);
ErrorBoundaryBase.cs (1)
59ArgumentNullException.ThrowIfNull(exception);
EventCallbackFactory.cs (11)
23ArgumentNullException.ThrowIfNull(receiver); 37ArgumentNullException.ThrowIfNull(receiver); 51ArgumentNullException.ThrowIfNull(receiver); 65ArgumentNullException.ThrowIfNull(receiver); 79ArgumentNullException.ThrowIfNull(receiver); 93ArgumentNullException.ThrowIfNull(receiver); 107ArgumentNullException.ThrowIfNull(receiver); 121ArgumentNullException.ThrowIfNull(receiver); 135ArgumentNullException.ThrowIfNull(receiver); 149ArgumentNullException.ThrowIfNull(receiver); 163ArgumentNullException.ThrowIfNull(receiver);
EventCallbackFactoryEventArgsExtensions.cs (4)
21ArgumentNullException.ThrowIfNull(factory); 36ArgumentNullException.ThrowIfNull(factory); 51ArgumentNullException.ThrowIfNull(factory); 66ArgumentNullException.ThrowIfNull(factory);
EventHandlerAttribute.cs (2)
30ArgumentNullException.ThrowIfNull(attributeName); 31ArgumentNullException.ThrowIfNull(eventArgsType);
NavigationManager.cs (2)
283ArgumentNullException.ThrowIfNull(uri); 284ArgumentNullException.ThrowIfNull(baseUri);
NavigationManagerExtensions.cs (4)
524ArgumentNullException.ThrowIfNull(navigationManager); 561ArgumentNullException.ThrowIfNull(navigationManager); 562ArgumentNullException.ThrowIfNull(uri); 791ArgumentNullException.ThrowIfNull(navigationManager);
ParameterView.cs (1)
321ArgumentNullException.ThrowIfNull(target);
PersistentComponentState.cs (9)
64ArgumentNullException.ThrowIfNull(callback); 111ArgumentNullException.ThrowIfNull(key); 127ArgumentNullException.ThrowIfNull(key); 147ArgumentNullException.ThrowIfNull(key); 172ArgumentNullException.ThrowIfNull(key); 190ArgumentNullException.ThrowIfNull(type); 191ArgumentNullException.ThrowIfNull(key); 220ArgumentNullException.ThrowIfNull(key); 245ArgumentNullException.ThrowIfNull(state);
Reflection\ComponentProperties.cs (1)
35ArgumentNullException.ThrowIfNull(target);
Rendering\RendererSynchronizationContextDispatcher.cs (4)
23ArgumentNullException.ThrowIfNull(workItem); 35ArgumentNullException.ThrowIfNull(workItem); 46ArgumentNullException.ThrowIfNull(workItem); 57ArgumentNullException.ThrowIfNull(workItem);
Rendering\RenderTreeBuilder.cs (1)
674ArgumentNullException.ThrowIfNull(eventType);
RenderTree\Renderer.cs (3)
97ArgumentNullException.ThrowIfNull(serviceProvider); 98ArgumentNullException.ThrowIfNull(loggerFactory); 99ArgumentNullException.ThrowIfNull(componentActivator);
RouteAttribute.cs (1)
20ArgumentNullException.ThrowIfNull(template);
Routing\RouteData.cs (1)
22ArgumentNullException.ThrowIfNull(pageType);
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (2)
445ArgumentNullException.ThrowIfNull(array); 799ArgumentNullException.ThrowIfNull(dictionary);
src\aspnetcore\src\Http\Routing\src\Constraints\BoolRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\CompositeRouteConstraint.cs (3)
27ArgumentNullException.ThrowIfNull(constraints); 50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\DateTimeRouteConstraint.cs (2)
42ArgumentNullException.ThrowIfNull(routeKey); 43ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\DecimalRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\DoubleRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\FileNameRouteConstraint.cs (2)
107ArgumentNullException.ThrowIfNull(routeKey); 108ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\FloatRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\GuidRouteConstraint.cs (2)
38ArgumentNullException.ThrowIfNull(routeKey); 39ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\IntRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\LengthRouteConstraint.cs (2)
92ArgumentNullException.ThrowIfNull(routeKey); 93ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\LongRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\MaxLengthRouteConstraint.cs (2)
56ArgumentNullException.ThrowIfNull(routeKey); 57ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\MaxRouteConstraint.cs (1)
53ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\MinLengthRouteConstraint.cs (2)
56ArgumentNullException.ThrowIfNull(routeKey); 57ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\MinRouteConstraint.cs (2)
50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\NonFileNameRouteConstraint.cs (2)
103ArgumentNullException.ThrowIfNull(routeKey); 104ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\OptionalRouteConstraint.cs (3)
27ArgumentNullException.ThrowIfNull(innerConstraint); 50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\RangeRouteConstraint.cs (2)
64ArgumentNullException.ThrowIfNull(routeKey); 65ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Constraints\RegexRouteConstraint.cs (4)
36ArgumentNullException.ThrowIfNull(regex); 49ArgumentNullException.ThrowIfNull(regexPattern); 91ArgumentNullException.ThrowIfNull(routeKey); 92ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\DefaultInlineConstraintResolver.cs (3)
33ArgumentNullException.ThrowIfNull(routeOptions); 34ArgumentNullException.ThrowIfNull(serviceProvider); 50ArgumentNullException.ThrowIfNull(inlineConstraint);
src\aspnetcore\src\Http\Routing\src\ParameterPolicyActivator.cs (1)
76ArgumentNullException.ThrowIfNull(inlineParameterPolicy);
src\aspnetcore\src\Http\Routing\src\Patterns\RouteParameterParser.cs (1)
18ArgumentNullException.ThrowIfNull(parameter);
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePattern.cs (1)
137ArgumentNullException.ThrowIfNull(name);
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternException.cs (2)
34ArgumentNullException.ThrowIfNull(pattern); 35ArgumentNullException.ThrowIfNull(message);
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternFactory.cs (3)
180ArgumentNullException.ThrowIfNull(segments); 974ArgumentNullException.ThrowIfNull(constraint); 1004ArgumentNullException.ThrowIfNull(parameterPolicy);
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternMatcher.cs (2)
27ArgumentNullException.ThrowIfNull(pattern); 65ArgumentNullException.ThrowIfNull(values);
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternParser.cs (1)
27ArgumentNullException.ThrowIfNull(pattern);
src\aspnetcore\src\Http\Routing\src\RouteConstraintBuilder.cs (5)
38ArgumentNullException.ThrowIfNull(inlineConstraintResolver); 39ArgumentNullException.ThrowIfNull(displayName); 134ArgumentNullException.ThrowIfNull(key); 135ArgumentNullException.ThrowIfNull(constraintText); 162ArgumentNullException.ThrowIfNull(key);
src\aspnetcore\src\Http\Routing\src\RouteConstraintMatcher.cs (1)
49ArgumentNullException.ThrowIfNull(routeValues);
src\aspnetcore\src\Http\Routing\src\RouteOptions.cs (1)
90ArgumentNullException.ThrowIfNull(value);
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouteBuilder.cs (4)
53ArgumentNullException.ThrowIfNull(loggerFactory); 57ArgumentNullException.ThrowIfNull(constraintResolver); 91ArgumentNullException.ThrowIfNull(handler); 92ArgumentNullException.ThrowIfNull(routeTemplate);
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouter.cs (3)
71ArgumentNullException.ThrowIfNull(trees); 75ArgumentNullException.ThrowIfNull(urlEncoder); 79ArgumentNullException.ThrowIfNull(routeLogger);
Microsoft.AspNetCore.Components.AI (21)
Blocks\ContentBlock.cs (1)
49ArgumentNullException.ThrowIfNull(callback);
Blocks\RichContentBlock.cs (1)
32ArgumentNullException.ThrowIfNull(text);
Blocks\RichText\CodeBlockNode.cs (1)
25ArgumentNullException.ThrowIfNull(code);
Blocks\RichText\HtmlNode.cs (1)
24ArgumentNullException.ThrowIfNull(value);
Blocks\RichText\ImageNode.cs (1)
26ArgumentNullException.ThrowIfNull(url);
Blocks\RichText\InlineCodeNode.cs (1)
24ArgumentNullException.ThrowIfNull(code);
Blocks\RichText\LinkNode.cs (1)
25ArgumentNullException.ThrowIfNull(url);
Blocks\RichText\RichTextContent.cs (2)
29ArgumentNullException.ThrowIfNull(text); 30ArgumentNullException.ThrowIfNull(nodes);
Blocks\RichText\RichTextNode.cs (1)
31ArgumentNullException.ThrowIfNull(child);
Blocks\RichText\TextNode.cs (1)
24ArgumentNullException.ThrowIfNull(text);
Components\MessageListContext.cs (1)
25ArgumentNullException.ThrowIfNull(block);
Engine\AgentContext.cs (5)
37ArgumentNullException.ThrowIfNull(agent); 76ArgumentNullException.ThrowIfNull(message); 139ArgumentNullException.ThrowIfNull(callback); 151ArgumentNullException.ThrowIfNull(callback); 163ArgumentNullException.ThrowIfNull(callback);
Engine\UIAgent.cs (1)
87ArgumentNullException.ThrowIfNull(chatClient);
Pipeline\BlockMappingResult.cs (1)
41ArgumentNullException.ThrowIfNull(block);
Pipeline\UIAgentOptions.cs (2)
41ArgumentNullException.ThrowIfNull(handler); 57ArgumentNullException.ThrowIfNull(function);
Microsoft.AspNetCore.Components.Authorization (2)
AuthenticationState.cs (1)
19ArgumentNullException.ThrowIfNull(user);
AuthenticationStateProvider.cs (1)
29ArgumentNullException.ThrowIfNull(task);
Microsoft.AspNetCore.Components.Endpoints (46)
BrowserConfiguration\BrowserOptions.cs (1)
45ArgumentNullException.ThrowIfNull(context);
Builder\RazorComponentsEndpointConventionBuilder.cs (1)
52ArgumentNullException.ThrowIfNull(convention);
Builder\RazorComponentsEndpointConventionBuilderExtensions.cs (5)
28ArgumentNullException.ThrowIfNull(builder); 29ArgumentNullException.ThrowIfNull(assemblies); 54ArgumentNullException.ThrowIfNull(builder); 78ArgumentNullException.ThrowIfNull(builder); 79ArgumentNullException.ThrowIfNull(configureOptions);
Builder\RazorComponentsEndpointHttpContextExtensions.cs (1)
31ArgumentNullException.ThrowIfNull(context);
Builder\RazorComponentsEndpointRouteBuilderExtensions.cs (2)
27ArgumentNullException.ThrowIfNull(endpoints); 58ArgumentNullException.ThrowIfNull(endpoints);
DependencyInjection\RazorComponentsRazorComponentBuilderExtensions.cs (1)
27ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
39ArgumentNullException.ThrowIfNull(services);
Discovery\AssemblyComponentLibraryDescriptor.cs (2)
25ArgumentNullException.ThrowIfNull(pages); 26ArgumentNullException.ThrowIfNull(components);
Discovery\ComponentInfo.cs (2)
23ArgumentNullException.ThrowIfNull(componentType); 40ArgumentNullException.ThrowIfNull(value, nameof(value));
FormMapping\Converters\CollectionConverter.cs (1)
47ArgumentNullException.ThrowIfNull(elementConverter);
FormMapping\Converters\DictionaryConverter.cs (1)
23ArgumentNullException.ThrowIfNull(elementConverter);
FormMapping\Factories\CollectionConverterFactory.cs (2)
49ArgumentNullException.ThrowIfNull(type); 50ArgumentNullException.ThrowIfNull(options);
FormMapping\FormDataMappingError.cs (2)
10ArgumentNullException.ThrowIfNull(key); 11ArgumentNullException.ThrowIfNull(message);
FormMapping\FormDataMappingException.cs (1)
13ArgumentNullException.ThrowIfNull(error);
FormMapping\FormDataReader.cs (2)
61ArgumentNullException.ThrowIfNull(errorMessage); 87ArgumentNullException.ThrowIfNull(exception);
Forms\DataAnnotationsClientValidationProvider.cs (1)
64ArgumentNullException.ThrowIfNull(editContext);
Rendering\EndpointHtmlRenderer.Prerendering.cs (2)
103ArgumentNullException.ThrowIfNull(httpContext); 104ArgumentNullException.ThrowIfNull(componentType);
Results\RazorComponentResult.cs (2)
51ArgumentNullException.ThrowIfNull(componentType); 52ArgumentNullException.ThrowIfNull(parameters);
Results\RazorComponentResultExecutor.cs (1)
24ArgumentNullException.ThrowIfNull(httpContext);
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (8)
92ArgumentNullException.ThrowIfNull(context); 93ArgumentNullException.ThrowIfNull(key); 147ArgumentNullException.ThrowIfNull(context); 148ArgumentNullException.ThrowIfNull(key); 149ArgumentNullException.ThrowIfNull(options); 227ArgumentNullException.ThrowIfNull(context); 228ArgumentNullException.ThrowIfNull(key); 229ArgumentNullException.ThrowIfNull(options);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
25ArgumentNullException.ThrowIfNull(existingState);
TempData\CookieTempDataProvider.cs (2)
43ArgumentNullException.ThrowIfNull(context); 117ArgumentNullException.ThrowIfNull(context);
TempData\SessionStorageTempDataProvider.cs (2)
26ArgumentNullException.ThrowIfNull(context); 57ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Components.Forms (7)
EditContext.cs (2)
362/// <exception cref="ArgumentNullException"><paramref name="validator"/> is <see langword="null"/>.</exception> 366ArgumentNullException.ThrowIfNull(validator);
EditContextDataAnnotationsExtensions.cs (1)
31ArgumentNullException.ThrowIfNull(serviceProvider);
FieldIdentifier.cs (2)
36ArgumentNullException.ThrowIfNull(accessor); 49ArgumentNullException.ThrowIfNull(model);
ValidationRequestedEventArgs.cs (2)
39/// <exception cref="ArgumentNullException"><paramref name="validator"/> is <see langword="null"/>.</exception> 45ArgumentNullException.ThrowIfNull(validator);
Microsoft.AspNetCore.Components.Media (6)
MediaSource.cs (6)
44ArgumentNullException.ThrowIfNull(data); 45ArgumentNullException.ThrowIfNull(mimeType); 46ArgumentNullException.ThrowIfNull(cacheKey); 65ArgumentNullException.ThrowIfNull(stream); 66ArgumentNullException.ThrowIfNull(mimeType); 67ArgumentNullException.ThrowIfNull(cacheKey);
Microsoft.AspNetCore.Components.Server (17)
Builder\ComponentEndpointRouteBuilderExtensions.cs (8)
23ArgumentNullException.ThrowIfNull(endpoints); 38ArgumentNullException.ThrowIfNull(endpoints); 39ArgumentNullException.ThrowIfNull(path); 54ArgumentNullException.ThrowIfNull(endpoints); 55ArgumentNullException.ThrowIfNull(configureOptions); 72ArgumentNullException.ThrowIfNull(endpoints); 73ArgumentNullException.ThrowIfNull(path); 74ArgumentNullException.ThrowIfNull(configureOptions);
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (2)
37ArgumentNullException.ThrowIfNull(builder); 38ArgumentNullException.ThrowIfNull(configure);
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
27ArgumentNullException.ThrowIfNull(loggerFactory);
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
35ArgumentNullException.ThrowIfNull(builder, nameof(builder));
DependencyInjection\ServerSideBlazorBuilderExtensions.cs (4)
22ArgumentNullException.ThrowIfNull(builder); 23ArgumentNullException.ThrowIfNull(configure); 38ArgumentNullException.ThrowIfNull(builder); 39ArgumentNullException.ThrowIfNull(configure);
src\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
25ArgumentNullException.ThrowIfNull(existingState);
Microsoft.AspNetCore.Components.Server.AutoPause (1)
AutoPauseBrowserOptionsExtensions.cs (1)
24ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Components.Testing (14)
Infrastructure\PlaywrightExtensions.cs (7)
99ArgumentNullException.ThrowIfNull(browser); 100ArgumentNullException.ThrowIfNull(server); 101ArgumentNullException.ThrowIfNull(artifactDir); 102ArgumentNullException.ThrowIfNull(artifactManager); 131ArgumentNullException.ThrowIfNull(context); 132ArgumentNullException.ThrowIfNull(artifactDir); 133ArgumentNullException.ThrowIfNull(artifactManager);
Infrastructure\TracingSession.cs (3)
62ArgumentNullException.ThrowIfNull(context); 63ArgumentNullException.ThrowIfNull(artifactDir); 64ArgumentNullException.ThrowIfNull(artifactManager);
Playwright\BrowserTest.cs (1)
104ArgumentNullException.ThrowIfNull(server);
Playwright\UITest.cs (3)
44ArgumentNullException.ThrowIfNull(disposable); 64ArgumentNullException.ThrowIfNull(factory); 84ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Components.Web (17)
BindInputElementAttribute.cs (2)
29ArgumentNullException.ThrowIfNull(valueAttribute); 30ArgumentNullException.ThrowIfNull(changeAttribute);
Forms\AntiforgeryRequestToken.cs (2)
18ArgumentNullException.ThrowIfNull(value); 19ArgumentNullException.ThrowIfNull(formFieldName);
Forms\EditContextFieldClassExtensions.cs (1)
49ArgumentNullException.ThrowIfNull(fieldCssClassProvider);
Forms\ExpressionMemberAccessor.cs (4)
30ArgumentNullException.ThrowIfNull(accessor); 68ArgumentNullException.ThrowIfNull(member); 94ArgumentNullException.ThrowIfNull(accessor); 103ArgumentNullException.ThrowIfNull(accessor);
Forms\Mapping\EditContextFormMappingExtensions.cs (4)
14ArgumentNullException.ThrowIfNull(context, nameof(context)); 15ArgumentNullException.ThrowIfNull(mappingContext, nameof(mappingContext)); 24ArgumentNullException.ThrowIfNull(context, nameof(context)); 25ArgumentNullException.ThrowIfNull(fieldName, nameof(fieldName));
Forms\Mapping\FormMappingContext.cs (1)
19ArgumentNullException.ThrowIfNull(mappingScopeName);
Forms\Mapping\FormValueMappingContext.cs (3)
15ArgumentNullException.ThrowIfNull(acceptMappingScopeName, nameof(acceptMappingScopeName)); 16ArgumentNullException.ThrowIfNull(valueType, nameof(valueType)); 17ArgumentNullException.ThrowIfNull(parameterName, nameof(parameterName));
Microsoft.AspNetCore.Components.WebAssembly (31)
Hosting\RootComponentMapping.cs (2)
22ArgumentNullException.ThrowIfNull(componentType); 31ArgumentNullException.ThrowIfNull(selector);
Hosting\RootComponentMappingCollection.cs (4)
26ArgumentNullException.ThrowIfNull(selector); 49ArgumentNullException.ThrowIfNull(componentType); 50ArgumentNullException.ThrowIfNull(selector); 61ArgumentNullException.ThrowIfNull(items);
Hosting\WebAssemblyHostBuilder.cs (1)
292ArgumentNullException.ThrowIfNull(factory);
Hosting\WebassemblyHostBuilderExtensions.cs (2)
36ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(configure);
Hosting\WebAssemblyHostConfiguration.cs (1)
145ArgumentNullException.ThrowIfNull(source);
Hosting\WebAssemblyHostEnvironmentExtensions.cs (4)
18ArgumentNullException.ThrowIfNull(hostingEnvironment); 30ArgumentNullException.ThrowIfNull(hostingEnvironment); 42ArgumentNullException.ThrowIfNull(hostingEnvironment); 57ArgumentNullException.ThrowIfNull(hostingEnvironment);
Http\WebAssemblyHttpRequestMessageExtensions.cs (6)
28ArgumentNullException.ThrowIfNull(requestMessage); 52ArgumentNullException.ThrowIfNull(requestMessage); 79ArgumentNullException.ThrowIfNull(requestMessage); 117ArgumentNullException.ThrowIfNull(requestMessage); 148ArgumentNullException.ThrowIfNull(requestMessage); 167ArgumentNullException.ThrowIfNull(requestMessage);
Rendering\NullDispatcher.cs (4)
18ArgumentNullException.ThrowIfNull(workItem); 26ArgumentNullException.ThrowIfNull(workItem); 33ArgumentNullException.ThrowIfNull(workItem); 40ArgumentNullException.ThrowIfNull(workItem);
Rendering\WebAssemblyDispatcher.cs (4)
20ArgumentNullException.ThrowIfNull(workItem); 53ArgumentNullException.ThrowIfNull(workItem); 81ArgumentNullException.ThrowIfNull(workItem); 126ArgumentNullException.ThrowIfNull(workItem);
Services\WebAssemblyConsoleLogger.cs (1)
51ArgumentNullException.ThrowIfNull(formatter);
Services\WebAssemblyNavigationManager.cs (1)
55ArgumentNullException.ThrowIfNull(uri);
src\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
25ArgumentNullException.ThrowIfNull(existingState);
Microsoft.AspNetCore.Components.WebAssembly.Authentication (6)
Models\InteractiveRequestOptions.cs (3)
44ArgumentNullException.ThrowIfNull(name, nameof(name)); 54ArgumentNullException.ThrowIfNull(name, nameof(name)); 63ArgumentNullException.ThrowIfNull(name);
Services\AccessTokenNotAvailableException.cs (1)
55ArgumentNullException.ThrowIfNull(configureInteractionOptions);
Services\AuthorizationMessageHandler.cs (1)
105ArgumentNullException.ThrowIfNull(authorizedUrls);
Services\RemoteAuthenticationService.cs (1)
156ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (1)
36ArgumentNullException.ThrowIfNull(builder);
WebAssemblyRazorComponentsBuilderExtensions.cs (1)
28ArgumentNullException.ThrowIfNull(builder, nameof(builder));
Microsoft.AspNetCore.Components.WebView (5)
FileExtensionContentTypeProvider.cs (1)
424ArgumentNullException.ThrowIfNull(mapping);
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
42ArgumentNullException.ThrowIfNull(subpath); 156ArgumentNullException.ThrowIfNull(subpath);
WebViewManager.cs (2)
177/// <exception cref="ArgumentNullException">Thrown if <paramref name="workItem"/> is <c>null</c>.</exception> 180ArgumentNullException.ThrowIfNull(workItem);
Microsoft.AspNetCore.Components.WebView.Maui (3)
BlazorWebView.cs (2)
85 /// <exception cref="ArgumentNullException">Thrown if <paramref name="workItem"/> is <c>null</c>.</exception> 91 ArgumentNullException.ThrowIfNull(workItem);
Standard\BlazorWebViewHandler.cs (1)
24 /// <exception cref="ArgumentNullException">Thrown if <paramref name="workItem"/> is <c>null</c>.</exception>
Microsoft.AspNetCore.Components.WebView.WindowsForms (3)
BlazorWebView.cs (2)
300 /// <exception cref="ArgumentNullException">Thrown if <paramref name="workItem"/> is <c>null</c>.</exception> 303 ArgumentNullException.ThrowIfNull(workItem);
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
101 ArgumentNullException.ThrowIfNull(webview);
Microsoft.AspNetCore.Components.WebView.Wpf (3)
BlazorWebView.cs (2)
360 /// <exception cref="ArgumentNullException">Thrown if <paramref name="workItem"/> is <c>null</c>.</exception> 363 ArgumentNullException.ThrowIfNull(workItem);
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
101 ArgumentNullException.ThrowIfNull(webview);
Microsoft.AspNetCore.CookiePolicy (10)
CookiePolicyAppBuilderExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(app); 34ArgumentNullException.ThrowIfNull(app); 35ArgumentNullException.ThrowIfNull(options);
CookiePolicyServiceCollectionExtensions.cs (4)
21ArgumentNullException.ThrowIfNull(services); 22ArgumentNullException.ThrowIfNull(configureOptions); 35ArgumentNullException.ThrowIfNull(services); 36ArgumentNullException.ThrowIfNull(configureOptions);
ResponseCookiesWrapper.cs (3)
126ArgumentNullException.ThrowIfNull(options); 140ArgumentNullException.ThrowIfNull(options); 198ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Cors (36)
CorsServiceCollectionExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(services); 39ArgumentNullException.ThrowIfNull(services); 40ArgumentNullException.ThrowIfNull(setupAction);
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (4)
21ArgumentNullException.ThrowIfNull(builder); 38ArgumentNullException.ThrowIfNull(builder); 55ArgumentNullException.ThrowIfNull(builder); 56ArgumentNullException.ThrowIfNull(configurePolicy);
Infrastructure\CorsMiddleware.cs (7)
50ArgumentNullException.ThrowIfNull(next); 51ArgumentNullException.ThrowIfNull(corsService); 52ArgumentNullException.ThrowIfNull(loggerFactory); 73ArgumentNullException.ThrowIfNull(next); 74ArgumentNullException.ThrowIfNull(corsService); 75ArgumentNullException.ThrowIfNull(policy); 76ArgumentNullException.ThrowIfNull(loggerFactory);
Infrastructure\CorsMiddlewareExtensions.cs (4)
20ArgumentNullException.ThrowIfNull(app); 33ArgumentNullException.ThrowIfNull(app); 48ArgumentNullException.ThrowIfNull(app); 49ArgumentNullException.ThrowIfNull(configurePolicy);
Infrastructure\CorsOptions.cs (7)
36ArgumentNullException.ThrowIfNull(policy); 47ArgumentNullException.ThrowIfNull(configurePolicy); 59ArgumentNullException.ThrowIfNull(name); 60ArgumentNullException.ThrowIfNull(policy); 72ArgumentNullException.ThrowIfNull(name); 73ArgumentNullException.ThrowIfNull(configurePolicy); 89ArgumentNullException.ThrowIfNull(name);
Infrastructure\CorsPolicyBuilder.cs (3)
56ArgumentNullException.ThrowIfNull(origins); 69ArgumentNullException.ThrowIfNull(origin); 245ArgumentNullException.ThrowIfNull(policy);
Infrastructure\CorsService.cs (7)
29ArgumentNullException.ThrowIfNull(options); 30ArgumentNullException.ThrowIfNull(loggerFactory); 46ArgumentNullException.ThrowIfNull(context); 60ArgumentNullException.ThrowIfNull(context); 61ArgumentNullException.ThrowIfNull(policy); 154ArgumentNullException.ThrowIfNull(result); 155ArgumentNullException.ThrowIfNull(response);
Infrastructure\DefaultCorsPolicyProvider.cs (1)
27ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Cryptography.KeyDerivation (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.DataProtection (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.DataProtection.Abstractions (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
EntityFrameworkCoreXmlRepository.cs (1)
34ArgumentNullException.ThrowIfNull(loggerFactory);
Microsoft.AspNetCore.DataProtection.Extensions (4)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.AspNetCore.DataProtection.StackExchangeRedis (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Diagnostics (42)
DeveloperExceptionPage\DeveloperExceptionPageExtensions.cs (3)
24ArgumentNullException.ThrowIfNull(app); 43ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(options);
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (3)
56ArgumentNullException.ThrowIfNull(next); 57ArgumentNullException.ThrowIfNull(options); 58ArgumentNullException.ThrowIfNull(filters);
ExceptionHandler\ExceptionHandlerExtensions.cs (7)
28ArgumentNullException.ThrowIfNull(app); 42ArgumentNullException.ThrowIfNull(app); 60ArgumentNullException.ThrowIfNull(app); 78ArgumentNullException.ThrowIfNull(app); 79ArgumentNullException.ThrowIfNull(configure); 100ArgumentNullException.ThrowIfNull(app); 101ArgumentNullException.ThrowIfNull(options);
ExceptionHandler\ExceptionHandlerServiceCollectionExtensions.cs (4)
23ArgumentNullException.ThrowIfNull(services); 24ArgumentNullException.ThrowIfNull(configureOptions); 37ArgumentNullException.ThrowIfNull(services); 38ArgumentNullException.ThrowIfNull(configureOptions);
src\aspnetcore\src\Shared\Diagnostics\BaseView.cs (4)
144ArgumentNullException.ThrowIfNull(writer); 145ArgumentNullException.ThrowIfNull(name); 146ArgumentNullException.ThrowIfNull(leader); 147ArgumentNullException.ThrowIfNull(trailer);
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (4)
101ArgumentNullException.ThrowIfNull(writer); 182ArgumentNullException.ThrowIfNull(name); 183ArgumentNullException.ThrowIfNull(leader); 184ArgumentNullException.ThrowIfNull(trailer);
StatusCodePage\StatusCodePagesExtensions.cs (10)
32ArgumentNullException.ThrowIfNull(app); 33ArgumentNullException.ThrowIfNull(options); 49ArgumentNullException.ThrowIfNull(app); 63ArgumentNullException.ThrowIfNull(app); 64ArgumentNullException.ThrowIfNull(handler); 82ArgumentNullException.ThrowIfNull(app); 102ArgumentNullException.ThrowIfNull(app); 134ArgumentNullException.ThrowIfNull(app); 155ArgumentNullException.ThrowIfNull(app); 187ArgumentNullException.ThrowIfNull(app);
WelcomePage\WelcomePageExtensions.cs (5)
23ArgumentNullException.ThrowIfNull(app); 24ArgumentNullException.ThrowIfNull(options); 37ArgumentNullException.ThrowIfNull(app); 53ArgumentNullException.ThrowIfNull(app); 68ArgumentNullException.ThrowIfNull(app);
WelcomePage\WelcomePageMiddleware.cs (2)
26ArgumentNullException.ThrowIfNull(next); 27ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (23)
DatabaseDeveloperPageExceptionFilterServiceExtensions.cs (1)
28ArgumentNullException.ThrowIfNull(services);
DatabaseErrorPageExtensions.cs (3)
27ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(app); 45ArgumentNullException.ThrowIfNull(options);
DatabaseErrorPageMiddleware.cs (4)
57ArgumentNullException.ThrowIfNull(next); 58ArgumentNullException.ThrowIfNull(loggerFactory); 59ArgumentNullException.ThrowIfNull(options); 77ArgumentNullException.ThrowIfNull(httpContext);
MigrationsEndPointExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(app); 35ArgumentNullException.ThrowIfNull(app); 36ArgumentNullException.ThrowIfNull(options);
MigrationsEndPointMiddleware.cs (4)
36ArgumentNullException.ThrowIfNull(next); 37ArgumentNullException.ThrowIfNull(logger); 38ArgumentNullException.ThrowIfNull(options); 53ArgumentNullException.ThrowIfNull(context);
src\aspnetcore\src\Shared\Diagnostics\BaseView.cs (4)
144ArgumentNullException.ThrowIfNull(writer); 145ArgumentNullException.ThrowIfNull(name); 146ArgumentNullException.ThrowIfNull(leader); 147ArgumentNullException.ThrowIfNull(trailer);
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (4)
101ArgumentNullException.ThrowIfNull(writer); 182ArgumentNullException.ThrowIfNull(name); 183ArgumentNullException.ThrowIfNull(leader); 184ArgumentNullException.ThrowIfNull(trailer);
Microsoft.AspNetCore.Diagnostics.HealthChecks (18)
Builder\HealthCheckApplicationBuilderExtensions.cs (11)
36ArgumentNullException.ThrowIfNull(app); 59ArgumentNullException.ThrowIfNull(app); 60ArgumentNullException.ThrowIfNull(options); 87ArgumentNullException.ThrowIfNull(app); 114ArgumentNullException.ThrowIfNull(app); 115ArgumentNullException.ThrowIfNull(port); 145ArgumentNullException.ThrowIfNull(app); 146ArgumentNullException.ThrowIfNull(options); 171ArgumentNullException.ThrowIfNull(app); 178ArgumentNullException.ThrowIfNull(port); 185ArgumentNullException.ThrowIfNull(options);
Builder\HealthCheckEndpointRouteBuilderExtensions.cs (3)
30ArgumentNullException.ThrowIfNull(endpoints); 47ArgumentNullException.ThrowIfNull(endpoints); 48ArgumentNullException.ThrowIfNull(options);
HealthCheckMiddleware.cs (4)
27ArgumentNullException.ThrowIfNull(next); 28ArgumentNullException.ThrowIfNull(healthCheckOptions); 29ArgumentNullException.ThrowIfNull(healthCheckService); 43ArgumentNullException.ThrowIfNull(httpContext);
Microsoft.AspNetCore.Diagnostics.Middleware (17)
Buffering\PerIncomingRequestLoggingBuilderExtensions.cs (3)
28/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="configuration"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="configure"/> is <see langword="null"/>.</exception> 86/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
56ArgumentNullException.ThrowIfNull(services); 58ArgumentNullException.ThrowIfNull(config); 74ArgumentNullException.ThrowIfNull(configuration);
Latency\HttpLatencyTelemetryServiceCollectionExtensions.cs (1)
22/// <exception cref="System.ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception>
Latency\RequestLatencyTelemetryApplicationBuilderExtensions.cs (2)
20/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null" />.</exception>
Latency\RequestLatencyTelemetryServiceCollectionExtensions.cs (4)
24/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 35/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 53/// <exception cref="ArgumentNullException">Either <paramref name="services"/> or <paramref name="configure"/> is <see langword="null" />.</exception> 65/// <exception cref="ArgumentNullException">Either <paramref name="services"/> or <paramref name="section"/> is <see langword="null" />.</exception>
Logging\HttpLoggingServiceCollectionExtensions.cs (2)
34/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception>
Logging\RequestHeadersEnricherServiceCollectionExtensions.cs (2)
20/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception> 36/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (14)
Latency\HttpLatencyTelemetryServiceCollectionExtensionsTests.cs (1)
16Assert.Throws<ArgumentNullException>(() =>
Latency\RequestCheckpointExtensionsTests.cs (3)
17Assert.Throws<ArgumentNullException>(() => Extensions.DependencyInjection.RequestLatencyTelemetryServiceCollectionExtensions.AddRequestCheckpoint(null!)); 23Assert.Throws<ArgumentNullException>(() => Builder.RequestLatencyTelemetryApplicationBuilderExtensions.UseRequestCheckpoint(null!)); 29Assert.Throws<ArgumentNullException>(() => Extensions.DependencyInjection.RequestLatencyTelemetryServiceCollectionExtensions.AddPipelineEntryCheckpoint(null!));
Latency\RequestLatencyTelemetryExtensionsTests.cs (4)
20Assert.Throws<ArgumentNullException>(() => 22Assert.Throws<ArgumentNullException>(() => 24Assert.Throws<ArgumentNullException>(() => 26Assert.Throws<ArgumentNullException>(() =>
Logging\HttpLoggingServiceExtensionsTests.cs (2)
26Assert.Throws<ArgumentNullException>(static () => HttpLoggingServiceCollectionExtensions.AddHttpLogEnricher<TestHttpLogEnricher>(null!)); 28Assert.Throws<ArgumentNullException>(
Logging\RequestHeadersEnricherExtensionsTests.cs (4)
18Assert.Throws<ArgumentNullException>(() => 21Assert.Throws<ArgumentNullException>(() => 24Assert.Throws<ArgumentNullException>(() => 35Assert.Throws<ArgumentNullException>(() => sp.GetRequiredService<ILogEnricher>());
Microsoft.AspNetCore.Grpc.JsonTranscoding (5)
GrpcJsonTranscodingServiceExtensions.cs (3)
27ArgumentNullException.ThrowIfNull(builder); 45ArgumentNullException.ThrowIfNull(builder); 63ArgumentNullException.ThrowIfNull(options);
Internal\HttpContextStreamWriter.cs (1)
44ArgumentNullException.ThrowIfNull(message);
Internal\JsonRequestHelpers.cs (1)
30ArgumentNullException.ThrowIfNull(request);
Microsoft.AspNetCore.HeaderParsing (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
50ArgumentNullException.ThrowIfNull(optionsBuilder); 61ArgumentNullException.ThrowIfNull(services); 63ArgumentNullException.ThrowIfNull(config);
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.AspNetCore.HeaderPropagation (25)
DependencyInjection\HeaderPropagationApplicationBuilderExtensions.cs (1)
29ArgumentNullException.ThrowIfNull(app);
DependencyInjection\HeaderPropagationHttpClientBuilderExtensions.cs (3)
24ArgumentNullException.ThrowIfNull(builder); 53ArgumentNullException.ThrowIfNull(builder); 54ArgumentNullException.ThrowIfNull(configure);
DependencyInjection\HeaderPropagationServiceCollectionExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(services); 37ArgumentNullException.ThrowIfNull(services); 38ArgumentNullException.ThrowIfNull(configureOptions);
HeaderPropagationContext.cs (2)
23ArgumentNullException.ThrowIfNull(httpContext); 24ArgumentNullException.ThrowIfNull(headerName);
HeaderPropagationEntry.cs (2)
31ArgumentNullException.ThrowIfNull(inboundHeaderName); 32ArgumentNullException.ThrowIfNull(capturedHeaderName);
HeaderPropagationEntryCollection.cs (6)
22ArgumentNullException.ThrowIfNull(headerName); 39ArgumentNullException.ThrowIfNull(headerName); 56ArgumentNullException.ThrowIfNull(inboundHeaderName); 57ArgumentNullException.ThrowIfNull(outboundHeaderName); 81ArgumentNullException.ThrowIfNull(inboundHeaderName); 82ArgumentNullException.ThrowIfNull(outboundHeaderName);
HeaderPropagationMessageHandlerEntry.cs (2)
25ArgumentNullException.ThrowIfNull(capturedHeaderName); 26ArgumentNullException.ThrowIfNull(outboundHeaderName);
HeaderPropagationMessageHandlerEntryCollection.cs (3)
23ArgumentNullException.ThrowIfNull(headerName); 40ArgumentNullException.ThrowIfNull(capturedHeaderName); 41ArgumentNullException.ThrowIfNull(outboundHeaderName);
HeaderPropagationMiddleware.cs (3)
30ArgumentNullException.ThrowIfNull(next); 31ArgumentNullException.ThrowIfNull(options); 32ArgumentNullException.ThrowIfNull(values);
Microsoft.AspNetCore.HostFiltering (3)
HostFilteringBuilderExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(app);
HostFilteringServicesExtensions.cs (2)
22ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.Hosting (21)
GenericHostWebHostBuilderExtensions.cs (3)
23ArgumentNullException.ThrowIfNull(configure); 66ArgumentNullException.ThrowIfNull(configure); 67ArgumentNullException.ThrowIfNull(configureWebHostBuilder);
Http\DefaultHttpContextFactory.cs (1)
46ArgumentNullException.ThrowIfNull(featureCollection);
Internal\HostingEnvironmentExtensions.cs (2)
15ArgumentNullException.ThrowIfNull(options); 66ArgumentNullException.ThrowIfNull(options);
Internal\WebHost.cs (3)
56ArgumentNullException.ThrowIfNull(appServices); 57ArgumentNullException.ThrowIfNull(hostingServiceProvider); 58ArgumentNullException.ThrowIfNull(config);
Internal\WebHostOptions.cs (1)
16ArgumentNullException.ThrowIfNull(primaryConfiguration);
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (4)
101ArgumentNullException.ThrowIfNull(writer); 182ArgumentNullException.ThrowIfNull(name); 183ArgumentNullException.ThrowIfNull(leader); 184ArgumentNullException.ThrowIfNull(trailer);
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
42ArgumentNullException.ThrowIfNull(subpath); 156ArgumentNullException.ThrowIfNull(subpath);
WebHostBuilder.cs (1)
96ArgumentNullException.ThrowIfNull(configureServices);
WebHostBuilderExtensions.cs (4)
33ArgumentNullException.ThrowIfNull(configureApp); 62ArgumentNullException.ThrowIfNull(configureApp); 92ArgumentNullException.ThrowIfNull(startupFactory); 135ArgumentNullException.ThrowIfNull(startupType);
Microsoft.AspNetCore.Hosting.Abstractions (11)
HostingAbstractionsWebHostBuilderExtensions.cs (6)
55ArgumentNullException.ThrowIfNull(startupAssemblyName); 70ArgumentNullException.ThrowIfNull(server); 88ArgumentNullException.ThrowIfNull(environment); 101ArgumentNullException.ThrowIfNull(contentRoot); 114ArgumentNullException.ThrowIfNull(webRoot); 127ArgumentNullException.ThrowIfNull(urls);
HostingEnvironmentExtensions.cs (4)
19ArgumentNullException.ThrowIfNull(hostingEnvironment); 31ArgumentNullException.ThrowIfNull(hostingEnvironment); 43ArgumentNullException.ThrowIfNull(hostingEnvironment); 58ArgumentNullException.ThrowIfNull(hostingEnvironment);
HostingStartupAttribute.cs (1)
20ArgumentNullException.ThrowIfNull(hostingStartupType);
Microsoft.AspNetCore.Html.Abstractions (24)
HtmlContentBuilder.cs (5)
45ArgumentNullException.ThrowIfNull(entries); 103ArgumentNullException.ThrowIfNull(destination); 130ArgumentNullException.ThrowIfNull(destination); 159ArgumentNullException.ThrowIfNull(writer); 160ArgumentNullException.ThrowIfNull(encoder);
HtmlContentBuilderExtensions.cs (13)
32ArgumentNullException.ThrowIfNull(builder); 33ArgumentNullException.ThrowIfNull(format); 34ArgumentNullException.ThrowIfNull(args); 61ArgumentNullException.ThrowIfNull(builder); 62ArgumentNullException.ThrowIfNull(format); 63ArgumentNullException.ThrowIfNull(args); 76ArgumentNullException.ThrowIfNull(builder); 91ArgumentNullException.ThrowIfNull(builder); 106ArgumentNullException.ThrowIfNull(builder); 122ArgumentNullException.ThrowIfNull(builder); 138ArgumentNullException.ThrowIfNull(builder); 153ArgumentNullException.ThrowIfNull(builder); 169ArgumentNullException.ThrowIfNull(builder);
HtmlFormattableString.cs (4)
46ArgumentNullException.ThrowIfNull(format); 47ArgumentNullException.ThrowIfNull(args); 57ArgumentNullException.ThrowIfNull(writer); 58ArgumentNullException.ThrowIfNull(encoder);
HtmlString.cs (2)
40ArgumentNullException.ThrowIfNull(writer); 41ArgumentNullException.ThrowIfNull(encoder);
Microsoft.AspNetCore.Http (31)
Features\FormFeature.cs (3)
32ArgumentNullException.ThrowIfNull(form); 60ArgumentNullException.ThrowIfNull(request); 61ArgumentNullException.ThrowIfNull(options);
Features\QueryFeature.cs (2)
30ArgumentNullException.ThrowIfNull(query); 41ArgumentNullException.ThrowIfNull(features);
Features\RequestBodyPipeFeature.cs (1)
26ArgumentNullException.ThrowIfNull(context);
Features\RequestCookiesFeature.cs (2)
27ArgumentNullException.ThrowIfNull(cookies); 38ArgumentNullException.ThrowIfNull(features);
FormFile.cs (2)
86ArgumentNullException.ThrowIfNull(target); 101ArgumentNullException.ThrowIfNull(target);
HeaderDictionary.cs (2)
85ArgumentNullException.ThrowIfNull(key); 212ArgumentNullException.ThrowIfNull(key);
HttpServiceCollectionExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(services);
Internal\BufferingHelper.cs (3)
15ArgumentNullException.ThrowIfNull(request); 30ArgumentNullException.ThrowIfNull(section); 31ArgumentNullException.ThrowIfNull(registerForDispose);
Internal\DefaultHttpResponse.cs (2)
129ArgumentNullException.ThrowIfNull(callback); 136ArgumentNullException.ThrowIfNull(callback);
Internal\ReferenceReadStream.cs (1)
20ArgumentNullException.ThrowIfNull(inner);
Internal\RequestCookieCollection.cs (1)
48ArgumentNullException.ThrowIfNull(key);
Internal\ResponseCookies.cs (3)
46ArgumentNullException.ThrowIfNull(options); 70ArgumentNullException.ThrowIfNull(options); 114ArgumentNullException.ThrowIfNull(options);
RequestFormReaderExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(request); 25ArgumentNullException.ThrowIfNull(options);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (2)
26ArgumentNullException.ThrowIfNull(sourceDictionary); 27ArgumentNullException.ThrowIfNull(comparer);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
19ArgumentNullException.ThrowIfNull(source);
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (2)
294ArgumentNullException.ThrowIfNull(array); 611ArgumentNullException.ThrowIfNull(dictionary);
Timeouts\RequestTimeoutOptions.cs (1)
42ArgumentNullException.ThrowIfNull(policy);
Microsoft.AspNetCore.Http.Abstractions (52)
CookieBuilder.cs (1)
107ArgumentNullException.ThrowIfNull(context);
Extensions\HttpResponseWritingExtensions.cs (5)
28ArgumentNullException.ThrowIfNull(response); 29ArgumentNullException.ThrowIfNull(text); 45ArgumentNullException.ThrowIfNull(response); 46ArgumentNullException.ThrowIfNull(text); 47ArgumentNullException.ThrowIfNull(encoding);
Extensions\MapExtensions.cs (2)
51ArgumentNullException.ThrowIfNull(app); 52ArgumentNullException.ThrowIfNull(configuration);
Extensions\MapMiddleware.cs (3)
23ArgumentNullException.ThrowIfNull(next); 24ArgumentNullException.ThrowIfNull(options); 42ArgumentNullException.ThrowIfNull(context);
Extensions\MapWhenExtensions.cs (3)
25ArgumentNullException.ThrowIfNull(app); 26ArgumentNullException.ThrowIfNull(predicate); 27ArgumentNullException.ThrowIfNull(configuration);
Extensions\MapWhenMiddleware.cs (3)
23ArgumentNullException.ThrowIfNull(next); 24ArgumentNullException.ThrowIfNull(options); 47ArgumentNullException.ThrowIfNull(context);
Extensions\MapWhenOptions.cs (1)
26ArgumentNullException.ThrowIfNull(value);
Extensions\RunExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(app); 21ArgumentNullException.ThrowIfNull(handler);
Extensions\UsePathBaseExtensions.cs (1)
23ArgumentNullException.ThrowIfNull(app);
Extensions\UsePathBaseMiddleware.cs (2)
23ArgumentNullException.ThrowIfNull(next); 41ArgumentNullException.ThrowIfNull(context);
Extensions\UseWhenExtensions.cs (3)
24ArgumentNullException.ThrowIfNull(app); 25ArgumentNullException.ThrowIfNull(predicate); 26ArgumentNullException.ThrowIfNull(configuration);
FragmentString.cs (1)
96ArgumentNullException.ThrowIfNull(uri);
HostString.cs (3)
48ArgumentNullException.ThrowIfNull(host); 203ArgumentNullException.ThrowIfNull(uri); 231ArgumentNullException.ThrowIfNull(patterns);
HttpProtocol.cs (1)
112ArgumentNullException.ThrowIfNull(version);
HttpResults\EmptyHttpResult.cs (1)
24ArgumentNullException.ThrowIfNull(httpContext);
Internal\ParsingHelpers.cs (7)
43ArgumentNullException.ThrowIfNull(headers); 51ArgumentNullException.ThrowIfNull(headers); 89ArgumentNullException.ThrowIfNull(headers); 104ArgumentNullException.ThrowIfNull(headers); 105ArgumentNullException.ThrowIfNull(key); 125ArgumentNullException.ThrowIfNull(headers); 126ArgumentNullException.ThrowIfNull(key);
Metadata\AcceptsMetadata.cs (1)
23ArgumentNullException.ThrowIfNull(contentTypes);
PathString.cs (2)
204ArgumentNullException.ThrowIfNull(uri); 557ArgumentNullException.ThrowIfNull(destinationType);
QueryString.cs (3)
93ArgumentNullException.ThrowIfNull(uri); 111ArgumentNullException.ThrowIfNull(name); 197ArgumentNullException.ThrowIfNull(name);
Routing\EndpointHttpContextExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(context); 36ArgumentNullException.ThrowIfNull(context);
Routing\EndpointMetadataCollection.cs (2)
38ArgumentNullException.ThrowIfNull(items); 228ArgumentNullException.ThrowIfNull(collection);
Routing\RouteValueDictionary.cs (3)
62ArgumentNullException.ThrowIfNull(items); 445ArgumentNullException.ThrowIfNull(array); 799ArgumentNullException.ThrowIfNull(dictionary);
Microsoft.AspNetCore.Http.Connections (7)
Internal\HttpConnectionContext.cs (2)
273ArgumentNullException.ThrowIfNull(value); 284ArgumentNullException.ThrowIfNull(callback);
Internal\Transports\WebSocketsServerTransport.cs (3)
25ArgumentNullException.ThrowIfNull(options); 26ArgumentNullException.ThrowIfNull(application); 27ArgumentNullException.ThrowIfNull(loggerFactory);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Http.Connections.Client (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Http.Extensions (79)
HeaderDictionaryTypeExtensions.cs (12)
44ArgumentNullException.ThrowIfNull(headers); 45ArgumentNullException.ThrowIfNull(name); 52ArgumentNullException.ThrowIfNull(headers); 53ArgumentNullException.ThrowIfNull(name); 67ArgumentNullException.ThrowIfNull(headers); 68ArgumentNullException.ThrowIfNull(name); 98ArgumentNullException.ThrowIfNull(name); 99ArgumentNullException.ThrowIfNull(values); 122ArgumentNullException.ThrowIfNull(headers); 123ArgumentNullException.ThrowIfNull(name); 170ArgumentNullException.ThrowIfNull(headers); 222ArgumentNullException.ThrowIfNull(headers);
HttpContextServerVariableExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(context); 25ArgumentNullException.ThrowIfNull(variableName);
HttpRequestJsonExtensions.cs (11)
43ArgumentNullException.ThrowIfNull(request); 65ArgumentNullException.ThrowIfNull(request); 123ArgumentNullException.ThrowIfNull(request); 179ArgumentNullException.ThrowIfNull(request); 233ArgumentNullException.ThrowIfNull(request); 256ArgumentNullException.ThrowIfNull(request); 257ArgumentNullException.ThrowIfNull(type); 317ArgumentNullException.ThrowIfNull(request); 318ArgumentNullException.ThrowIfNull(type); 319ArgumentNullException.ThrowIfNull(context); 371ArgumentNullException.ThrowIfNull(request);
HttpRequestMultipartExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(request);
HttpResponseJsonExtensions.cs (10)
41ArgumentNullException.ThrowIfNull(response); 87ArgumentNullException.ThrowIfNull(response); 120ArgumentNullException.ThrowIfNull(response); 162ArgumentNullException.ThrowIfNull(response); 217ArgumentNullException.ThrowIfNull(response); 265ArgumentNullException.ThrowIfNull(response); 266ArgumentNullException.ThrowIfNull(type); 317ArgumentNullException.ThrowIfNull(response); 318ArgumentNullException.ThrowIfNull(type); 319ArgumentNullException.ThrowIfNull(context);
ProblemDetailsService.cs (3)
28ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(context.ProblemDetails); 30ArgumentNullException.ThrowIfNull(context.HttpContext);
ProblemDetailsServiceCollectionExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(services); 38ArgumentNullException.ThrowIfNull(services);
RequestDelegateFactory.cs (2)
179ArgumentNullException.ThrowIfNull(handler); 231ArgumentNullException.ThrowIfNull(methodInfo);
RequestHeaders.cs (5)
21ArgumentNullException.ThrowIfNull(headers); 383ArgumentNullException.ThrowIfNull(name); 396ArgumentNullException.ThrowIfNull(name); 408ArgumentNullException.ThrowIfNull(name); 409ArgumentNullException.ThrowIfNull(value);
ResponseHeaders.cs (5)
21ArgumentNullException.ThrowIfNull(headers); 233ArgumentNullException.ThrowIfNull(name); 246ArgumentNullException.ThrowIfNull(name); 258ArgumentNullException.ThrowIfNull(name); 259ArgumentNullException.ThrowIfNull(value);
SendFileResponseExtensions.cs (8)
27ArgumentNullException.ThrowIfNull(response); 28ArgumentNullException.ThrowIfNull(file); 45ArgumentNullException.ThrowIfNull(response); 46ArgumentNullException.ThrowIfNull(file); 61ArgumentNullException.ThrowIfNull(response); 62ArgumentNullException.ThrowIfNull(fileName); 79ArgumentNullException.ThrowIfNull(response); 80ArgumentNullException.ThrowIfNull(fileName);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
47ArgumentNullException.ThrowIfNull(elementConverter);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryConverter.cs (1)
23ArgumentNullException.ThrowIfNull(elementConverter);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\CollectionConverterFactory.cs (2)
49ArgumentNullException.ThrowIfNull(type); 50ArgumentNullException.ThrowIfNull(options);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMappingError.cs (2)
10ArgumentNullException.ThrowIfNull(key); 11ArgumentNullException.ThrowIfNull(message);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMappingException.cs (1)
13ArgumentNullException.ThrowIfNull(error);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataReader.cs (2)
61ArgumentNullException.ThrowIfNull(errorMessage); 87ArgumentNullException.ThrowIfNull(exception);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
32ArgumentNullException.ThrowIfNull(methodInfo); 114ArgumentNullException.ThrowIfNull(parameterDefaultValues);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (2)
65ArgumentNullException.ThrowIfNull(parameters); 66ArgumentNullException.ThrowIfNull(cache);
UriHelper.cs (3)
58ArgumentNullException.ThrowIfNull(scheme); 112ArgumentNullException.ThrowIfNull(uri); 160ArgumentNullException.ThrowIfNull(uri);
Microsoft.AspNetCore.Http.Features (10)
CookieOptions.cs (1)
35ArgumentNullException.ThrowIfNull(options);
IFormCollection.cs (3)
42/// <exception cref="System.ArgumentNullException"> 63/// <exception cref="System.ArgumentNullException"> 77/// <exception cref="System.ArgumentNullException">
IQueryCollection.cs (3)
42/// <exception cref="System.ArgumentNullException"> 63/// <exception cref="System.ArgumentNullException"> 77/// <exception cref="System.ArgumentNullException">
IRequestCookieCollection.cs (3)
42/// <exception cref="System.ArgumentNullException"> 63/// <exception cref="System.ArgumentNullException"> 77/// <exception cref="System.ArgumentNullException">
Microsoft.AspNetCore.Http.Results (125)
Accepted.cs (3)
61ArgumentNullException.ThrowIfNull(httpContext); 81ArgumentNullException.ThrowIfNull(method); 82ArgumentNullException.ThrowIfNull(builder);
AcceptedAtRoute.cs (3)
79ArgumentNullException.ThrowIfNull(httpContext); 108ArgumentNullException.ThrowIfNull(method); 109ArgumentNullException.ThrowIfNull(builder);
AcceptedAtRouteOfT.cs (3)
93ArgumentNullException.ThrowIfNull(httpContext); 122ArgumentNullException.ThrowIfNull(method); 123ArgumentNullException.ThrowIfNull(builder);
AcceptedOfT.cs (4)
43ArgumentNullException.ThrowIfNull(locationUri); 77ArgumentNullException.ThrowIfNull(httpContext); 100ArgumentNullException.ThrowIfNull(method); 101ArgumentNullException.ThrowIfNull(builder);
BadRequest.cs (3)
36ArgumentNullException.ThrowIfNull(httpContext); 51ArgumentNullException.ThrowIfNull(method); 52ArgumentNullException.ThrowIfNull(builder);
BadRequestOfT.cs (3)
47ArgumentNullException.ThrowIfNull(httpContext); 65ArgumentNullException.ThrowIfNull(method); 66ArgumentNullException.ThrowIfNull(builder);
ChallengeHttpResult.cs (1)
72ArgumentNullException.ThrowIfNull(httpContext);
Conflict.cs (3)
36ArgumentNullException.ThrowIfNull(httpContext); 51ArgumentNullException.ThrowIfNull(method); 52ArgumentNullException.ThrowIfNull(builder);
ConflictOfT.cs (3)
47ArgumentNullException.ThrowIfNull(httpContext); 65ArgumentNullException.ThrowIfNull(method); 66ArgumentNullException.ThrowIfNull(builder);
ContentHttpResult.cs (1)
60ArgumentNullException.ThrowIfNull(httpContext);
Created.cs (3)
61ArgumentNullException.ThrowIfNull(httpContext); 81ArgumentNullException.ThrowIfNull(method); 82ArgumentNullException.ThrowIfNull(builder);
CreatedAtRoute.cs (3)
79ArgumentNullException.ThrowIfNull(httpContext); 108ArgumentNullException.ThrowIfNull(method); 109ArgumentNullException.ThrowIfNull(builder);
CreatedAtRouteOfT.cs (3)
93ArgumentNullException.ThrowIfNull(httpContext); 125ArgumentNullException.ThrowIfNull(method); 126ArgumentNullException.ThrowIfNull(builder);
CreatedOfT.cs (3)
76ArgumentNullException.ThrowIfNull(httpContext); 99ArgumentNullException.ThrowIfNull(method); 100ArgumentNullException.ThrowIfNull(builder);
FileContentHttpResult.cs (1)
109ArgumentNullException.ThrowIfNull(httpContext);
FileStreamHttpResult.cs (2)
62ArgumentNullException.ThrowIfNull(fileStream); 115ArgumentNullException.ThrowIfNull(httpContext);
ForbidHttpResult.cs (1)
83ArgumentNullException.ThrowIfNull(httpContext);
InternalServerError.cs (3)
36ArgumentNullException.ThrowIfNull(httpContext); 51ArgumentNullException.ThrowIfNull(method); 52ArgumentNullException.ThrowIfNull(builder);
InternalServerErrorOfT.cs (3)
47ArgumentNullException.ThrowIfNull(httpContext); 65ArgumentNullException.ThrowIfNull(method); 66ArgumentNullException.ThrowIfNull(builder);
JsonHttpResultOfT.cs (1)
94ArgumentNullException.ThrowIfNull(httpContext);
NoContent.cs (3)
35ArgumentNullException.ThrowIfNull(httpContext); 51ArgumentNullException.ThrowIfNull(method); 52ArgumentNullException.ThrowIfNull(builder);
NotFound.cs (3)
35ArgumentNullException.ThrowIfNull(httpContext); 50ArgumentNullException.ThrowIfNull(method); 51ArgumentNullException.ThrowIfNull(builder);
NotFoundOfT.cs (3)
46ArgumentNullException.ThrowIfNull(httpContext); 64ArgumentNullException.ThrowIfNull(method); 65ArgumentNullException.ThrowIfNull(builder);
Ok.cs (3)
35ArgumentNullException.ThrowIfNull(httpContext); 50ArgumentNullException.ThrowIfNull(method); 51ArgumentNullException.ThrowIfNull(builder);
OkOfT.cs (3)
46ArgumentNullException.ThrowIfNull(httpContext); 64ArgumentNullException.ThrowIfNull(method); 65ArgumentNullException.ThrowIfNull(builder);
PhysicalFileHttpResult.cs (1)
110ArgumentNullException.ThrowIfNull(httpContext);
ProblemHttpResult.cs (3)
54ArgumentNullException.ThrowIfNull(httpContext); 79ArgumentNullException.ThrowIfNull(method); 80ArgumentNullException.ThrowIfNull(builder);
PushStreamHttpResult.cs (1)
103ArgumentNullException.ThrowIfNull(httpContext);
RedirectHttpResult.cs (1)
91ArgumentNullException.ThrowIfNull(httpContext);
RedirectToRouteHttpResult.cs (1)
159ArgumentNullException.ThrowIfNull(httpContext);
Results.cs (3)
203ArgumentNullException.ThrowIfNull(jsonTypeInfo); 222ArgumentNullException.ThrowIfNull(context); 800ArgumentNullException.ThrowIfNull(errors);
ResultsOfT.Generated.cs (15)
42ArgumentNullException.ThrowIfNull(httpContext); 67ArgumentNullException.ThrowIfNull(method); 68ArgumentNullException.ThrowIfNull(builder); 106ArgumentNullException.ThrowIfNull(httpContext); 137ArgumentNullException.ThrowIfNull(method); 138ArgumentNullException.ThrowIfNull(builder); 179ArgumentNullException.ThrowIfNull(httpContext); 216ArgumentNullException.ThrowIfNull(method); 217ArgumentNullException.ThrowIfNull(builder); 261ArgumentNullException.ThrowIfNull(httpContext); 304ArgumentNullException.ThrowIfNull(method); 305ArgumentNullException.ThrowIfNull(builder); 352ArgumentNullException.ThrowIfNull(httpContext); 401ArgumentNullException.ThrowIfNull(method); 402ArgumentNullException.ThrowIfNull(builder);
ServerSentEventsResult.cs (3)
41ArgumentNullException.ThrowIfNull(httpContext); 104ArgumentNullException.ThrowIfNull(method); 105ArgumentNullException.ThrowIfNull(builder);
SignInHttpResult.cs (1)
58ArgumentNullException.ThrowIfNull(httpContext);
SignOutHttpResult.cs (2)
53ArgumentNullException.ThrowIfNull(authenticationSchemes); 72ArgumentNullException.ThrowIfNull(httpContext);
StatusCodeHttpResult.cs (1)
39ArgumentNullException.ThrowIfNull(httpContext);
TypedResults.cs (13)
74ArgumentNullException.ThrowIfNull(principal); 217ArgumentNullException.ThrowIfNull(jsonTypeInfo); 235ArgumentNullException.ThrowIfNull(context); 266ArgumentNullException.ThrowIfNull(fileContents); 301ArgumentNullException.ThrowIfNull(contents); 371ArgumentNullException.ThrowIfNull(fileStream); 412ArgumentNullException.ThrowIfNull(stream); 450ArgumentNullException.ThrowIfNull(pipeReader); 479ArgumentNullException.ThrowIfNull(streamWriterCallback); 810ArgumentNullException.ThrowIfNull(problemDetails); 856ArgumentNullException.ThrowIfNull(errors); 1009ArgumentNullException.ThrowIfNull(uri); 1023ArgumentNullException.ThrowIfNull(uri);
UnauthorizedHttpResult.cs (3)
35ArgumentNullException.ThrowIfNull(httpContext); 50ArgumentNullException.ThrowIfNull(method); 51ArgumentNullException.ThrowIfNull(builder);
UnprocessableEntity.cs (3)
36ArgumentNullException.ThrowIfNull(httpContext); 51ArgumentNullException.ThrowIfNull(method); 52ArgumentNullException.ThrowIfNull(builder);
UnprocessableEntityOfT.cs (3)
47ArgumentNullException.ThrowIfNull(httpContext); 65ArgumentNullException.ThrowIfNull(method); 66ArgumentNullException.ThrowIfNull(builder);
Utf8ContentHttpResult.cs (1)
51ArgumentNullException.ThrowIfNull(httpContext);
ValidationProblem.cs (4)
20ArgumentNullException.ThrowIfNull(problemDetails); 54ArgumentNullException.ThrowIfNull(httpContext); 76ArgumentNullException.ThrowIfNull(method); 77ArgumentNullException.ThrowIfNull(builder);
VirtualFileHttpResult.cs (1)
104ArgumentNullException.ThrowIfNull(httpContext);
Microsoft.AspNetCore.HttpLogging (21)
HttpLoggingBuilderExtensions.cs (2)
23ArgumentNullException.ThrowIfNull(app); 38ArgumentNullException.ThrowIfNull(app);
HttpLoggingMiddleware.cs (7)
31ArgumentNullException.ThrowIfNull(next); 32ArgumentNullException.ThrowIfNull(options); 33ArgumentNullException.ThrowIfNull(logger); 34ArgumentNullException.ThrowIfNull(interceptors); 35ArgumentNullException.ThrowIfNull(contextPool); 36ArgumentNullException.ThrowIfNull(responseBufferingStreamPool); 37ArgumentNullException.ThrowIfNull(timeProvider);
HttpLoggingServicesExtensions.cs (5)
23ArgumentNullException.ThrowIfNull(services); 39ArgumentNullException.ThrowIfNull(services); 40ArgumentNullException.ThrowIfNull(configureOptions); 68ArgumentNullException.ThrowIfNull(services); 69ArgumentNullException.ThrowIfNull(configureOptions);
MediaTypeOptions.cs (4)
36ArgumentNullException.ThrowIfNull(mediaType); 52ArgumentNullException.ThrowIfNull(contentType); 64ArgumentNullException.ThrowIfNull(contentType); 65ArgumentNullException.ThrowIfNull(encoding);
W3CLoggingMiddleware.cs (3)
55ArgumentNullException.ThrowIfNull(next); 56ArgumentNullException.ThrowIfNull(options); 57ArgumentNullException.ThrowIfNull(w3cLogger);
Microsoft.AspNetCore.HttpOverrides (17)
CertificateForwardingBuilderExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(app);
CertificateForwardingMiddleware.cs (3)
32ArgumentNullException.ThrowIfNull(next); 33ArgumentNullException.ThrowIfNull(loggerFactory); 34ArgumentNullException.ThrowIfNull(options);
CertificateForwardingServiceExtensions.cs (2)
23ArgumentNullException.ThrowIfNull(services); 24ArgumentNullException.ThrowIfNull(configure);
ForwardedHeadersExtensions.cs (3)
27ArgumentNullException.ThrowIfNull(builder); 52ArgumentNullException.ThrowIfNull(builder); 53ArgumentNullException.ThrowIfNull(options);
ForwardedHeadersMiddleware.cs (3)
48ArgumentNullException.ThrowIfNull(next); 49ArgumentNullException.ThrowIfNull(loggerFactory); 50ArgumentNullException.ThrowIfNull(options);
HttpMethodOverrideExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(builder); 49ArgumentNullException.ThrowIfNull(builder); 50ArgumentNullException.ThrowIfNull(options);
HttpMethodOverrideMiddleware.cs (2)
26ArgumentNullException.ThrowIfNull(next); 27ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.HttpsPolicy (10)
HstsBuilderExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(app);
HstsMiddleware.cs (1)
35ArgumentNullException.ThrowIfNull(options);
HstsServicesExtensions.cs (2)
22ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(configureOptions);
HttpsRedirectionBuilderExtensions.cs (1)
21ArgumentNullException.ThrowIfNull(app);
HttpsRedirectionMiddleware.cs (3)
38ArgumentNullException.ThrowIfNull(next); 39ArgumentNullException.ThrowIfNull(options); 40ArgumentNullException.ThrowIfNull(config);
HttpsRedirectionServicesExtensions.cs (2)
22ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.Identity (29)
DataProtectorTokenProvider.cs (2)
28ArgumentNullException.ThrowIfNull(dataProtectionProvider); 78ArgumentNullException.ThrowIfNull(user);
IdentityApiEndpointRouteBuilderExtensions.cs (1)
43ArgumentNullException.ThrowIfNull(endpoints);
IdentityBuilderExtensions.cs (1)
98ArgumentNullException.ThrowIfNull(builder);
IdentityServiceCollectionExtensions.cs (2)
140ArgumentNullException.ThrowIfNull(services); 141ArgumentNullException.ThrowIfNull(configure);
PasskeyAssertionResult.cs (2)
65ArgumentNullException.ThrowIfNull(passkey); 66ArgumentNullException.ThrowIfNull(user);
PasskeyAttestationResult.cs (1)
57ArgumentNullException.ThrowIfNull(passkey);
PasskeyHandler.cs (7)
30ArgumentNullException.ThrowIfNull(userManager); 31ArgumentNullException.ThrowIfNull(options); 40ArgumentNullException.ThrowIfNull(userEntity); 41ArgumentNullException.ThrowIfNull(httpContext); 112ArgumentNullException.ThrowIfNull(httpContext); 163ArgumentNullException.ThrowIfNull(context); 187ArgumentNullException.ThrowIfNull(context);
SecurityStampValidator.cs (4)
29ArgumentNullException.ThrowIfNull(options); 30ArgumentNullException.ThrowIfNull(signInManager); 46ArgumentNullException.ThrowIfNull(options); 47ArgumentNullException.ThrowIfNull(signInManager);
SignInManager.cs (8)
59ArgumentNullException.ThrowIfNull(userManager); 60ArgumentNullException.ThrowIfNull(contextAccessor); 61ArgumentNullException.ThrowIfNull(claimsFactory); 137ArgumentNullException.ThrowIfNull(principal); 408ArgumentNullException.ThrowIfNull(user); 461ArgumentNullException.ThrowIfNull(user); 529ArgumentNullException.ThrowIfNull(userEntity); 1148ArgumentNullException.ThrowIfNull(externalLogin);
TimeProviderClock.cs (1)
19ArgumentNullException.ThrowIfNull(timeProvider);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (66)
RoleStore.cs (14)
88ArgumentNullException.ThrowIfNull(context); 134ArgumentNullException.ThrowIfNull(role); 150ArgumentNullException.ThrowIfNull(role); 175ArgumentNullException.ThrowIfNull(role); 198ArgumentNullException.ThrowIfNull(role); 212ArgumentNullException.ThrowIfNull(role); 227ArgumentNullException.ThrowIfNull(role); 297ArgumentNullException.ThrowIfNull(role); 312ArgumentNullException.ThrowIfNull(role); 339ArgumentNullException.ThrowIfNull(role); 354ArgumentNullException.ThrowIfNull(role); 355ArgumentNullException.ThrowIfNull(claim); 371ArgumentNullException.ThrowIfNull(role); 372ArgumentNullException.ThrowIfNull(claim);
UserOnlyStore.cs (24)
129ArgumentNullException.ThrowIfNull(context); 196ArgumentNullException.ThrowIfNull(user); 212ArgumentNullException.ThrowIfNull(user); 238ArgumentNullException.ThrowIfNull(user); 337ArgumentNullException.ThrowIfNull(user); 352ArgumentNullException.ThrowIfNull(user); 353ArgumentNullException.ThrowIfNull(claims); 372ArgumentNullException.ThrowIfNull(user); 373ArgumentNullException.ThrowIfNull(claim); 374ArgumentNullException.ThrowIfNull(newClaim); 394ArgumentNullException.ThrowIfNull(user); 395ArgumentNullException.ThrowIfNull(claims); 418ArgumentNullException.ThrowIfNull(user); 419ArgumentNullException.ThrowIfNull(login); 437ArgumentNullException.ThrowIfNull(user); 457ArgumentNullException.ThrowIfNull(user); 513ArgumentNullException.ThrowIfNull(claim); 622ArgumentNullException.ThrowIfNull(user); 623ArgumentNullException.ThrowIfNull(passkey); 650ArgumentNullException.ThrowIfNull(user); 694ArgumentNullException.ThrowIfNull(user); 695ArgumentNullException.ThrowIfNull(credentialId); 712ArgumentNullException.ThrowIfNull(user); 713ArgumentNullException.ThrowIfNull(credentialId);
UserStore.cs (28)
150ArgumentNullException.ThrowIfNull(context); 200ArgumentNullException.ThrowIfNull(user); 216ArgumentNullException.ThrowIfNull(user); 242ArgumentNullException.ThrowIfNull(user); 366ArgumentNullException.ThrowIfNull(user); 388ArgumentNullException.ThrowIfNull(user); 412ArgumentNullException.ThrowIfNull(user); 433ArgumentNullException.ThrowIfNull(user); 454ArgumentNullException.ThrowIfNull(user); 469ArgumentNullException.ThrowIfNull(user); 470ArgumentNullException.ThrowIfNull(claims); 489ArgumentNullException.ThrowIfNull(user); 490ArgumentNullException.ThrowIfNull(claim); 491ArgumentNullException.ThrowIfNull(newClaim); 511ArgumentNullException.ThrowIfNull(user); 512ArgumentNullException.ThrowIfNull(claims); 535ArgumentNullException.ThrowIfNull(user); 536ArgumentNullException.ThrowIfNull(login); 554ArgumentNullException.ThrowIfNull(user); 574ArgumentNullException.ThrowIfNull(user); 630ArgumentNullException.ThrowIfNull(claim); 767ArgumentNullException.ThrowIfNull(user); 768ArgumentNullException.ThrowIfNull(passkey); 795ArgumentNullException.ThrowIfNull(user); 839ArgumentNullException.ThrowIfNull(user); 840ArgumentNullException.ThrowIfNull(credentialId); 857ArgumentNullException.ThrowIfNull(user); 858ArgumentNullException.ThrowIfNull(credentialId);
Microsoft.AspNetCore.InternalTesting (8)
ExceptionAssertions.cs (4)
130/// Verifies that the code throws an <see cref="ArgumentNullException"/>. 135public static ArgumentNullException ThrowsArgumentNull(Action testCode, string paramName) 137var ex = Throws<ArgumentNullException>(testCode);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.AspNetCore.JsonPatch (4)
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (8)
JsonPatchDocument.cs (2)
229ArgumentNullException.ThrowIfNull(parameter); 230ArgumentNullException.ThrowIfNull(builder);
JsonPatchDocumentOfT.cs (2)
665ArgumentNullException.ThrowIfNull(parameter); 666ArgumentNullException.ThrowIfNull(builder);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Localization (25)
AcceptLanguageHeaderRequestCultureProvider.cs (1)
25ArgumentNullException.ThrowIfNull(httpContext);
ApplicationBuilderExtensions.cs (7)
22ArgumentNullException.ThrowIfNull(app); 38ArgumentNullException.ThrowIfNull(app); 39ArgumentNullException.ThrowIfNull(options); 58ArgumentNullException.ThrowIfNull(app); 59ArgumentNullException.ThrowIfNull(optionsAction); 81ArgumentNullException.ThrowIfNull(app); 82ArgumentNullException.ThrowIfNull(cultures);
CookieRequestCultureProvider.cs (2)
31ArgumentNullException.ThrowIfNull(httpContext); 52ArgumentNullException.ThrowIfNull(requestCulture);
CustomRequestCultureProvider.cs (2)
21ArgumentNullException.ThrowIfNull(provider); 29ArgumentNullException.ThrowIfNull(httpContext);
QueryStringRequestCultureProvider.cs (1)
29ArgumentNullException.ThrowIfNull(httpContext);
RequestCulture.cs (2)
52ArgumentNullException.ThrowIfNull(culture); 53ArgumentNullException.ThrowIfNull(uiCulture);
RequestCultureFeature.cs (1)
18ArgumentNullException.ThrowIfNull(requestCulture);
RequestLocalizationMiddleware.cs (2)
35ArgumentNullException.ThrowIfNull(options); 49ArgumentNullException.ThrowIfNull(context);
RequestLocalizationOptions.cs (1)
48ArgumentNullException.ThrowIfNull(value);
RequestLocalizationOptionsExtensions.cs (2)
24ArgumentNullException.ThrowIfNull(requestLocalizationOptions); 25ArgumentNullException.ThrowIfNull(requestCultureProvider);
RequestLocalizationServiceCollectionExtensions.cs (4)
21ArgumentNullException.ThrowIfNull(services); 22ArgumentNullException.ThrowIfNull(configureOptions); 35ArgumentNullException.ThrowIfNull(services); 36ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.Localization.Routing (1)
RouteDataRequestCultureProvider.cs (1)
30ArgumentNullException.ThrowIfNull(httpContext);
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisServiceCollectionExtensions.cs (1)
23ArgumentNullException.ThrowIfNull(services);
Microsoft.AspNetCore.Mvc (9)
MvcServiceCollectionExtensions.cs (9)
33ArgumentNullException.ThrowIfNull(services); 48ArgumentNullException.ThrowIfNull(services); 49ArgumentNullException.ThrowIfNull(setupAction); 85ArgumentNullException.ThrowIfNull(services); 120ArgumentNullException.ThrowIfNull(services); 178ArgumentNullException.ThrowIfNull(services); 211ArgumentNullException.ThrowIfNull(services); 259ArgumentNullException.ThrowIfNull(services); 290ArgumentNullException.ThrowIfNull(services);
Microsoft.AspNetCore.Mvc.Abstractions (98)
Abstractions\ActionDescriptorExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(actionDescriptor); 41ArgumentNullException.ThrowIfNull(actionDescriptor);
Abstractions\ActionInvokerProviderContext.cs (1)
17ArgumentNullException.ThrowIfNull(actionContext);
ActionConstraints\ActionConstraintItem.cs (1)
18ArgumentNullException.ThrowIfNull(metadata);
ActionConstraints\ActionConstraintProviderContext.cs (3)
25ArgumentNullException.ThrowIfNull(context); 26ArgumentNullException.ThrowIfNull(action); 27ArgumentNullException.ThrowIfNull(items);
ActionConstraints\ActionSelectorCandidate.cs (1)
22ArgumentNullException.ThrowIfNull(action);
ActionContext.cs (4)
67ArgumentNullException.ThrowIfNull(httpContext); 68ArgumentNullException.ThrowIfNull(routeData); 69ArgumentNullException.ThrowIfNull(actionDescriptor); 70ArgumentNullException.ThrowIfNull(modelState);
ApiExplorer\ApiDescriptionProviderContext.cs (1)
19ArgumentNullException.ThrowIfNull(actions);
Filters\ActionExecutingContext.cs (1)
30ArgumentNullException.ThrowIfNull(actionArguments);
Filters\FilterContext.cs (1)
23ArgumentNullException.ThrowIfNull(filters);
Filters\FilterDescriptor.cs (1)
39ArgumentNullException.ThrowIfNull(filter);
Filters\FilterItem.cs (2)
23ArgumentNullException.ThrowIfNull(descriptor); 36ArgumentNullException.ThrowIfNull(filter);
Filters\FilterProviderContext.cs (2)
20ArgumentNullException.ThrowIfNull(actionContext); 21ArgumentNullException.ThrowIfNull(items);
Filters\ResourceExecutingContext.cs (1)
26ArgumentNullException.ThrowIfNull(valueProviderFactories);
Filters\ResultExecutedContext.cs (1)
32ArgumentNullException.ThrowIfNull(result);
Formatters\InputFormatterContext.cs (5)
68ArgumentNullException.ThrowIfNull(httpContext); 69ArgumentNullException.ThrowIfNull(modelName); 70ArgumentNullException.ThrowIfNull(modelState); 71ArgumentNullException.ThrowIfNull(metadata); 72ArgumentNullException.ThrowIfNull(readerFactory);
Formatters\OutputFormatterCanWriteContext.cs (1)
20ArgumentNullException.ThrowIfNull(httpContext);
Formatters\OutputFormatterWriteContext.cs (1)
24ArgumentNullException.ThrowIfNull(writerFactory);
ModelBinding\BindingInfo.cs (4)
31ArgumentNullException.ThrowIfNull(other); 203ArgumentNullException.ThrowIfNull(attributes); 204ArgumentNullException.ThrowIfNull(modelMetadata); 230ArgumentNullException.ThrowIfNull(modelMetadata);
ModelBinding\BindingSource.cs (2)
118ArgumentNullException.ThrowIfNull(id); 182ArgumentNullException.ThrowIfNull(bindingSource);
ModelBinding\CompositeBindingSource.cs (4)
27ArgumentNullException.ThrowIfNull(bindingSources); 66ArgumentNullException.ThrowIfNull(id); 67ArgumentNullException.ThrowIfNull(bindingSources); 80ArgumentNullException.ThrowIfNull(bindingSource);
ModelBinding\EnumGroupAndName.cs (4)
21ArgumentNullException.ThrowIfNull(group); 22ArgumentNullException.ThrowIfNull(name); 37ArgumentNullException.ThrowIfNull(group); 38ArgumentNullException.ThrowIfNull(name);
ModelBinding\Metadata\ModelMetadataIdentity.cs (8)
34ArgumentNullException.ThrowIfNull(modelType); 51ArgumentNullException.ThrowIfNull(propertyInfo); 52ArgumentNullException.ThrowIfNull(modelType); 53ArgumentNullException.ThrowIfNull(containerType); 75ArgumentNullException.ThrowIfNull(parameter); 76ArgumentNullException.ThrowIfNull(modelType); 90ArgumentNullException.ThrowIfNull(constructor); 91ArgumentNullException.ThrowIfNull(modelType);
ModelBinding\ModelErrorCollection.cs (2)
19ArgumentNullException.ThrowIfNull(exception); 30ArgumentNullException.ThrowIfNull(errorMessage);
ModelBinding\ModelPropertyCollection.cs (1)
37ArgumentNullException.ThrowIfNull(propertyName);
ModelBinding\ModelStateDictionary.cs (30)
80ArgumentNullException.ThrowIfNull(dictionary); 175ArgumentNullException.ThrowIfNull(key); 209ArgumentNullException.ThrowIfNull(key); 210ArgumentNullException.ThrowIfNull(exception); 241ArgumentNullException.ThrowIfNull(key); 242ArgumentNullException.ThrowIfNull(exception); 243ArgumentNullException.ThrowIfNull(metadata); 264ArgumentNullException.ThrowIfNull(key); 265ArgumentNullException.ThrowIfNull(exception); 266ArgumentNullException.ThrowIfNull(metadata); 326ArgumentNullException.ThrowIfNull(key); 327ArgumentNullException.ThrowIfNull(errorMessage); 346ArgumentNullException.ThrowIfNull(key); 347ArgumentNullException.ThrowIfNull(errorMessage); 375ArgumentNullException.ThrowIfNull(key); 390ArgumentNullException.ThrowIfNull(key); 407ArgumentNullException.ThrowIfNull(key); 427ArgumentNullException.ThrowIfNull(key); 473ArgumentNullException.ThrowIfNull(key); 491ArgumentNullException.ThrowIfNull(key); 703ArgumentNullException.ThrowIfNull(key); 716ArgumentNullException.ThrowIfNull(key); 733ArgumentNullException.ThrowIfNull(key); 767ArgumentNullException.ThrowIfNull(prefix); 768ArgumentNullException.ThrowIfNull(key); 809ArgumentNullException.ThrowIfNull(prefix); 984ArgumentNullException.ThrowIfNull(dictionary); 985ArgumentNullException.ThrowIfNull(prefix); 1018ArgumentNullException.ThrowIfNull(dictionary); 1019ArgumentNullException.ThrowIfNull(prefix);
ModelBinding\TooManyModelErrorsException.cs (1)
19ArgumentNullException.ThrowIfNull(message);
ModelBinding\Validation\ModelValidationContextBase.cs (3)
22ArgumentNullException.ThrowIfNull(actionContext); 23ArgumentNullException.ThrowIfNull(modelMetadata); 24ArgumentNullException.ThrowIfNull(metadataProvider);
ModelBinding\Validation\ValidationEntry.cs (5)
22ArgumentNullException.ThrowIfNull(metadata); 23ArgumentNullException.ThrowIfNull(key); 39ArgumentNullException.ThrowIfNull(metadata); 40ArgumentNullException.ThrowIfNull(key); 41ArgumentNullException.ThrowIfNull(modelAccessor);
ModelBinding\ValueProviderFactoryContext.cs (1)
17ArgumentNullException.ThrowIfNull(context);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Mvc.ApiExplorer (7)
ApiDescriptionExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(apiDescription); 41ArgumentNullException.ThrowIfNull(apiDescription);
ApiDescriptionGroupCollection.cs (1)
18ArgumentNullException.ThrowIfNull(items);
DefaultApiDescriptionProvider.cs (1)
66ArgumentNullException.ThrowIfNull(context);
DependencyInjection\MvcApiExplorerMvcCoreBuilderExtensions.cs (1)
25ArgumentNullException.ThrowIfNull(builder);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (2)
65ArgumentNullException.ThrowIfNull(parameters); 66ArgumentNullException.ThrowIfNull(cache);
Microsoft.AspNetCore.Mvc.Core (731)
AcceptedAtActionResult.cs (1)
65ArgumentNullException.ThrowIfNull(context);
AcceptedAtRouteResult.cs (1)
68ArgumentNullException.ThrowIfNull(context);
AcceptedResult.cs (2)
49ArgumentNullException.ThrowIfNull(locationUri); 71ArgumentNullException.ThrowIfNull(context);
AcceptVerbsAttribute.cs (1)
27ArgumentNullException.ThrowIfNull(method);
ActionConstraints\DefaultActionConstraintProvider.cs (1)
22ArgumentNullException.ThrowIfNull(context);
ActionConstraints\HttpMethodActionConstraint.cs (2)
33ArgumentNullException.ThrowIfNull(httpMethods); 61ArgumentNullException.ThrowIfNull(context);
ApplicationModels\ActionModel.cs (3)
29ArgumentNullException.ThrowIfNull(actionMethod); 30ArgumentNullException.ThrowIfNull(attributes); 49ArgumentNullException.ThrowIfNull(other);
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
39ArgumentNullException.ThrowIfNull(action);
ApplicationModels\ApiExplorerModel.cs (1)
24ArgumentNullException.ThrowIfNull(other);
ApplicationModels\ApplicationModelConventions.cs (2)
22ArgumentNullException.ThrowIfNull(applicationModel); 23ArgumentNullException.ThrowIfNull(conventions);
ApplicationModels\ApplicationModelFactory.cs (3)
26ArgumentNullException.ThrowIfNull(applicationModelProviders); 27ArgumentNullException.ThrowIfNull(options); 35ArgumentNullException.ThrowIfNull(controllerTypes);
ApplicationModels\ApplicationModelProviderContext.cs (1)
19ArgumentNullException.ThrowIfNull(controllerTypes);
ApplicationModels\AttributeRouteModel.cs (2)
33ArgumentNullException.ThrowIfNull(templateProvider); 47ArgumentNullException.ThrowIfNull(other);
ApplicationModels\AuthorizationApplicationModelProvider.cs (1)
33ArgumentNullException.ThrowIfNull(context);
ApplicationModels\ClientErrorResultFilterConvention.cs (1)
20ArgumentNullException.ThrowIfNull(action);
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (1)
19ArgumentNullException.ThrowIfNull(action);
ApplicationModels\ControllerActionDescriptorProvider.cs (3)
20ArgumentNullException.ThrowIfNull(partManager); 21ArgumentNullException.ThrowIfNull(applicationModelFactory); 32ArgumentNullException.ThrowIfNull(context);
ApplicationModels\ControllerModel.cs (3)
28ArgumentNullException.ThrowIfNull(controllerType); 29ArgumentNullException.ThrowIfNull(attributes); 49ArgumentNullException.ThrowIfNull(other);
ApplicationModels\DefaultApplicationModelProvider.cs (8)
45ArgumentNullException.ThrowIfNull(context); 111ArgumentNullException.ThrowIfNull(typeInfo); 213ArgumentNullException.ThrowIfNull(propertyInfo); 260ArgumentNullException.ThrowIfNull(typeInfo); 261ArgumentNullException.ThrowIfNull(methodInfo); 412ArgumentNullException.ThrowIfNull(typeInfo); 413ArgumentNullException.ThrowIfNull(methodInfo); 469ArgumentNullException.ThrowIfNull(parameterInfo);
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
69ArgumentNullException.ThrowIfNull(action);
ApplicationModels\InvalidModelStateFilterConvention.cs (1)
20ArgumentNullException.ThrowIfNull(action);
ApplicationModels\ParameterModel.cs (1)
36ArgumentNullException.ThrowIfNull(other);
ApplicationModels\ParameterModelBase.cs (1)
37ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PropertyModel.cs (1)
36ArgumentNullException.ThrowIfNull(other);
ApplicationModels\RouteTokenTransformerConvention.cs (1)
23ArgumentNullException.ThrowIfNull(parameterTransformer);
ApplicationModels\SelectorModel.cs (1)
28ArgumentNullException.ThrowIfNull(other);
ApplicationParts\ApplicationPartFactory.cs (1)
37ArgumentNullException.ThrowIfNull(assembly);
ApplicationParts\DefaultApplicationPartFactory.cs (1)
28ArgumentNullException.ThrowIfNull(assembly);
ApplicationParts\RelatedAssemblyAttribute.cs (2)
41ArgumentNullException.ThrowIfNull(assembly); 53ArgumentNullException.ThrowIfNull(assembly);
Authorization\AuthorizeFilter.cs (4)
41ArgumentNullException.ThrowIfNull(policy); 54ArgumentNullException.ThrowIfNull(policyProvider); 65ArgumentNullException.ThrowIfNull(authorizeData); 160ArgumentNullException.ThrowIfNull(context);
BadRequestObjectResult.cs (1)
35ArgumentNullException.ThrowIfNull(modelState);
Builder\ControllerActionEndpointConventionBuilder.cs (2)
34ArgumentNullException.ThrowIfNull(convention); 47ArgumentNullException.ThrowIfNull(finalConvention);
Builder\ControllerEndpointRouteBuilderExtensions.cs (21)
29ArgumentNullException.ThrowIfNull(endpoints); 52ArgumentNullException.ThrowIfNull(endpoints); 101ArgumentNullException.ThrowIfNull(endpoints); 152ArgumentNullException.ThrowIfNull(endpoints); 199ArgumentNullException.ThrowIfNull(endpoints); 200ArgumentNullException.ThrowIfNull(action); 201ArgumentNullException.ThrowIfNull(controller); 262ArgumentNullException.ThrowIfNull(endpoints); 263ArgumentNullException.ThrowIfNull(pattern); 264ArgumentNullException.ThrowIfNull(action); 265ArgumentNullException.ThrowIfNull(controller); 323ArgumentNullException.ThrowIfNull(endpoints); 324ArgumentNullException.ThrowIfNull(action); 325ArgumentNullException.ThrowIfNull(controller); 388ArgumentNullException.ThrowIfNull(endpoints); 389ArgumentNullException.ThrowIfNull(pattern); 390ArgumentNullException.ThrowIfNull(action); 391ArgumentNullException.ThrowIfNull(controller); 432ArgumentNullException.ThrowIfNull(endpoints); 459ArgumentNullException.ThrowIfNull(endpoints); 494ArgumentNullException.ThrowIfNull(endpoints);
Builder\MvcApplicationBuilderExtensions.cs (4)
27ArgumentNullException.ThrowIfNull(app); 43ArgumentNullException.ThrowIfNull(app); 63ArgumentNullException.ThrowIfNull(app); 64ArgumentNullException.ThrowIfNull(configureRoutes);
Builder\MvcAreaRouteBuilderExtensions.cs (1)
120ArgumentNullException.ThrowIfNull(routeBuilder);
ChallengeResult.cs (1)
93ArgumentNullException.ThrowIfNull(context);
ConflictObjectResult.cs (1)
35ArgumentNullException.ThrowIfNull(modelState);
ConsumesAttribute.cs (4)
41ArgumentNullException.ThrowIfNull(contentType); 64ArgumentNullException.ThrowIfNull(contentType); 108ArgumentNullException.ThrowIfNull(context); 145ArgumentNullException.ThrowIfNull(context);
ContentResult.cs (1)
33ArgumentNullException.ThrowIfNull(context);
ControllerBase.cs (37)
81ArgumentNullException.ThrowIfNull(value); 104ArgumentNullException.ThrowIfNull(value); 127ArgumentNullException.ThrowIfNull(value); 151ArgumentNullException.ThrowIfNull(value); 174ArgumentNullException.ThrowIfNull(value); 197ArgumentNullException.ThrowIfNull(value); 1023ArgumentNullException.ThrowIfNull(pageName); 1051ArgumentNullException.ThrowIfNull(pageName); 1767ArgumentNullException.ThrowIfNull(modelState); 1797ArgumentNullException.ThrowIfNull(modelState); 1914ArgumentNullException.ThrowIfNull(descriptor); 2165ArgumentNullException.ThrowIfNull(uri); 2199ArgumentNullException.ThrowIfNull(uri); 2533ArgumentNullException.ThrowIfNull(model); 2553ArgumentNullException.ThrowIfNull(model); 2554ArgumentNullException.ThrowIfNull(prefix); 2582ArgumentNullException.ThrowIfNull(model); 2583ArgumentNullException.ThrowIfNull(prefix); 2584ArgumentNullException.ThrowIfNull(valueProvider); 2614ArgumentNullException.ThrowIfNull(model); 2615ArgumentNullException.ThrowIfNull(includeExpressions); 2651ArgumentNullException.ThrowIfNull(model); 2652ArgumentNullException.ThrowIfNull(propertyFilter); 2691ArgumentNullException.ThrowIfNull(model); 2692ArgumentNullException.ThrowIfNull(valueProvider); 2693ArgumentNullException.ThrowIfNull(includeExpressions); 2725ArgumentNullException.ThrowIfNull(model); 2726ArgumentNullException.ThrowIfNull(valueProvider); 2727ArgumentNullException.ThrowIfNull(propertyFilter); 2755ArgumentNullException.ThrowIfNull(model); 2756ArgumentNullException.ThrowIfNull(modelType); 2794ArgumentNullException.ThrowIfNull(model); 2795ArgumentNullException.ThrowIfNull(modelType); 2796ArgumentNullException.ThrowIfNull(valueProvider); 2797ArgumentNullException.ThrowIfNull(propertyFilter); 2820ArgumentNullException.ThrowIfNull(model); 2837ArgumentNullException.ThrowIfNull(model);
ControllerContext.cs (1)
85ArgumentNullException.ThrowIfNull(value);
Controllers\ControllerActionDescriptor.cs (1)
65ArgumentNullException.ThrowIfNull(value);
Controllers\ControllerActivatorProvider.cs (6)
28ArgumentNullException.ThrowIfNull(controllerActivator); 42ArgumentNullException.ThrowIfNull(descriptor); 65ArgumentNullException.ThrowIfNull(descriptor); 83ArgumentNullException.ThrowIfNull(descriptor); 105ArgumentNullException.ThrowIfNull(controller); 112ArgumentNullException.ThrowIfNull(controller);
Controllers\ControllerBinderDelegateProvider.cs (5)
21ArgumentNullException.ThrowIfNull(parameterBinder); 22ArgumentNullException.ThrowIfNull(modelBinderFactory); 23ArgumentNullException.ThrowIfNull(modelMetadataProvider); 24ArgumentNullException.ThrowIfNull(actionDescriptor); 25ArgumentNullException.ThrowIfNull(mvcOptions);
Controllers\ControllerFactoryProvider.cs (5)
22ArgumentNullException.ThrowIfNull(activatorProvider); 23ArgumentNullException.ThrowIfNull(controllerFactory); 40ArgumentNullException.ThrowIfNull(descriptor); 75ArgumentNullException.ThrowIfNull(descriptor); 96ArgumentNullException.ThrowIfNull(descriptor);
Controllers\DefaultControllerActivator.cs (6)
22ArgumentNullException.ThrowIfNull(typeActivatorCache); 30ArgumentNullException.ThrowIfNull(controllerContext); 55ArgumentNullException.ThrowIfNull(context); 56ArgumentNullException.ThrowIfNull(controller); 66ArgumentNullException.ThrowIfNull(context); 67ArgumentNullException.ThrowIfNull(controller);
Controllers\DefaultControllerFactory.cs (7)
31ArgumentNullException.ThrowIfNull(controllerActivator); 32ArgumentNullException.ThrowIfNull(propertyActivators); 41ArgumentNullException.ThrowIfNull(context); 62ArgumentNullException.ThrowIfNull(context); 63ArgumentNullException.ThrowIfNull(controller); 70ArgumentNullException.ThrowIfNull(context); 71ArgumentNullException.ThrowIfNull(controller);
Controllers\DefaultControllerPropertyActivator.cs (1)
35ArgumentNullException.ThrowIfNull(actionDescriptor);
Controllers\ServiceBasedControllerActivator.cs (1)
17ArgumentNullException.ThrowIfNull(actionContext);
CreatedAtActionResult.cs (1)
65ArgumentNullException.ThrowIfNull(context);
CreatedAtRouteResult.cs (1)
68ArgumentNullException.ThrowIfNull(context);
CreatedResult.cs (1)
81ArgumentNullException.ThrowIfNull(context);
DependencyInjection\ApiBehaviorOptionsSetup.cs (1)
17ArgumentNullException.ThrowIfNull(options);
DependencyInjection\ApplicationModelConventionExtensions.cs (18)
22ArgumentNullException.ThrowIfNull(list); 34ArgumentNullException.ThrowIfNull(list); 35ArgumentNullException.ThrowIfNull(type); 58ArgumentNullException.ThrowIfNull(conventions); 59ArgumentNullException.ThrowIfNull(controllerModelConvention); 75ArgumentNullException.ThrowIfNull(conventions); 76ArgumentNullException.ThrowIfNull(actionModelConvention); 92ArgumentNullException.ThrowIfNull(conventions); 93ArgumentNullException.ThrowIfNull(parameterModelConvention); 109ArgumentNullException.ThrowIfNull(conventions); 110ArgumentNullException.ThrowIfNull(parameterModelConvention); 127ArgumentNullException.ThrowIfNull(application); 160ArgumentNullException.ThrowIfNull(application); 165ArgumentNullException.ThrowIfNull(parameterModel); 177ArgumentNullException.ThrowIfNull(actionModelConvention); 185ArgumentNullException.ThrowIfNull(application); 207ArgumentNullException.ThrowIfNull(controllerConvention); 215ArgumentNullException.ThrowIfNull(application);
DependencyInjection\MvcBuilder.cs (2)
20ArgumentNullException.ThrowIfNull(services); 21ArgumentNullException.ThrowIfNull(manager);
DependencyInjection\MvcCoreBuilder.cs (2)
22ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(manager);
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (13)
29ArgumentNullException.ThrowIfNull(builder); 30ArgumentNullException.ThrowIfNull(setupAction); 47ArgumentNullException.ThrowIfNull(builder); 48ArgumentNullException.ThrowIfNull(configure); 64ArgumentNullException.ThrowIfNull(builder); 65ArgumentNullException.ThrowIfNull(setupAction); 80ArgumentNullException.ThrowIfNull(builder); 81ArgumentNullException.ThrowIfNull(assembly); 106ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(setupAction); 121ArgumentNullException.ThrowIfNull(builder); 146ArgumentNullException.ThrowIfNull(builder); 147ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (10)
31ArgumentNullException.ThrowIfNull(builder); 32ArgumentNullException.ThrowIfNull(setupAction); 48ArgumentNullException.ThrowIfNull(builder); 49ArgumentNullException.ThrowIfNull(configure); 162ArgumentNullException.ThrowIfNull(builder); 163ArgumentNullException.ThrowIfNull(assembly); 188ArgumentNullException.ThrowIfNull(builder); 189ArgumentNullException.ThrowIfNull(setupAction); 206ArgumentNullException.ThrowIfNull(builder); 207ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\MvcCoreRouteOptionsSetup.cs (1)
21ArgumentNullException.ThrowIfNull(options);
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (3)
49ArgumentNullException.ThrowIfNull(services); 119ArgumentNullException.ThrowIfNull(services); 120ArgumentNullException.ThrowIfNull(setupAction);
FileContentResult.cs (3)
41ArgumentNullException.ThrowIfNull(fileContents); 55ArgumentNullException.ThrowIfNull(value); 64ArgumentNullException.ThrowIfNull(context);
FileResult.cs (1)
24ArgumentNullException.ThrowIfNull(contentType);
FileStreamResult.cs (3)
41ArgumentNullException.ThrowIfNull(fileStream); 56ArgumentNullException.ThrowIfNull(value); 65ArgumentNullException.ThrowIfNull(context);
Filters\ActionFilterAttribute.cs (4)
35ArgumentNullException.ThrowIfNull(context); 36ArgumentNullException.ThrowIfNull(next); 60ArgumentNullException.ThrowIfNull(context); 61ArgumentNullException.ThrowIfNull(next);
Filters\ControllerActionFilter.cs (2)
22ArgumentNullException.ThrowIfNull(context); 23ArgumentNullException.ThrowIfNull(next);
Filters\ControllerResultFilter.cs (2)
22ArgumentNullException.ThrowIfNull(context); 23ArgumentNullException.ThrowIfNull(next);
Filters\DefaultFilterProvider.cs (1)
16ArgumentNullException.ThrowIfNull(context);
Filters\DisableRequestSizeLimitFilter.cs (1)
34ArgumentNullException.ThrowIfNull(context);
Filters\ExceptionFilterAttribute.cs (1)
19ArgumentNullException.ThrowIfNull(context);
Filters\FilterCollection.cs (4)
43ArgumentNullException.ThrowIfNull(filterType); 77ArgumentNullException.ThrowIfNull(filterType); 121ArgumentNullException.ThrowIfNull(filterType); 155ArgumentNullException.ThrowIfNull(filterType);
Filters\FilterDescriptorOrderComparer.cs (2)
12ArgumentNullException.ThrowIfNull(x); 13ArgumentNullException.ThrowIfNull(y);
Filters\FilterFactory.cs (5)
14ArgumentNullException.ThrowIfNull(filterProviders); 15ArgumentNullException.ThrowIfNull(actionContext); 66ArgumentNullException.ThrowIfNull(filterProviders); 67ArgumentNullException.ThrowIfNull(actionContext); 68ArgumentNullException.ThrowIfNull(cachedFilterItems);
Filters\MiddlewareFilter.cs (1)
17ArgumentNullException.ThrowIfNull(middlewarePipeline);
Filters\MiddlewareFilterAttribute.cs (2)
22ArgumentNullException.ThrowIfNull(configurationType); 41ArgumentNullException.ThrowIfNull(serviceProvider);
Filters\MiddlewareFilterConfigurationProvider.cs (1)
20ArgumentNullException.ThrowIfNull(configurationType);
Filters\OutputCacheFilter.cs (1)
28ArgumentNullException.ThrowIfNull(context);
Filters\RequestFormLimitsFilter.cs (1)
25ArgumentNullException.ThrowIfNull(context);
Filters\RequestSizeLimitFilter.cs (1)
36ArgumentNullException.ThrowIfNull(context);
Filters\ResponseCacheFilter.cs (1)
84ArgumentNullException.ThrowIfNull(context);
Filters\ResponseCacheFilterExecutor.cs (1)
57ArgumentNullException.ThrowIfNull(context);
Filters\ResultFilterAttribute.cs (2)
32ArgumentNullException.ThrowIfNull(context); 33ArgumentNullException.ThrowIfNull(next);
ForbidResult.cs (1)
93ArgumentNullException.ThrowIfNull(context);
FormatFilterAttribute.cs (1)
27ArgumentNullException.ThrowIfNull(serviceProvider);
Formatters\AcceptHeaderParser.cs (2)
21ArgumentNullException.ThrowIfNull(acceptHeaders); 22ArgumentNullException.ThrowIfNull(parsedValues);
Formatters\FormatFilter.cs (4)
29ArgumentNullException.ThrowIfNull(options); 30ArgumentNullException.ThrowIfNull(loggerFactory); 63ArgumentNullException.ThrowIfNull(context); 134ArgumentNullException.ThrowIfNull(context);
Formatters\FormatterMappings.cs (5)
26ArgumentNullException.ThrowIfNull(format); 27ArgumentNullException.ThrowIfNull(contentType); 40ArgumentNullException.ThrowIfNull(format); 41ArgumentNullException.ThrowIfNull(contentType); 77ArgumentNullException.ThrowIfNull(format);
Formatters\InputFormatter.cs (2)
28ArgumentNullException.ThrowIfNull(modelType); 94ArgumentNullException.ThrowIfNull(context);
Formatters\MediaType.cs (1)
48ArgumentNullException.ThrowIfNull(mediaType);
Formatters\MediaTypeCollection.cs (3)
20ArgumentNullException.ThrowIfNull(item); 37ArgumentNullException.ThrowIfNull(item); 51ArgumentNullException.ThrowIfNull(item);
Formatters\OutputFormatter.cs (3)
95ArgumentNullException.ThrowIfNull(context); 159ArgumentNullException.ThrowIfNull(context); 171ArgumentNullException.ThrowIfNull(context);
Formatters\StreamOutputFormatter.cs (2)
15ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(context);
Formatters\StringOutputFormatter.cs (3)
31ArgumentNullException.ThrowIfNull(context); 45ArgumentNullException.ThrowIfNull(context); 46ArgumentNullException.ThrowIfNull(encoding);
Formatters\SystemTextJsonInputFormatter.cs (2)
62ArgumentNullException.ThrowIfNull(context); 63ArgumentNullException.ThrowIfNull(encoding);
Formatters\SystemTextJsonOutputFormatter.cs (2)
63ArgumentNullException.ThrowIfNull(context); 64ArgumentNullException.ThrowIfNull(selectedEncoding);
Formatters\TextInputFormatter.cs (2)
37ArgumentNullException.ThrowIfNull(context); 75ArgumentNullException.ThrowIfNull(context);
Formatters\TextOutputFormatter.cs (2)
66ArgumentNullException.ThrowIfNull(context); 106ArgumentNullException.ThrowIfNull(context);
HttpDeleteAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpGetAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpHeadAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpOptionsAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpPatchAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpPostAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
HttpPutAttribute.cs (1)
31ArgumentNullException.ThrowIfNull(template);
Infrastructure\ActionDescriptorCollection.cs (1)
22ArgumentNullException.ThrowIfNull(items);
Infrastructure\ActionResultTypeMapper.cs (2)
14ArgumentNullException.ThrowIfNull(returnType); 27ArgumentNullException.ThrowIfNull(returnType);
Infrastructure\ActionSelector.cs (3)
65ArgumentNullException.ThrowIfNull(context); 81ArgumentNullException.ThrowIfNull(context); 82ArgumentNullException.ThrowIfNull(candidates);
Infrastructure\ClientErrorResultFilter.cs (1)
34ArgumentNullException.ThrowIfNull(context);
Infrastructure\CompatibilitySwitch.cs (1)
80ArgumentNullException.ThrowIfNull(name);
Infrastructure\ContentResultExecutor.cs (2)
36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(result);
Infrastructure\ControllerActionInvoker.cs (1)
42ArgumentNullException.ThrowIfNull(cacheEntry);
Infrastructure\ControllerActionInvokerProvider.cs (1)
68ArgumentNullException.ThrowIfNull(context);
Infrastructure\DefaultOutputFormatterSelector.cs (5)
39ArgumentNullException.ThrowIfNull(options); 40ArgumentNullException.ThrowIfNull(loggerFactory); 52ArgumentNullException.ThrowIfNull(context); 53ArgumentNullException.ThrowIfNull(formatters); 54ArgumentNullException.ThrowIfNull(contentTypes);
Infrastructure\DefaultProblemDetailsFactory.cs (1)
72ArgumentNullException.ThrowIfNull(modelStateDictionary);
Infrastructure\FileContentResultExecutor.cs (4)
28ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(result); 58ArgumentNullException.ThrowIfNull(context); 59ArgumentNullException.ThrowIfNull(result);
Infrastructure\FileResultExecutorBase.cs (1)
81ArgumentNullException.ThrowIfNull(factory);
Infrastructure\FileStreamResultExecutor.cs (4)
28ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(result); 71ArgumentNullException.ThrowIfNull(context); 72ArgumentNullException.ThrowIfNull(result);
Infrastructure\LocalRedirectResultExecutor.cs (4)
28ArgumentNullException.ThrowIfNull(loggerFactory); 29ArgumentNullException.ThrowIfNull(urlHelperFactory); 38ArgumentNullException.ThrowIfNull(context); 39ArgumentNullException.ThrowIfNull(result);
Infrastructure\MemoryPoolHttpRequestStreamReaderFactory.cs (4)
38ArgumentNullException.ThrowIfNull(bytePool); 39ArgumentNullException.ThrowIfNull(charPool); 48ArgumentNullException.ThrowIfNull(stream); 49ArgumentNullException.ThrowIfNull(encoding);
Infrastructure\MemoryPoolHttpResponseStreamWriterFactory.cs (4)
46ArgumentNullException.ThrowIfNull(bytePool); 47ArgumentNullException.ThrowIfNull(charPool); 56ArgumentNullException.ThrowIfNull(stream); 57ArgumentNullException.ThrowIfNull(encoding);
Infrastructure\MvcCoreMvcOptionsSetup.cs (3)
36ArgumentNullException.ThrowIfNull(readerFactory); 37ArgumentNullException.ThrowIfNull(loggerFactory); 38ArgumentNullException.ThrowIfNull(jsonOptions);
Infrastructure\NonDisposableStream.cs (1)
23ArgumentNullException.ThrowIfNull(innerStream);
Infrastructure\ObjectResultExecutor.cs (5)
34ArgumentNullException.ThrowIfNull(formatterSelector); 35ArgumentNullException.ThrowIfNull(writerFactory); 36ArgumentNullException.ThrowIfNull(loggerFactory); 68ArgumentNullException.ThrowIfNull(context); 69ArgumentNullException.ThrowIfNull(result);
Infrastructure\ParameterDefaultValues.cs (1)
14ArgumentNullException.ThrowIfNull(methodInfo);
Infrastructure\PhysicalFileResultExecutor.cs (5)
28ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(result); 70ArgumentNullException.ThrowIfNull(httpContext); 71ArgumentNullException.ThrowIfNull(result); 107ArgumentNullException.ThrowIfNull(path);
Infrastructure\RedirectResultExecutor.cs (4)
25ArgumentNullException.ThrowIfNull(loggerFactory); 26ArgumentNullException.ThrowIfNull(urlHelperFactory); 35ArgumentNullException.ThrowIfNull(context); 36ArgumentNullException.ThrowIfNull(result);
Infrastructure\RedirectToActionResultExecutor.cs (4)
26ArgumentNullException.ThrowIfNull(loggerFactory); 27ArgumentNullException.ThrowIfNull(urlHelperFactory); 36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(result);
Infrastructure\RedirectToPageResultExecutor.cs (4)
26ArgumentNullException.ThrowIfNull(loggerFactory); 27ArgumentNullException.ThrowIfNull(urlHelperFactory); 36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(result);
Infrastructure\RedirectToRouteResultExecutor.cs (2)
26ArgumentNullException.ThrowIfNull(loggerFactory); 27ArgumentNullException.ThrowIfNull(urlHelperFactory);
Infrastructure\SystemTextJsonResultExecutor.cs (2)
36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(result);
Infrastructure\TypeActivatorCache.cs (2)
25ArgumentNullException.ThrowIfNull(serviceProvider); 26ArgumentNullException.ThrowIfNull(implementationType);
Infrastructure\VirtualFileResultExecutor.cs (5)
28ArgumentNullException.ThrowIfNull(hostingEnvironment); 36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(result); 68ArgumentNullException.ThrowIfNull(context); 69ArgumentNullException.ThrowIfNull(result);
JsonResult.cs (1)
72ArgumentNullException.ThrowIfNull(context);
LocalRedirectResult.cs (1)
89ArgumentNullException.ThrowIfNull(context);
ModelBinderAttribute.cs (1)
49ArgumentNullException.ThrowIfNull(binderType);
ModelBinding\Binders\ArrayModelBinder.cs (1)
111ArgumentNullException.ThrowIfNull(target);
ModelBinding\Binders\ArrayModelBinderProvider.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\BinderTypeModelBinder.cs (2)
25ArgumentNullException.ThrowIfNull(binderType); 42ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\BinderTypeModelBinderProvider.cs (1)
17ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\BodyModelBinder.cs (3)
73ArgumentNullException.ThrowIfNull(formatters); 74ArgumentNullException.ThrowIfNull(readerFactory); 89ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\BodyModelBinderProvider.cs (3)
58ArgumentNullException.ThrowIfNull(formatters); 59ArgumentNullException.ThrowIfNull(readerFactory); 70ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\ByteArrayModelBinder.cs (2)
23ArgumentNullException.ThrowIfNull(loggerFactory); 31ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\ByteArrayModelBinderProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\CancellationTokenModelBinder.cs (1)
18ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\CancellationTokenModelBinderProvider.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\CollectionModelBinder.cs (5)
57ArgumentNullException.ThrowIfNull(elementBinder); 58ArgumentNullException.ThrowIfNull(loggerFactory); 86ArgumentNullException.ThrowIfNull(mvcOptions); 107ArgumentNullException.ThrowIfNull(bindingContext); 469ArgumentNullException.ThrowIfNull(target);
ModelBinding\Binders\CollectionModelBinderProvider.cs (1)
21ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
51ArgumentNullException.ThrowIfNull(bindingContext); 180ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\ComplexTypeModelBinder.cs (7)
70ArgumentNullException.ThrowIfNull(propertyBinders); 71ArgumentNullException.ThrowIfNull(loggerFactory); 80ArgumentNullException.ThrowIfNull(bindingContext); 461ArgumentNullException.ThrowIfNull(bindingContext); 524ArgumentNullException.ThrowIfNull(bindingContext); 525ArgumentNullException.ThrowIfNull(modelName); 526ArgumentNullException.ThrowIfNull(propertyMetadata);
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\DateTimeModelBinder.cs (2)
26ArgumentNullException.ThrowIfNull(loggerFactory); 35ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\DateTimeModelBinderProvider.cs (1)
22ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\DecimalModelBinder.cs (2)
28ArgumentNullException.ThrowIfNull(loggerFactory); 37ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\DictionaryModelBinder.cs (4)
31ArgumentNullException.ThrowIfNull(valueBinder); 65ArgumentNullException.ThrowIfNull(valueBinder); 104ArgumentNullException.ThrowIfNull(valueBinder); 112ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\DictionaryModelBinderProvider.cs (1)
21ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\DoubleModelBinder.cs (2)
28ArgumentNullException.ThrowIfNull(loggerFactory); 37ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\EnumTypeModelBinderProvider.cs (1)
28ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\FloatingPointTypeModelBinderProvider.cs (1)
25ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\FloatModelBinder.cs (2)
28ArgumentNullException.ThrowIfNull(loggerFactory); 37ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\FormCollectionModelBinder.cs (2)
27ArgumentNullException.ThrowIfNull(loggerFactory); 35ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (1)
21ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\FormFileModelBinder.cs (2)
28ArgumentNullException.ThrowIfNull(loggerFactory); 36ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\FormFileModelBinderProvider.cs (1)
21ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\HeaderModelBinder.cs (3)
38ArgumentNullException.ThrowIfNull(loggerFactory); 39ArgumentNullException.ThrowIfNull(innerModelBinder); 51ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\KeyValuePairModelBinder.cs (4)
29ArgumentNullException.ThrowIfNull(keyBinder); 30ArgumentNullException.ThrowIfNull(valueBinder); 31ArgumentNullException.ThrowIfNull(loggerFactory); 41ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\KeyValuePairModelBinderProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\ServicesModelBinder.cs (1)
22ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\ServicesModelBinderProvider.cs (1)
21ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\SimpleTypeModelBinder.cs (3)
27ArgumentNullException.ThrowIfNull(type); 28ArgumentNullException.ThrowIfNull(loggerFactory); 37ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\SimpleTypeModelBinderProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Binders\TryParseModelBinder.cs (3)
35ArgumentNullException.ThrowIfNull(modelType); 36ArgumentNullException.ThrowIfNull(loggerFactory); 45ArgumentNullException.ThrowIfNull(bindingContext);
ModelBinding\Binders\TryParseModelBinderProvider.cs (1)
17ArgumentNullException.ThrowIfNull(context);
ModelBinding\BindingSourceValueProvider.cs (2)
37ArgumentNullException.ThrowIfNull(bindingSource); 72ArgumentNullException.ThrowIfNull(bindingSource);
ModelBinding\CompositeValueProvider.cs (4)
47ArgumentNullException.ThrowIfNull(controllerContext); 147ArgumentNullException.ThrowIfNull(item); 155ArgumentNullException.ThrowIfNull(item); 163ArgumentNullException.ThrowIfNull(bindingSource);
ModelBinding\DefaultModelBindingContext.cs (15)
35ArgumentNullException.ThrowIfNull(value); 46ArgumentNullException.ThrowIfNull(value); 64ArgumentNullException.ThrowIfNull(value); 75ArgumentNullException.ThrowIfNull(value); 86ArgumentNullException.ThrowIfNull(value); 120ArgumentNullException.ThrowIfNull(value); 131ArgumentNullException.ThrowIfNull(value); 149ArgumentNullException.ThrowIfNull(value); 204ArgumentNullException.ThrowIfNull(actionContext); 205ArgumentNullException.ThrowIfNull(valueProvider); 206ArgumentNullException.ThrowIfNull(metadata); 207ArgumentNullException.ThrowIfNull(modelName); 251ArgumentNullException.ThrowIfNull(modelMetadata); 252ArgumentNullException.ThrowIfNull(fieldName); 253ArgumentNullException.ThrowIfNull(modelName);
ModelBinding\FormFileValueProviderFactory.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\FormValueProvider.cs (4)
32ArgumentNullException.ThrowIfNull(bindingSource); 33ArgumentNullException.ThrowIfNull(values); 75ArgumentNullException.ThrowIfNull(prefix); 83ArgumentNullException.ThrowIfNull(key);
ModelBinding\FormValueProviderFactory.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ModelBinding\JQueryFormValueProviderFactory.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ModelBinding\JQueryQueryStringValueProviderFactory.cs (1)
18ArgumentNullException.ThrowIfNull(context);
ModelBinding\JQueryValueProvider.cs (3)
34ArgumentNullException.ThrowIfNull(bindingSource); 35ArgumentNullException.ThrowIfNull(values); 75ArgumentNullException.ThrowIfNull(key);
ModelBinding\Metadata\BindingMetadata.cs (1)
90ArgumentNullException.ThrowIfNull(value);
ModelBinding\Metadata\BindingMetadataProviderContext.cs (1)
22ArgumentNullException.ThrowIfNull(attributes);
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (2)
25ArgumentNullException.ThrowIfNull(type); 45ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\DefaultCompositeMetadataDetailsProvider.cs (3)
31ArgumentNullException.ThrowIfNull(context); 42ArgumentNullException.ThrowIfNull(context); 53ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\DefaultMetadataDetails.cs (1)
23ArgumentNullException.ThrowIfNull(attributes);
ModelBinding\Metadata\DefaultModelBindingMessageProvider.cs (12)
53ArgumentNullException.ThrowIfNull(originalProvider); 78ArgumentNullException.ThrowIfNull(missingBindRequiredValueAccessor); 93ArgumentNullException.ThrowIfNull(missingKeyOrValueAccessor); 108ArgumentNullException.ThrowIfNull(missingRequestBodyRequiredValueAccessor); 123ArgumentNullException.ThrowIfNull(valueMustNotBeNullAccessor); 138ArgumentNullException.ThrowIfNull(attemptedValueIsInvalidAccessor); 154ArgumentNullException.ThrowIfNull(nonPropertyAttemptedValueIsInvalidAccessor); 169ArgumentNullException.ThrowIfNull(unknownValueIsInvalidAccessor); 184ArgumentNullException.ThrowIfNull(nonPropertyUnknownValueIsInvalidAccessor); 199ArgumentNullException.ThrowIfNull(valueIsInvalidAccessor); 214ArgumentNullException.ThrowIfNull(valueMustBeANumberAccessor); 229ArgumentNullException.ThrowIfNull(nonPropertyValueMustBeANumberAccessor);
ModelBinding\Metadata\DefaultModelMetadata.cs (4)
65ArgumentNullException.ThrowIfNull(provider); 66ArgumentNullException.ThrowIfNull(detailsProvider); 67ArgumentNullException.ThrowIfNull(details); 68ArgumentNullException.ThrowIfNull(modelBindingMessageProvider);
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (9)
49ArgumentNullException.ThrowIfNull(detailsProvider); 74ArgumentNullException.ThrowIfNull(modelType); 105ArgumentNullException.ThrowIfNull(parameter); 106ArgumentNullException.ThrowIfNull(modelType); 116ArgumentNullException.ThrowIfNull(modelType); 126ArgumentNullException.ThrowIfNull(propertyInfo); 127ArgumentNullException.ThrowIfNull(modelType); 137ArgumentNullException.ThrowIfNull(constructorInfo); 145ArgumentNullException.ThrowIfNull(optionsAccessor);
ModelBinding\Metadata\DefaultValidationMetadataProvider.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\DisplayMetadata.cs (3)
75ArgumentNullException.ThrowIfNull(value); 134ArgumentNullException.ThrowIfNull(value); 221ArgumentNullException.ThrowIfNull(value);
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (1)
22ArgumentNullException.ThrowIfNull(attributes);
ModelBinding\Metadata\ExcludeBindingMetadataProvider.cs (2)
25ArgumentNullException.ThrowIfNull(type); 33ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\HasValidatorsValidationMetadataProvider.cs (1)
27ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\MetadataDetailsProviderExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(list); 32ArgumentNullException.ThrowIfNull(list); 33ArgumentNullException.ThrowIfNull(type);
ModelBinding\Metadata\ModelAttributes.cs (7)
50ArgumentNullException.ThrowIfNull(typeAttributes); 59ArgumentNullException.ThrowIfNull(typeAttributes); 131ArgumentNullException.ThrowIfNull(containerType); 132ArgumentNullException.ThrowIfNull(property); 158ArgumentNullException.ThrowIfNull(type); 203ArgumentNullException.ThrowIfNull(parameterInfo); 204ArgumentNullException.ThrowIfNull(modelType);
ModelBinding\Metadata\SystemTextJsonValidationMetadataProvider.cs (3)
33ArgumentNullException.ThrowIfNull(namingPolicy); 41ArgumentNullException.ThrowIfNull(context); 54ArgumentNullException.ThrowIfNull(context);
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (1)
22ArgumentNullException.ThrowIfNull(attributes);
ModelBinding\ModelBinderFactory.cs (3)
53ArgumentNullException.ThrowIfNull(context); 260ArgumentNullException.ThrowIfNull(metadata); 261ArgumentNullException.ThrowIfNull(bindingInfo);
ModelBinding\ModelBinderProviderExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(list); 32ArgumentNullException.ThrowIfNull(list); 33ArgumentNullException.ThrowIfNull(type);
ModelBinding\ModelBindingHelper.cs (16)
88ArgumentNullException.ThrowIfNull(includeExpressions); 214ArgumentNullException.ThrowIfNull(model); 215ArgumentNullException.ThrowIfNull(modelType); 216ArgumentNullException.ThrowIfNull(prefix); 217ArgumentNullException.ThrowIfNull(actionContext); 218ArgumentNullException.ThrowIfNull(metadataProvider); 219ArgumentNullException.ThrowIfNull(modelBinderFactory); 220ArgumentNullException.ThrowIfNull(valueProvider); 221ArgumentNullException.ThrowIfNull(objectModelValidator); 222ArgumentNullException.ThrowIfNull(propertyFilter); 370ArgumentNullException.ThrowIfNull(modelType); 371ArgumentNullException.ThrowIfNull(modelState); 372ArgumentNullException.ThrowIfNull(metadataProvider); 388ArgumentNullException.ThrowIfNull(modelMetadata); 389ArgumentNullException.ThrowIfNull(modelState); 613ArgumentNullException.ThrowIfNull(type);
ModelBinding\ModelMetadataProviderExtensions.cs (3)
28ArgumentNullException.ThrowIfNull(provider); 29ArgumentNullException.ThrowIfNull(containerType); 30ArgumentNullException.ThrowIfNull(propertyName);
ModelBinding\ObjectModelValidator.cs (2)
28ArgumentNullException.ThrowIfNull(modelMetadataProvider); 29ArgumentNullException.ThrowIfNull(validatorProviders);
ModelBinding\ParameterBinder.cs (10)
37ArgumentNullException.ThrowIfNull(modelMetadataProvider); 38ArgumentNullException.ThrowIfNull(modelBinderFactory); 39ArgumentNullException.ThrowIfNull(validator); 40ArgumentNullException.ThrowIfNull(mvcOptions); 41ArgumentNullException.ThrowIfNull(loggerFactory); 93ArgumentNullException.ThrowIfNull(actionContext); 94ArgumentNullException.ThrowIfNull(modelBinder); 95ArgumentNullException.ThrowIfNull(valueProvider); 96ArgumentNullException.ThrowIfNull(parameter); 97ArgumentNullException.ThrowIfNull(metadata);
ModelBinding\PrefixContainer.cs (2)
26ArgumentNullException.ThrowIfNull(values); 49ArgumentNullException.ThrowIfNull(prefix);
ModelBinding\QueryStringValueProvider.cs (4)
31ArgumentNullException.ThrowIfNull(bindingSource); 32ArgumentNullException.ThrowIfNull(values); 68ArgumentNullException.ThrowIfNull(prefix); 76ArgumentNullException.ThrowIfNull(key);
ModelBinding\QueryStringValueProviderFactory.cs (1)
19ArgumentNullException.ThrowIfNull(context);
ModelBinding\RouteValueProvider.cs (4)
41ArgumentNullException.ThrowIfNull(bindingSource); 42ArgumentNullException.ThrowIfNull(values); 43ArgumentNullException.ThrowIfNull(culture); 79ArgumentNullException.ThrowIfNull(key);
ModelBinding\RouteValueProviderFactory.cs (1)
16ArgumentNullException.ThrowIfNull(context);
ModelBinding\SuppressChildValidationMetadataProvider.cs (3)
26ArgumentNullException.ThrowIfNull(type); 40ArgumentNullException.ThrowIfNull(fullTypeName); 58ArgumentNullException.ThrowIfNull(context);
ModelBinding\Validation\CompositeClientModelValidatorProvider.cs (2)
21ArgumentNullException.ThrowIfNull(providers); 34ArgumentNullException.ThrowIfNull(context);
ModelBinding\Validation\CompositeModelValidatorProvider.cs (1)
21ArgumentNullException.ThrowIfNull(providers);
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
38ArgumentNullException.ThrowIfNull(elementKeys);
ModelBinding\Validation\ModelValidatorProviderExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(list); 32ArgumentNullException.ThrowIfNull(list); 33ArgumentNullException.ThrowIfNull(type);
ModelBinding\Validation\ValidationVisitor.cs (3)
37ArgumentNullException.ThrowIfNull(actionContext); 38ArgumentNullException.ThrowIfNull(validatorProvider); 39ArgumentNullException.ThrowIfNull(validatorCache);
ModelBinding\ValueProviderFactoryExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(list); 32ArgumentNullException.ThrowIfNull(list); 33ArgumentNullException.ThrowIfNull(type);
ModelMetadataTypeAttribute.cs (1)
18ArgumentNullException.ThrowIfNull(type);
MvcCoreLoggerExtensions.cs (1)
286ArgumentNullException.ThrowIfNull(action);
ObjectResult.cs (1)
71ArgumentNullException.ThrowIfNull(context);
PhysicalFileResult.cs (2)
28ArgumentNullException.ThrowIfNull(fileName); 56ArgumentNullException.ThrowIfNull(context);
ProducesAttribute.cs (2)
38ArgumentNullException.ThrowIfNull(contentType); 72ArgumentNullException.ThrowIfNull(context);
ProducesResponseTypeAttribute.cs (1)
50ArgumentNullException.ThrowIfNull(contentType);
RedirectResult.cs (3)
27ArgumentNullException.ThrowIfNull(url); 50ArgumentNullException.ThrowIfNull(url); 91ArgumentNullException.ThrowIfNull(context);
RedirectToActionResult.cs (1)
169ArgumentNullException.ThrowIfNull(context);
RedirectToPageResult.cs (1)
207ArgumentNullException.ThrowIfNull(context);
RedirectToRouteResult.cs (1)
161ArgumentNullException.ThrowIfNull(context);
RequireHttpsAttribute.cs (1)
43ArgumentNullException.ThrowIfNull(filterContext);
ResponseCacheAttribute.cs (1)
120ArgumentNullException.ThrowIfNull(serviceProvider);
Routing\ActionConstraintMatcherPolicy.cs (1)
33ArgumentNullException.ThrowIfNull(endpoints);
Routing\ActionEndpointFactory.cs (12)
30ArgumentNullException.ThrowIfNull(routePatternTransformer); 50ArgumentNullException.ThrowIfNull(endpoints); 51ArgumentNullException.ThrowIfNull(routeNames); 52ArgumentNullException.ThrowIfNull(action); 53ArgumentNullException.ThrowIfNull(routes); 54ArgumentNullException.ThrowIfNull(conventions); 55ArgumentNullException.ThrowIfNull(groupConventions); 56ArgumentNullException.ThrowIfNull(finallyConventions); 57ArgumentNullException.ThrowIfNull(groupFinallyConventions); 185ArgumentNullException.ThrowIfNull(endpoints); 186ArgumentNullException.ThrowIfNull(keys); 187ArgumentNullException.ThrowIfNull(conventions);
Routing\AttributeRoute.cs (3)
28ArgumentNullException.ThrowIfNull(actionDescriptorCollectionProvider); 29ArgumentNullException.ThrowIfNull(services); 30ArgumentNullException.ThrowIfNull(handlerFactory);
Routing\AttributeRouting.cs (1)
19ArgumentNullException.ThrowIfNull(services);
Routing\ControllerLinkGeneratorExtensions.cs (10)
50ArgumentNullException.ThrowIfNull(generator); 51ArgumentNullException.ThrowIfNull(httpContext); 88ArgumentNullException.ThrowIfNull(generator); 89ArgumentNullException.ThrowIfNull(action); 90ArgumentNullException.ThrowIfNull(controller); 146ArgumentNullException.ThrowIfNull(generator); 147ArgumentNullException.ThrowIfNull(httpContext); 198ArgumentNullException.ThrowIfNull(generator); 199ArgumentNullException.ThrowIfNull(action); 200ArgumentNullException.ThrowIfNull(controller);
Routing\DynamicControllerEndpointMatcherPolicy.cs (5)
21ArgumentNullException.ThrowIfNull(selectorCache); 22ArgumentNullException.ThrowIfNull(comparer); 32ArgumentNullException.ThrowIfNull(endpoints); 60ArgumentNullException.ThrowIfNull(httpContext); 61ArgumentNullException.ThrowIfNull(candidates);
Routing\DynamicControllerEndpointSelector.cs (2)
16ArgumentNullException.ThrowIfNull(dataSource); 25ArgumentNullException.ThrowIfNull(values);
Routing\DynamicControllerMetadata.cs (1)
12ArgumentNullException.ThrowIfNull(values);
Routing\DynamicControllerRouteValueTransformerMetadata.cs (1)
12ArgumentNullException.ThrowIfNull(selectorType);
Routing\EndpointRoutingUrlHelper.cs (4)
28ArgumentNullException.ThrowIfNull(linkGenerator); 29ArgumentNullException.ThrowIfNull(endpointDataSource); 38ArgumentNullException.ThrowIfNull(urlActionContext); 79ArgumentNullException.ThrowIfNull(routeContext);
Routing\HttpMethodAttribute.cs (1)
37ArgumentNullException.ThrowIfNull(httpMethods);
Routing\KnownRouteValueConstraint.cs (4)
28ArgumentNullException.ThrowIfNull(actionDescriptorCollectionProvider); 41ArgumentNullException.ThrowIfNull(routeKey); 42ArgumentNullException.ThrowIfNull(values); 72ArgumentNullException.ThrowIfNull(httpContext);
Routing\MvcAttributeRouteHandler.cs (2)
36ArgumentNullException.ThrowIfNull(context); 44ArgumentNullException.ThrowIfNull(context);
Routing\MvcRouteHandler.cs (2)
33ArgumentNullException.ThrowIfNull(context); 41ArgumentNullException.ThrowIfNull(context);
Routing\NormalizedRouteValue.cs (2)
24ArgumentNullException.ThrowIfNull(context); 25ArgumentNullException.ThrowIfNull(key);
Routing\PageLinkGeneratorExtensions.cs (8)
49ArgumentNullException.ThrowIfNull(generator); 50ArgumentNullException.ThrowIfNull(httpContext); 91ArgumentNullException.ThrowIfNull(generator); 92ArgumentNullException.ThrowIfNull(page); 147ArgumentNullException.ThrowIfNull(generator); 148ArgumentNullException.ThrowIfNull(httpContext); 199ArgumentNullException.ThrowIfNull(generator); 200ArgumentNullException.ThrowIfNull(page);
Routing\RouteValueAttribute.cs (2)
33ArgumentNullException.ThrowIfNull(routeKey); 34ArgumentNullException.ThrowIfNull(routeValue);
Routing\UrlHelper.cs (2)
53ArgumentNullException.ThrowIfNull(actionContext); 66ArgumentNullException.ThrowIfNull(routeContext);
Routing\UrlHelperBase.cs (1)
32ArgumentNullException.ThrowIfNull(actionContext);
Routing\UrlHelperFactory.cs (1)
19ArgumentNullException.ThrowIfNull(context);
SerializableError.cs (1)
31ArgumentNullException.ThrowIfNull(modelState);
ServiceFilterAttribute.cs (1)
49ArgumentNullException.ThrowIfNull(serviceProvider);
SignInResult.cs (1)
80ArgumentNullException.ThrowIfNull(context);
SignOutResult.cs (1)
92ArgumentNullException.ThrowIfNull(context);
src\aspnetcore\src\Http\Routing\src\DataSourceDependentCache.cs (2)
29ArgumentNullException.ThrowIfNull(dataSource); 30ArgumentNullException.ThrowIfNull(initialize);
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (8)
92ArgumentNullException.ThrowIfNull(context); 93ArgumentNullException.ThrowIfNull(key); 147ArgumentNullException.ThrowIfNull(context); 148ArgumentNullException.ThrowIfNull(key); 149ArgumentNullException.ThrowIfNull(options); 227ArgumentNullException.ThrowIfNull(context); 228ArgumentNullException.ThrowIfNull(key); 229ArgumentNullException.ThrowIfNull(options);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (2)
26ArgumentNullException.ThrowIfNull(sourceDictionary); 27ArgumentNullException.ThrowIfNull(comparer);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
19ArgumentNullException.ThrowIfNull(source);
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
32ArgumentNullException.ThrowIfNull(methodInfo); 114ArgumentNullException.ThrowIfNull(parameterDefaultValues);
src\aspnetcore\src\Shared\PropertyActivator\PropertyActivator.cs (9)
30ArgumentNullException.ThrowIfNull(instance); 42ArgumentNullException.ThrowIfNull(type); 43ArgumentNullException.ThrowIfNull(activateAttributeType); 44ArgumentNullException.ThrowIfNull(createActivateInfo); 55ArgumentNullException.ThrowIfNull(type); 56ArgumentNullException.ThrowIfNull(activateAttributeType); 57ArgumentNullException.ThrowIfNull(createActivateInfo); 69ArgumentNullException.ThrowIfNull(type); 70ArgumentNullException.ThrowIfNull(createActivateInfo);
StatusCodeResult.cs (1)
36ArgumentNullException.ThrowIfNull(context);
TypeFilterAttribute.cs (1)
62ArgumentNullException.ThrowIfNull(serviceProvider);
UrlHelperExtensions.cs (17)
22ArgumentNullException.ThrowIfNull(helper); 42ArgumentNullException.ThrowIfNull(helper); 57ArgumentNullException.ThrowIfNull(helper); 72ArgumentNullException.ThrowIfNull(helper); 88ArgumentNullException.ThrowIfNull(helper); 119ArgumentNullException.ThrowIfNull(helper); 154ArgumentNullException.ThrowIfNull(helper); 191ArgumentNullException.ThrowIfNull(helper); 212ArgumentNullException.ThrowIfNull(helper); 225ArgumentNullException.ThrowIfNull(helper); 240ArgumentNullException.ThrowIfNull(helper); 269ArgumentNullException.ThrowIfNull(helper); 302ArgumentNullException.ThrowIfNull(helper); 337ArgumentNullException.ThrowIfNull(helper); 476ArgumentNullException.ThrowIfNull(urlHelper); 523ArgumentNullException.ThrowIfNull(helper); 572ArgumentNullException.ThrowIfNull(urlHelper);
ValidationProblemDetails.cs (1)
35ArgumentNullException.ThrowIfNull(modelState);
VirtualFileResult.cs (1)
62ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Mvc.Cors (14)
CorsApplicationModelProvider.cs (2)
25ArgumentNullException.ThrowIfNull(context); 32ArgumentNullException.ThrowIfNull(context);
CorsAuthorizationFilter.cs (4)
43ArgumentNullException.ThrowIfNull(corsService); 44ArgumentNullException.ThrowIfNull(policyProvider); 45ArgumentNullException.ThrowIfNull(loggerFactory); 65ArgumentNullException.ThrowIfNull(context);
CorsAuthorizationFilterFactory.cs (1)
36ArgumentNullException.ThrowIfNull(serviceProvider);
CorsHttpMethodActionConstraint.cs (1)
22ArgumentNullException.ThrowIfNull(context);
DependencyInjection\MvcCorsMvcCoreBuilderExtensions.cs (5)
23ArgumentNullException.ThrowIfNull(builder); 39ArgumentNullException.ThrowIfNull(builder); 40ArgumentNullException.ThrowIfNull(setupAction); 58ArgumentNullException.ThrowIfNull(builder); 59ArgumentNullException.ThrowIfNull(setupAction);
DisableCorsAuthorizationFilter.cs (1)
24ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Mvc.DataAnnotations (46)
CompareAttributeAdapter.cs (2)
24ArgumentNullException.ThrowIfNull(context); 34ArgumentNullException.ThrowIfNull(validationContext);
DataAnnotationsClientModelValidatorProvider.cs (3)
36ArgumentNullException.ThrowIfNull(validationAttributeAdapterProvider); 37ArgumentNullException.ThrowIfNull(options); 47ArgumentNullException.ThrowIfNull(context);
DataAnnotationsMetadataProvider.cs (5)
33ArgumentNullException.ThrowIfNull(options); 34ArgumentNullException.ThrowIfNull(localizationOptions); 44ArgumentNullException.ThrowIfNull(context); 56ArgumentNullException.ThrowIfNull(context); 300ArgumentNullException.ThrowIfNull(context);
DataAnnotationsModelValidator.cs (3)
32ArgumentNullException.ThrowIfNull(validationAttributeAdapterProvider); 33ArgumentNullException.ThrowIfNull(attribute); 52ArgumentNullException.ThrowIfNull(validationContext);
DataAnnotationsModelValidatorProvider.cs (2)
36ArgumentNullException.ThrowIfNull(validationAttributeAdapterProvider); 37ArgumentNullException.ThrowIfNull(options);
DataTypeAttributeAdapter.cs (2)
28ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(validationContext);
DefaultClientModelValidatorProvider.cs (1)
20ArgumentNullException.ThrowIfNull(context);
DependencyInjection\MvcDataAnnotationsLocalizationOptionsSetup.cs (1)
17ArgumentNullException.ThrowIfNull(options);
DependencyInjection\MvcDataAnnotationsMvcBuilderExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(builder); 36ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\MvcDataAnnotationsMvcCoreBuilderExtensions.cs (3)
23ArgumentNullException.ThrowIfNull(builder); 36ArgumentNullException.ThrowIfNull(builder); 52ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\MvcDataAnnotationsMvcOptionsSetup.cs (3)
24ArgumentNullException.ThrowIfNull(validationAttributeAdapterProvider); 25ArgumentNullException.ThrowIfNull(dataAnnotationLocalizationOptions); 42ArgumentNullException.ThrowIfNull(options);
FileExtensionsAttributeAdapter.cs (2)
32ArgumentNullException.ThrowIfNull(context); 42ArgumentNullException.ThrowIfNull(validationContext);
MaxLengthAttributeAdapter.cs (2)
23ArgumentNullException.ThrowIfNull(context); 33ArgumentNullException.ThrowIfNull(validationContext);
MinLengthAttributeAdapter.cs (2)
23ArgumentNullException.ThrowIfNull(context); 33ArgumentNullException.ThrowIfNull(validationContext);
NumericClientModelValidator.cs (2)
18ArgumentNullException.ThrowIfNull(context); 34ArgumentNullException.ThrowIfNull(modelMetadata);
NumericClientModelValidatorProvider.cs (1)
17ArgumentNullException.ThrowIfNull(context);
RangeAttributeAdapter.cs (2)
32ArgumentNullException.ThrowIfNull(context); 43ArgumentNullException.ThrowIfNull(validationContext);
RegularExpressionAttributeAdapter.cs (2)
19ArgumentNullException.ThrowIfNull(context); 29ArgumentNullException.ThrowIfNull(validationContext);
RequiredAttributeAdapter.cs (2)
28ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(validationContext);
StringLengthAttributeAdapter.cs (2)
26ArgumentNullException.ThrowIfNull(context); 45ArgumentNullException.ThrowIfNull(validationContext);
ValidationAttributeAdapterOfTAttribute.cs (1)
67ArgumentNullException.ThrowIfNull(modelMetadata);
ValidationAttributeAdapterProvider.cs (1)
22ArgumentNullException.ThrowIfNull(attribute);
Microsoft.AspNetCore.Mvc.Formatters.Xml (64)
DelegatingEnumerable.cs (1)
41ArgumentNullException.ThrowIfNull(source);
DelegatingEnumerator.cs (1)
28ArgumentNullException.ThrowIfNull(inner);
DependencyInjection\MvcXmlMvcBuilderExtensions.cs (7)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(setupAction); 39ArgumentNullException.ThrowIfNull(builder); 55ArgumentNullException.ThrowIfNull(builder); 56ArgumentNullException.ThrowIfNull(setupAction); 70ArgumentNullException.ThrowIfNull(builder); 86ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\MvcXmlMvcCoreBuilderExtensions.cs (7)
26ArgumentNullException.ThrowIfNull(builder); 27ArgumentNullException.ThrowIfNull(setupAction); 40ArgumentNullException.ThrowIfNull(builder); 56ArgumentNullException.ThrowIfNull(builder); 57ArgumentNullException.ThrowIfNull(setupAction); 71ArgumentNullException.ThrowIfNull(builder); 87ArgumentNullException.ThrowIfNull(builder);
EnumerableWrapperProvider.cs (1)
29ArgumentNullException.ThrowIfNull(sourceEnumerableOfT);
EnumerableWrapperProviderFactory.cs (2)
23ArgumentNullException.ThrowIfNull(wrapperProviderFactories); 36ArgumentNullException.ThrowIfNull(context);
ModelBinding\DataMemberRequiredBindingMetadataProvider.cs (1)
18ArgumentNullException.ThrowIfNull(context);
ProblemDetailsWrapper.cs (3)
48ArgumentNullException.ThrowIfNull(reader); 75ArgumentNullException.ThrowIfNull(reader); 174ArgumentNullException.ThrowIfNull(declaredType);
SerializableErrorWrapper.cs (2)
35ArgumentNullException.ThrowIfNull(error); 109ArgumentNullException.ThrowIfNull(declaredType);
SerializableErrorWrapperProvider.cs (1)
17ArgumentNullException.ThrowIfNull(original);
SerializableErrorWrapperProviderFactory.cs (1)
24ArgumentNullException.ThrowIfNull(context);
ValidationProblemDetailsWrapper.cs (3)
41ArgumentNullException.ThrowIfNull(reader); 78ArgumentNullException.ThrowIfNull(writer); 111ArgumentNullException.ThrowIfNull(declaredType);
WrapperProviderContext.cs (1)
19ArgumentNullException.ThrowIfNull(declaredType);
WrapperProviderFactoriesExtensions.cs (2)
23ArgumentNullException.ThrowIfNull(wrapperProviderFactories); 24ArgumentNullException.ThrowIfNull(wrapperProviderContext);
XmlDataContractSerializerInputFormatter.cs (9)
79ArgumentNullException.ThrowIfNull(value); 101ArgumentNullException.ThrowIfNull(context); 102ArgumentNullException.ThrowIfNull(encoding); 175ArgumentNullException.ThrowIfNull(type); 188ArgumentNullException.ThrowIfNull(readStream); 189ArgumentNullException.ThrowIfNull(encoding); 201ArgumentNullException.ThrowIfNull(declaredType); 216ArgumentNullException.ThrowIfNull(type); 237ArgumentNullException.ThrowIfNull(type);
XmlDataContractSerializerOutputFormatter.cs (8)
66ArgumentNullException.ThrowIfNull(writerSettings); 108ArgumentNullException.ThrowIfNull(value); 121ArgumentNullException.ThrowIfNull(type); 148ArgumentNullException.ThrowIfNull(type); 183ArgumentNullException.ThrowIfNull(writer); 184ArgumentNullException.ThrowIfNull(xmlWriterSettings); 215ArgumentNullException.ThrowIfNull(context); 216ArgumentNullException.ThrowIfNull(selectedEncoding);
XmlSerializerInputFormatter.cs (7)
85ArgumentNullException.ThrowIfNull(context); 86ArgumentNullException.ThrowIfNull(encoding); 171ArgumentNullException.ThrowIfNull(type); 183ArgumentNullException.ThrowIfNull(declaredType); 211ArgumentNullException.ThrowIfNull(readStream); 212ArgumentNullException.ThrowIfNull(encoding); 242ArgumentNullException.ThrowIfNull(type);
XmlSerializerOutputFormatter.cs (7)
65ArgumentNullException.ThrowIfNull(writerSettings); 103ArgumentNullException.ThrowIfNull(type); 130ArgumentNullException.ThrowIfNull(type); 162ArgumentNullException.ThrowIfNull(writer); 163ArgumentNullException.ThrowIfNull(xmlWriterSettings); 194ArgumentNullException.ThrowIfNull(context); 195ArgumentNullException.ThrowIfNull(selectedEncoding);
Microsoft.AspNetCore.Mvc.Localization (52)
DependencyInjection\MvcLocalizationMvcBuilderExtensions.cs (12)
23ArgumentNullException.ThrowIfNull(builder); 38ArgumentNullException.ThrowIfNull(builder); 54ArgumentNullException.ThrowIfNull(builder); 72ArgumentNullException.ThrowIfNull(builder); 90ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder); 138ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder); 190ArgumentNullException.ThrowIfNull(builder); 218ArgumentNullException.ThrowIfNull(builder); 245ArgumentNullException.ThrowIfNull(builder); 275ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\MvcLocalizationMvcCoreBuilderExtensions.cs (12)
28ArgumentNullException.ThrowIfNull(builder); 48ArgumentNullException.ThrowIfNull(builder); 72ArgumentNullException.ThrowIfNull(builder); 94ArgumentNullException.ThrowIfNull(builder); 115ArgumentNullException.ThrowIfNull(builder); 139ArgumentNullException.ThrowIfNull(builder); 163ArgumentNullException.ThrowIfNull(builder); 190ArgumentNullException.ThrowIfNull(builder); 215ArgumentNullException.ThrowIfNull(builder); 243ArgumentNullException.ThrowIfNull(builder); 270ArgumentNullException.ThrowIfNull(builder); 300ArgumentNullException.ThrowIfNull(builder);
HtmlLocalizer.cs (5)
22ArgumentNullException.ThrowIfNull(localizer); 32ArgumentNullException.ThrowIfNull(name); 43ArgumentNullException.ThrowIfNull(name); 52ArgumentNullException.ThrowIfNull(name); 60ArgumentNullException.ThrowIfNull(name);
HtmlLocalizerExtensions.cs (5)
21ArgumentNullException.ThrowIfNull(htmlLocalizer); 22ArgumentNullException.ThrowIfNull(name); 36ArgumentNullException.ThrowIfNull(htmlLocalizer); 37ArgumentNullException.ThrowIfNull(name); 49ArgumentNullException.ThrowIfNull(htmlLocalizer);
HtmlLocalizerFactory.cs (4)
22ArgumentNullException.ThrowIfNull(localizerFactory); 34ArgumentNullException.ThrowIfNull(resourceSource); 47ArgumentNullException.ThrowIfNull(baseName); 48ArgumentNullException.ThrowIfNull(location);
HtmlLocalizerOfT.cs (4)
31ArgumentNullException.ThrowIfNull(name); 42ArgumentNullException.ThrowIfNull(name); 51ArgumentNullException.ThrowIfNull(name); 59ArgumentNullException.ThrowIfNull(name);
LocalizedHtmlString.cs (5)
46ArgumentNullException.ThrowIfNull(name); 47ArgumentNullException.ThrowIfNull(value); 48ArgumentNullException.ThrowIfNull(arguments); 74ArgumentNullException.ThrowIfNull(writer); 75ArgumentNullException.ThrowIfNull(encoder);
ViewLocalizer.cs (5)
30ArgumentNullException.ThrowIfNull(localizerFactory); 31ArgumentNullException.ThrowIfNull(hostingEnvironment); 47ArgumentNullException.ThrowIfNull(key); 58ArgumentNullException.ThrowIfNull(key); 80ArgumentNullException.ThrowIfNull(viewContext);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (54)
DependencyInjection\MvcNewtonsoftJsonOptionsExtensions.cs (2)
28ArgumentNullException.ThrowIfNull(options); 63ArgumentNullException.ThrowIfNull(options);
DependencyInjection\NewtonsoftJsonMvcBuilderExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(builder); 36ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (3)
29ArgumentNullException.ThrowIfNull(builder); 45ArgumentNullException.ThrowIfNull(builder); 46ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (4)
33ArgumentNullException.ThrowIfNull(loggerFactory); 34ArgumentNullException.ThrowIfNull(jsonOptions); 35ArgumentNullException.ThrowIfNull(charPool); 36ArgumentNullException.ThrowIfNull(objectPoolProvider);
JsonArrayPool.cs (2)
15ArgumentNullException.ThrowIfNull(inner); 27ArgumentNullException.ThrowIfNull(array);
JsonHelperExtensions.cs (3)
34ArgumentNullException.ThrowIfNull(jsonHelper); 47ArgumentNullException.ThrowIfNull(value); 48ArgumentNullException.ThrowIfNull(serializerSettings);
JsonPatchExtensions.cs (6)
25ArgumentNullException.ThrowIfNull(patchDoc); 26ArgumentNullException.ThrowIfNull(objectToApplyTo); 27ArgumentNullException.ThrowIfNull(modelState); 45ArgumentNullException.ThrowIfNull(patchDoc); 46ArgumentNullException.ThrowIfNull(objectToApplyTo); 47ArgumentNullException.ThrowIfNull(modelState);
JsonPatchOperationsArrayProvider.cs (1)
38ArgumentNullException.ThrowIfNull(context);
NewtonsoftJsonHelper.cs (3)
32ArgumentNullException.ThrowIfNull(options); 33ArgumentNullException.ThrowIfNull(charPool); 46ArgumentNullException.ThrowIfNull(serializerSettings);
NewtonsoftJsonInputFormatter.cs (6)
51ArgumentNullException.ThrowIfNull(logger); 52ArgumentNullException.ThrowIfNull(serializerSettings); 53ArgumentNullException.ThrowIfNull(charPool); 54ArgumentNullException.ThrowIfNull(objectPoolProvider); 98ArgumentNullException.ThrowIfNull(context); 99ArgumentNullException.ThrowIfNull(encoding);
NewtonsoftJsonOutputFormatter.cs (5)
61ArgumentNullException.ThrowIfNull(serializerSettings); 62ArgumentNullException.ThrowIfNull(charPool); 94ArgumentNullException.ThrowIfNull(writer); 136ArgumentNullException.ThrowIfNull(context); 137ArgumentNullException.ThrowIfNull(selectedEncoding);
NewtonsoftJsonPatchInputFormatter.cs (3)
65ArgumentNullException.ThrowIfNull(context); 66ArgumentNullException.ThrowIfNull(encoding); 83ArgumentNullException.ThrowIfNull(context);
NewtonsoftJsonResultExecutor.cs (6)
49ArgumentNullException.ThrowIfNull(writerFactory); 50ArgumentNullException.ThrowIfNull(logger); 51ArgumentNullException.ThrowIfNull(jsonOptions); 52ArgumentNullException.ThrowIfNull(charPool); 70ArgumentNullException.ThrowIfNull(context); 71ArgumentNullException.ThrowIfNull(result);
NewtonsoftJsonValidationMetadataProvider.cs (3)
32ArgumentNullException.ThrowIfNull(namingStrategy); 40ArgumentNullException.ThrowIfNull(context); 53ArgumentNullException.ThrowIfNull(context);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Mvc.Razor (77)
ApplicationParts\CompiledRazorAssemblyApplicationPartFactory.cs (1)
23ArgumentNullException.ThrowIfNull(assembly);
Compilation\CompiledViewDescriptor.cs (1)
27ArgumentNullException.ThrowIfNull(item);
Compilation\DefaultRazorPageFactoryProvider.cs (1)
30ArgumentNullException.ThrowIfNull(relativePath);
Compilation\DefaultViewCompiler.cs (1)
90ArgumentNullException.ThrowIfNull(relativePath);
DefaultTagHelperFactory.cs (2)
32ArgumentNullException.ThrowIfNull(activator); 52ArgumentNullException.ThrowIfNull(context);
DependencyInjection\MvcRazorMvcBuilderExtensions.cs (5)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(setupAction); 40ArgumentNullException.ThrowIfNull(builder); 62ArgumentNullException.ThrowIfNull(builder); 63ArgumentNullException.ThrowIfNull(initialize);
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (6)
33ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(builder); 52ArgumentNullException.ThrowIfNull(setupAction); 85ArgumentNullException.ThrowIfNull(builder); 107ArgumentNullException.ThrowIfNull(builder); 108ArgumentNullException.ThrowIfNull(initialize);
DependencyInjection\MvcRazorMvcViewOptionsSetup.cs (2)
23ArgumentNullException.ThrowIfNull(razorViewEngine); 34ArgumentNullException.ThrowIfNull(options);
DependencyInjection\TagHelpersAsServices.cs (2)
16ArgumentNullException.ThrowIfNull(manager); 17ArgumentNullException.ThrowIfNull(services);
HelperResult.cs (3)
25ArgumentNullException.ThrowIfNull(asyncAction); 42ArgumentNullException.ThrowIfNull(writer); 43ArgumentNullException.ThrowIfNull(encoder);
Infrastructure\DefaultFileVersionProvider.cs (3)
25ArgumentNullException.ThrowIfNull(hostingEnvironment); 26ArgumentNullException.ThrowIfNull(cacheProvider); 38ArgumentNullException.ThrowIfNull(path);
Infrastructure\DefaultTagHelperActivator.cs (1)
19ArgumentNullException.ThrowIfNull(context);
LanguageViewLocationExpander.cs (3)
45ArgumentNullException.ThrowIfNull(context); 56ArgumentNullException.ThrowIfNull(context); 57ArgumentNullException.ThrowIfNull(viewLocations);
RazorPage.cs (8)
57ArgumentNullException.ThrowIfNull(name); 58ArgumentNullException.ThrowIfNull(section); 74ArgumentNullException.ThrowIfNull(name); 90ArgumentNullException.ThrowIfNull(name); 106ArgumentNullException.ThrowIfNull(name); 126ArgumentNullException.ThrowIfNull(name); 147ArgumentNullException.ThrowIfNull(name); 194ArgumentNullException.ThrowIfNull(sectionName);
RazorPageActivator.cs (2)
60ArgumentNullException.ThrowIfNull(page); 61ArgumentNullException.ThrowIfNull(context);
RazorPageBase.cs (6)
323ArgumentNullException.ThrowIfNull(writer); 350ArgumentNullException.ThrowIfNull(contentPath); 382ArgumentNullException.ThrowIfNull(name); 383ArgumentNullException.ThrowIfNull(section); 492ArgumentNullException.ThrowIfNull(prefix); 493ArgumentNullException.ThrowIfNull(suffix);
RazorPagePropertyActivator.cs (1)
46ArgumentNullException.ThrowIfNull(context);
RazorPageResult.cs (4)
18ArgumentNullException.ThrowIfNull(name); 19ArgumentNullException.ThrowIfNull(page); 33ArgumentNullException.ThrowIfNull(name); 34ArgumentNullException.ThrowIfNull(searchedLocations);
RazorView.cs (7)
45ArgumentNullException.ThrowIfNull(viewEngine); 46ArgumentNullException.ThrowIfNull(pageActivator); 47ArgumentNullException.ThrowIfNull(viewStartPages); 48ArgumentNullException.ThrowIfNull(razorPage); 49ArgumentNullException.ThrowIfNull(htmlEncoder); 50ArgumentNullException.ThrowIfNull(diagnosticListener); 78ArgumentNullException.ThrowIfNull(context);
RazorViewEngine.cs (2)
109ArgumentNullException.ThrowIfNull(context); 156ArgumentNullException.ThrowIfNull(context);
RazorViewEngineOptionsSetup.cs (1)
12ArgumentNullException.ThrowIfNull(options);
ServiceBasedTagHelperActivator.cs (1)
19ArgumentNullException.ThrowIfNull(context);
TagHelperComponentManager.cs (1)
20ArgumentNullException.ThrowIfNull(tagHelperComponents);
TagHelperInitializerOfT.cs (2)
21ArgumentNullException.ThrowIfNull(action); 34ArgumentNullException.ThrowIfNull(context);
TagHelpers\TagHelperComponentPropertyActivator.cs (1)
30ArgumentNullException.ThrowIfNull(context);
TagHelpers\TagHelperComponentTagHelper.cs (2)
36ArgumentNullException.ThrowIfNull(manager); 37ArgumentNullException.ThrowIfNull(loggerFactory);
TagHelpers\UrlResolutionTagHelper.cs (4)
119ArgumentNullException.ThrowIfNull(context); 120ArgumentNullException.ThrowIfNull(output); 148ArgumentNullException.ThrowIfNull(attributeName); 149ArgumentNullException.ThrowIfNull(output);
ViewLocationCacheResult.cs (2)
21ArgumentNullException.ThrowIfNull(viewStarts); 35ArgumentNullException.ThrowIfNull(searchedLocations);
ViewLocationExpanderContext.cs (2)
28ArgumentNullException.ThrowIfNull(actionContext); 29ArgumentNullException.ThrowIfNull(viewName);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (28)
ChecksumValidator.cs (4)
16ArgumentNullException.ThrowIfNull(item); 30ArgumentNullException.ThrowIfNull(fileSystem); 31ArgumentNullException.ThrowIfNull(item); 96ArgumentNullException.ThrowIfNull(projectItem);
CompilationFailedException.cs (1)
15ArgumentNullException.ThrowIfNull(compilationFailures);
DependencyInjection\MvcRazorRuntimeCompilationOptionsSetup.cs (1)
24ArgumentNullException.ThrowIfNull(options);
DependencyInjection\RazorRuntimeCompilationMvcBuilderExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(builder); 36ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (3)
34ArgumentNullException.ThrowIfNull(builder); 48ArgumentNullException.ThrowIfNull(builder); 49ArgumentNullException.ThrowIfNull(setupAction);
FileProviderRazorProjectFileSystem.cs (2)
18ArgumentNullException.ThrowIfNull(fileProvider); 19ArgumentNullException.ThrowIfNull(hostingEnvironment);
PageActionDescriptorChangeProvider.cs (3)
25ArgumentNullException.ThrowIfNull(projectEngine); 26ArgumentNullException.ThrowIfNull(fileProvider); 27ArgumentNullException.ThrowIfNull(razorPagesOptions);
PageDirectiveFeature.cs (1)
34ArgumentNullException.ThrowIfNull(projectItem);
PageLoaderMatcherPolicy.cs (3)
35ArgumentNullException.ThrowIfNull(endpoints); 57ArgumentNullException.ThrowIfNull(httpContext); 58ArgumentNullException.ThrowIfNull(candidates);
RuntimeCompilationFileProvider.cs (1)
20ArgumentNullException.ThrowIfNull(options);
RuntimeViewCompiler.cs (6)
42ArgumentNullException.ThrowIfNull(fileProvider); 43ArgumentNullException.ThrowIfNull(projectEngine); 44ArgumentNullException.ThrowIfNull(csharpCompiler); 45ArgumentNullException.ThrowIfNull(precompiledViews); 46ArgumentNullException.ThrowIfNull(logger); 87ArgumentNullException.ThrowIfNull(relativePath);
Microsoft.AspNetCore.Mvc.RazorPages (190)
ApplicationModels\AuthorizationPageApplicationModelProvider.cs (1)
29ArgumentNullException.ThrowIfNull(context);
ApplicationModels\AutoValidateAntiforgeryPageApplicationModelProvider.cs (1)
20ArgumentNullException.ThrowIfNull(context);
ApplicationModels\CompiledPageRouteModelProvider.cs (3)
38ArgumentNullException.ThrowIfNull(context); 45ArgumentNullException.ThrowIfNull(context); 50ArgumentNullException.ThrowIfNull(applicationManager);
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (3)
35ArgumentNullException.ThrowIfNull(method); 77ArgumentNullException.ThrowIfNull(parameter); 106ArgumentNullException.ThrowIfNull(property);
ApplicationModels\DefaultPageApplicationModelProvider.cs (3)
44ArgumentNullException.ThrowIfNull(context); 64ArgumentNullException.ThrowIfNull(actionDescriptor); 65ArgumentNullException.ThrowIfNull(pageTypeInfo);
ApplicationModels\PageApplicationModel.cs (1)
57ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PageConventionCollection.cs (8)
65ArgumentNullException.ThrowIfNull(action); 93ArgumentNullException.ThrowIfNull(action); 109ArgumentNullException.ThrowIfNull(action); 137ArgumentNullException.ThrowIfNull(action); 153ArgumentNullException.ThrowIfNull(action); 178ArgumentNullException.ThrowIfNull(action); 194ArgumentNullException.ThrowIfNull(action); 219ArgumentNullException.ThrowIfNull(action);
ApplicationModels\PageHandlerModel.cs (1)
38ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PageParameterModel.cs (3)
25ArgumentNullException.ThrowIfNull(parameterInfo); 26ArgumentNullException.ThrowIfNull(attributes); 38ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PagePropertyModel.cs (1)
36ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PageRouteModel.cs (1)
48ArgumentNullException.ThrowIfNull(other);
ApplicationModels\PageRouteTransformerConvention.cs (1)
23ArgumentNullException.ThrowIfNull(parameterTransformer);
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (2)
18ArgumentNullException.ThrowIfNull(mvcOptionsAccessor); 29ArgumentNullException.ThrowIfNull(context);
ApplicationModels\TempDataFilterPageApplicationModelProvider.cs (1)
28ArgumentNullException.ThrowIfNull(context);
ApplicationModels\ViewDataAttributePageApplicationModelProvider.cs (1)
23ArgumentNullException.ThrowIfNull(context);
Builder\PageActionEndpointConventionBuilder.cs (2)
34ArgumentNullException.ThrowIfNull(convention); 47ArgumentNullException.ThrowIfNull(finalConvention);
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensions.cs (1)
28ArgumentNullException.ThrowIfNull(builder);
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (15)
29ArgumentNullException.ThrowIfNull(endpoints); 67ArgumentNullException.ThrowIfNull(endpoints); 68ArgumentNullException.ThrowIfNull(page); 124ArgumentNullException.ThrowIfNull(endpoints); 125ArgumentNullException.ThrowIfNull(pattern); 126ArgumentNullException.ThrowIfNull(page); 179ArgumentNullException.ThrowIfNull(endpoints); 180ArgumentNullException.ThrowIfNull(page); 238ArgumentNullException.ThrowIfNull(endpoints); 239ArgumentNullException.ThrowIfNull(pattern); 240ArgumentNullException.ThrowIfNull(page); 307ArgumentNullException.ThrowIfNull(endpoints); 308ArgumentNullException.ThrowIfNull(pattern); 341ArgumentNullException.ThrowIfNull(endpoints); 342ArgumentNullException.ThrowIfNull(pattern);
DependencyInjection\MvcRazorPagesMvcBuilderExtensions.cs (4)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(setupAction); 40ArgumentNullException.ThrowIfNull(builder); 59ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (4)
32ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(builder); 52ArgumentNullException.ThrowIfNull(setupAction); 71ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\PageConventionCollectionExtensions.cs (18)
27ArgumentNullException.ThrowIfNull(conventions); 28ArgumentNullException.ThrowIfNull(factory); 41ArgumentNullException.ThrowIfNull(conventions); 42ArgumentNullException.ThrowIfNull(filter); 57ArgumentNullException.ThrowIfNull(conventions); 58ArgumentNullException.ThrowIfNull(convention); 73ArgumentNullException.ThrowIfNull(conventions); 108ArgumentNullException.ThrowIfNull(conventions); 134ArgumentNullException.ThrowIfNull(conventions); 169ArgumentNullException.ThrowIfNull(conventions); 196ArgumentNullException.ThrowIfNull(conventions); 258ArgumentNullException.ThrowIfNull(conventions); 285ArgumentNullException.ThrowIfNull(conventions); 347ArgumentNullException.ThrowIfNull(conventions); 378ArgumentNullException.ThrowIfNull(conventions); 380ArgumentNullException.ThrowIfNull(route); 412ArgumentNullException.ThrowIfNull(conventions); 415ArgumentNullException.ThrowIfNull(route);
DependencyInjection\RazorPagesOptionsSetup.cs (1)
21ArgumentNullException.ThrowIfNull(options);
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (1)
23ArgumentNullException.ThrowIfNull(options);
Filters\PageHandlerExecutedContext.cs (1)
34ArgumentNullException.ThrowIfNull(handlerInstance);
Filters\PageHandlerExecutingContext.cs (2)
32ArgumentNullException.ThrowIfNull(handlerArguments); 33ArgumentNullException.ThrowIfNull(handlerInstance);
Filters\PageHandlerPageFilter.cs (3)
17ArgumentNullException.ThrowIfNull(context); 18ArgumentNullException.ThrowIfNull(next); 44ArgumentNullException.ThrowIfNull(context);
Filters\PageHandlerResultFIlter.cs (2)
17ArgumentNullException.ThrowIfNull(context); 18ArgumentNullException.ThrowIfNull(next);
Filters\PageHandlerSelectedContext.cs (1)
28ArgumentNullException.ThrowIfNull(handlerInstance);
Filters\PageResponseCacheFilter.cs (1)
88ArgumentNullException.ThrowIfNull(context);
Filters\PageSaveTempDataPropertyFilterFactory.cs (1)
22ArgumentNullException.ThrowIfNull(serviceProvider);
Infrastructure\DefaultPageActivatorProvider.cs (9)
22ArgumentNullException.ThrowIfNull(actionDescriptor); 38ArgumentNullException.ThrowIfNull(actionDescriptor); 50ArgumentNullException.ThrowIfNull(actionDescriptor); 82ArgumentNullException.ThrowIfNull(context); 83ArgumentNullException.ThrowIfNull(viewContext); 84ArgumentNullException.ThrowIfNull(page); 97ArgumentNullException.ThrowIfNull(context); 98ArgumentNullException.ThrowIfNull(viewContext); 99ArgumentNullException.ThrowIfNull(page);
Infrastructure\DefaultPageFactoryProvider.cs (2)
72ArgumentNullException.ThrowIfNull(descriptor); 79ArgumentNullException.ThrowIfNull(descriptor);
Infrastructure\DefaultPageLoader.cs (1)
40ArgumentNullException.ThrowIfNull(actionDescriptor);
Infrastructure\DefaultPageModelActivatorProvider.cs (7)
21ArgumentNullException.ThrowIfNull(actionDescriptor); 38ArgumentNullException.ThrowIfNull(actionDescriptor); 50ArgumentNullException.ThrowIfNull(actionDescriptor); 67ArgumentNullException.ThrowIfNull(context); 68ArgumentNullException.ThrowIfNull(page); 75ArgumentNullException.ThrowIfNull(context); 76ArgumentNullException.ThrowIfNull(page);
Infrastructure\DefaultPageModelFactoryProvider.cs (3)
22ArgumentNullException.ThrowIfNull(descriptor); 50ArgumentNullException.ThrowIfNull(descriptor); 62ArgumentNullException.ThrowIfNull(descriptor);
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (6)
22ArgumentNullException.ThrowIfNull(selectorCache); 23ArgumentNullException.ThrowIfNull(loader); 24ArgumentNullException.ThrowIfNull(comparer); 35ArgumentNullException.ThrowIfNull(endpoints); 63ArgumentNullException.ThrowIfNull(httpContext); 64ArgumentNullException.ThrowIfNull(candidates);
Infrastructure\DynamicPageEndpointSelector.cs (2)
17ArgumentNullException.ThrowIfNull(dataSource); 27ArgumentNullException.ThrowIfNull(values);
Infrastructure\DynamicPageMetadata.cs (1)
12ArgumentNullException.ThrowIfNull(values);
Infrastructure\DynamicPageRouteValueTransformerMetadata.cs (1)
13ArgumentNullException.ThrowIfNull(selectorType);
Infrastructure\ExecutorFactory.cs (1)
15ArgumentNullException.ThrowIfNull(handlerDescriptor);
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
37ArgumentNullException.ThrowIfNull(context);
Infrastructure\PageActionInvokerProvider.cs (1)
69ArgumentNullException.ThrowIfNull(context);
Infrastructure\PageBinderFactory.cs (2)
19ArgumentNullException.ThrowIfNull(parameterBinder); 20ArgumentNullException.ThrowIfNull(actionDescriptor);
Infrastructure\PageResultExecutor.cs (2)
53ArgumentNullException.ThrowIfNull(pageContext); 54ArgumentNullException.ThrowIfNull(result);
Infrastructure\ServiceBasedPageModelActivatorProvider.cs (1)
16ArgumentNullException.ThrowIfNull(descriptor);
PageActionDescriptor.cs (2)
28ArgumentNullException.ThrowIfNull(other); 79ArgumentNullException.ThrowIfNull(value);
PageBase.cs (25)
145ArgumentNullException.ThrowIfNull(modelState); 1280ArgumentNullException.ThrowIfNull(model); 1299ArgumentNullException.ThrowIfNull(model); 1300ArgumentNullException.ThrowIfNull(prefix); 1327ArgumentNullException.ThrowIfNull(model); 1328ArgumentNullException.ThrowIfNull(prefix); 1329ArgumentNullException.ThrowIfNull(valueProvider); 1358ArgumentNullException.ThrowIfNull(model); 1359ArgumentNullException.ThrowIfNull(includeExpressions); 1394ArgumentNullException.ThrowIfNull(model); 1395ArgumentNullException.ThrowIfNull(propertyFilter); 1433ArgumentNullException.ThrowIfNull(model); 1434ArgumentNullException.ThrowIfNull(valueProvider); 1435ArgumentNullException.ThrowIfNull(includeExpressions); 1466ArgumentNullException.ThrowIfNull(model); 1467ArgumentNullException.ThrowIfNull(valueProvider); 1468ArgumentNullException.ThrowIfNull(propertyFilter); 1495ArgumentNullException.ThrowIfNull(model); 1496ArgumentNullException.ThrowIfNull(modelType); 1533ArgumentNullException.ThrowIfNull(model); 1534ArgumentNullException.ThrowIfNull(modelType); 1535ArgumentNullException.ThrowIfNull(valueProvider); 1536ArgumentNullException.ThrowIfNull(propertyFilter); 1558ArgumentNullException.ThrowIfNull(model); 1574ArgumentNullException.ThrowIfNull(model);
PageContext.cs (4)
66ArgumentNullException.ThrowIfNull(value); 89ArgumentNullException.ThrowIfNull(value); 103ArgumentNullException.ThrowIfNull(value); 117ArgumentNullException.ThrowIfNull(value);
PageModel.cs (31)
52ArgumentNullException.ThrowIfNull(value); 105ArgumentNullException.ThrowIfNull(value); 128ArgumentNullException.ThrowIfNull(value); 188ArgumentNullException.ThrowIfNull(model); 204ArgumentNullException.ThrowIfNull(model); 205ArgumentNullException.ThrowIfNull(name); 232ArgumentNullException.ThrowIfNull(model); 233ArgumentNullException.ThrowIfNull(name); 234ArgumentNullException.ThrowIfNull(valueProvider); 263ArgumentNullException.ThrowIfNull(model); 264ArgumentNullException.ThrowIfNull(includeExpressions); 299ArgumentNullException.ThrowIfNull(model); 300ArgumentNullException.ThrowIfNull(propertyFilter); 338ArgumentNullException.ThrowIfNull(model); 339ArgumentNullException.ThrowIfNull(valueProvider); 340ArgumentNullException.ThrowIfNull(includeExpressions); 371ArgumentNullException.ThrowIfNull(model); 372ArgumentNullException.ThrowIfNull(valueProvider); 373ArgumentNullException.ThrowIfNull(propertyFilter); 400ArgumentNullException.ThrowIfNull(model); 401ArgumentNullException.ThrowIfNull(modelType); 438ArgumentNullException.ThrowIfNull(model); 439ArgumentNullException.ThrowIfNull(modelType); 440ArgumentNullException.ThrowIfNull(valueProvider); 441ArgumentNullException.ThrowIfNull(propertyFilter); 477ArgumentNullException.ThrowIfNull(modelState); 1635ArgumentNullException.ThrowIfNull(model); 1651ArgumentNullException.ThrowIfNull(model); 1693ArgumentNullException.ThrowIfNull(context); 1709ArgumentNullException.ThrowIfNull(context); 1710ArgumentNullException.ThrowIfNull(next);
Microsoft.AspNetCore.Mvc.TagHelpers (75)
AnchorTagHelper.cs (2)
165ArgumentNullException.ThrowIfNull(context); 166ArgumentNullException.ThrowIfNull(output);
AttributeMatcher.cs (3)
29ArgumentNullException.ThrowIfNull(context); 30ArgumentNullException.ThrowIfNull(modeInfos); 31ArgumentNullException.ThrowIfNull(compare);
Cache\DistributedCacheTagHelperFormatter.cs (2)
18ArgumentNullException.ThrowIfNull(context); 35ArgumentNullException.ThrowIfNull(value);
Cache\DistributedCacheTagHelperService.cs (4)
52ArgumentNullException.ThrowIfNull(storage); 53ArgumentNullException.ThrowIfNull(formatter); 54ArgumentNullException.ThrowIfNull(HtmlEncoder); 55ArgumentNullException.ThrowIfNull(loggerFactory);
Cache\DistributedCacheTagHelperStorage.cs (3)
28ArgumentNullException.ThrowIfNull(key); 36ArgumentNullException.ThrowIfNull(key); 37ArgumentNullException.ThrowIfNull(value);
CacheTagHelper.cs (2)
63ArgumentNullException.ThrowIfNull(context); 64ArgumentNullException.ThrowIfNull(output);
ComponentTagHelper.cs (2)
88ArgumentNullException.ThrowIfNull(context); 89ArgumentNullException.ThrowIfNull(output);
DependencyInjection\TagHelperExtensions.cs (5)
22ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(builder); 38ArgumentNullException.ThrowIfNull(configure); 53ArgumentNullException.ThrowIfNull(builder); 54ArgumentNullException.ThrowIfNull(configure);
DistributedCacheTagHelper.cs (2)
55ArgumentNullException.ThrowIfNull(context); 56ArgumentNullException.ThrowIfNull(output);
EnvironmentTagHelper.cs (2)
69ArgumentNullException.ThrowIfNull(context); 70ArgumentNullException.ThrowIfNull(output);
FileProviderGlobbingDirectory.cs (1)
22ArgumentNullException.ThrowIfNull(fileProvider);
FileProviderGlobbingFile.cs (2)
15ArgumentNullException.ThrowIfNull(fileInfo); 16ArgumentNullException.ThrowIfNull(parent);
FormActionTagHelper.cs (2)
180ArgumentNullException.ThrowIfNull(context); 181ArgumentNullException.ThrowIfNull(output);
FormTagHelper.cs (2)
150ArgumentNullException.ThrowIfNull(context); 151ArgumentNullException.ThrowIfNull(output);
GlobbingUrlBuilder.cs (2)
36ArgumentNullException.ThrowIfNull(fileProvider); 37ArgumentNullException.ThrowIfNull(cache);
ImageTagHelper.cs (2)
72ArgumentNullException.ThrowIfNull(context); 73ArgumentNullException.ThrowIfNull(output);
InputTagHelper.cs (2)
153ArgumentNullException.ThrowIfNull(context); 154ArgumentNullException.ThrowIfNull(output);
LabelTagHelper.cs (2)
52ArgumentNullException.ThrowIfNull(context); 53ArgumentNullException.ThrowIfNull(output);
LinkTagHelper.cs (2)
250ArgumentNullException.ThrowIfNull(context); 251ArgumentNullException.ThrowIfNull(output);
OptionTagHelper.cs (2)
61ArgumentNullException.ThrowIfNull(context); 62ArgumentNullException.ThrowIfNull(output);
PartialTagHelper.cs (2)
106ArgumentNullException.ThrowIfNull(context); 107ArgumentNullException.ThrowIfNull(output);
PersistComponentStateTagHelper.cs (2)
43ArgumentNullException.ThrowIfNull(context); 44ArgumentNullException.ThrowIfNull(output);
RenderAtEndOfFormTagHelper.cs (3)
34ArgumentNullException.ThrowIfNull(context); 46ArgumentNullException.ThrowIfNull(context); 47ArgumentNullException.ThrowIfNull(output);
ScriptTagHelper.cs (2)
240ArgumentNullException.ThrowIfNull(context); 241ArgumentNullException.ThrowIfNull(output);
SelectTagHelper.cs (3)
75ArgumentNullException.ThrowIfNull(context); 113ArgumentNullException.ThrowIfNull(context); 114ArgumentNullException.ThrowIfNull(output);
TagHelperOutputExtensions.cs (11)
44ArgumentNullException.ThrowIfNull(tagHelperOutput); 45ArgumentNullException.ThrowIfNull(attributeName); 46ArgumentNullException.ThrowIfNull(context); 87ArgumentNullException.ThrowIfNull(tagHelperOutput); 88ArgumentNullException.ThrowIfNull(tagBuilder); 121ArgumentNullException.ThrowIfNull(tagHelperOutput); 122ArgumentNullException.ThrowIfNull(attributes); 142ArgumentNullException.ThrowIfNull(tagHelperOutput); 201ArgumentNullException.ThrowIfNull(tagHelperOutput); 353ArgumentNullException.ThrowIfNull(writer); 354ArgumentNullException.ThrowIfNull(encoder);
TextAreaTagHelper.cs (2)
61ArgumentNullException.ThrowIfNull(context); 62ArgumentNullException.ThrowIfNull(output);
ValidationMessageTagHelper.cs (2)
54ArgumentNullException.ThrowIfNull(context); 55ArgumentNullException.ThrowIfNull(output);
ValidationSummaryTagHelper.cs (2)
82ArgumentNullException.ThrowIfNull(context); 83ArgumentNullException.ThrowIfNull(output);
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
785ArgumentNullException.ThrowIfNull(client);
Microsoft.AspNetCore.Mvc.ViewFeatures (566)
AntiforgeryExtensions.cs (2)
33ArgumentNullException.ThrowIfNull(antiforgery); 34ArgumentNullException.ThrowIfNull(httpContext);
AttributeDictionary.cs (10)
26ArgumentNullException.ThrowIfNull(key); 41ArgumentNullException.ThrowIfNull(key); 183ArgumentNullException.ThrowIfNull(key); 214ArgumentNullException.ThrowIfNull(key); 227ArgumentNullException.ThrowIfNull(array); 277ArgumentNullException.ThrowIfNull(key); 294ArgumentNullException.ThrowIfNull(key); 391ArgumentNullException.ThrowIfNull(item); 406ArgumentNullException.ThrowIfNull(array); 511ArgumentNullException.ThrowIfNull(array);
Buffers\MemoryPoolViewBufferScope.cs (2)
73ArgumentNullException.ThrowIfNull(segment); 88ArgumentNullException.ThrowIfNull(writer);
Buffers\PagedBufferedTextWriter.cs (1)
87ArgumentNullException.ThrowIfNull(buffer);
Buffers\ViewBuffer.cs (7)
36ArgumentNullException.ThrowIfNull(bufferScope); 180ArgumentNullException.ThrowIfNull(writer); 181ArgumentNullException.ThrowIfNull(encoder); 213ArgumentNullException.ThrowIfNull(writer); 214ArgumentNullException.ThrowIfNull(encoder); 256ArgumentNullException.ThrowIfNull(destination); 285ArgumentNullException.ThrowIfNull(destination);
Buffers\ViewBufferTextWriter.cs (8)
32ArgumentNullException.ThrowIfNull(buffer); 33ArgumentNullException.ThrowIfNull(encoding); 50ArgumentNullException.ThrowIfNull(buffer); 51ArgumentNullException.ThrowIfNull(encoding); 52ArgumentNullException.ThrowIfNull(htmlEncoder); 53ArgumentNullException.ThrowIfNull(inner); 83ArgumentNullException.ThrowIfNull(buffer); 187ArgumentNullException.ThrowIfNull(buffer);
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensions.cs (1)
30ArgumentNullException.ThrowIfNull(builder);
CachedExpressionCompiler.cs (1)
25ArgumentNullException.ThrowIfNull(expression);
Controller.cs (3)
79ArgumentNullException.ThrowIfNull(value); 347ArgumentNullException.ThrowIfNull(context); 348ArgumentNullException.ThrowIfNull(next);
CookieTempDataProvider.cs (2)
58ArgumentNullException.ThrowIfNull(context); 104ArgumentNullException.ThrowIfNull(context);
DefaultEditorTemplates.cs (5)
399ArgumentNullException.ThrowIfNull(htmlHelper); 406ArgumentNullException.ThrowIfNull(htmlHelper); 504ArgumentNullException.ThrowIfNull(output); 516ArgumentNullException.ThrowIfNull(output); 517ArgumentNullException.ThrowIfNull(value);
DefaultHtmlGenerator.cs (35)
63ArgumentNullException.ThrowIfNull(antiforgery); 64ArgumentNullException.ThrowIfNull(optionsAccessor); 65ArgumentNullException.ThrowIfNull(metadataProvider); 66ArgumentNullException.ThrowIfNull(urlHelperFactory); 67ArgumentNullException.ThrowIfNull(htmlEncoder); 68ArgumentNullException.ThrowIfNull(validationAttributeProvider); 136ArgumentNullException.ThrowIfNull(viewContext); 137ArgumentNullException.ThrowIfNull(linkText); 156ArgumentNullException.ThrowIfNull(viewContext); 157ArgumentNullException.ThrowIfNull(linkText); 167ArgumentNullException.ThrowIfNull(viewContext); 194ArgumentNullException.ThrowIfNull(viewContext); 238ArgumentNullException.ThrowIfNull(viewContext); 263ArgumentNullException.ThrowIfNull(viewContext); 303ArgumentNullException.ThrowIfNull(viewContext); 319ArgumentNullException.ThrowIfNull(viewContext); 336ArgumentNullException.ThrowIfNull(viewContext); 367ArgumentNullException.ThrowIfNull(viewContext); 368ArgumentNullException.ThrowIfNull(modelExplorer); 405ArgumentNullException.ThrowIfNull(viewContext); 431ArgumentNullException.ThrowIfNull(viewContext); 441ArgumentNullException.ThrowIfNull(value); 496ArgumentNullException.ThrowIfNull(viewContext); 497ArgumentNullException.ThrowIfNull(linkText); 514ArgumentNullException.ThrowIfNull(viewContext); 539ArgumentNullException.ThrowIfNull(viewContext); 604ArgumentNullException.ThrowIfNull(viewContext); 692ArgumentNullException.ThrowIfNull(viewContext); 718ArgumentNullException.ThrowIfNull(viewContext); 808ArgumentNullException.ThrowIfNull(viewContext); 906ArgumentNullException.ThrowIfNull(viewContext); 1093ArgumentNullException.ThrowIfNull(viewContext); 1142ArgumentNullException.ThrowIfNull(viewContext); 1284ArgumentNullException.ThrowIfNull(linkText); 1489ArgumentNullException.ThrowIfNull(viewContext);
DefaultValidationHtmlAttributeProvider.cs (6)
32ArgumentNullException.ThrowIfNull(optionsAccessor); 33ArgumentNullException.ThrowIfNull(metadataProvider); 34ArgumentNullException.ThrowIfNull(clientValidatorCache); 49ArgumentNullException.ThrowIfNull(viewContext); 50ArgumentNullException.ThrowIfNull(modelExplorer); 51ArgumentNullException.ThrowIfNull(attributes);
DependencyInjection\MvcViewFeaturesMvcBuilderExtensions.cs (7)
29ArgumentNullException.ThrowIfNull(builder); 30ArgumentNullException.ThrowIfNull(setupAction); 43ArgumentNullException.ThrowIfNull(builder); 66ArgumentNullException.ThrowIfNull(builder); 85ArgumentNullException.ThrowIfNull(builder); 110ArgumentNullException.ThrowIfNull(builder); 111ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (8)
35ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(builder); 80ArgumentNullException.ThrowIfNull(builder); 81ArgumentNullException.ThrowIfNull(setupAction); 103ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(setupAction); 122ArgumentNullException.ThrowIfNull(builder); 123ArgumentNullException.ThrowIfNull(setupAction);
DependencyInjection\MvcViewOptionsSetup.cs (3)
24ArgumentNullException.ThrowIfNull(dataAnnotationLocalizationOptions); 25ArgumentNullException.ThrowIfNull(validationAttributeAdapterProvider); 37ArgumentNullException.ThrowIfNull(stringLocalizerFactory);
DynamicViewData.cs (3)
19ArgumentNullException.ThrowIfNull(viewDataFunc); 48ArgumentNullException.ThrowIfNull(binder); 59ArgumentNullException.ThrowIfNull(binder);
ExpressionHelper.cs (4)
21ArgumentNullException.ThrowIfNull(expression); 202ArgumentNullException.ThrowIfNull(builder); 203ArgumentNullException.ThrowIfNull(indexExpression); 204ArgumentNullException.ThrowIfNull(parentExpression);
ExpressionMetadataProvider.cs (4)
19ArgumentNullException.ThrowIfNull(expression); 20ArgumentNullException.ThrowIfNull(viewData); 141ArgumentNullException.ThrowIfNull(viewData); 199ArgumentNullException.ThrowIfNull(viewData);
Filters\AntiforgeryApplicationModelProvider.cs (1)
22ArgumentNullException.ThrowIfNull(context);
Filters\AntiforgeryMiddlewareAuthorizationFilter.cs (1)
16ArgumentNullException.ThrowIfNull(context);
Filters\AutoValidateAntiforgeryTokenAuthorizationFilter.cs (1)
20ArgumentNullException.ThrowIfNull(context);
Filters\ControllerSaveTempDataPropertyFilterFactory.cs (1)
22ArgumentNullException.ThrowIfNull(serviceProvider);
Filters\TempDataApplicationModelProvider.cs (1)
30ArgumentNullException.ThrowIfNull(context);
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (3)
17ArgumentNullException.ThrowIfNull(antiforgery); 25ArgumentNullException.ThrowIfNull(context); 49ArgumentNullException.ThrowIfNull(context);
Filters\ViewDataAttributeApplicationModelProvider.cs (1)
22ArgumentNullException.ThrowIfNull(context);
FormContext.cs (4)
137ArgumentNullException.ThrowIfNull(fieldName); 153ArgumentNullException.ThrowIfNull(fieldName); 160ArgumentNullException.ThrowIfNull(fieldName); 169ArgumentNullException.ThrowIfNull(fieldName);
HtmlHelper.cs (17)
69ArgumentNullException.ThrowIfNull(htmlGenerator); 70ArgumentNullException.ThrowIfNull(viewEngine); 71ArgumentNullException.ThrowIfNull(metadataProvider); 72ArgumentNullException.ThrowIfNull(bufferScope); 73ArgumentNullException.ThrowIfNull(htmlEncoder); 74ArgumentNullException.ThrowIfNull(urlEncoder); 183ArgumentNullException.ThrowIfNull(viewContext); 199ArgumentNullException.ThrowIfNull(linkText); 299ArgumentNullException.ThrowIfNull(fullName); 385ArgumentNullException.ThrowIfNull(enumType); 450ArgumentNullException.ThrowIfNull(partialViewName); 463ArgumentNullException.ThrowIfNull(partialViewName); 510ArgumentNullException.ThrowIfNull(partialViewName); 596ArgumentNullException.ThrowIfNull(linkText); 771ArgumentNullException.ThrowIfNull(modelExplorer); 1045ArgumentNullException.ThrowIfNull(modelExplorer); 1370ArgumentNullException.ThrowIfNull(metadata);
HtmlHelperOfT.cs (22)
50ArgumentNullException.ThrowIfNull(viewContext); 95ArgumentNullException.ThrowIfNull(expression); 112ArgumentNullException.ThrowIfNull(expression); 130ArgumentNullException.ThrowIfNull(expression); 143ArgumentNullException.ThrowIfNull(expression); 153ArgumentNullException.ThrowIfNull(expression); 165ArgumentNullException.ThrowIfNull(expression); 177ArgumentNullException.ThrowIfNull(expression); 192ArgumentNullException.ThrowIfNull(expression); 206ArgumentNullException.ThrowIfNull(expression); 217ArgumentNullException.ThrowIfNull(expression); 229ArgumentNullException.ThrowIfNull(expression); 240ArgumentNullException.ThrowIfNull(expression); 251ArgumentNullException.ThrowIfNull(expression); 267ArgumentNullException.ThrowIfNull(expression); 268ArgumentNullException.ThrowIfNull(value); 286ArgumentNullException.ThrowIfNull(expression); 298ArgumentNullException.ThrowIfNull(expression); 321ArgumentNullException.ThrowIfNull(expression); 334ArgumentNullException.ThrowIfNull(expression); 347ArgumentNullException.ThrowIfNull(expression); 361ArgumentNullException.ThrowIfNull(expression);
HtmlHelperOptions.cs (1)
33ArgumentNullException.ThrowIfNull(value);
Infrastructure\DefaultTempDataSerializer.cs (2)
13ArgumentNullException.ThrowIfNull(value); 219ArgumentNullException.ThrowIfNull(type);
ModelExplorer.cs (14)
33ArgumentNullException.ThrowIfNull(metadataProvider); 34ArgumentNullException.ThrowIfNull(metadata); 54ArgumentNullException.ThrowIfNull(metadataProvider); 55ArgumentNullException.ThrowIfNull(container); 56ArgumentNullException.ThrowIfNull(metadata); 77ArgumentNullException.ThrowIfNull(metadataProvider); 78ArgumentNullException.ThrowIfNull(metadata); 236ArgumentNullException.ThrowIfNull(name); 262ArgumentNullException.ThrowIfNull(name); 287ArgumentNullException.ThrowIfNull(name); 318ArgumentNullException.ThrowIfNull(modelType); 343ArgumentNullException.ThrowIfNull(metadata); 367ArgumentNullException.ThrowIfNull(modelType); 392ArgumentNullException.ThrowIfNull(metadata);
ModelExplorerExtensions.cs (1)
31ArgumentNullException.ThrowIfNull(modelExplorer);
ModelExpression.cs (2)
24ArgumentNullException.ThrowIfNull(name); 25ArgumentNullException.ThrowIfNull(modelExplorer);
ModelExpressionProvider.cs (6)
24ArgumentNullException.ThrowIfNull(modelMetadataProvider); 39ArgumentNullException.ThrowIfNull(expression); 49ArgumentNullException.ThrowIfNull(viewData); 50ArgumentNullException.ThrowIfNull(expression); 75ArgumentNullException.ThrowIfNull(viewData); 76ArgumentNullException.ThrowIfNull(expression);
ModelMetadataProviderExtensions.cs (2)
28ArgumentNullException.ThrowIfNull(provider); 29ArgumentNullException.ThrowIfNull(modelType);
ModelStateDictionaryExtensions.cs (12)
30ArgumentNullException.ThrowIfNull(modelState); 31ArgumentNullException.ThrowIfNull(expression); 32ArgumentNullException.ThrowIfNull(errorMessage); 57ArgumentNullException.ThrowIfNull(modelState); 58ArgumentNullException.ThrowIfNull(expression); 80ArgumentNullException.ThrowIfNull(modelState); 81ArgumentNullException.ThrowIfNull(expression); 82ArgumentNullException.ThrowIfNull(metadata); 101ArgumentNullException.ThrowIfNull(modelState); 102ArgumentNullException.ThrowIfNull(expression); 118ArgumentNullException.ThrowIfNull(modelState); 119ArgumentNullException.ThrowIfNull(expression);
MvcViewOptions.cs (1)
30ArgumentNullException.ThrowIfNull(value);
NameAndIdProvider.cs (5)
34ArgumentNullException.ThrowIfNull(viewContext); 35ArgumentNullException.ThrowIfNull(invalidCharReplacement); 97ArgumentNullException.ThrowIfNull(viewContext); 98ArgumentNullException.ThrowIfNull(tagBuilder); 99ArgumentNullException.ThrowIfNull(invalidCharReplacement);
NullView.cs (1)
17ArgumentNullException.ThrowIfNull(context);
PageRemoteAttribute.cs (1)
41ArgumentNullException.ThrowIfNull(context);
PartialViewResult.cs (1)
62ArgumentNullException.ThrowIfNull(context);
PartialViewResultExecutor.cs (9)
45ArgumentNullException.ThrowIfNull(loggerFactory); 63ArgumentNullException.ThrowIfNull(actionContext); 64ArgumentNullException.ThrowIfNull(viewResult); 131ArgumentNullException.ThrowIfNull(actionContext); 132ArgumentNullException.ThrowIfNull(view); 133ArgumentNullException.ThrowIfNull(viewResult); 147ArgumentNullException.ThrowIfNull(context); 148ArgumentNullException.ThrowIfNull(result); 166ArgumentNullException.ThrowIfNull(context);
RemoteAttribute.cs (1)
109ArgumentNullException.ThrowIfNull(context);
RemoteAttributeBase.cs (1)
143ArgumentNullException.ThrowIfNull(context);
Rendering\HtmlHelperComponentExtensions.cs (2)
55ArgumentNullException.ThrowIfNull(htmlHelper); 56ArgumentNullException.ThrowIfNull(componentType);
Rendering\HtmlHelperDisplayExtensions.cs (21)
40ArgumentNullException.ThrowIfNull(htmlHelper); 80ArgumentNullException.ThrowIfNull(htmlHelper); 120ArgumentNullException.ThrowIfNull(htmlHelper); 162ArgumentNullException.ThrowIfNull(htmlHelper); 207ArgumentNullException.ThrowIfNull(htmlHelper); 235ArgumentNullException.ThrowIfNull(htmlHelper); 236ArgumentNullException.ThrowIfNull(expression); 275ArgumentNullException.ThrowIfNull(htmlHelper); 276ArgumentNullException.ThrowIfNull(expression); 311ArgumentNullException.ThrowIfNull(htmlHelper); 312ArgumentNullException.ThrowIfNull(expression); 353ArgumentNullException.ThrowIfNull(htmlHelper); 354ArgumentNullException.ThrowIfNull(expression); 394ArgumentNullException.ThrowIfNull(htmlHelper); 395ArgumentNullException.ThrowIfNull(expression); 422ArgumentNullException.ThrowIfNull(htmlHelper); 454ArgumentNullException.ThrowIfNull(htmlHelper); 482ArgumentNullException.ThrowIfNull(htmlHelper); 519ArgumentNullException.ThrowIfNull(htmlHelper); 555ArgumentNullException.ThrowIfNull(htmlHelper); 597ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperDisplayNameExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(htmlHelper); 40ArgumentNullException.ThrowIfNull(htmlHelper); 41ArgumentNullException.ThrowIfNull(expression);
Rendering\HtmlHelperEditorExtensions.cs (21)
40ArgumentNullException.ThrowIfNull(htmlHelper); 80ArgumentNullException.ThrowIfNull(htmlHelper); 117ArgumentNullException.ThrowIfNull(htmlHelper); 159ArgumentNullException.ThrowIfNull(htmlHelper); 204ArgumentNullException.ThrowIfNull(htmlHelper); 232ArgumentNullException.ThrowIfNull(htmlHelper); 233ArgumentNullException.ThrowIfNull(expression); 268ArgumentNullException.ThrowIfNull(htmlHelper); 269ArgumentNullException.ThrowIfNull(expression); 304ArgumentNullException.ThrowIfNull(htmlHelper); 305ArgumentNullException.ThrowIfNull(expression); 342ArgumentNullException.ThrowIfNull(htmlHelper); 343ArgumentNullException.ThrowIfNull(expression); 383ArgumentNullException.ThrowIfNull(htmlHelper); 384ArgumentNullException.ThrowIfNull(expression); 407ArgumentNullException.ThrowIfNull(htmlHelper); 439ArgumentNullException.ThrowIfNull(htmlHelper); 467ArgumentNullException.ThrowIfNull(htmlHelper); 504ArgumentNullException.ThrowIfNull(htmlHelper); 540ArgumentNullException.ThrowIfNull(htmlHelper); 582ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperFormExtensions.cs (19)
24ArgumentNullException.ThrowIfNull(htmlHelper); 54ArgumentNullException.ThrowIfNull(htmlHelper); 80ArgumentNullException.ThrowIfNull(htmlHelper); 113ArgumentNullException.ThrowIfNull(htmlHelper); 153ArgumentNullException.ThrowIfNull(htmlHelper); 184ArgumentNullException.ThrowIfNull(htmlHelper); 213ArgumentNullException.ThrowIfNull(htmlHelper); 250ArgumentNullException.ThrowIfNull(htmlHelper); 281ArgumentNullException.ThrowIfNull(htmlHelper); 320ArgumentNullException.ThrowIfNull(htmlHelper); 357ArgumentNullException.ThrowIfNull(htmlHelper); 388ArgumentNullException.ThrowIfNull(htmlHelper); 423ArgumentNullException.ThrowIfNull(htmlHelper); 447ArgumentNullException.ThrowIfNull(htmlHelper); 476ArgumentNullException.ThrowIfNull(htmlHelper); 510ArgumentNullException.ThrowIfNull(htmlHelper); 538ArgumentNullException.ThrowIfNull(htmlHelper); 574ArgumentNullException.ThrowIfNull(htmlHelper); 608ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperInputExtensions.cs (37)
33ArgumentNullException.ThrowIfNull(htmlHelper); 62ArgumentNullException.ThrowIfNull(htmlHelper); 95ArgumentNullException.ThrowIfNull(htmlHelper); 120ArgumentNullException.ThrowIfNull(htmlHelper); 121ArgumentNullException.ThrowIfNull(expression); 144ArgumentNullException.ThrowIfNull(htmlHelper); 172ArgumentNullException.ThrowIfNull(htmlHelper); 198ArgumentNullException.ThrowIfNull(htmlHelper); 199ArgumentNullException.ThrowIfNull(expression); 218ArgumentNullException.ThrowIfNull(htmlHelper); 241ArgumentNullException.ThrowIfNull(htmlHelper); 264ArgumentNullException.ThrowIfNull(htmlHelper); 265ArgumentNullException.ThrowIfNull(expression); 295ArgumentNullException.ThrowIfNull(htmlHelper); 336ArgumentNullException.ThrowIfNull(htmlHelper); 375ArgumentNullException.ThrowIfNull(htmlHelper); 406ArgumentNullException.ThrowIfNull(htmlHelper); 407ArgumentNullException.ThrowIfNull(expression); 408ArgumentNullException.ThrowIfNull(value); 431ArgumentNullException.ThrowIfNull(htmlHelper); 459ArgumentNullException.ThrowIfNull(htmlHelper); 492ArgumentNullException.ThrowIfNull(htmlHelper); 527ArgumentNullException.ThrowIfNull(htmlHelper); 553ArgumentNullException.ThrowIfNull(htmlHelper); 554ArgumentNullException.ThrowIfNull(expression); 585ArgumentNullException.ThrowIfNull(htmlHelper); 586ArgumentNullException.ThrowIfNull(expression); 619ArgumentNullException.ThrowIfNull(htmlHelper); 620ArgumentNullException.ThrowIfNull(expression); 645ArgumentNullException.ThrowIfNull(htmlHelper); 676ArgumentNullException.ThrowIfNull(htmlHelper); 704ArgumentNullException.ThrowIfNull(htmlHelper); 738ArgumentNullException.ThrowIfNull(htmlHelper); 764ArgumentNullException.ThrowIfNull(htmlHelper); 765ArgumentNullException.ThrowIfNull(expression); 797ArgumentNullException.ThrowIfNull(htmlHelper); 798ArgumentNullException.ThrowIfNull(expression);
Rendering\HtmlHelperLabelExtensions.cs (12)
22ArgumentNullException.ThrowIfNull(htmlHelper); 36ArgumentNullException.ThrowIfNull(htmlHelper); 53ArgumentNullException.ThrowIfNull(htmlHelper); 54ArgumentNullException.ThrowIfNull(expression); 73ArgumentNullException.ThrowIfNull(htmlHelper); 74ArgumentNullException.ThrowIfNull(expression); 97ArgumentNullException.ThrowIfNull(htmlHelper); 98ArgumentNullException.ThrowIfNull(expression); 110ArgumentNullException.ThrowIfNull(htmlHelper); 123ArgumentNullException.ThrowIfNull(htmlHelper); 140ArgumentNullException.ThrowIfNull(htmlHelper); 161ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperLinkExtensions.cs (22)
25ArgumentNullException.ThrowIfNull(helper); 26ArgumentNullException.ThrowIfNull(linkText); 59ArgumentNullException.ThrowIfNull(helper); 60ArgumentNullException.ThrowIfNull(linkText); 99ArgumentNullException.ThrowIfNull(helper); 100ArgumentNullException.ThrowIfNull(linkText); 127ArgumentNullException.ThrowIfNull(helper); 128ArgumentNullException.ThrowIfNull(linkText); 163ArgumentNullException.ThrowIfNull(helper); 164ArgumentNullException.ThrowIfNull(linkText); 205ArgumentNullException.ThrowIfNull(helper); 206ArgumentNullException.ThrowIfNull(linkText); 237ArgumentNullException.ThrowIfNull(htmlHelper); 238ArgumentNullException.ThrowIfNull(linkText); 262ArgumentNullException.ThrowIfNull(htmlHelper); 263ArgumentNullException.ThrowIfNull(linkText); 295ArgumentNullException.ThrowIfNull(htmlHelper); 296ArgumentNullException.ThrowIfNull(linkText); 332ArgumentNullException.ThrowIfNull(htmlHelper); 333ArgumentNullException.ThrowIfNull(linkText); 371ArgumentNullException.ThrowIfNull(htmlHelper); 372ArgumentNullException.ThrowIfNull(linkText);
Rendering\HtmlHelperNameExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(htmlHelper); 32ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperPartialExtensions.cs (16)
29ArgumentNullException.ThrowIfNull(htmlHelper); 30ArgumentNullException.ThrowIfNull(partialViewName); 52ArgumentNullException.ThrowIfNull(htmlHelper); 53ArgumentNullException.ThrowIfNull(partialViewName); 75ArgumentNullException.ThrowIfNull(htmlHelper); 76ArgumentNullException.ThrowIfNull(partialViewName); 165ArgumentNullException.ThrowIfNull(htmlHelper); 166ArgumentNullException.ThrowIfNull(partialViewName); 240ArgumentNullException.ThrowIfNull(htmlHelper); 241ArgumentNullException.ThrowIfNull(partialViewName); 262ArgumentNullException.ThrowIfNull(htmlHelper); 263ArgumentNullException.ThrowIfNull(partialViewName); 285ArgumentNullException.ThrowIfNull(htmlHelper); 286ArgumentNullException.ThrowIfNull(partialViewName); 308ArgumentNullException.ThrowIfNull(htmlHelper); 309ArgumentNullException.ThrowIfNull(partialViewName);
Rendering\HtmlHelperSelectExtensions.cs (15)
39ArgumentNullException.ThrowIfNull(htmlHelper); 76ArgumentNullException.ThrowIfNull(htmlHelper); 114ArgumentNullException.ThrowIfNull(htmlHelper); 153ArgumentNullException.ThrowIfNull(htmlHelper); 191ArgumentNullException.ThrowIfNull(htmlHelper); 225ArgumentNullException.ThrowIfNull(htmlHelper); 226ArgumentNullException.ThrowIfNull(expression); 265ArgumentNullException.ThrowIfNull(htmlHelper); 266ArgumentNullException.ThrowIfNull(expression); 308ArgumentNullException.ThrowIfNull(htmlHelper); 309ArgumentNullException.ThrowIfNull(expression); 339ArgumentNullException.ThrowIfNull(htmlHelper); 373ArgumentNullException.ThrowIfNull(htmlHelper); 407ArgumentNullException.ThrowIfNull(htmlHelper); 408ArgumentNullException.ThrowIfNull(expression);
Rendering\HtmlHelperValidationExtensions.cs (22)
33ArgumentNullException.ThrowIfNull(htmlHelper); 59ArgumentNullException.ThrowIfNull(htmlHelper); 90ArgumentNullException.ThrowIfNull(htmlHelper); 121ArgumentNullException.ThrowIfNull(htmlHelper); 154ArgumentNullException.ThrowIfNull(htmlHelper); 180ArgumentNullException.ThrowIfNull(htmlHelper); 181ArgumentNullException.ThrowIfNull(expression); 209ArgumentNullException.ThrowIfNull(htmlHelper); 210ArgumentNullException.ThrowIfNull(expression); 245ArgumentNullException.ThrowIfNull(htmlHelper); 246ArgumentNullException.ThrowIfNull(expression); 279ArgumentNullException.ThrowIfNull(htmlHelper); 280ArgumentNullException.ThrowIfNull(expression); 296ArgumentNullException.ThrowIfNull(htmlHelper); 319ArgumentNullException.ThrowIfNull(htmlHelper); 342ArgumentNullException.ThrowIfNull(htmlHelper); 368ArgumentNullException.ThrowIfNull(htmlHelper); 397ArgumentNullException.ThrowIfNull(htmlHelper); 428ArgumentNullException.ThrowIfNull(htmlHelper); 463ArgumentNullException.ThrowIfNull(htmlHelper); 496ArgumentNullException.ThrowIfNull(htmlHelper); 531ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\HtmlHelperValueExtensions.cs (5)
29ArgumentNullException.ThrowIfNull(htmlHelper); 53ArgumentNullException.ThrowIfNull(htmlHelper); 54ArgumentNullException.ThrowIfNull(expression); 74ArgumentNullException.ThrowIfNull(htmlHelper); 99ArgumentNullException.ThrowIfNull(htmlHelper);
Rendering\MultiSelectList.cs (5)
28ArgumentNullException.ThrowIfNull(items); 39ArgumentNullException.ThrowIfNull(items); 51ArgumentNullException.ThrowIfNull(items); 68ArgumentNullException.ThrowIfNull(items); 91ArgumentNullException.ThrowIfNull(items);
Rendering\MvcForm.cs (2)
27ArgumentNullException.ThrowIfNull(viewContext); 28ArgumentNullException.ThrowIfNull(htmlEncoder);
Rendering\SelectList.cs (5)
22ArgumentNullException.ThrowIfNull(items); 33ArgumentNullException.ThrowIfNull(items); 45ArgumentNullException.ThrowIfNull(items); 62ArgumentNullException.ThrowIfNull(items); 88ArgumentNullException.ThrowIfNull(items);
Rendering\TagBuilder.cs (4)
155ArgumentNullException.ThrowIfNull(invalidCharReplacement); 214ArgumentNullException.ThrowIfNull(invalidCharReplacement); 322ArgumentNullException.ThrowIfNull(writer); 323ArgumentNullException.ThrowIfNull(encoder);
Rendering\ViewComponentHelperExtensions.cs (4)
24ArgumentNullException.ThrowIfNull(helper); 38ArgumentNullException.ThrowIfNull(helper); 53ArgumentNullException.ThrowIfNull(helper); 67ArgumentNullException.ThrowIfNull(helper);
Rendering\ViewContext.cs (11)
56ArgumentNullException.ThrowIfNull(actionContext); 57ArgumentNullException.ThrowIfNull(view); 58ArgumentNullException.ThrowIfNull(viewData); 59ArgumentNullException.ThrowIfNull(tempData); 60ArgumentNullException.ThrowIfNull(writer); 61ArgumentNullException.ThrowIfNull(htmlHelperOptions); 91ArgumentNullException.ThrowIfNull(viewContext); 92ArgumentNullException.ThrowIfNull(view); 93ArgumentNullException.ThrowIfNull(viewData); 94ArgumentNullException.ThrowIfNull(writer); 124ArgumentNullException.ThrowIfNull(value);
SessionStateTempDataProvider.cs (2)
30ArgumentNullException.ThrowIfNull(context); 49ArgumentNullException.ThrowIfNull(context);
SkipStatusCodePagesAttribute.cs (1)
24ArgumentNullException.ThrowIfNull(context);
StringHtmlContent.cs (2)
32ArgumentNullException.ThrowIfNull(writer); 33ArgumentNullException.ThrowIfNull(encoder);
TempDataDictionary.cs (2)
36ArgumentNullException.ThrowIfNull(context); 37ArgumentNullException.ThrowIfNull(provider);
TempDataDictionaryFactory.cs (2)
23ArgumentNullException.ThrowIfNull(provider); 31ArgumentNullException.ThrowIfNull(context);
TemplateBuilder.cs (5)
39ArgumentNullException.ThrowIfNull(viewEngine); 40ArgumentNullException.ThrowIfNull(bufferScope); 41ArgumentNullException.ThrowIfNull(viewContext); 42ArgumentNullException.ThrowIfNull(viewData); 43ArgumentNullException.ThrowIfNull(modelExplorer);
TemplateRenderer.cs (4)
86ArgumentNullException.ThrowIfNull(viewEngine); 87ArgumentNullException.ThrowIfNull(bufferScope); 88ArgumentNullException.ThrowIfNull(viewContext); 89ArgumentNullException.ThrowIfNull(viewData);
TryGetValueProvider.cs (1)
30ArgumentNullException.ThrowIfNull(targetType);
ValidationHtmlAttributeProvider.cs (3)
56ArgumentNullException.ThrowIfNull(viewContext); 57ArgumentNullException.ThrowIfNull(modelExplorer); 58ArgumentNullException.ThrowIfNull(attributes);
ViewComponent.cs (4)
96ArgumentNullException.ThrowIfNull(value); 120ArgumentNullException.ThrowIfNull(value); 159ArgumentNullException.ThrowIfNull(value); 172ArgumentNullException.ThrowIfNull(content);
ViewComponentResult.cs (1)
61ArgumentNullException.ThrowIfNull(context);
ViewComponentResultExecutor.cs (7)
52ArgumentNullException.ThrowIfNull(mvcHelperOptions); 53ArgumentNullException.ThrowIfNull(loggerFactory); 54ArgumentNullException.ThrowIfNull(htmlEncoder); 55ArgumentNullException.ThrowIfNull(modelMetadataProvider); 56ArgumentNullException.ThrowIfNull(tempDataDictionaryFactory); 69ArgumentNullException.ThrowIfNull(context); 70ArgumentNullException.ThrowIfNull(result);
ViewComponents\ContentViewComponentResult.cs (2)
23ArgumentNullException.ThrowIfNull(content); 39ArgumentNullException.ThrowIfNull(context);
ViewComponents\DefaultViewComponentActivator.cs (2)
29ArgumentNullException.ThrowIfNull(typeActivatorCache); 37ArgumentNullException.ThrowIfNull(context);
ViewComponents\DefaultViewComponentDescriptorProvider.cs (1)
26ArgumentNullException.ThrowIfNull(partManager);
ViewComponents\DefaultViewComponentFactory.cs (6)
27ArgumentNullException.ThrowIfNull(activator); 42ArgumentNullException.ThrowIfNull(context); 72ArgumentNullException.ThrowIfNull(context); 73ArgumentNullException.ThrowIfNull(component); 81ArgumentNullException.ThrowIfNull(context); 82ArgumentNullException.ThrowIfNull(component);
ViewComponents\DefaultViewComponentHelper.cs (8)
45ArgumentNullException.ThrowIfNull(descriptorProvider); 46ArgumentNullException.ThrowIfNull(htmlEncoder); 47ArgumentNullException.ThrowIfNull(selector); 48ArgumentNullException.ThrowIfNull(invokerFactory); 49ArgumentNullException.ThrowIfNull(viewBufferScope); 61ArgumentNullException.ThrowIfNull(viewContext); 69ArgumentNullException.ThrowIfNull(name); 87ArgumentNullException.ThrowIfNull(componentType);
ViewComponents\DefaultViewComponentInvoker.cs (5)
39ArgumentNullException.ThrowIfNull(viewComponentFactory); 40ArgumentNullException.ThrowIfNull(viewComponentInvokerCache); 41ArgumentNullException.ThrowIfNull(diagnosticListener); 42ArgumentNullException.ThrowIfNull(logger); 53ArgumentNullException.ThrowIfNull(context);
ViewComponents\DefaultViewComponentInvokerFactory.cs (5)
22ArgumentNullException.ThrowIfNull(viewComponentFactory); 23ArgumentNullException.ThrowIfNull(viewComponentInvokerCache); 24ArgumentNullException.ThrowIfNull(diagnosticListener); 25ArgumentNullException.ThrowIfNull(loggerFactory); 40ArgumentNullException.ThrowIfNull(context);
ViewComponents\DefaultViewComponentSelector.cs (1)
30ArgumentNullException.ThrowIfNull(componentName);
ViewComponents\HtmlContentViewComponentResult.cs (2)
24ArgumentNullException.ThrowIfNull(encodedContent); 40ArgumentNullException.ThrowIfNull(context);
ViewComponents\ServiceBasedViewComponentActivator.cs (1)
17ArgumentNullException.ThrowIfNull(context);
ViewComponents\ViewComponentContext.cs (5)
46ArgumentNullException.ThrowIfNull(viewComponentDescriptor); 47ArgumentNullException.ThrowIfNull(arguments); 48ArgumentNullException.ThrowIfNull(htmlEncoder); 49ArgumentNullException.ThrowIfNull(viewContext); 50ArgumentNullException.ThrowIfNull(writer);
ViewComponents\ViewComponentConventions.cs (3)
25ArgumentNullException.ThrowIfNull(componentType); 52ArgumentNullException.ThrowIfNull(componentType); 94ArgumentNullException.ThrowIfNull(typeInfo);
ViewComponents\ViewComponentDescriptor.cs (1)
42ArgumentNullException.ThrowIfNull(value);
ViewComponents\ViewComponentDescriptorCollection.cs (1)
18ArgumentNullException.ThrowIfNull(items);
ViewComponents\ViewComponentFeatureProvider.cs (2)
17ArgumentNullException.ThrowIfNull(parts); 18ArgumentNullException.ThrowIfNull(feature);
ViewComponents\ViewViewComponentResult.cs (2)
56ArgumentNullException.ThrowIfNull(context); 70ArgumentNullException.ThrowIfNull(context);
ViewDataDictionary.cs (9)
122ArgumentNullException.ThrowIfNull(metadataProvider); 123ArgumentNullException.ThrowIfNull(modelState); 124ArgumentNullException.ThrowIfNull(declaredModelType); 184ArgumentNullException.ThrowIfNull(source); 524ArgumentNullException.ThrowIfNull(key); 532ArgumentNullException.ThrowIfNull(key); 540ArgumentNullException.ThrowIfNull(key); 548ArgumentNullException.ThrowIfNull(key); 574ArgumentNullException.ThrowIfNull(array);
ViewDataDictionaryFactory.cs (2)
14ArgumentNullException.ThrowIfNull(modelType); 35ArgumentNullException.ThrowIfNull(modelType);
ViewDataEvaluator.cs (1)
27ArgumentNullException.ThrowIfNull(viewData);
ViewEngines\CompositeViewEngine.cs (1)
30ArgumentNullException.ThrowIfNull(context);
ViewEngines\ViewEngineResult.cs (4)
53ArgumentNullException.ThrowIfNull(viewName); 54ArgumentNullException.ThrowIfNull(searchedLocations); 70ArgumentNullException.ThrowIfNull(viewName); 71ArgumentNullException.ThrowIfNull(view);
ViewExecutor.cs (9)
47ArgumentNullException.ThrowIfNull(viewOptions); 48ArgumentNullException.ThrowIfNull(tempDataFactory); 49ArgumentNullException.ThrowIfNull(diagnosticListener); 67ArgumentNullException.ThrowIfNull(writerFactory); 68ArgumentNullException.ThrowIfNull(viewEngine); 69ArgumentNullException.ThrowIfNull(diagnosticListener); 129ArgumentNullException.ThrowIfNull(actionContext); 130ArgumentNullException.ThrowIfNull(view); 185ArgumentNullException.ThrowIfNull(viewContext);
ViewResult.cs (1)
62ArgumentNullException.ThrowIfNull(context);
ViewResultExecutor.cs (6)
45ArgumentNullException.ThrowIfNull(loggerFactory); 63ArgumentNullException.ThrowIfNull(actionContext); 64ArgumentNullException.ThrowIfNull(viewResult); 141ArgumentNullException.ThrowIfNull(context); 142ArgumentNullException.ThrowIfNull(result); 166ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.OpenApi (14)
Extensions\OpenApiServiceCollectionExtensions.cs (4)
35ArgumentNullException.ThrowIfNull(services); 59ArgumentNullException.ThrowIfNull(services); 60ArgumentNullException.ThrowIfNull(configureOptions); 128ArgumentNullException.ThrowIfNull(services);
Services\OpenApiOptions.cs (6)
78ArgumentNullException.ThrowIfNull(transformer); 91ArgumentNullException.ThrowIfNull(transformer); 116ArgumentNullException.ThrowIfNull(transformer); 129ArgumentNullException.ThrowIfNull(transformer); 154ArgumentNullException.ThrowIfNull(transformer); 167ArgumentNullException.ThrowIfNull(transformer);
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
32ArgumentNullException.ThrowIfNull(methodInfo); 114ArgumentNullException.ThrowIfNull(parameterDefaultValues);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (2)
65ArgumentNullException.ThrowIfNull(parameters); 66ArgumentNullException.ThrowIfNull(cache);
Microsoft.AspNetCore.OutputCaching (54)
DefaultOutputCachePolicyProvider.cs (2)
18ArgumentNullException.ThrowIfNull(options); 36ArgumentNullException.ThrowIfNull(policyName);
DispatcherExtensions.cs (2)
14ArgumentNullException.ThrowIfNull(key); 53ArgumentNullException.ThrowIfNull(key);
FormatterBinaryWriter.cs (2)
26ArgumentNullException.ThrowIfNull(target); 81ArgumentNullException.ThrowIfNull(value);
Memory\MemoryOutputCacheStore.cs (5)
18ArgumentNullException.ThrowIfNull(cache); 28ArgumentNullException.ThrowIfNull(tag); 66ArgumentNullException.ThrowIfNull(key); 75ArgumentNullException.ThrowIfNull(key); 76ArgumentNullException.ThrowIfNull(value);
OutputCacheApplicationBuilderExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(app);
OutputCacheEntryFormatter.cs (2)
26ArgumentNullException.ThrowIfNull(key); 40ArgumentNullException.ThrowIfNull(value);
OutputCacheKeyProvider.cs (3)
25ArgumentNullException.ThrowIfNull(poolProvider); 26ArgumentNullException.ThrowIfNull(options); 40ArgumentNullException.ThrowIfNull(_builderPool);
OutputCacheMiddleware.cs (6)
66ArgumentNullException.ThrowIfNull(next); 67ArgumentNullException.ThrowIfNull(options); 68ArgumentNullException.ThrowIfNull(loggerFactory); 69ArgumentNullException.ThrowIfNull(cache); 70ArgumentNullException.ThrowIfNull(policyProvider); 71ArgumentNullException.ThrowIfNull(keyProvider);
OutputCachePolicyBuilder.cs (16)
66ArgumentNullException.ThrowIfNull(predicate); 80ArgumentNullException.ThrowIfNull(predicate); 98ArgumentNullException.ThrowIfNull(queryKey); 112ArgumentNullException.ThrowIfNull(queryKeys); 124ArgumentNullException.ThrowIfNull(headerName); 134ArgumentNullException.ThrowIfNull(headerNames); 146ArgumentNullException.ThrowIfNull(routeValueName); 157ArgumentNullException.ThrowIfNull(routeValueNames); 168ArgumentNullException.ThrowIfNull(keyPrefix); 184ArgumentNullException.ThrowIfNull(keyPrefix); 200ArgumentNullException.ThrowIfNull(keyPrefix); 212ArgumentNullException.ThrowIfNull(key); 213ArgumentNullException.ThrowIfNull(value); 229ArgumentNullException.ThrowIfNull(varyBy); 245ArgumentNullException.ThrowIfNull(varyBy); 256ArgumentNullException.ThrowIfNull(tags);
OutputCacheServiceCollectionExtensions.cs (3)
25ArgumentNullException.ThrowIfNull(services); 51ArgumentNullException.ThrowIfNull(services); 52ArgumentNullException.ThrowIfNull(configureOptions);
Policies\OutputCacheConventionBuilderExtensions.cs (4)
19ArgumentNullException.ThrowIfNull(builder); 35ArgumentNullException.ThrowIfNull(builder); 63ArgumentNullException.ThrowIfNull(builder); 82ArgumentNullException.ThrowIfNull(builder);
Policies\PredicatePolicy.cs (1)
47ArgumentNullException.ThrowIfNull(action);
Policies\TypedPolicy.cs (1)
26ArgumentNullException.ThrowIfNull(policyType);
Policies\VaryByHeaderPolicy.cs (2)
21ArgumentNullException.ThrowIfNull(header); 33ArgumentNullException.ThrowIfNull(headerNames);
Policies\VaryByQueryPolicy.cs (2)
22ArgumentNullException.ThrowIfNull(queryKey); 34ArgumentNullException.ThrowIfNull(queryKeys);
Policies\VaryByRouteValuePolicy.cs (2)
21ArgumentNullException.ThrowIfNull(routeValue); 33ArgumentNullException.ThrowIfNull(routeValueNames);
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (3)
RedisOutputCacheStore.cs (1)
239ArgumentNullException.ThrowIfNull(value);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.Owin (7)
OwinEnvironment.cs (1)
179ArgumentNullException.ThrowIfNull(array);
OwinExtensions.cs (6)
32ArgumentNullException.ThrowIfNull(builder); 75ArgumentNullException.ThrowIfNull(builder); 76ArgumentNullException.ThrowIfNull(pipeline); 100ArgumentNullException.ThrowIfNull(app); 175ArgumentNullException.ThrowIfNull(app); 176ArgumentNullException.ThrowIfNull(pipeline);
Microsoft.AspNetCore.RateLimiting (25)
EnableRateLimitingAttribute.cs (1)
22ArgumentNullException.ThrowIfNull(policyName);
RateLimiterApplicationBuilderExtensions.cs (3)
23ArgumentNullException.ThrowIfNull(app); 38ArgumentNullException.ThrowIfNull(app); 39ArgumentNullException.ThrowIfNull(options);
RateLimiterEndpointConventionBuilderExtensions.cs (5)
22ArgumentNullException.ThrowIfNull(builder); 23ArgumentNullException.ThrowIfNull(policyName); 41ArgumentNullException.ThrowIfNull(builder); 42ArgumentNullException.ThrowIfNull(policy); 68ArgumentNullException.ThrowIfNull(builder);
RateLimiterOptions.cs (5)
50ArgumentNullException.ThrowIfNull(policyName); 51ArgumentNullException.ThrowIfNull(partitioner); 69ArgumentNullException.ThrowIfNull(policyName); 94ArgumentNullException.ThrowIfNull(policyName); 101ArgumentNullException.ThrowIfNull(policy);
RateLimiterOptionsExtensions.cs (4)
29ArgumentNullException.ThrowIfNull(configureOptions); 58ArgumentNullException.ThrowIfNull(configureOptions); 87ArgumentNullException.ThrowIfNull(configureOptions); 112ArgumentNullException.ThrowIfNull(configureOptions);
RateLimiterServiceCollectionExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(configureOptions); 37ArgumentNullException.ThrowIfNull(services);
RateLimitingMiddleware.cs (4)
37ArgumentNullException.ThrowIfNull(next); 38ArgumentNullException.ThrowIfNull(logger); 39ArgumentNullException.ThrowIfNull(serviceProvider); 40ArgumentNullException.ThrowIfNull(metrics);
Microsoft.AspNetCore.Razor (39)
TagHelpers\DefaultTagHelperContent.cs (4)
99ArgumentNullException.ThrowIfNull(destination); 122ArgumentNullException.ThrowIfNull(destination); 182ArgumentNullException.ThrowIfNull(writer); 183ArgumentNullException.ThrowIfNull(encoder);
TagHelpers\NullHtmlEncoder.cs (5)
34ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(output); 43ArgumentNullException.ThrowIfNull(value); 56ArgumentNullException.ThrowIfNull(output); 57ArgumentNullException.ThrowIfNull(value);
TagHelpers\OutputElementHintAttribute.cs (1)
20ArgumentNullException.ThrowIfNull(outputElement);
TagHelpers\ReadOnlyTagHelperAttributeList.cs (5)
47ArgumentNullException.ThrowIfNull(name); 96ArgumentNullException.ThrowIfNull(name); 116ArgumentNullException.ThrowIfNull(name); 151ArgumentNullException.ThrowIfNull(name); 177ArgumentNullException.ThrowIfNull(attribute);
TagHelpers\TagHelperAttribute.cs (5)
47ArgumentNullException.ThrowIfNull(name); 83ArgumentNullException.ThrowIfNull(writer); 84ArgumentNullException.ThrowIfNull(encoder); 119ArgumentNullException.ThrowIfNull(destination); 164ArgumentNullException.ThrowIfNull(destination);
TagHelpers\TagHelperAttributeList.cs (8)
27ArgumentNullException.ThrowIfNull(attributes); 38ArgumentNullException.ThrowIfNull(attributes); 53ArgumentNullException.ThrowIfNull(value); 90ArgumentNullException.ThrowIfNull(attribute); 138ArgumentNullException.ThrowIfNull(attribute); 146ArgumentNullException.ThrowIfNull(attribute); 157ArgumentNullException.ThrowIfNull(attribute); 181ArgumentNullException.ThrowIfNull(name);
TagHelpers\TagHelperContext.cs (4)
27ArgumentNullException.ThrowIfNull(tagName); 44ArgumentNullException.ThrowIfNull(items); 45ArgumentNullException.ThrowIfNull(uniqueId); 46ArgumentNullException.ThrowIfNull(allAttributes);
TagHelpers\TagHelperOutput.cs (7)
45ArgumentNullException.ThrowIfNull(getChildContentAsync); 46ArgumentNullException.ThrowIfNull(attributes); 113ArgumentNullException.ThrowIfNull(value); 281ArgumentNullException.ThrowIfNull(destination); 330ArgumentNullException.ThrowIfNull(destination); 384ArgumentNullException.ThrowIfNull(writer); 385ArgumentNullException.ThrowIfNull(encoder);
Microsoft.AspNetCore.Razor.Runtime (36)
Hosting\DefaultRazorCompiledItem.cs (3)
12ArgumentNullException.ThrowIfNull(type); 13ArgumentNullException.ThrowIfNull(kind); 14ArgumentNullException.ThrowIfNull(identifier);
Hosting\RazorCompiledItemAttribute.cs (2)
25ArgumentNullException.ThrowIfNull(type); 26ArgumentNullException.ThrowIfNull(kind);
Hosting\RazorCompiledItemExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(item);
Hosting\RazorCompiledItemLoader.cs (3)
36ArgumentNullException.ThrowIfNull(assembly); 54ArgumentNullException.ThrowIfNull(attribute); 67ArgumentNullException.ThrowIfNull(assembly);
Hosting\RazorConfigurationNameAttribute.cs (1)
23ArgumentNullException.ThrowIfNull(configurationName);
Hosting\RazorExtensionAssemblyNameAttribute.cs (2)
24ArgumentNullException.ThrowIfNull(extensionName); 25ArgumentNullException.ThrowIfNull(assemblyName);
Hosting\RazorLanguageVersionAttribute.cs (1)
23ArgumentNullException.ThrowIfNull(languageVersion);
Hosting\RazorSourceChecksumAttribute.cs (3)
30ArgumentNullException.ThrowIfNull(checksumAlgorithm); 31ArgumentNullException.ThrowIfNull(checksum); 32ArgumentNullException.ThrowIfNull(identifier);
Runtime\TagHelpers\TagHelperExecutionContext.cs (11)
60ArgumentNullException.ThrowIfNull(startTagHelperWritingScope); 61ArgumentNullException.ThrowIfNull(endTagHelperWritingScope); 112ArgumentNullException.ThrowIfNull(tagHelper); 125ArgumentNullException.ThrowIfNull(name); 137ArgumentNullException.ThrowIfNull(attribute); 151ArgumentNullException.ThrowIfNull(name); 163ArgumentNullException.ThrowIfNull(attribute); 183ArgumentNullException.ThrowIfNull(tagName); 184ArgumentNullException.ThrowIfNull(items); 185ArgumentNullException.ThrowIfNull(uniqueId); 186ArgumentNullException.ThrowIfNull(executeChildContentAsync);
Runtime\TagHelpers\TagHelperRunner.cs (1)
23ArgumentNullException.ThrowIfNull(executionContext);
Runtime\TagHelpers\TagHelperScopeManager.cs (5)
29ArgumentNullException.ThrowIfNull(startTagHelperWritingScope); 30ArgumentNullException.ThrowIfNull(endTagHelperWritingScope); 49ArgumentNullException.ThrowIfNull(tagName); 50ArgumentNullException.ThrowIfNull(uniqueId); 51ArgumentNullException.ThrowIfNull(executeChildContentAsync);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (2)
26ArgumentNullException.ThrowIfNull(sourceDictionary); 27ArgumentNullException.ThrowIfNull(comparer);
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
19ArgumentNullException.ThrowIfNull(source);
Microsoft.AspNetCore.Razor.Utilities.Shared (22)
ArrayExtensions.cs (4)
25/// <exception cref="ArgumentNullException"> 65/// <exception cref="ArgumentNullException"> 110/// <exception cref="ArgumentNullException"> 151/// <exception cref="ArgumentNullException">
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ArgHelper.cs (2)
19ArgumentNullException.ThrowIfNull(argument, paramName); 31ArgumentNullException.ThrowIfNull(argument, paramName);
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\HashSetExtensions.cs (1)
34/// <exception cref="ArgumentNullException">
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\InterlockedOperations.cs (2)
93/// <exception cref="ArgumentNullException"><paramref name="factory"/> is <see langword="null"/>.</exception> 175/// <exception cref="ArgumentNullException"><paramref name="factory"/> is <see langword="null"/>.</exception>
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ListExtensions.cs (1)
44/// <exception cref="ArgumentNullException">
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\StringExtensions.cs (2)
89/// <exception cref="ArgumentNullException"> 261/// <exception cref="ArgumentNullException">
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ThrowHelper.cs (2)
52/// Throws an <see cref="ArgumentNullException"/> with a parameter name. 66/// Throws an <see cref="ArgumentNullException"/> with a parameter name.
Threading\LazyValue`1.cs (1)
50/// <exception cref="ArgumentNullException"><paramref name="factory"/> is <see langword="null"/>.</exception>
Threading\LazyValue`2.cs (1)
69/// <exception cref="ArgumentNullException"><paramref name="factory"/> is <see langword="null"/>.</exception>
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (3)
85/// <exception cref="ArgumentNullException"> 103/// <exception cref="ArgumentNullException"> 144/// <exception cref="ArgumentNullException">
Utilities\Hashing\XxHash128.cs (3)
49/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 60ArgumentNullException.ThrowIfNull(source);
Microsoft.AspNetCore.RequestDecompression (10)
DefaultRequestDecompressionProvider.cs (2)
22ArgumentNullException.ThrowIfNull(logger); 23ArgumentNullException.ThrowIfNull(options);
RequestDecompressionBuilderExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(builder);
RequestDecompressionMiddleware.cs (3)
31ArgumentNullException.ThrowIfNull(next); 32ArgumentNullException.ThrowIfNull(logger); 33ArgumentNullException.ThrowIfNull(provider);
RequestDecompressionServiceExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(services); 35ArgumentNullException.ThrowIfNull(services); 36ArgumentNullException.ThrowIfNull(configureOptions);
src\aspnetcore\src\Shared\SizeLimitedStream.cs (1)
15ArgumentNullException.ThrowIfNull(innerStream);
Microsoft.AspNetCore.ResponseCaching (15)
CacheEntry\CachedResponseBody.cs (1)
22ArgumentNullException.ThrowIfNull(destination);
ResponseCachingExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(app);
ResponseCachingKeyProvider.cs (4)
27ArgumentNullException.ThrowIfNull(poolProvider); 28ArgumentNullException.ThrowIfNull(options); 42ArgumentNullException.ThrowIfNull(context); 86ArgumentNullException.ThrowIfNull(context);
ResponseCachingMiddleware.cs (6)
65ArgumentNullException.ThrowIfNull(next); 66ArgumentNullException.ThrowIfNull(options); 67ArgumentNullException.ThrowIfNull(loggerFactory); 68ArgumentNullException.ThrowIfNull(policyProvider); 69ArgumentNullException.ThrowIfNull(cache); 70ArgumentNullException.ThrowIfNull(keyProvider);
ResponseCachingServicesExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(services); 37ArgumentNullException.ThrowIfNull(services); 38ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.ResponseCompression (13)
BrotliCompressionProvider.cs (1)
20ArgumentNullException.ThrowIfNull(options);
CompressionProviderCollection.cs (1)
35ArgumentNullException.ThrowIfNull(providerType);
CompressionProviderFactory.cs (1)
25ArgumentNullException.ThrowIfNull(serviceProvider);
GzipCompressionProvider.cs (1)
20ArgumentNullException.ThrowIfNull(options);
ResponseCompressionBuilderExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(builder);
ResponseCompressionMiddleware.cs (2)
25ArgumentNullException.ThrowIfNull(next); 26ArgumentNullException.ThrowIfNull(provider);
ResponseCompressionProvider.cs (2)
32ArgumentNullException.ThrowIfNull(services); 33ArgumentNullException.ThrowIfNull(options);
ResponseCompressionServicesExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(services); 36ArgumentNullException.ThrowIfNull(services); 37ArgumentNullException.ThrowIfNull(configureOptions);
ZstandardCompressionProvider.cs (1)
20ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Rewrite (18)
ApacheModRewriteOptionsExtensions.cs (4)
22ArgumentNullException.ThrowIfNull(options); 23ArgumentNullException.ThrowIfNull(fileProvider); 39ArgumentNullException.ThrowIfNull(options); 40ArgumentNullException.ThrowIfNull(reader);
IISUrlRewrite\RewriteMapParser.cs (1)
13ArgumentNullException.ThrowIfNull(xmlRoot);
IISUrlRewrite\UrlRewriteRuleBuilder.cs (1)
78ArgumentNullException.ThrowIfNull(condition);
IISUrlRewriteOptionsExtensions.cs (4)
26ArgumentNullException.ThrowIfNull(options); 27ArgumentNullException.ThrowIfNull(fileProvider); 46ArgumentNullException.ThrowIfNull(options); 47ArgumentNullException.ThrowIfNull(reader);
RedirectToNonWwwRule.cs (1)
23ArgumentNullException.ThrowIfNull(domains);
RedirectToWwwRule.cs (1)
23ArgumentNullException.ThrowIfNull(domains);
RewriteBuilderExtensions.cs (3)
25ArgumentNullException.ThrowIfNull(app); 38ArgumentNullException.ThrowIfNull(app); 39ArgumentNullException.ThrowIfNull(options);
RewriteMiddleware.cs (3)
38ArgumentNullException.ThrowIfNull(next); 39ArgumentNullException.ThrowIfNull(options); 54ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Routing (275)
Builder\EndpointRouteBuilderExtensions.cs (10)
51ArgumentNullException.ThrowIfNull(endpoints); 52ArgumentNullException.ThrowIfNull(prefix); 152ArgumentNullException.ThrowIfNull(httpMethods); 195ArgumentNullException.ThrowIfNull(endpoints); 196ArgumentNullException.ThrowIfNull(pattern); 197ArgumentNullException.ThrowIfNull(requestDelegate); 327ArgumentNullException.ThrowIfNull(httpMethods); 433ArgumentNullException.ThrowIfNull(endpoints); 434ArgumentNullException.ThrowIfNull(pattern); 435ArgumentNullException.ThrowIfNull(handler);
Builder\EndpointRoutingApplicationBuilderExtensions.cs (3)
40ArgumentNullException.ThrowIfNull(builder); 87ArgumentNullException.ThrowIfNull(builder); 88ArgumentNullException.ThrowIfNull(configure);
Builder\FallbackEndpointRouteBuilderExtensions.cs (5)
41ArgumentNullException.ThrowIfNull(endpoints); 42ArgumentNullException.ThrowIfNull(requestDelegate); 73ArgumentNullException.ThrowIfNull(endpoints); 74ArgumentNullException.ThrowIfNull(pattern); 75ArgumentNullException.ThrowIfNull(requestDelegate);
Builder\RouteHandlerServices.cs (10)
42ArgumentNullException.ThrowIfNull(endpoints); 43ArgumentNullException.ThrowIfNull(pattern); 44ArgumentNullException.ThrowIfNull(handler); 45ArgumentNullException.ThrowIfNull(populateMetadata); 46ArgumentNullException.ThrowIfNull(createRequestDelegate); 73ArgumentNullException.ThrowIfNull(endpoints); 74ArgumentNullException.ThrowIfNull(pattern); 75ArgumentNullException.ThrowIfNull(handler); 76ArgumentNullException.ThrowIfNull(populateMetadata); 77ArgumentNullException.ThrowIfNull(createRequestDelegate);
Builder\RoutingBuilderExtensions.cs (4)
22ArgumentNullException.ThrowIfNull(builder); 23ArgumentNullException.ThrowIfNull(router); 45ArgumentNullException.ThrowIfNull(builder); 46ArgumentNullException.ThrowIfNull(action);
Builder\RoutingEndpointConventionBuilderExtensions.cs (10)
42ArgumentNullException.ThrowIfNull(builder); 43ArgumentNullException.ThrowIfNull(hosts); 61ArgumentNullException.ThrowIfNull(builder); 80ArgumentNullException.ThrowIfNull(builder); 81ArgumentNullException.ThrowIfNull(func); 100ArgumentNullException.ThrowIfNull(builder); 101ArgumentNullException.ThrowIfNull(items); 174ArgumentNullException.ThrowIfNull(builder); 195ArgumentNullException.ThrowIfNull(builder); 230ArgumentNullException.ThrowIfNull(builder);
ConfigureRouteOptions.cs (2)
15ArgumentNullException.ThrowIfNull(dataSources); 22ArgumentNullException.ThrowIfNull(options);
Constraints\BoolRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\CompositeRouteConstraint.cs (3)
27ArgumentNullException.ThrowIfNull(constraints); 50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
Constraints\DateTimeRouteConstraint.cs (2)
42ArgumentNullException.ThrowIfNull(routeKey); 43ArgumentNullException.ThrowIfNull(values);
Constraints\DecimalRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\DoubleRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\FileNameRouteConstraint.cs (2)
107ArgumentNullException.ThrowIfNull(routeKey); 108ArgumentNullException.ThrowIfNull(values);
Constraints\FloatRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\GuidRouteConstraint.cs (2)
38ArgumentNullException.ThrowIfNull(routeKey); 39ArgumentNullException.ThrowIfNull(values);
Constraints\HttpMethodRouteConstraint.cs (4)
22ArgumentNullException.ThrowIfNull(allowedMethods); 40ArgumentNullException.ThrowIfNull(routeKey); 41ArgumentNullException.ThrowIfNull(values); 47ArgumentNullException.ThrowIfNull(httpContext);
Constraints\IntRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\LengthRouteConstraint.cs (2)
92ArgumentNullException.ThrowIfNull(routeKey); 93ArgumentNullException.ThrowIfNull(values);
Constraints\LongRouteConstraint.cs (2)
36ArgumentNullException.ThrowIfNull(routeKey); 37ArgumentNullException.ThrowIfNull(values);
Constraints\MaxLengthRouteConstraint.cs (2)
56ArgumentNullException.ThrowIfNull(routeKey); 57ArgumentNullException.ThrowIfNull(values);
Constraints\MaxRouteConstraint.cs (2)
51ArgumentNullException.ThrowIfNull(routeKey); 53ArgumentNullException.ThrowIfNull(values);
Constraints\MinLengthRouteConstraint.cs (2)
56ArgumentNullException.ThrowIfNull(routeKey); 57ArgumentNullException.ThrowIfNull(values);
Constraints\MinRouteConstraint.cs (2)
50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
Constraints\NonFileNameRouteConstraint.cs (2)
103ArgumentNullException.ThrowIfNull(routeKey); 104ArgumentNullException.ThrowIfNull(values);
Constraints\OptionalRouteConstraint.cs (3)
27ArgumentNullException.ThrowIfNull(innerConstraint); 50ArgumentNullException.ThrowIfNull(routeKey); 51ArgumentNullException.ThrowIfNull(values);
Constraints\RangeRouteConstraint.cs (2)
64ArgumentNullException.ThrowIfNull(routeKey); 65ArgumentNullException.ThrowIfNull(values);
Constraints\RegexRouteConstraint.cs (4)
36ArgumentNullException.ThrowIfNull(regex); 49ArgumentNullException.ThrowIfNull(regexPattern); 91ArgumentNullException.ThrowIfNull(routeKey); 92ArgumentNullException.ThrowIfNull(values);
Constraints\RequiredRouteConstraint.cs (2)
26ArgumentNullException.ThrowIfNull(routeKey); 27ArgumentNullException.ThrowIfNull(values);
Constraints\StringRouteConstraint.cs (3)
23ArgumentNullException.ThrowIfNull(value); 31ArgumentNullException.ThrowIfNull(routeKey); 32ArgumentNullException.ThrowIfNull(values);
DataSourceDependentCache.cs (2)
29ArgumentNullException.ThrowIfNull(dataSource); 30ArgumentNullException.ThrowIfNull(initialize);
DefaultEndpointDataSource.cs (2)
25ArgumentNullException.ThrowIfNull(endpoints); 36ArgumentNullException.ThrowIfNull(endpoints);
DefaultInlineConstraintResolver.cs (3)
33ArgumentNullException.ThrowIfNull(routeOptions); 34ArgumentNullException.ThrowIfNull(serviceProvider); 50ArgumentNullException.ThrowIfNull(inlineConstraint);
DefaultLinkGenerator.cs (2)
78ArgumentNullException.ThrowIfNull(httpContext); 130ArgumentNullException.ThrowIfNull(httpContext);
DefaultParameterPolicyFactory.cs (2)
25ArgumentNullException.ThrowIfNull(parameterPolicy); 37ArgumentNullException.ThrowIfNull(inlineText);
DependencyInjection\RoutingServiceCollectionExtensions.cs (3)
44ArgumentNullException.ThrowIfNull(services); 133ArgumentNullException.ThrowIfNull(services); 134ArgumentNullException.ThrowIfNull(configureOptions);
EndpointGroupNameAttribute.cs (1)
18ArgumentNullException.ThrowIfNull(endpointGroupName);
EndpointNameAddressScheme.cs (1)
24ArgumentNullException.ThrowIfNull(address);
EndpointNameAttribute.cs (1)
24ArgumentNullException.ThrowIfNull(endpointName);
EndpointNameMetadata.cs (1)
26ArgumentNullException.ThrowIfNull(endpointName);
EndpointRoutingMiddleware.cs (2)
43ArgumentNullException.ThrowIfNull(endpointRouteBuilder); 49ArgumentNullException.ThrowIfNull(next);
HostAttribute.cs (2)
26ArgumentNullException.ThrowIfNull(host); 39ArgumentNullException.ThrowIfNull(hosts);
HttpMethodMetadata.cs (1)
39ArgumentNullException.ThrowIfNull(httpMethods);
InlineRouteParameterParser.cs (1)
20ArgumentNullException.ThrowIfNull(routeParameter);
LinkGeneratorEndpointNameAddressExtensions.cs (20)
41ArgumentNullException.ThrowIfNull(generator); 42ArgumentNullException.ThrowIfNull(httpContext); 43ArgumentNullException.ThrowIfNull(endpointName); 81ArgumentNullException.ThrowIfNull(generator); 82ArgumentNullException.ThrowIfNull(httpContext); 83ArgumentNullException.ThrowIfNull(endpointName); 117ArgumentNullException.ThrowIfNull(generator); 118ArgumentNullException.ThrowIfNull(endpointName); 145ArgumentNullException.ThrowIfNull(generator); 146ArgumentNullException.ThrowIfNull(endpointName); 194ArgumentNullException.ThrowIfNull(generator); 195ArgumentNullException.ThrowIfNull(httpContext); 196ArgumentNullException.ThrowIfNull(endpointName); 253ArgumentNullException.ThrowIfNull(generator); 254ArgumentNullException.ThrowIfNull(httpContext); 255ArgumentNullException.ThrowIfNull(endpointName); 306ArgumentNullException.ThrowIfNull(generator); 307ArgumentNullException.ThrowIfNull(endpointName); 355ArgumentNullException.ThrowIfNull(generator); 356ArgumentNullException.ThrowIfNull(endpointName);
LinkGeneratorRouteValuesAddressExtensions.cs (12)
41ArgumentNullException.ThrowIfNull(generator); 42ArgumentNullException.ThrowIfNull(httpContext); 81ArgumentNullException.ThrowIfNull(generator); 82ArgumentNullException.ThrowIfNull(httpContext); 117ArgumentNullException.ThrowIfNull(generator); 145ArgumentNullException.ThrowIfNull(generator); 194ArgumentNullException.ThrowIfNull(generator); 195ArgumentNullException.ThrowIfNull(httpContext); 253ArgumentNullException.ThrowIfNull(generator); 254ArgumentNullException.ThrowIfNull(httpContext); 306ArgumentNullException.ThrowIfNull(generator); 349ArgumentNullException.ThrowIfNull(generator);
LinkParserEndpointNameAddressExtensions.cs (2)
40ArgumentNullException.ThrowIfNull(parser); 41ArgumentNullException.ThrowIfNull(endpointName);
Matching\AcceptsMatcherPolicy.cs (6)
24ArgumentNullException.ThrowIfNull(endpoints); 36ArgumentNullException.ThrowIfNull(endpoints); 49ArgumentNullException.ThrowIfNull(httpContext); 50ArgumentNullException.ThrowIfNull(candidates); 140ArgumentNullException.ThrowIfNull(endpoints); 262ArgumentNullException.ThrowIfNull(edges);
Matching\CandidateSet.cs (3)
37ArgumentNullException.ThrowIfNull(endpoints); 38ArgumentNullException.ThrowIfNull(values); 39ArgumentNullException.ThrowIfNull(scores);
Matching\DefaultEndpointSelector.cs (2)
15ArgumentNullException.ThrowIfNull(httpContext); 16ArgumentNullException.ThrowIfNull(candidateSet);
Matching\DfaMatcher.cs (1)
34ArgumentNullException.ThrowIfNull(httpContext);
Matching\DfaMatcherFactory.cs (2)
16ArgumentNullException.ThrowIfNull(services); 23ArgumentNullException.ThrowIfNull(dataSource);
Matching\EndpointMetadataComparer.cs (5)
26ArgumentNullException.ThrowIfNull(services); 50ArgumentNullException.ThrowIfNull(x); 51ArgumentNullException.ThrowIfNull(y); 96ArgumentNullException.ThrowIfNull(x); 97ArgumentNullException.ThrowIfNull(y);
Matching\HostMatcherPolicy.cs (5)
28ArgumentNullException.ThrowIfNull(endpoints); 73ArgumentNullException.ThrowIfNull(httpContext); 74ArgumentNullException.ThrowIfNull(candidates); 197ArgumentNullException.ThrowIfNull(endpoints); 298ArgumentNullException.ThrowIfNull(edges);
Matching\HttpMethodMatcherPolicy.cs (4)
41ArgumentNullException.ThrowIfNull(endpoints); 53ArgumentNullException.ThrowIfNull(endpoints); 80ArgumentNullException.ThrowIfNull(httpContext); 81ArgumentNullException.ThrowIfNull(candidates);
Matching\MatcherPolicy.cs (1)
49ArgumentNullException.ThrowIfNull(endpoints);
Matching\NegotiationMatcherPolicy.cs (2)
252ArgumentNullException.ThrowIfNull(endpoints); 360ArgumentNullException.ThrowIfNull(edges);
ParameterPolicyActivator.cs (1)
76ArgumentNullException.ThrowIfNull(inlineParameterPolicy);
ParameterPolicyFactory.cs (1)
38ArgumentNullException.ThrowIfNull(reference);
Patterns\DefaultRoutePatternTransformer.cs (3)
16ArgumentNullException.ThrowIfNull(policyFactory); 25ArgumentNullException.ThrowIfNull(original); 32ArgumentNullException.ThrowIfNull(original);
Patterns\RouteParameterParser.cs (1)
18ArgumentNullException.ThrowIfNull(parameter);
Patterns\RoutePattern.cs (1)
137ArgumentNullException.ThrowIfNull(name);
Patterns\RoutePatternException.cs (2)
34ArgumentNullException.ThrowIfNull(pattern); 35ArgumentNullException.ThrowIfNull(message);
Patterns\RoutePatternFactory.cs (23)
47ArgumentNullException.ThrowIfNull(pattern); 72ArgumentNullException.ThrowIfNull(pattern); 97ArgumentNullException.ThrowIfNull(pattern); 126ArgumentNullException.ThrowIfNull(pattern); 154ArgumentNullException.ThrowIfNull(pattern); 167ArgumentNullException.ThrowIfNull(segments); 180ArgumentNullException.ThrowIfNull(segments); 209ArgumentNullException.ThrowIfNull(segments); 236ArgumentNullException.ThrowIfNull(segments); 266ArgumentNullException.ThrowIfNull(segments); 295ArgumentNullException.ThrowIfNull(segments); 307ArgumentNullException.ThrowIfNull(segments); 320ArgumentNullException.ThrowIfNull(segments); 348ArgumentNullException.ThrowIfNull(segments); 375ArgumentNullException.ThrowIfNull(segments); 405ArgumentNullException.ThrowIfNull(segments); 434ArgumentNullException.ThrowIfNull(segments); 698ArgumentNullException.ThrowIfNull(parts); 711ArgumentNullException.ThrowIfNull(parts); 867ArgumentNullException.ThrowIfNull(parameterPolicies); 903ArgumentNullException.ThrowIfNull(parameterPolicies); 974ArgumentNullException.ThrowIfNull(constraint); 1004ArgumentNullException.ThrowIfNull(parameterPolicy);
Patterns\RoutePatternMatcher.cs (2)
27ArgumentNullException.ThrowIfNull(pattern); 65ArgumentNullException.ThrowIfNull(values);
Patterns\RoutePatternParser.cs (1)
27ArgumentNullException.ThrowIfNull(pattern);
Route.cs (1)
81ArgumentNullException.ThrowIfNull(target);
RouteBase.cs (2)
42ArgumentNullException.ThrowIfNull(constraintResolver); 108ArgumentNullException.ThrowIfNull(context);
RouteBuilder.cs (1)
33ArgumentNullException.ThrowIfNull(applicationBuilder);
RouteCollection.cs (1)
46ArgumentNullException.ThrowIfNull(router);
RouteConstraintBuilder.cs (7)
38ArgumentNullException.ThrowIfNull(inlineConstraintResolver); 39ArgumentNullException.ThrowIfNull(displayName); 97ArgumentNullException.ThrowIfNull(key); 98ArgumentNullException.ThrowIfNull(value); 134ArgumentNullException.ThrowIfNull(key); 135ArgumentNullException.ThrowIfNull(constraintText); 162ArgumentNullException.ThrowIfNull(key);
RouteConstraintMatcher.cs (4)
49ArgumentNullException.ThrowIfNull(routeValues); 51ArgumentNullException.ThrowIfNull(httpContext); 52ArgumentNullException.ThrowIfNull(route); 53ArgumentNullException.ThrowIfNull(logger);
RouteEndpoint.cs (2)
32ArgumentNullException.ThrowIfNull(requestDelegate); 33ArgumentNullException.ThrowIfNull(routePattern);
RouteEndpointBuilder.cs (1)
40ArgumentNullException.ThrowIfNull(routePattern);
RouteOptions.cs (1)
90ArgumentNullException.ThrowIfNull(value);
RouteValuesAddressScheme.cs (1)
25ArgumentNullException.ThrowIfNull(address);
Template\DefaultTemplateBinderFactory.cs (5)
19ArgumentNullException.ThrowIfNull(policyFactory); 20ArgumentNullException.ThrowIfNull(pool); 28ArgumentNullException.ThrowIfNull(template); 29ArgumentNullException.ThrowIfNull(defaults); 36ArgumentNullException.ThrowIfNull(pattern);
Template\InlineConstraint.cs (2)
23ArgumentNullException.ThrowIfNull(constraint); 34ArgumentNullException.ThrowIfNull(other);
Template\RouteTemplate.cs (2)
26ArgumentNullException.ThrowIfNull(other); 61ArgumentNullException.ThrowIfNull(segments);
Template\TemplateBinder.cs (6)
71ArgumentNullException.ThrowIfNull(urlEncoder); 72ArgumentNullException.ThrowIfNull(pool); 73ArgumentNullException.ThrowIfNull(pattern); 101ArgumentNullException.ThrowIfNull(urlEncoder); 102ArgumentNullException.ThrowIfNull(pool); 103ArgumentNullException.ThrowIfNull(pattern);
Template\TemplateMatcher.cs (2)
30ArgumentNullException.ThrowIfNull(template); 83ArgumentNullException.ThrowIfNull(values);
Template\TemplateParser.cs (1)
20ArgumentNullException.ThrowIfNull(routeTemplate);
Template\TemplatePart.cs (1)
88ArgumentNullException.ThrowIfNull(name);
Template\TemplateSegment.cs (1)
30ArgumentNullException.ThrowIfNull(other);
Tree\TreeRouteBuilder.cs (8)
53ArgumentNullException.ThrowIfNull(loggerFactory); 55ArgumentNullException.ThrowIfNull(objectPool); 57ArgumentNullException.ThrowIfNull(constraintResolver); 91ArgumentNullException.ThrowIfNull(handler); 92ArgumentNullException.ThrowIfNull(routeTemplate); 186ArgumentNullException.ThrowIfNull(handler); 187ArgumentNullException.ThrowIfNull(routeTemplate); 188ArgumentNullException.ThrowIfNull(requiredLinkValues);
Tree\TreeRouter.cs (7)
71ArgumentNullException.ThrowIfNull(trees); 73ArgumentNullException.ThrowIfNull(linkGenerationEntries); 75ArgumentNullException.ThrowIfNull(urlEncoder); 77ArgumentNullException.ThrowIfNull(objectPool); 79ArgumentNullException.ThrowIfNull(routeLogger); 81ArgumentNullException.ThrowIfNull(constraintLogger); 140ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Routing.Abstractions (8)
RouteContext.cs (1)
48ArgumentNullException.ThrowIfNull(value);
RouteData.cs (3)
35ArgumentNullException.ThrowIfNull(other); 60ArgumentNullException.ThrowIfNull(values); 219ArgumentNullException.ThrowIfNull(routeData);
RoutingHttpContextExtensions.cs (3)
23ArgumentNullException.ThrowIfNull(httpContext); 38ArgumentNullException.ThrowIfNull(httpContext); 39ArgumentNullException.ThrowIfNull(key);
VirtualPathData.cs (1)
36ArgumentNullException.ThrowIfNull(router);
Microsoft.AspNetCore.Server.HttpSys (9)
HttpSysListener.cs (2)
50ArgumentNullException.ThrowIfNull(options); 51ArgumentNullException.ThrowIfNull(loggerFactory);
MessagePump.cs (3)
40ArgumentNullException.ThrowIfNull(options); 41ArgumentNullException.ThrowIfNull(loggerFactory); 73ArgumentNullException.ThrowIfNull(application);
RequestProcessing\RequestContext.cs (1)
439ArgumentNullException.ThrowIfNull(destination);
RequestProcessing\RequestContext.FeatureCollection.cs (2)
492ArgumentNullException.ThrowIfNull(callback); 503ArgumentNullException.ThrowIfNull(callback);
RequestProcessing\ResponseBody.cs (1)
569ArgumentNullException.ThrowIfNull(asyncResult);
Microsoft.AspNetCore.Server.IIS (6)
Core\IISHttpContext.FeatureCollection.cs (1)
304ArgumentNullException.ThrowIfNull(value);
src\aspnetcore\src\Shared\RazorViews\BaseView.cs (4)
101ArgumentNullException.ThrowIfNull(writer); 182ArgumentNullException.ThrowIfNull(name); 183ArgumentNullException.ThrowIfNull(leader); 184ArgumentNullException.ThrowIfNull(trailer);
WebHostBuilderIISExtensions.cs (1)
29ArgumentNullException.ThrowIfNull(hostBuilder);
Microsoft.AspNetCore.Server.IISIntegration (5)
IISMiddleware.cs (4)
76ArgumentNullException.ThrowIfNull(next); 77ArgumentNullException.ThrowIfNull(loggerFactory); 78ArgumentNullException.ThrowIfNull(options); 79ArgumentNullException.ThrowIfNull(applicationLifetime);
WebHostBuilderIISExtensions.cs (1)
33ArgumentNullException.ThrowIfNull(hostBuilder);
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Deployers\ApplicationDeployerFactory.cs (2)
22ArgumentNullException.ThrowIfNull(deploymentParameters); 23ArgumentNullException.ThrowIfNull(loggerFactory);
Microsoft.AspNetCore.Server.Kestrel (1)
WebHostBuilderKestrelExtensions.cs (1)
168ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.Server.Kestrel.Core (37)
DirectTlsEndpoint.cs (1)
43ArgumentNullException.ThrowIfNull(options);
Internal\Http\HttpRequestStream.cs (1)
158ArgumentNullException.ThrowIfNull(destination);
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
40ArgumentNullException.ThrowIfNull(value);
Internal\Http3\Http3Stream.FeatureCollection.cs (1)
35ArgumentNullException.ThrowIfNull(value);
Internal\KestrelServerImpl.cs (3)
57ArgumentNullException.ThrowIfNull(transportFactories); 80ArgumentNullException.ThrowIfNull(options); 81ArgumentNullException.ThrowIfNull(loggerFactory);
Internal\TlsConnectionFeature.cs (2)
43ArgumentNullException.ThrowIfNull(sslStream); 44ArgumentNullException.ThrowIfNull(context);
KestrelConfigurationLoader.cs (10)
103ArgumentNullException.ThrowIfNull(address); 118ArgumentNullException.ThrowIfNull(endPoint); 119ArgumentNullException.ThrowIfNull(configure); 141ArgumentNullException.ThrowIfNull(configure); 161ArgumentNullException.ThrowIfNull(configure); 181ArgumentNullException.ThrowIfNull(socketPath); 186ArgumentNullException.ThrowIfNull(configure); 206ArgumentNullException.ThrowIfNull(pipeName); 207ArgumentNullException.ThrowIfNull(configure); 227ArgumentNullException.ThrowIfNull(configure);
KestrelServerOptions.cs (10)
490ArgumentNullException.ThrowIfNull(address); 527ArgumentNullException.ThrowIfNull(endPoint); 528ArgumentNullException.ThrowIfNull(configure); 548ArgumentNullException.ThrowIfNull(configure); 566ArgumentNullException.ThrowIfNull(configure); 588ArgumentNullException.ThrowIfNull(socketPath); 594ArgumentNullException.ThrowIfNull(configure); 616ArgumentNullException.ThrowIfNull(configure); 638ArgumentNullException.ThrowIfNull(pipeName); 639ArgumentNullException.ThrowIfNull(configure);
ListenOptionsHttpsExtensions.cs (7)
132ArgumentNullException.ThrowIfNull(serverCertificate); 150ArgumentNullException.ThrowIfNull(serverCertificate); 151ArgumentNullException.ThrowIfNull(configureOptions); 168ArgumentNullException.ThrowIfNull(configureOptions); 254ArgumentNullException.ThrowIfNull(callbackOptions); 306ArgumentNullException.ThrowIfNull(listenOptions); 307ArgumentNullException.ThrowIfNull(tlsClientHelloBytesCallback);
Middleware\HttpsConnectionMiddleware.cs (1)
65ArgumentNullException.ThrowIfNull(options);
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (14)
Connection\DirectTlsConnectionListener.cs (2)
67ArgumentNullException.ThrowIfNull(tlsContext); 68ArgumentNullException.ThrowIfNull(applicationLifetime);
DirectTlsHandshakeLimitSetup.cs (1)
23ArgumentNullException.ThrowIfNull(serverOptions);
DirectTlsTransportFactory.cs (3)
46ArgumentNullException.ThrowIfNull(options); 47ArgumentNullException.ThrowIfNull(loggerFactory); 48ArgumentNullException.ThrowIfNull(applicationLifetime);
ServerTlsContexts.cs (2)
32ArgumentNullException.ThrowIfNull(bootstrapContext); 33ArgumentNullException.ThrowIfNull(perCertificateContexts);
TlsEventPump.cs (3)
185ArgumentNullException.ThrowIfNull(tlsContext); 186ArgumentNullException.ThrowIfNull(onFatalError); 703ArgumentNullException.ThrowIfNull(socket);
WebHostBuilderDirectTlsExtensions.cs (3)
37ArgumentNullException.ThrowIfNull(hostBuilder); 79ArgumentNullException.ThrowIfNull(hostBuilder); 80ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (4)
Internal\NamedPipeTransportFactory.cs (3)
26ArgumentNullException.ThrowIfNull(loggerFactory); 37ArgumentNullException.ThrowIfNull(endpoint); 70ArgumentNullException.ThrowIfNull(endpoint);
NamedPipeTransportOptions.cs (1)
93ArgumentNullException.ThrowIfNull(context);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
QuicTransportFactory.cs (3)
23ArgumentNullException.ThrowIfNull(options); 24ArgumentNullException.ThrowIfNull(loggerFactory); 40ArgumentNullException.ThrowIfNull(endpoint);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (6)
Client\SocketConnectionFactory.cs (2)
26ArgumentNullException.ThrowIfNull(options); 27ArgumentNullException.ThrowIfNull(loggerFactory);
SocketConnectionContextFactory.cs (2)
33ArgumentNullException.ThrowIfNull(options); 34ArgumentNullException.ThrowIfNull(logger);
SocketTransportFactory.cs (2)
30ArgumentNullException.ThrowIfNull(options); 31ArgumentNullException.ThrowIfNull(loggerFactory);
Microsoft.AspNetCore.Session (19)
CookieProtection.cs (1)
14ArgumentNullException.ThrowIfNull(protector);
DistributedSession.cs (4)
66ArgumentNullException.ThrowIfNull(cache); 68ArgumentNullException.ThrowIfNull(tryEstablishSession); 69ArgumentNullException.ThrowIfNull(loggerFactory); 141ArgumentNullException.ThrowIfNull(value);
DistributedSessionStore.cs (3)
25ArgumentNullException.ThrowIfNull(cache); 26ArgumentNullException.ThrowIfNull(loggerFactory); 36ArgumentNullException.ThrowIfNull(tryEstablishSession);
SessionMiddleware.cs (5)
42ArgumentNullException.ThrowIfNull(next); 43ArgumentNullException.ThrowIfNull(loggerFactory); 44ArgumentNullException.ThrowIfNull(dataProtectionProvider); 45ArgumentNullException.ThrowIfNull(sessionStore); 46ArgumentNullException.ThrowIfNull(options);
SessionMiddlewareExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(app); 34ArgumentNullException.ThrowIfNull(app); 35ArgumentNullException.ThrowIfNull(options);
SessionServiceCollectionExtensions.cs (3)
24ArgumentNullException.ThrowIfNull(services); 40ArgumentNullException.ThrowIfNull(services); 41ArgumentNullException.ThrowIfNull(configure);
Microsoft.AspNetCore.SignalR (5)
GetHttpContextExtensions.cs (2)
21ArgumentNullException.ThrowIfNull(connection); 32ArgumentNullException.ThrowIfNull(connection);
SignalRDependencyInjectionExtensions.cs (3)
25ArgumentNullException.ThrowIfNull(signalrBuilder); 39ArgumentNullException.ThrowIfNull(services); 58ArgumentNullException.ThrowIfNull(services);
Microsoft.AspNetCore.SignalR.Client (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.SignalR.Client.Core (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.SignalR.Common (5)
HubException.cs (1)
50/// <exception cref="ArgumentNullException">The <paramref name="info"/> parameter is <c>null</c>.</exception>
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.AspNetCore.SignalR.Core (19)
DefaultHubLifetimeManager.cs (8)
36ArgumentNullException.ThrowIfNull(connectionId); 37ArgumentNullException.ThrowIfNull(groupName); 69ArgumentNullException.ThrowIfNull(connectionId); 70ArgumentNullException.ThrowIfNull(groupName); 185ArgumentNullException.ThrowIfNull(connectionId); 204ArgumentNullException.ThrowIfNull(groupName); 256ArgumentNullException.ThrowIfNull(groupName); 336ArgumentNullException.ThrowIfNull(connectionId);
Internal\DefaultHubActivator.cs (1)
39ArgumentNullException.ThrowIfNull(hub);
Internal\Proxies.cs (4)
13ArgumentNullException.ThrowIfNull(userId); 49ArgumentNullException.ThrowIfNull(groupName); 86ArgumentNullException.ThrowIfNull(groupName); 156ArgumentNullException.ThrowIfNull(connectionId);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
40ArgumentNullException.ThrowIfNull(queryType); 41ArgumentNullException.ThrowIfNull(interfaceType);
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
32ArgumentNullException.ThrowIfNull(methodInfo); 114ArgumentNullException.ThrowIfNull(parameterDefaultValues);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (12)
RedisHubLifetimeManager.cs (10)
169ArgumentNullException.ThrowIfNull(connectionId); 186ArgumentNullException.ThrowIfNull(groupName); 195ArgumentNullException.ThrowIfNull(groupName); 211ArgumentNullException.ThrowIfNull(connectionId); 212ArgumentNullException.ThrowIfNull(groupName); 227ArgumentNullException.ThrowIfNull(connectionId); 228ArgumentNullException.ThrowIfNull(groupName); 243ArgumentNullException.ThrowIfNull(connectionIds); 259ArgumentNullException.ThrowIfNull(groupNames); 383ArgumentNullException.ThrowIfNull(connectionId);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.AspNetCore.SpaServices.Extensions (11)
AngularCli\AngularCliMiddlewareExtensions.cs (1)
27ArgumentNullException.ThrowIfNull(spaBuilder);
Proxying\SpaProxy.cs (3)
194ArgumentNullException.ThrowIfNull(uri); 211ArgumentNullException.ThrowIfNull(context); 212ArgumentNullException.ThrowIfNull(destinationUri);
ReactDevelopmentServer\ReactDevelopmentServerMiddlewareExtensions.cs (1)
27ArgumentNullException.ThrowIfNull(spaBuilder);
SpaApplicationBuilderExtensions.cs (1)
30ArgumentNullException.ThrowIfNull(configuration);
SpaDefaultPageMiddleware.cs (1)
16ArgumentNullException.ThrowIfNull(spaBuilder);
StaticFiles\DefaultSpaStaticFileProvider.cs (1)
22ArgumentNullException.ThrowIfNull(options);
StaticFiles\SpaStaticFilesExtensions.cs (3)
64ArgumentNullException.ThrowIfNull(applicationBuilder); 65ArgumentNullException.ThrowIfNull(options); 77ArgumentNullException.ThrowIfNull(staticFileOptions);
Microsoft.AspNetCore.StaticAssets (5)
StaticAssetsEndpointConventionBuilder.cs (2)
35ArgumentNullException.ThrowIfNull(convention); 45ArgumentNullException.ThrowIfNull(convention);
StaticAssetsEndpointRouteBuilderExtensions.cs (2)
28ArgumentNullException.ThrowIfNull(endpoints); 89ArgumentNullException.ThrowIfNull(endpoints);
StaticAssetsManifest.cs (1)
26ArgumentNullException.ThrowIfNull(manifestPath);
Microsoft.AspNetCore.StaticFiles (45)
DefaultFilesExtensions.cs (4)
27ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(app); 60ArgumentNullException.ThrowIfNull(app); 61ArgumentNullException.ThrowIfNull(options);
DefaultFilesMiddleware.cs (3)
32ArgumentNullException.ThrowIfNull(next); 33ArgumentNullException.ThrowIfNull(hostingEnv); 34ArgumentNullException.ThrowIfNull(options);
DirectoryBrowserExtensions.cs (4)
27ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(app); 60ArgumentNullException.ThrowIfNull(app); 61ArgumentNullException.ThrowIfNull(options);
DirectoryBrowserMiddleware.cs (4)
44ArgumentNullException.ThrowIfNull(next); 45ArgumentNullException.ThrowIfNull(hostingEnv); 46ArgumentNullException.ThrowIfNull(encoder); 47ArgumentNullException.ThrowIfNull(options);
DirectoryBrowserServiceExtensions.cs (1)
18ArgumentNullException.ThrowIfNull(services);
FileExtensionContentTypeProvider.cs (1)
418ArgumentNullException.ThrowIfNull(mapping);
FileServerExtensions.cs (6)
26ArgumentNullException.ThrowIfNull(app); 43ArgumentNullException.ThrowIfNull(app); 63ArgumentNullException.ThrowIfNull(app); 64ArgumentNullException.ThrowIfNull(requestPath); 80ArgumentNullException.ThrowIfNull(app); 81ArgumentNullException.ThrowIfNull(options);
HtmlDirectoryFormatter.cs (3)
28ArgumentNullException.ThrowIfNull(encoder); 37ArgumentNullException.ThrowIfNull(context); 38ArgumentNullException.ThrowIfNull(contents);
Infrastructure\SharedOptionsBase.cs (1)
21ArgumentNullException.ThrowIfNull(sharedOptions);
StaticFileExtensions.cs (4)
27ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(app); 60ArgumentNullException.ThrowIfNull(app); 61ArgumentNullException.ThrowIfNull(options);
StaticFileMiddleware.cs (4)
34ArgumentNullException.ThrowIfNull(next); 35ArgumentNullException.ThrowIfNull(hostingEnv); 36ArgumentNullException.ThrowIfNull(options); 37ArgumentNullException.ThrowIfNull(loggerFactory);
StaticFilesEndpointRouteBuilderExtensions.cs (10)
51ArgumentNullException.ThrowIfNull(endpoints); 52ArgumentNullException.ThrowIfNull(filePath); 87ArgumentNullException.ThrowIfNull(endpoints); 88ArgumentNullException.ThrowIfNull(filePath); 129ArgumentNullException.ThrowIfNull(endpoints); 130ArgumentNullException.ThrowIfNull(pattern); 131ArgumentNullException.ThrowIfNull(filePath); 171ArgumentNullException.ThrowIfNull(endpoints); 172ArgumentNullException.ThrowIfNull(pattern); 173ArgumentNullException.ThrowIfNull(filePath);
Microsoft.AspNetCore.TestHost (14)
ClientHandler.cs (1)
78ArgumentNullException.ThrowIfNull(request);
HttpContextBuilder.cs (2)
63ArgumentNullException.ThrowIfNull(configureContext); 70ArgumentNullException.ThrowIfNull(sendRequestStream);
RequestBuilder.cs (1)
38ArgumentNullException.ThrowIfNull(configure);
TestServer.cs (2)
98ArgumentNullException.ThrowIfNull(builder); 215ArgumentNullException.ThrowIfNull(configureContext);
WebHostBuilderExtensions.cs (8)
82ArgumentNullException.ThrowIfNull(webHostBuilder); 83ArgumentNullException.ThrowIfNull(servicesConfiguration); 111ArgumentNullException.ThrowIfNull(webHostBuilder); 112ArgumentNullException.ThrowIfNull(servicesConfiguration); 183ArgumentNullException.ThrowIfNull(solutionRelativePath); 184ArgumentNullException.ThrowIfNull(applicationBasePath); 219ArgumentNullException.ThrowIfNull(servicesConfiguration); 240ArgumentNullException.ThrowIfNull(containerConfiguration);
Microsoft.AspNetCore.Testing (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.AspNetCore.Testing.Tests (2)
FakesExtensionsTests.cs (2)
132Assert.IsType<ArgumentNullException>(exception); 213Assert.IsType<ArgumentNullException>(exception);
Microsoft.AspNetCore.WebSockets (6)
WebSocketMiddleware.cs (2)
37ArgumentNullException.ThrowIfNull(next); 38ArgumentNullException.ThrowIfNull(options);
WebSocketMiddlewareExtensions.cs (3)
25ArgumentNullException.ThrowIfNull(app); 44ArgumentNullException.ThrowIfNull(app); 45ArgumentNullException.ThrowIfNull(options);
WebSocketsDependencyInjectionExtensions.cs (1)
22ArgumentNullException.ThrowIfNull(configure);
Microsoft.AspNetCore.WebUtilities (38)
BufferedReadStream.cs (1)
43ArgumentNullException.ThrowIfNull(inner);
FileBufferingReadStream.cs (4)
76ArgumentNullException.ThrowIfNull(inner); 77ArgumentNullException.ThrowIfNull(tempFileDirectoryAccessor); 128ArgumentNullException.ThrowIfNull(inner); 129ArgumentNullException.ThrowIfNull(tempFileDirectory);
FormReader.cs (3)
62ArgumentNullException.ThrowIfNull(data); 96ArgumentNullException.ThrowIfNull(stream); 97ArgumentNullException.ThrowIfNull(encoding);
HttpRequestStreamReader.cs (2)
155ArgumentNullException.ThrowIfNull(buffer); 216ArgumentNullException.ThrowIfNull(buffer);
MultipartBoundary.cs (1)
15ArgumentNullException.ThrowIfNull(boundary);
MultipartReader.cs (2)
50ArgumentNullException.ThrowIfNull(boundary); 51ArgumentNullException.ThrowIfNull(stream);
MultipartReaderStream.cs (2)
38ArgumentNullException.ThrowIfNull(stream); 39ArgumentNullException.ThrowIfNull(boundary);
MultipartSectionConverterExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(section); 39ArgumentNullException.ThrowIfNull(section);
MultipartSectionStreamExtensions.cs (1)
30ArgumentNullException.ThrowIfNull(section);
QueryHelpers.cs (18)
23/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <c>null</c>.</exception> 24/// <exception cref="ArgumentNullException"><paramref name="name"/> is <c>null</c>.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="value"/> is <c>null</c>.</exception> 28ArgumentNullException.ThrowIfNull(uri); 29ArgumentNullException.ThrowIfNull(name); 30ArgumentNullException.ThrowIfNull(value); 42/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <c>null</c>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="queryString"/> is <c>null</c>.</exception> 46ArgumentNullException.ThrowIfNull(uri); 47ArgumentNullException.ThrowIfNull(queryString); 58/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <c>null</c>.</exception> 59/// <exception cref="ArgumentNullException"><paramref name="queryString"/> is <c>null</c>.</exception> 62ArgumentNullException.ThrowIfNull(uri); 63ArgumentNullException.ThrowIfNull(queryString); 74/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <c>null</c>.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="queryString"/> is <c>null</c>.</exception> 80ArgumentNullException.ThrowIfNull(uri); 81ArgumentNullException.ThrowIfNull(queryString);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Bcl.AsyncInterfaces (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Bcl.Cryptography (29)
System\Security\Cryptography\X509Certificates\X509CertificateKeyAccessors.cs (29)
32/// <exception cref="ArgumentNullException"> 43ArgumentNullException.ThrowIfNull(certificate); 76/// <exception cref="ArgumentNullException"> 87ArgumentNullException.ThrowIfNull(certificate); 110/// <exception cref="ArgumentNullException"> 124ArgumentNullException.ThrowIfNull(certificate); 125ArgumentNullException.ThrowIfNull(privateKey); 143/// <exception cref="ArgumentNullException"> 154ArgumentNullException.ThrowIfNull(certificate); 187/// <exception cref="ArgumentNullException"> 198ArgumentNullException.ThrowIfNull(certificate); 233/// <exception cref="ArgumentNullException"> 247ArgumentNullException.ThrowIfNull(certificate); 248ArgumentNullException.ThrowIfNull(privateKey); 299/// <exception cref="ArgumentNullException"> 311ArgumentNullException.ThrowIfNull(certificate); 329/// <exception cref="ArgumentNullException"> 341ArgumentNullException.ThrowIfNull(certificate); 364/// <exception cref="ArgumentNullException"> 367/// <exception cref="ArgumentNullException"> 382ArgumentNullException.ThrowIfNull(certificate); 383ArgumentNullException.ThrowIfNull(privateKey); 401/// <exception cref="ArgumentNullException"> 413ArgumentNullException.ThrowIfNull(certificate); 446/// <exception cref="ArgumentNullException"> 458ArgumentNullException.ThrowIfNull(certificate); 486/// <exception cref="ArgumentNullException"> 501ArgumentNullException.ThrowIfNull(certificate); 502ArgumentNullException.ThrowIfNull(privateKey);
Microsoft.Bcl.Numerics (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Bcl.TimeProvider (3)
System\Threading\Tasks\TimeProviderTaskExtensions.cs (3)
47/// <exception cref="System.ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception> 128/// <exception cref="System.ArgumentNullException"><paramref name="task"/> or <paramref name="timeProvider"/> is <see langword="null" />.</exception> 218/// <exception cref="System.ArgumentNullException"><paramref name="task"/> or <paramref name="timeProvider"/> is <see langword="null" />.</exception>
Microsoft.Build (406)
BackEnd\BuildManager\BuildManager.cs (3)
300ArgumentNullException.ThrowIfNull(hostName); 1037ArgumentNullException.ThrowIfNull(requestData); 1587ArgumentNullException.ThrowIfNull(submission);
BackEnd\BuildManager\BuildParameters.cs (1)
259ArgumentNullException.ThrowIfNull(projectCollection);
BackEnd\BuildManager\BuildRequestData.cs (5)
61ArgumentNullException.ThrowIfNull(projectInstance); 70ArgumentNullException.ThrowIfNull(targetName, "target"); 95ArgumentNullException.ThrowIfNull(requestedProjectState); 129ArgumentNullException.ThrowIfNull(requestedProjectState); 147ArgumentNullException.ThrowIfNull(globalProperties);
BackEnd\BuildManager\BuildRequestDataBase.cs (2)
16ArgumentNullException.ThrowIfNull(targetNames); 19ArgumentNullException.ThrowIfNull(targetName, "target");
BackEnd\BuildManager\BuildSubmission.cs (2)
39ArgumentNullException.ThrowIfNull(requestData); 83ArgumentNullException.ThrowIfNull(result);
BackEnd\BuildManager\BuildSubmissionBase.cs (1)
38ArgumentNullException.ThrowIfNull(buildManager);
BackEnd\Client\MSBuildClientPacketPump.cs (1)
79ArgumentNullException.ThrowIfNull(stream);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (3)
651ArgumentNullException.ThrowIfNull(host); 1400ArgumentNullException.ThrowIfNull(config); 1413ArgumentNullException.ThrowIfNull(blocker);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (5)
126ArgumentNullException.ThrowIfNull(request); 127ArgumentNullException.ThrowIfNull(requestConfiguration); 128ArgumentNullException.ThrowIfNull(taskEnvironment); 315ArgumentNullException.ThrowIfNull(result); 484ArgumentNullException.ThrowIfNull(result);
BackEnd\Components\BuildRequestEngine\FullyQualifiedBuildRequest.cs (2)
38ArgumentNullException.ThrowIfNull(config); 39ArgumentNullException.ThrowIfNull(targets);
BackEnd\Components\Caching\ConfigCache.cs (5)
75ArgumentNullException.ThrowIfNull(config); 90ArgumentNullException.ThrowIfNull(config); 101ArgumentNullException.ThrowIfNull(configMetadata); 119ArgumentNullException.ThrowIfNull(configMetadata); 314ArgumentNullException.ThrowIfNull(host);
BackEnd\Components\Caching\ResultsCache.cs (1)
276ArgumentNullException.ThrowIfNull(host);
BackEnd\Components\Communications\NodeEndpointInProc.cs (2)
109ArgumentNullException.ThrowIfNull(host); 341ArgumentNullException.ThrowIfNull(packet);
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
157ArgumentNullException.ThrowIfNull(packet);
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
81ArgumentNullException.ThrowIfNull(factory);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
99ArgumentNullException.ThrowIfNull(packet);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
714ArgumentNullException.ThrowIfNull(factory);
BackEnd\Components\Logging\ForwardingLoggerRecord.cs (1)
22ArgumentNullException.ThrowIfNull(forwardingLoggerDescription);
BackEnd\Components\Logging\ILoggingService.cs (2)
355/// <exception cref="ArgumentNullException">When forwardingLoggerSink is null</exception> 356/// <exception cref="ArgumentNullException">When loggerDescriptions is null</exception>
BackEnd\Components\Logging\LoggingContext.cs (2)
45ArgumentNullException.ThrowIfNull(loggingService); 46ArgumentNullException.ThrowIfNull(eventContext);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
229ArgumentNullException.ThrowIfNull(projectCacheDescriptor.PluginAssemblyPath);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (7)
202ArgumentNullException.ThrowIfNull(loggingContext); 203ArgumentNullException.ThrowIfNull(entry); 338ArgumentNullException.ThrowIfNull(projectFiles); 339ArgumentNullException.ThrowIfNull(properties); 340ArgumentNullException.ThrowIfNull(targets); 341ArgumentNullException.ThrowIfNull(toolsVersions); 557ArgumentNullException.ThrowIfNull(host);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (6)
110ArgumentNullException.ThrowIfNull(loggingContext, "projectLoggingContext"); 111ArgumentNullException.ThrowIfNull(entry); 112ArgumentNullException.ThrowIfNull(callback, "requestBuilderCallback"); 113ArgumentNullException.ThrowIfNull(targetNames); 114ArgumentNullException.ThrowIfNull(baseLookup); 220ArgumentNullException.ThrowIfNull(host);
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
173ArgumentNullException.ThrowIfNull(requestEntry); 174ArgumentNullException.ThrowIfNull(targetBuilderCallback); 175ArgumentNullException.ThrowIfNull(targetSpecification, "targetName"); 176ArgumentNullException.ThrowIfNull(baseLookup, "lookup"); 177ArgumentNullException.ThrowIfNull(host);
BackEnd\Components\RequestBuilder\TargetSpecification.cs (1)
33ArgumentNullException.ThrowIfNull(referenceLocation);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
307ArgumentNullException.ThrowIfNull(lookup);
BackEnd\Components\RequestBuilder\TaskHost.cs (11)
118ArgumentNullException.ThrowIfNull(host); 119ArgumentNullException.ThrowIfNull(requestEntry); 412ArgumentNullException.ThrowIfNull(e); 482ArgumentNullException.ThrowIfNull(e); 523ArgumentNullException.ThrowIfNull(e); 564ArgumentNullException.ThrowIfNull(e); 655ArgumentNullException.ThrowIfNull(eventName); 971ArgumentNullException.ThrowIfNull(projectFileNames); 972ArgumentNullException.ThrowIfNull(globalProperties); 1144ArgumentNullException.ThrowIfNull(projectFileNames); 1145ArgumentNullException.ThrowIfNull(globalProperties);
BackEnd\Components\RequestBuilder\TaskRouter.cs (1)
50ArgumentNullException.ThrowIfNull(taskType);
BackEnd\Components\Scheduler\SchedulableRequest.cs (7)
128ArgumentNullException.ThrowIfNull(collection); 129ArgumentNullException.ThrowIfNull(request); 313ArgumentNullException.ThrowIfNull(activeTargets); 337ArgumentNullException.ThrowIfNull(blockingRequest); 338ArgumentNullException.ThrowIfNull(activeTargets); 374ArgumentNullException.ThrowIfNull(result); 387ArgumentNullException.ThrowIfNull(result);
BackEnd\Components\Scheduler\Scheduler.cs (6)
1424ArgumentNullException.ThrowIfNull(request); 1425ArgumentNullException.ThrowIfNull(responses); 1696ArgumentNullException.ThrowIfNull(blockedRequest); 1697ArgumentNullException.ThrowIfNull(blocker); 1755ArgumentNullException.ThrowIfNull(blocker); 1756ArgumentNullException.ThrowIfNull(responses);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
50ArgumentNullException.ThrowIfNull(sendPacket);
BackEnd\Shared\BuildRequest.cs (2)
190ArgumentNullException.ThrowIfNull(escapedTargets, "targets"); 191ArgumentNullException.ThrowIfNull(parentBuildEventContext);
BackEnd\Shared\BuildRequestConfiguration.cs (3)
190ArgumentNullException.ThrowIfNull(data); 233ArgumentNullException.ThrowIfNull(instance); 255ArgumentNullException.ThrowIfNull(other);
BackEnd\Shared\BuildRequestUnblocker.cs (2)
55ArgumentNullException.ThrowIfNull(buildResult); 66ArgumentNullException.ThrowIfNull(parentRequest);
BackEnd\Shared\BuildResult.cs (3)
544ArgumentNullException.ThrowIfNull(target); 545ArgumentNullException.ThrowIfNull(result); 583ArgumentNullException.ThrowIfNull(results);
BackEnd\Shared\ConfigurationMetadata.cs (3)
28ArgumentNullException.ThrowIfNull(configuration); 39ArgumentNullException.ThrowIfNull(project); 56ArgumentNullException.ThrowIfNull(globalProperties);
BackEnd\Shared\TargetResult.cs (1)
79ArgumentNullException.ThrowIfNull(items);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
455ArgumentNullException.ThrowIfNull(loggingContext); 570ArgumentNullException.ThrowIfNull(parameters);
Collections\CopyOnReadEnumerable.cs (2)
44ArgumentNullException.ThrowIfNull(backingEnumerable); 45ArgumentNullException.ThrowIfNull(syncRoot);
Collections\CopyOnWritePropertyDictionary.cs (1)
343ArgumentNullException.ThrowIfNull(projectProperty);
Collections\PropertyDictionary.cs (1)
523ArgumentNullException.ThrowIfNull(projectProperty);
Collections\ReadOnlyConvertingDictionary.cs (2)
37ArgumentNullException.ThrowIfNull(backing); 38ArgumentNullException.ThrowIfNull(converter);
Construction\ProjectChooseElement.cs (1)
36ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectElement.cs (5)
52ArgumentNullException.ThrowIfNull(link); 63ArgumentNullException.ThrowIfNull(xmlElement); 64ArgumentNullException.ThrowIfNull(containingProject); 265ArgumentNullException.ThrowIfNull(value, "ContainingProject"); 353ArgumentNullException.ThrowIfNull(element);
Construction\ProjectElementContainer.cs (6)
145ArgumentNullException.ThrowIfNull(child); 200ArgumentNullException.ThrowIfNull(child); 295ArgumentNullException.ThrowIfNull(child); 354ArgumentNullException.ThrowIfNull(element); 847ArgumentNullException.ThrowIfNull(array); 878ArgumentNullException.ThrowIfNull(array);
Construction\ProjectExtensionsElement.cs (4)
38ArgumentNullException.ThrowIfNull(parent); 72ArgumentNullException.ThrowIfNull(value, nameof(Content)); 114ArgumentNullException.ThrowIfNull(value); 158ArgumentNullException.ThrowIfNull(element);
Construction\ProjectImportElement.cs (1)
39ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectImportGroupElement.cs (1)
35ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectItemDefinitionElement.cs (2)
35ArgumentNullException.ThrowIfNull(parent); 77ArgumentNullException.ThrowIfNull(unevaluatedValue);
Construction\ProjectItemDefinitionGroupElement.cs (1)
35ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectItemElement.cs (2)
68ArgumentNullException.ThrowIfNull(parent); 398ArgumentNullException.ThrowIfNull(unevaluatedValue);
Construction\ProjectItemGroupElement.cs (1)
42ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectMetadataElement.cs (2)
36ArgumentNullException.ThrowIfNull(parent); 94ArgumentNullException.ThrowIfNull(value);
Construction\ProjectOnErrorElement.cs (1)
33ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectOtherwiseElement.cs (1)
34ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectOutputElement.cs (1)
34ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectPropertyElement.cs (2)
43ArgumentNullException.ThrowIfNull(parent); 73ArgumentNullException.ThrowIfNull(value);
Construction\ProjectPropertyGroupElement.cs (3)
34ArgumentNullException.ThrowIfNull(parent); 62ArgumentNullException.ThrowIfNull(unevaluatedValue); 79ArgumentNullException.ThrowIfNull(unevaluatedValue);
Construction\ProjectRootElement.cs (13)
174ArgumentNullException.ThrowIfNull(xmlReader); 175ArgumentNullException.ThrowIfNull(projectRootElementCache); 201ArgumentNullException.ThrowIfNull(projectRootElementCache); 235ArgumentNullException.ThrowIfNull(projectRootElementCache); 257ArgumentNullException.ThrowIfNull(document); 258ArgumentNullException.ThrowIfNull(projectRootElementCache); 736ArgumentNullException.ThrowIfNull(projectRootElementCache); 773ArgumentNullException.ThrowIfNull(projectCollection); 812ArgumentNullException.ThrowIfNull(projectCollection); 849ArgumentNullException.ThrowIfNull(projectCollection); 883ArgumentNullException.ThrowIfNull(projectCollection); 940ArgumentNullException.ThrowIfNull(projectCollection); 1881ArgumentNullException.ThrowIfNull(project);
Construction\ProjectSdkElement.cs (1)
32ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectTargetElement.cs (7)
44ArgumentNullException.ThrowIfNull(parent); 135ArgumentNullException.ThrowIfNull(value, XMakeAttributes.inputs); 155ArgumentNullException.ThrowIfNull(value, XMakeAttributes.outputs); 183ArgumentNullException.ThrowIfNull(value, XMakeAttributes.keepDuplicateOutputs); 203ArgumentNullException.ThrowIfNull(value, XMakeAttributes.dependsOnTargets); 223ArgumentNullException.ThrowIfNull(value, XMakeAttributes.beforeTargets); 243ArgumentNullException.ThrowIfNull(value, XMakeAttributes.afterTargets);
Construction\ProjectTaskElement.cs (2)
49ArgumentNullException.ThrowIfNull(parent); 326ArgumentNullException.ThrowIfNull(unevaluatedValue);
Construction\ProjectUsingTaskBodyElement.cs (2)
37ArgumentNullException.ThrowIfNull(parent); 75ArgumentNullException.ThrowIfNull(value, nameof(TaskBody));
Construction\ProjectUsingTaskElement.cs (1)
34ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectUsingTaskParameterElement.cs (1)
34ArgumentNullException.ThrowIfNull(parent);
Construction\ProjectWhenElement.cs (1)
35ArgumentNullException.ThrowIfNull(parent);
Construction\UsingTaskParameterGroupElement.cs (1)
35ArgumentNullException.ThrowIfNull(parent);
Definition\Project.cs (28)
105ArgumentNullException.ThrowIfNull(projectCollection); 106ArgumentNullException.ThrowIfNull(link); 261ArgumentNullException.ThrowIfNull(xml); 263ArgumentNullException.ThrowIfNull(projectCollection); 355ArgumentNullException.ThrowIfNull(xmlReader); 357ArgumentNullException.ThrowIfNull(projectCollection); 451ArgumentNullException.ThrowIfNull(projectFile); 453ArgumentNullException.ThrowIfNull(projectCollection); 549ArgumentNullException.ThrowIfNull(options); 865ArgumentNullException.ThrowIfNull(item); 875ArgumentNullException.ThrowIfNull(item); 1092ArgumentNullException.ThrowIfNull(metadatum); 1103ArgumentNullException.ThrowIfNull(item); 1113ArgumentNullException.ThrowIfNull(item); 1124ArgumentNullException.ThrowIfNull(property); 1905ArgumentNullException.ThrowIfNull(xml); 1907ArgumentNullException.ThrowIfNull(owner); 1929ArgumentNullException.ThrowIfNull(xmlReader); 1931ArgumentNullException.ThrowIfNull(owner); 1964ArgumentNullException.ThrowIfNull(projectFile); 1966ArgumentNullException.ThrowIfNull(owner); 2808ArgumentNullException.ThrowIfNull(unevaluatedValue); 3035ArgumentNullException.ThrowIfNull(property); 3097ArgumentNullException.ThrowIfNull(item); 3117ArgumentNullException.ThrowIfNull(items); 3140ArgumentNullException.ThrowIfNull(unexpandedValue); 3517ArgumentNullException.ThrowIfNull(item); 4331ArgumentNullException.ThrowIfNull(value);
Definition\ProjectCollection.cs (4)
1152ArgumentNullException.ThrowIfNull(toolset); 1538ArgumentNullException.ThrowIfNull(projectRootElement); 1688ArgumentNullException.ThrowIfNull(projectRootElement); 1827ArgumentNullException.ThrowIfNull(logger);
Definition\ProjectImportPathMatch.cs (2)
32ArgumentNullException.ThrowIfNull(propertyName); 33ArgumentNullException.ThrowIfNull(searchPaths);
Definition\ProjectItem.cs (3)
131ArgumentNullException.ThrowIfNull(xml); 134ArgumentNullException.ThrowIfNull(evaluatedIncludeEscaped); 135ArgumentNullException.ThrowIfNull(evaluatedIncludeBeforeWildcardExpansionEscaped);
Definition\ProjectMetadata.cs (6)
60ArgumentNullException.ThrowIfNull(parent); 61ArgumentNullException.ThrowIfNull(xml); 73ArgumentNullException.ThrowIfNull(parent); 74ArgumentNullException.ThrowIfNull(xml); 75ArgumentNullException.ThrowIfNull(evaluatedValueEscaped); 134ArgumentNullException.ThrowIfNull(value);
Definition\ProjectProperty.cs (5)
43ArgumentNullException.ThrowIfNull(project); 52ArgumentNullException.ThrowIfNull(project); 53ArgumentNullException.ThrowIfNull(evaluatedValueEscaped); 362ArgumentNullException.ThrowIfNull(xml); 507ArgumentNullException.ThrowIfNull(predecessor);
Definition\Toolset.cs (2)
219ArgumentNullException.ThrowIfNull(environmentProperties); 220ArgumentNullException.ThrowIfNull(globalProperties);
Definition\ToolsetConfigurationReader.cs (1)
71ArgumentNullException.ThrowIfNull(readApplicationConfiguration);
Definition\ToolsetPropertyDefinition.cs (2)
40ArgumentNullException.ThrowIfNull(source); 43ArgumentNullException.ThrowIfNull(value);
Definition\ToolsetReader.cs (1)
358ArgumentNullException.ThrowIfNull(toolsets, paramName: "Toolsets");
Errors\InvalidProjectFileException.cs (1)
218ArgumentNullException.ThrowIfNull(projectFile);
Errors\InvalidToolsetDefinitionException.cs (2)
64ArgumentNullException.ThrowIfNull(info); 106ArgumentNullException.ThrowIfNull(info);
Evaluation\ConditionEvaluator.cs (7)
227ArgumentNullException.ThrowIfNull(condition); 228ArgumentNullException.ThrowIfNull(expander); 238ArgumentNullException.ThrowIfNull(elementLocation); 436ArgumentNullException.ThrowIfNull(condition); 437ArgumentNullException.ThrowIfNull(expander); 438ArgumentNullException.ThrowIfNull(evaluationDirectory); 439ArgumentNullException.ThrowIfNull(elementLocation);
Evaluation\ParserIgnoreConfiguration.cs (2)
173ArgumentNullException.ThrowIfNull(left); 174ArgumentNullException.ThrowIfNull(right);
Evaluation\ProjectChangedEventArgs.cs (1)
19ArgumentNullException.ThrowIfNull(project);
Evaluation\ProjectRootElementCache.cs (1)
526ArgumentNullException.ThrowIfNull(projectRootElement);
Evaluation\ProjectXmlChangedEventArgs.cs (1)
36ArgumentNullException.ThrowIfNull(projectXml);
Evaluation\SimpleProjectRootElementCache.cs (1)
121ArgumentNullException.ThrowIfNull(projectRootElement);
Globbing\CompositeGlob.cs (1)
85ArgumentNullException.ThrowIfNull(globs);
Globbing\MSBuildGlob.cs (4)
96ArgumentNullException.ThrowIfNull(stringToMatch); 120ArgumentNullException.ThrowIfNull(stringToMatch); 173ArgumentNullException.ThrowIfNull(globRoot); 174ArgumentNullException.ThrowIfNull(fileSpec);
Globbing\MSBuildGlobWithGaps.cs (4)
42ArgumentNullException.ThrowIfNull(mainGlob); 43ArgumentNullException.ThrowIfNull(gaps); 56ArgumentNullException.ThrowIfNull(mainGlob); 57ArgumentNullException.ThrowIfNull(gaps);
Graph\GraphBuildRequestData.cs (3)
59ArgumentNullException.ThrowIfNull(projectGraph); 153ArgumentNullException.ThrowIfNull(projectGraphEntryPoints); 161ArgumentNullException.ThrowIfNull(projectGraphEntryPoints);
Graph\ProjectGraph.cs (3)
445ArgumentNullException.ThrowIfNull(options.ProjectCollection, nameof(options.ProjectCollection)); 446ArgumentNullException.ThrowIfNull(options.EntryPoints, nameof(options.EntryPoints)); 530ArgumentNullException.ThrowIfNull(nodeIdProvider);
Graph\ProjectInterpretation.cs (1)
424ArgumentNullException.ThrowIfNull(requesterGlobalProperties);
Instance\HostServices.cs (10)
69ArgumentNullException.ThrowIfNull(projectFile); 70ArgumentNullException.ThrowIfNull(targetName); 71ArgumentNullException.ThrowIfNull(taskName); 133ArgumentNullException.ThrowIfNull(projectFile); 134ArgumentNullException.ThrowIfNull(targetName); 135ArgumentNullException.ThrowIfNull(taskName); 166ArgumentNullException.ThrowIfNull(projectFile); 167ArgumentNullException.ThrowIfNull(targetName); 168ArgumentNullException.ThrowIfNull(taskName); 169ArgumentNullException.ThrowIfNull(monikerName);
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
25ArgumentNullException.ThrowIfNull(getInstance);
Instance\ProjectInstance.cs (14)
660ArgumentNullException.ThrowIfNull(buildParameters); 674ArgumentNullException.ThrowIfNull(xml); 676ArgumentNullException.ThrowIfNull(buildParameters); 1450ArgumentNullException.ThrowIfNull(value); 1757ArgumentNullException.ThrowIfNull(item); 1767ArgumentNullException.ThrowIfNull(item); 1777ArgumentNullException.ThrowIfNull(metadatum); 1788ArgumentNullException.ThrowIfNull(item); 1798ArgumentNullException.ThrowIfNull(item); 1809ArgumentNullException.ThrowIfNull(property); 2699ArgumentNullException.ThrowIfNull(globalPropertiesInstances); 2701ArgumentNullException.ThrowIfNull(buildParameters); 3258ArgumentNullException.ThrowIfNull(xml); 3260ArgumentNullException.ThrowIfNull(buildParameters);
Instance\ProjectItemDefinitionInstance.cs (1)
45ArgumentNullException.ThrowIfNull(itemType);
Instance\ProjectItemInstance.cs (3)
737ArgumentNullException.ThrowIfNull(projectToUse, "project"); 936ArgumentNullException.ThrowIfNull(value, "ItemSpec"); 1516ArgumentNullException.ThrowIfNull(destinationItem);
Instance\ProjectPropertyInstance.cs (2)
77ArgumentNullException.ThrowIfNull(value); 325ArgumentNullException.ThrowIfNull(escapedValue);
Instance\ProjectTaskInstance.cs (2)
164ArgumentNullException.ThrowIfNull(condition); 165ArgumentNullException.ThrowIfNull(continueOnError);
Instance\TaskFactories\AssemblyTaskFactory.cs (4)
195ArgumentNullException.ThrowIfNull(task); 248ArgumentNullException.ThrowIfNull(loadInfo); 287catch (ArgumentNullException e) 484catch (ArgumentNullException e)
Instance\TaskFactoryEngineContext.cs (5)
73ArgumentNullException.ThrowIfNull(loggingContext); 200ArgumentNullException.ThrowIfNull(e); 221ArgumentNullException.ThrowIfNull(e); 242ArgumentNullException.ThrowIfNull(e); 263ArgumentNullException.ThrowIfNull(e);
Instance\TaskFactoryWrapper.cs (5)
94ArgumentNullException.ThrowIfNull(taskFactory); 204ArgumentNullException.ThrowIfNull(task); 205ArgumentNullException.ThrowIfNull(property); 224ArgumentNullException.ThrowIfNull(task); 225ArgumentNullException.ThrowIfNull(property);
Instance\TaskRegistry.cs (3)
1147ArgumentNullException.ThrowIfNull(assemblyLoadInfo, "AssemblyLoadInfo"); 1682ArgumentNullException.ThrowIfNull(projectUsingTaskXml); 1683ArgumentNullException.ThrowIfNull(expander);
Logging\BaseConsoleLogger.cs (1)
966ArgumentNullException.ThrowIfNull(parameterName);
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (2)
109ArgumentNullException.ThrowIfNull(parameterName); 206ArgumentNullException.ThrowIfNull(eventSource);
Logging\DistributedLoggers\DistributedFileLogger.cs (1)
97ArgumentNullException.ThrowIfNull(eventSource);
Logging\FileLogger.cs (1)
58ArgumentNullException.ThrowIfNull(eventSource);
Logging\ParallelLogger\ParallelConsoleLogger.cs (11)
532ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 533ArgumentNullException.ThrowIfNull(e.ParentProjectBuildEventContext, "ParentProjectBuildEventContext"); 672ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 863ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 884ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 956ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 997ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 1047ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 1093ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 1150ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext"); 1584ArgumentNullException.ThrowIfNull(e.BuildEventContext, "BuildEventContext");
Logging\ReusableLogger.cs (2)
136ArgumentNullException.ThrowIfNull(originalLogger); 384ArgumentNullException.ThrowIfNull(newEventSource);
Logging\TerminalLogger\TerminalLogger.cs (1)
489ArgumentNullException.ThrowIfNull(parameterName);
src\5057ed6cf5d6323b\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\9f0d3f3da306d8cf\ImmutableArrayExtensions.cs (2)
38/// <exception cref="ArgumentNullException">If items is null (default)</exception> 39/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\msbuild\src\Shared\BuildEventFileInfo.cs (1)
100ArgumentNullException.ThrowIfNull(file);
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (2)
191ArgumentNullException.ThrowIfNull(factory); 353ArgumentNullException.ThrowIfNull(packet);
src\msbuild\src\Shared\StringExtensions.cs (2)
18ArgumentNullException.ThrowIfNull(aString); 19ArgumentNullException.ThrowIfNull(oldValue);
src\msbuild\src\Shared\TaskLoggingHelper.cs (57)
53ArgumentNullException.ThrowIfNull(taskInstance); 63ArgumentNullException.ThrowIfNull(buildEngine); 179/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 182ArgumentNullException.ThrowIfNull(message); 205/// <exception cref="ArgumentNullException">Thrown when <c>resourceName</c> is null.</exception> 210ArgumentNullException.ThrowIfNull(resourceName); 227/// <exception cref="ArgumentNullException">Thrown when <c>unformatted</c> is null.</exception> 230ArgumentNullException.ThrowIfNull(unformatted); 273/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 295/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 299ArgumentNullException.ThrowIfNull(message); 354/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 369ArgumentNullException.ThrowIfNull(message); 417/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 431ArgumentNullException.ThrowIfNull(message); 465/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 490/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 495ArgumentNullException.ThrowIfNull(messageResourceName); 520ArgumentNullException.ThrowIfNull(filePath); 521ArgumentNullException.ThrowIfNull(content); 611ArgumentNullException.ThrowIfNull(commandLine); 641/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 661/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 692/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 707ArgumentNullException.ThrowIfNull(message); 749/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 769/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 784ArgumentNullException.ThrowIfNull(messageResourceName); 830/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 855/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 868ArgumentNullException.ThrowIfNull(messageResourceName); 909/// <exception cref="ArgumentNullException">Thrown when <c>e</c> is null.</exception> 921/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 936/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 941ArgumentNullException.ThrowIfNull(exception); 969/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 989/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 1020/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 1035ArgumentNullException.ThrowIfNull(message); 1096/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1116/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1131ArgumentNullException.ThrowIfNull(messageResourceName); 1177/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1202/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1215ArgumentNullException.ThrowIfNull(messageResourceName); 1255/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 1267/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 1272ArgumentNullException.ThrowIfNull(exception); 1295/// <exception cref="ArgumentNullException">Thrown when <c>filename</c> is null.</exception> 1309/// <exception cref="ArgumentNullException">Thrown when <c>filename</c> is null.</exception> 1314ArgumentNullException.ThrowIfNull(fileName); 1336/// <exception cref="ArgumentNullException">Thrown when <c>stream</c> is null.</exception> 1341ArgumentNullException.ThrowIfNull(stream); 1364/// <exception cref="ArgumentNullException">Thrown when <c>lineOfText</c> is null.</exception> 1369ArgumentNullException.ThrowIfNull(lineOfText); 1569ArgumentNullException.ThrowIfNull(exception); 1570ArgumentNullException.ThrowIfNull(messageResourceName);
src\msbuild\src\Shared\TaskLoggingHelperExtension.cs (2)
88/// <exception cref="ArgumentNullException">Thrown when <c>resourceName</c> is null.</exception> 93ArgumentNullException.ThrowIfNull(resourceName);
src\msbuild\src\Shared\TaskParameter.cs (3)
767ArgumentNullException.ThrowIfNull(metadataName); 790ArgumentNullException.ThrowIfNull(destinationItem); 873ArgumentNullException.ThrowIfNull(metadataName);
src\msbuild\src\Shared\TypeLoader.cs (3)
444ArgumentNullException.ThrowIfNull(desiredInterface); 445ArgumentNullException.ThrowIfNull(loadInfo); 479ArgumentNullException.ThrowIfNull(typeName);
Utilities\AwaitExtensions.cs (3)
58ArgumentNullException.ThrowIfNull(handle); 69ArgumentNullException.ThrowIfNull(handles, "handle"); 98ArgumentNullException.ThrowIfNull(handles, "handle");
Microsoft.Build.Framework (53)
Collections\ReadOnlyCollection.cs (2)
131ArgumentNullException.ThrowIfNull(array); 186ArgumentNullException.ThrowIfNull(array);
Collections\RefArrayBuilder.cs (24)
382/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 386ArgumentNullException.ThrowIfNull(predicate); 408/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 412ArgumentNullException.ThrowIfNull(predicate); 432/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 436ArgumentNullException.ThrowIfNull(predicate); 458/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 462ArgumentNullException.ThrowIfNull(predicate); 498/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 520/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 564/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 577/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 594/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 609/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 640/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 662/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 706/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 719/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 736/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 751/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 773ArgumentNullException.ThrowIfNull(predicate); 790ArgumentNullException.ThrowIfNull(predicate); 819ArgumentNullException.ThrowIfNull(predicate); 837ArgumentNullException.ThrowIfNull(predicate);
ErrorUtilities.cs (4)
41/// <exception cref="ArgumentNullException">If <paramref name="collection"/> is null.</exception> 54ArgumentNullException.ThrowIfNull(collection, collectionParamName); 98/// Throws an <see cref="ArgumentNullException"/> if the given string parameter is null, 105ArgumentNullException.ThrowIfNull(parameter, parameterName);
ExceptionHandling.cs (2)
85|| (e is ArgumentException && !(e is ArgumentNullException)) 196|| e is ArgumentNullException
FileUtilities.cs (3)
1338ArgumentNullException.ThrowIfNull(basePath); 1469ArgumentNullException.ThrowIfNull(root); 1470ArgumentNullException.ThrowIfNull(paths);
Globbing\MSBuildPathMatcher.cs (2)
78ArgumentNullException.ThrowIfNull(wildcardDirectoryPart); 79ArgumentNullException.ThrowIfNull(filePattern);
ReflectableTaskPropertyInfo.cs (1)
41ArgumentNullException.ThrowIfNull(taskType);
Sdk\SdkResolver.cs (1)
75/// <exception cref="ArgumentNullException"><paramref name="resolver"/> is <see langword="null"/>.</exception>
TaskClassRegistry.cs (2)
82ArgumentNullException.ThrowIfNull(factory); 105ArgumentNullException.ThrowIfNull(factory);
TaskEnvironment.cs (1)
53/// <exception cref="ArgumentNullException"><paramref name="projectDirectory"/> is <see langword="null"/>.</exception>
TaskItem_T.cs (1)
47/// <exception cref="ArgumentNullException">Thrown if <paramref name="item"/> is null.</exception>
Utilities\ArgumentExceptionExtensions.cs (2)
25/// <exception cref="ArgumentNullException"> 33ArgumentNullException.ThrowIfNull(argument, paramName);
Utilities\EventArgsFormatting.cs (5)
72ArgumentNullException.ThrowIfNull(e); 89ArgumentNullException.ThrowIfNull(e); 105ArgumentNullException.ThrowIfNull(e); 122ArgumentNullException.ThrowIfNull(e); 151ArgumentNullException.ThrowIfNull(e);
Utilities\FileMatcher.cs (1)
1839ArgumentNullException.ThrowIfNull(pattern);
Utilities\FrameworkLocationHelper.cs (2)
1033ArgumentNullException.ThrowIfNull(targetFrameworkRootPath); 1034ArgumentNullException.ThrowIfNull(frameworkName);
Microsoft.Build.NuGetSdkResolver (1)
NuGetSdkLogger.cs (1)
39/// <exception cref="ArgumentNullException"><paramref name="sdkLogger" /> is <see langword="null" />.</exception>
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Core\MSBuildTask\Utilities.cs (1)
148(e is ArgumentException && !(e is ArgumentNullException)) ||
Microsoft.Build.Tasks.Core (47)
AssemblyDependency\AssemblyInformation.cs (1)
84ArgumentNullException.ThrowIfNull(sourceFile);
AssemblyDependency\ResolveAssemblyReference.cs (7)
359ArgumentNullException.ThrowIfNull(value, "TargetFrameworkSubsets"); 521ArgumentNullException.ThrowIfNull(value, "InstalledAssemblySubsetTables"); 552ArgumentNullException.ThrowIfNull(value, "FullFrameworkAssemblyTables"); 934ArgumentNullException.ThrowIfNull(value, "FullTargetFrameworkSubsetNames"); 952ArgumentNullException.ThrowIfNull(value, "profileName"); 971ArgumentNullException.ThrowIfNull(value, "FullFrameworkFolders"); 1930ArgumentNullException.ThrowIfNull(reference);
CombinePath.cs (1)
37ArgumentNullException.ThrowIfNull(_paths, nameof(Paths));
ConvertToAbsolutePath.cs (1)
30ArgumentNullException.ThrowIfNull(_paths, nameof(Paths));
CreateManifestResourceName.cs (4)
56ArgumentNullException.ThrowIfNull(_resourceFiles, nameof(ResourceFiles)); 314ArgumentNullException.ThrowIfNull(subName); 352ArgumentNullException.ThrowIfNull(name); 384ArgumentNullException.ThrowIfNull(name);
Delete.cs (1)
32ArgumentNullException.ThrowIfNull(_files, nameof(Files));
FindAppConfigFile.cs (2)
40ArgumentNullException.ThrowIfNull(_primaryList, nameof(PrimaryList)); 54ArgumentNullException.ThrowIfNull(_secondaryList, nameof(SecondaryList));
FindInList.cs (1)
30ArgumentNullException.ThrowIfNull(_list, nameof(List));
GetAssemblyIdentity.cs (1)
38ArgumentNullException.ThrowIfNull(_assemblyFiles, nameof(AssemblyFiles));
GetInstalledSDKLocations.cs (2)
75ArgumentNullException.ThrowIfNull(value, nameof(TargetPlatformVersion)); 90ArgumentNullException.ThrowIfNull(value, nameof(TargetPlatformIdentifier));
GetSDKReferenceFiles.cs (3)
97ArgumentNullException.ThrowIfNull(value, nameof(CacheFileFolderPath)); 111ArgumentNullException.ThrowIfNull(value, nameof(ResolvedSDKReferences)); 126ArgumentNullException.ThrowIfNull(value, nameof(ReferenceExtensions));
MakeDir.cs (1)
24ArgumentNullException.ThrowIfNull(_directories, nameof(Directories));
ManifestUtil\Util.cs (1)
341catch (ArgumentNullException)
RedistList.cs (4)
295ArgumentNullException.ThrowIfNull(frameworkDirectory); 433ArgumentNullException.ThrowIfNull(assemblyName); 1054ArgumentNullException.ThrowIfNull(subsetToSearchFor); 1078ArgumentNullException.ThrowIfNull(frameworkDirectory);
RemoveDir.cs (1)
34ArgumentNullException.ThrowIfNull(_directories, nameof(Directories));
ResolveProjectBase.cs (1)
33ArgumentNullException.ThrowIfNull(_projectReferences, nameof(ProjectReferences));
ResolveSDKReference.cs (3)
128ArgumentNullException.ThrowIfNull(value, nameof(SDKReferences)); 144ArgumentNullException.ThrowIfNull(value, nameof(InstalledSDKs)); 733ArgumentNullException.ThrowIfNull(taskItem);
src\msbuild\src\Shared\AssemblyFolders\AssemblyFoldersFromConfig.cs (2)
31ArgumentNullException.ThrowIfNull(configFile); 32ArgumentNullException.ThrowIfNull(targetRuntimeVersion);
src\msbuild\src\Shared\ExtensionFoldersRegistryKey.cs (2)
19ArgumentNullException.ThrowIfNull(registryKey); 20ArgumentNullException.ThrowIfNull(targetFrameworkVersion);
src\msbuild\src\Shared\TaskLoggingHelperExtension.cs (2)
88/// <exception cref="ArgumentNullException">Thrown when <c>resourceName</c> is null.</exception> 93ArgumentNullException.ThrowIfNull(resourceName);
src\msbuild\src\Shared\TaskParameter.cs (3)
767ArgumentNullException.ThrowIfNull(metadataName); 790ArgumentNullException.ThrowIfNull(destinationItem); 873ArgumentNullException.ThrowIfNull(metadataName);
SystemState.cs (1)
176ArgumentNullException.ThrowIfNull(translator);
XslTransformation.cs (2)
84ArgumentNullException.ThrowIfNull(_outputPaths, "OutputPath"); 118ArgumentNullException.ThrowIfNull(_outputPaths, "OutputPath");
Microsoft.Build.Utilities.Core (114)
AssemblyFolders\AssemblyFoldersExInfo.cs (3)
21ArgumentNullException.ThrowIfNull(registryKey); 22ArgumentNullException.ThrowIfNull(directoryPath); 23ArgumentNullException.ThrowIfNull(targetFrameworkVersion);
AssemblyFolders\AssemblyFoldersFromConfigInfo.cs (2)
24ArgumentNullException.ThrowIfNull(directoryPath); 25ArgumentNullException.ThrowIfNull(targetFrameworkVersion);
CommandLineBuilder.cs (16)
250ArgumentNullException.ThrowIfNull(buffer); 407ArgumentNullException.ThrowIfNull(delimiter); 442ArgumentNullException.ThrowIfNull(delimiter); 486ArgumentNullException.ThrowIfNull(switchName); 503ArgumentNullException.ThrowIfNull(switchName); 552ArgumentNullException.ThrowIfNull(switchName); 573ArgumentNullException.ThrowIfNull(switchName); 574ArgumentNullException.ThrowIfNull(delimiter); 605ArgumentNullException.ThrowIfNull(switchName); 606ArgumentNullException.ThrowIfNull(delimiter); 643ArgumentNullException.ThrowIfNull(switchName); 664ArgumentNullException.ThrowIfNull(switchName); 684ArgumentNullException.ThrowIfNull(switchName); 685ArgumentNullException.ThrowIfNull(delimiter); 715ArgumentNullException.ThrowIfNull(switchName); 716ArgumentNullException.ThrowIfNull(delimiter);
src\msbuild\src\Shared\AssemblyFolders\AssemblyFoldersFromConfig.cs (2)
31ArgumentNullException.ThrowIfNull(configFile); 32ArgumentNullException.ThrowIfNull(targetRuntimeVersion);
src\msbuild\src\Shared\ExtensionFoldersRegistryKey.cs (2)
19ArgumentNullException.ThrowIfNull(registryKey); 20ArgumentNullException.ThrowIfNull(targetFrameworkVersion);
src\msbuild\src\Shared\TaskLoggingHelper.cs (57)
53ArgumentNullException.ThrowIfNull(taskInstance); 63ArgumentNullException.ThrowIfNull(buildEngine); 179/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 182ArgumentNullException.ThrowIfNull(message); 205/// <exception cref="ArgumentNullException">Thrown when <c>resourceName</c> is null.</exception> 210ArgumentNullException.ThrowIfNull(resourceName); 227/// <exception cref="ArgumentNullException">Thrown when <c>unformatted</c> is null.</exception> 230ArgumentNullException.ThrowIfNull(unformatted); 273/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 295/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 299ArgumentNullException.ThrowIfNull(message); 354/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 369ArgumentNullException.ThrowIfNull(message); 417/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 431ArgumentNullException.ThrowIfNull(message); 465/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 490/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 495ArgumentNullException.ThrowIfNull(messageResourceName); 520ArgumentNullException.ThrowIfNull(filePath); 521ArgumentNullException.ThrowIfNull(content); 611ArgumentNullException.ThrowIfNull(commandLine); 641/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 661/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 692/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 707ArgumentNullException.ThrowIfNull(message); 749/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 769/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 784ArgumentNullException.ThrowIfNull(messageResourceName); 830/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 855/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 868ArgumentNullException.ThrowIfNull(messageResourceName); 909/// <exception cref="ArgumentNullException">Thrown when <c>e</c> is null.</exception> 921/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 936/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 941ArgumentNullException.ThrowIfNull(exception); 969/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 989/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 1020/// <exception cref="ArgumentNullException">Thrown when <c>message</c> is null.</exception> 1035ArgumentNullException.ThrowIfNull(message); 1096/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1116/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1131ArgumentNullException.ThrowIfNull(messageResourceName); 1177/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1202/// <exception cref="ArgumentNullException">Thrown when <c>messageResourceName</c> is null.</exception> 1215ArgumentNullException.ThrowIfNull(messageResourceName); 1255/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 1267/// <exception cref="ArgumentNullException">Thrown when <c>exception</c> is null.</exception> 1272ArgumentNullException.ThrowIfNull(exception); 1295/// <exception cref="ArgumentNullException">Thrown when <c>filename</c> is null.</exception> 1309/// <exception cref="ArgumentNullException">Thrown when <c>filename</c> is null.</exception> 1314ArgumentNullException.ThrowIfNull(fileName); 1336/// <exception cref="ArgumentNullException">Thrown when <c>stream</c> is null.</exception> 1341ArgumentNullException.ThrowIfNull(stream); 1364/// <exception cref="ArgumentNullException">Thrown when <c>lineOfText</c> is null.</exception> 1369ArgumentNullException.ThrowIfNull(lineOfText); 1569ArgumentNullException.ThrowIfNull(exception); 1570ArgumentNullException.ThrowIfNull(messageResourceName);
TargetPlatformSDK.cs (2)
44ArgumentNullException.ThrowIfNull(targetPlatformIdentifier); 45ArgumentNullException.ThrowIfNull(targetPlatformVersion);
TaskItem.cs (8)
105ArgumentNullException.ThrowIfNull(itemSpec); 124ArgumentNullException.ThrowIfNull(itemMetadata); 151ArgumentNullException.ThrowIfNull(sourceItem); 240ArgumentNullException.ThrowIfNull(value, nameof(ItemSpec)); 330ArgumentNullException.ThrowIfNull(metadataName); 397ArgumentNullException.ThrowIfNull(destinationItem); 547ArgumentNullException.ThrowIfNull(taskItemToCast); 560ArgumentNullException.ThrowIfNull(metadataName);
ToolLocationHelper.cs (22)
469ArgumentNullException.ThrowIfNull(targetPlatformVersion); 527ArgumentNullException.ThrowIfNull(targetPlatformVersion); 591ArgumentNullException.ThrowIfNull(targetPlatformVersion); 1290ArgumentNullException.ThrowIfNull(targetPlatformVersion); 1339ArgumentNullException.ThrowIfNull(sdkIdentifier); 1340ArgumentNullException.ThrowIfNull(sdkVersion); 1378ArgumentNullException.ThrowIfNull(sdkIdentifier); 1379ArgumentNullException.ThrowIfNull(sdkVersion); 1562ArgumentNullException.ThrowIfNull(targetPlatformVersion); 1591ArgumentNullException.ThrowIfNull(targetPlatformVersion); 1755/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1785/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1798/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1812/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1878/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1896/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1915/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1921ArgumentNullException.ThrowIfNull(targetFrameworkProfile); 1936/// <exception cref="ArgumentNullException">When the frameworkName is null</exception> 1941ArgumentNullException.ThrowIfNull(frameworkName); 2222ArgumentNullException.ThrowIfNull(frameworkName); 2675ArgumentNullException.ThrowIfNull(platformMonikers, "PlatformMonikers");
Microsoft.CodeAnalysis (68)
CommandLine\CommandLineArguments.cs (1)
381/// <exception cref="ArgumentNullException"><paramref name="metadataResolver"/> is null.</exception>
Compilation\Compilation.cs (1)
1144/// <exception cref="ArgumentNullException">
Compilation\SourceReferenceResolver.cs (1)
44/// <exception cref="ArgumentNullException"><paramref name="resolvedPath"/> is null.</exception>
Compilation\XmlReferenceResolver.cs (1)
34/// <exception cref="ArgumentNullException"><paramref name="resolvedPath"/> is null.</exception>
Desktop\DesktopAssemblyIdentityComparer.cs (1)
51/// <exception cref="ArgumentNullException"><paramref name="input"/> is null.</exception>
Diagnostic\FileLinePositionSpan.cs (2)
49/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 60/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
DiagnosticAnalyzer\IAnalyzerAssemblyLoader.cs (2)
38/// <exception cref="ArgumentNullException"><paramref name="fullPath" /> is null.</exception> 45/// <exception cref="ArgumentNullException"><paramref name="fullPath" /> is null.</exception>
DiaSymReader\Writer\SymUnmanagedWriter.cs (7)
111/// <exception cref="ArgumentNullException"><paramref name="name"/> is null</exception> 120/// <exception cref="ArgumentNullException"><paramref name="importString"/> is null</exception> 129/// <exception cref="ArgumentNullException"><paramref name="yieldOffsets"/> or <paramref name="resumeOffsets"/> is null</exception> 144/// <exception cref="ArgumentNullException"><paramref name="metadata"/> is null</exception> 176/// <exception cref="ArgumentNullException"><paramref name="data"/> is null</exception> 185/// <exception cref="ArgumentNullException"><paramref name="data"/> is null</exception> 224/// <exception cref="ArgumentNullException"><paramref name="name"/> is null.</exception>
DiaSymReader\Writer\SymUnmanagedWriterFactory.cs (1)
29/// <exception cref="ArgumentNullException"><paramref name="metadataProvider"/>is null.</exception>
DocumentationCommentId.cs (2)
48/// <exception cref="ArgumentNullException">If <paramref name="symbol"/> is <see langword="null"/>.</exception> 74/// <exception cref="ArgumentNullException">If <paramref name="symbol"/> is <see langword="null"/>.</exception>
EmbeddedText.cs (4)
89/// <exception cref="ArgumentNullException"> 125/// <exception cref="ArgumentNullException"> 165/// <exception cref="ArgumentNullException"> 193/// <exception cref="ArgumentNullException"><paramref name="filePath"/> is null.</exception>
Emit\EditAndContinue\EmitBaseline.cs (3)
132/// <exception cref="ArgumentNullException"><paramref name="module"/> is null.</exception> 133/// <exception cref="ArgumentNullException"><paramref name="debugInformationProvider"/> is null.</exception> 134/// <exception cref="ArgumentNullException"><paramref name="localSignatureProvider"/> is null.</exception>
Emit\SemanticEdit.cs (1)
98/// <exception cref="ArgumentNullException">
FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
FileSystemExtensions.cs (1)
29/// <exception cref="ArgumentNullException">Compilation or path is null.</exception>
Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
Hashing\XxHash128.cs (3)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 62ArgumentNullException.ThrowIfNull(source);
MetadataReference\AssemblyIdentity.cs (1)
521/// <exception cref="ArgumentNullException"><paramref name="assembly"/> is null.</exception>
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
194/// <exception cref="ArgumentNullException"><paramref name="displayName"/> is null.</exception>
MetadataReference\AssemblyMetadata.cs (6)
114/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 126/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 159/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 197/// <exception cref="ArgumentNullException"><paramref name="modules"/> contains null elements.</exception> 229/// <exception cref="ArgumentNullException"><paramref name="modules"/> contains null elements.</exception> 242/// <exception cref="ArgumentNullException"><paramref name="modules"/> contains null elements.</exception>
MetadataReference\MetadataReference.cs (6)
118/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 156/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 181/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 222/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 288/// <exception cref="ArgumentNullException"><paramref name="assembly"/> is null.</exception> 315/// <exception cref="ArgumentNullException"><paramref name="assembly"/> is null.</exception>
MetadataReference\ModuleMetadata.cs (8)
69/// <exception cref="ArgumentNullException"><paramref name="metadata"/> is null.</exception> 83/// <exception cref="ArgumentNullException"><paramref name="onDispose"/> is null.</exception> 125/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 149/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 164/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 183/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 199/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 255/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
Operations\OperationExtensions.cs (1)
354/// <exception cref="ArgumentNullException"><paramref name="operation"/> is null</exception>
src\roslyn\src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (1)
676/// <exception cref="ArgumentNullException"><paramref name="import"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
Symbols\IMethodSymbol.cs (1)
189/// <exception cref="System.ArgumentNullException">If <paramref name="reducedFromTypeParameter"/> is null.</exception>
Text\SourceText.cs (4)
105/// <exception cref="ArgumentNullException"><paramref name="text"/> is null.</exception> 131/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 173/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception> 246/// <exception cref="ArgumentNullException">The <paramref name="buffer"/> is null.</exception>
Microsoft.CodeAnalysis.Analyzers (46)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (8)
34/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 212/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (6)
70/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 157/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Microsoft.CodeAnalysis.AnalyzerUtilities (45)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (8)
34/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 212/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (6)
70/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 157/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Microsoft.CodeAnalysis.CodeStyle (36)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (8)
34/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 212/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Microsoft.CodeAnalysis.CSharp (12)
Compilation\CSharpSemanticModel.cs (10)
2517/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="method"/> is null.</exception> 2544/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="accessor"/> is null.</exception> 2573/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="type"/> is null.</exception> 2599/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="statement"/> is null.</exception> 2626/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="initializer"/> is null.</exception> 2653/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="expressionBody"/> is null.</exception> 2683/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="constructorInitializer"/> is null.</exception> 2712/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="constructorInitializer"/> is null.</exception> 2742/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="crefSyntax"/> is null.</exception> 2768/// <exception cref="ArgumentNullException">Throws this exception if <paramref name="attribute"/> is null.</exception>
CSharpFileSystemExtensions.cs (1)
28/// <exception cref="ArgumentNullException">Compilation or path is null.</exception>
Symbols\MethodSymbol.cs (1)
846/// <exception cref="System.ArgumentNullException">If <paramref name="reducedFromTypeParameter"/> is null.</exception>
Microsoft.CodeAnalysis.CSharp.Scripting (4)
CSharpScript.cs (4)
32/// <exception cref="ArgumentNullException">Code is null.</exception> 48/// <exception cref="ArgumentNullException">Stream is null.</exception> 64/// <exception cref="ArgumentNullException">Code is null.</exception> 79/// <exception cref="ArgumentNullException">Stream is null.</exception>
Microsoft.CodeAnalysis.Extensions.Package (12)
Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
Microsoft.CodeAnalysis.Features (12)
Debugging\DebugInformationReaderProvider.cs (2)
126/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception> 168/// <exception cref="ArgumentNullException"><paramref name="metadataProvider"/> is null.</exception>
EditAndContinue\EditAndContinueDebugInfoReader.cs (2)
201/// <exception cref="ArgumentNullException"><paramref name="symReader"/> is null.</exception> 239/// <exception cref="ArgumentNullException"><paramref name="pdbReader"/> is null.</exception>
EditAndContinue\SourceFileSpan.cs (1)
21/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
234var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (2)
517return IsAnyThrowInvocation(statement, parameter, [nameof(ArgumentNullException), nameof(ArgumentException)], m => m is ThrowIfNullName or ThrowIfNullOrEmptyName or ThrowIfNullOrWhiteSpaceName); 955GetTypeNode(compilation, generator, typeof(ArgumentNullException)),
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
91var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
PdbSourceDocument\SourceLinkMap.cs (2)
60/// <exception cref="ArgumentNullException"><paramref name="json"/> is null.</exception> 167/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
src\roslyn\src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (1)
676/// <exception cref="ArgumentNullException"><paramref name="import"/> is null.</exception>
Microsoft.CodeAnalysis.NetAnalyzers (12)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (1)
251=> ex is FormatException or InvalidCastException or OverflowException or ArgumentNullException;
Microsoft.NetCore.Analyzers\Runtime\UseExceptionThrowHelpers.cs (1)
198args: new object[] { nameof(ArgumentNullException), "ThrowIfNull" }));
Microsoft.NetCore.Analyzers\Usage\DoNotPassNonNullableValueToArgumentNullExceptionThrowIfNull.Fixer.cs (1)
21protected const string ArgumentNullException = nameof(System.ArgumentNullException);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
111/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 148/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 185/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\WordParser.cs (6)
69/// <exception cref="ArgumentNullException"> 92/// <exception cref="ArgumentNullException"> 129/// <exception cref="ArgumentNullException"> 156/// <exception cref="ArgumentNullException"> 191/// <exception cref="ArgumentNullException"> 225/// <exception cref="ArgumentNullException">
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\TagHelperCollection_Factories.cs (2)
109/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 263/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
Microsoft.CodeAnalysis.ResxSourceGenerator (45)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (8)
34/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 212/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (6)
70/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 157/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Microsoft.CodeAnalysis.Scripting (29)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (2)
152/// <exception cref="ArgumentNullException"><paramref name="dependency"/> is null.</exception> 176/// <exception cref="ArgumentNullException"><paramref name="dependency"/> is null.</exception>
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (4)
69/// <exception cref="ArgumentNullException"><paramref name="directory"/> is null.</exception> 126/// <exception cref="ArgumentNullException"><paramref name="fullPath"/> is null.</exception> 285/// <exception cref="ArgumentNullException"><paramref name="fullPath"/> is null.</exception> 358/// <exception cref="ArgumentNullException"><paramref name="originalPath"/> is null.</exception>
Script.cs (4)
106/// <exception cref="ArgumentNullException">Stream is null.</exception> 123/// <exception cref="ArgumentNullException">Stream is null.</exception> 528/// <exception cref="ArgumentNullException"><paramref name="previousState"/> is null.</exception> 545/// <exception cref="ArgumentNullException"><paramref name="previousState"/> is null.</exception>
ScriptOptions.cs (16)
214/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 221/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 228/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 235/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 248/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 256/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 264/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 275/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 283/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 290/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 297/// <exception cref="ArgumentNullException"><paramref name="references"/> is null or contains a null reference.</exception> 322/// <exception cref="ArgumentNullException"><paramref name="imports"/> is null or contains a null reference.</exception> 329/// <exception cref="ArgumentNullException"><paramref name="imports"/> is null or contains a null reference.</exception> 336/// <exception cref="ArgumentNullException"><paramref name="imports"/> is null or contains a null reference.</exception> 343/// <exception cref="ArgumentNullException"><paramref name="imports"/> is null or contains a null reference.</exception> 350/// <exception cref="ArgumentNullException"><paramref name="imports"/> is null or contains a null reference.</exception>
ScriptState.cs (1)
82/// <exception cref="ArgumentNullException"><paramref name="name"/> is null.</exception>
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCache.cs (2)
71/// <exception cref="ArgumentNullException"><paramref name="displayName"/> is null.</exception> 88/// <exception cref="ArgumentNullException"><paramref name="displayName"/> is null.</exception>
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
795''' <exception cref="System.ArgumentNullException">If <paramref name="reducedFromTypeParameter"/> is Nothing.</exception>
Microsoft.CodeAnalysis.Workspaces (59)
CodeFixes\CodeFixContext.cs (4)
79/// <exception cref="ArgumentNullException">Throws this exception if any of the arguments is null.</exception> 111/// <exception cref="ArgumentNullException">Throws this exception if any of the arguments is null.</exception> 142/// <exception cref="ArgumentNullException">Throws this exception if any of the arguments is null.</exception> 167/// <exception cref="ArgumentNullException">Throws this exception if any of the arguments is null.</exception>
Differencing\Match.cs (1)
368/// <exception cref="ArgumentNullException"><paramref name="oldNodes"/> or <paramref name="newNodes"/> is a null reference.</exception>
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (3)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 62ArgumentNullException.ThrowIfNull(source);
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
Workspace\Solution\FileTextLoader.cs (1)
45/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
Workspace\Solution\Solution.cs (30)
599/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 600/// <exception cref="ArgumentNullException"><paramref name="documentIds"/> is <see langword="null"/>.</exception> 638/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 639/// <exception cref="ArgumentNullException"><paramref name="projectReference"/> is <see langword="null"/>.</exception> 652/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 653/// <exception cref="ArgumentNullException"><paramref name="projectReferences"/> contains <see langword="null"/>.</exception> 685/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 686/// <exception cref="ArgumentNullException"><paramref name="projectReference"/> is <see langword="null"/>.</exception> 715/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 716/// <exception cref="ArgumentNullException"><paramref name="projectReferences"/> contains <see langword="null"/>.</exception> 736/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 737/// <exception cref="ArgumentNullException"><paramref name="metadataReference"/> is <see langword="null"/>.</exception> 750/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 751/// <exception cref="ArgumentNullException"><paramref name="metadataReferences"/> contains <see langword="null"/>.</exception> 778/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 779/// <exception cref="ArgumentNullException"><paramref name="metadataReference"/> is <see langword="null"/>.</exception> 800/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 801/// <exception cref="ArgumentNullException"><paramref name="metadataReferences"/> contains <see langword="null"/>.</exception> 817/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 818/// <exception cref="ArgumentNullException"><paramref name="analyzerReference"/> is <see langword="null"/>.</exception> 830/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 831/// <exception cref="ArgumentNullException"><paramref name="analyzerReferences"/> contains <see langword="null"/>.</exception> 865/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 866/// <exception cref="ArgumentNullException"><paramref name="analyzerReference"/> is <see langword="null"/>.</exception> 894/// <exception cref="ArgumentNullException"><paramref name="projectId"/> is <see langword="null"/>.</exception> 895/// <exception cref="ArgumentNullException"><paramref name="analyzerReferences"/> contains <see langword="null"/>.</exception> 910/// <exception cref="ArgumentNullException"><paramref name="analyzerReference"/> is <see langword="null"/>.</exception> 920/// <exception cref="ArgumentNullException"><paramref name="analyzerReferences"/> contains <see langword="null"/>.</exception> 945/// <exception cref="ArgumentNullException"><paramref name="analyzerReference"/> is <see langword="null"/>.</exception> 961/// <exception cref="ArgumentNullException"><paramref name="analyzerReferences"/> contains <see langword="null"/>.</exception>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
150ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft\CSharp\RuntimeBinder\ComInterop\Helpers.cs (1)
39ArgumentNullException.ThrowIfNull(value, paramName);
Microsoft.Data.Analysis.Tests (1)
DataFrameTests.cs (1)
1617Assert.Throws<ArgumentNullException>(() => df.Melt(null, new string[] { "id", "A", "B" }));
Microsoft.Deployment.DotNet.Releases (2)
ReleaseVersion.cs (1)
549/// <exception cref="ArgumentNullException">If <paramref name="input"/> is <see langword="null"/>.</exception>
Utils.cs (1)
78/// <exception cref="ArgumentNullException"/>
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsClient\DiagnosticsClient.cs (2)
339/// <exception cref="ArgumentNullException">Thrown when <paramref name="startupHookPath"/> is null or empty.</exception> 357/// <exception cref="ArgumentNullException">Thrown when <paramref name="startupHookPath"/> is null or empty.</exception>
Microsoft.DiaSymReader (13)
Reader\SymUnmanagedReaderFactory.cs (5)
32/// <exception cref="ArgumentNullException"><paramref name="pdbStream"/>is null.</exception> 33/// <exception cref="ArgumentNullException"><paramref name="metadataImport"/>is null.</exception> 96/// <exception cref="ArgumentNullException"><paramref name="pdbStream"/>is null.</exception> 97/// <exception cref="ArgumentNullException"><paramref name="metadataProvider"/>is null.</exception> 117/// <exception cref="ArgumentNullException"><paramref name="metadataProvider"/>is null.</exception>
Writer\SymUnmanagedWriter.cs (7)
108/// <exception cref="ArgumentNullException"><paramref name="name"/> is null</exception> 117/// <exception cref="ArgumentNullException"><paramref name="importString"/> is null</exception> 126/// <exception cref="ArgumentNullException"><paramref name="yieldOffsets"/> or <paramref name="resumeOffsets"/> is null</exception> 136/// <exception cref="ArgumentNullException"><paramref name="metadata"/> is null</exception> 168/// <exception cref="ArgumentNullException"><paramref name="data"/> is null</exception> 177/// <exception cref="ArgumentNullException"><paramref name="data"/> is null</exception> 216/// <exception cref="ArgumentNullException"><paramref name="name"/> is null.</exception>
Writer\SymUnmanagedWriterFactory.cs (1)
30/// <exception cref="ArgumentNullException"><paramref name="metadataProvider"/>is null.</exception>
Microsoft.DotNet.Build.Tasks.Feed (2)
src\PushToBuildStorage.cs (2)
541/// <exception cref="ArgumentNullException"></exception> 625|| (e is ArgumentException && !(e is ArgumentNullException))
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
36/// <exception cref="ArgumentNullException"/>
Microsoft.DotNet.Cli.Utils (1)
Extensions\ProcessStartInfoExtensions.cs (1)
12ArgumentNullException.ThrowIfNull(startInfo);
Microsoft.Extensions.AI (96)
ChatCompletion\AnonymousDelegatingChatClient.cs (5)
47/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 48/// <exception cref="ArgumentNullException"><paramref name="sharedFunc"/> is <see langword="null"/>.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 74/// <exception cref="ArgumentNullException">Both <paramref name="getResponseFunc"/> and <paramref name="getStreamingResponseFunc"/> are <see langword="null"/>.</exception> 199/// <exception cref="ArgumentNullException">Both <paramref name="getResponseFunc"/> and <paramref name="getStreamingResponseFunc"/> are <see langword="null"/>.</exception>
ChatCompletion\CachingChatClient.cs (6)
159/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 180/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 181/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 192/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 193/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatClientBuilder.cs (5)
22/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 68/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception> 80/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception> 106/// <exception cref="ArgumentNullException"><paramref name="sharedFunc"/> is <see langword="null"/>.</exception> 140/// <exception cref="ArgumentNullException">Both <paramref name="getResponseFunc"/> and <paramref name="getStreamingResponseFunc"/> are <see langword="null"/>.</exception>
ChatCompletion\ChatClientBuilderChatClientExtensions.cs (1)
19/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatClientBuilderServiceCollectionExtensions.cs (8)
19/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 20/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 38/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 39/// <exception cref="ArgumentNullException"><paramref name="innerClientFactory"/> is <see langword="null"/>.</exception> 60/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 61/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 81/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 82/// <exception cref="ArgumentNullException"><paramref name="innerClientFactory"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
136/// <exception cref="ArgumentNullException"><paramref name="chatClient"/> or <paramref name="messages"/> or <paramref name="serializerOptions"/> is <see langword="null"/>.</exception>
ChatCompletion\ConfigureOptionsChatClientBuilderExtensions.cs (2)
28/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="configure"/> is <see langword="null"/>.</exception>
ChatCompletion\DistributedCachingChatClientBuilderExtensions.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ChatCompletion\FunctionInvokingChatClientBuilderExtensions.cs (1)
24/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ChatCompletion\ImageGeneratingChatClient.cs (1)
62/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> or <paramref name="imageGenerator"/> is <see langword="null"/>.</exception>
ChatCompletion\ImageGeneratingChatClientBuilderExtensions.cs (1)
24/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ChatCompletion\LoggingChatClientBuilderExtensions.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ChatRouting\OrderedFailoverChatClient.cs (1)
45/// <exception cref="ArgumentNullException"><paramref name="clients"/> is <see langword="null"/>.</exception>
ChatRouting\SemanticRoutingChatClient.cs (1)
75/// <exception cref="ArgumentNullException">
Embeddings\AnonymousDelegatingEmbeddingGenerator.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="generateFunc"/> is <see langword="null"/>.</exception>
Embeddings\ConfigureOptionsEmbeddingGeneratorBuilderExtensions.cs (2)
29/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 30/// <exception cref="ArgumentNullException"><paramref name="configure"/> is <see langword="null"/>.</exception>
Embeddings\DistributedCachingEmbeddingGenerator.cs (2)
46/// <exception cref="ArgumentNullException"><paramref name="storage"/> is <see langword="null"/>.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Embeddings\DistributedCachingEmbeddingGeneratorBuilderExtensions.cs (1)
28/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Embeddings\EmbeddingGeneratorBuilder.cs (4)
25/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="generatorFactory"/> is <see langword="null"/>.</exception> 84/// <exception cref="ArgumentNullException"><paramref name="generatorFactory"/> is <see langword="null"/>.</exception> 103/// <exception cref="ArgumentNullException"><paramref name="generateFunc"/> is <see langword="null"/>.</exception>
Embeddings\EmbeddingGeneratorBuilderEmbeddingGeneratorExtensions.cs (1)
25/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception>
Embeddings\EmbeddingGeneratorBuilderServiceCollectionExtensions.cs (8)
21/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 44/// <exception cref="ArgumentNullException"><paramref name="innerGeneratorFactory"/> is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 71/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 94/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> is <see langword="null"/>.</exception> 95/// <exception cref="ArgumentNullException"><paramref name="innerGeneratorFactory"/> is <see langword="null"/>.</exception>
Embeddings\LoggingEmbeddingGeneratorBuilderExtensions.cs (1)
25/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Files\HostedFileClientBuilder.cs (4)
23/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="innerClientFactory"/> is <see langword="null"/>.</exception> 71/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception> 82/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception>
Image\ConfigureOptionsImageGenerator.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
Image\ConfigureOptionsImageGeneratorBuilderExtensions.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
Image\ImageGeneratorBuilder.cs (4)
23/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="innerGeneratorFactory"/> is <see langword="null"/>.</exception> 67/// <exception cref="ArgumentNullException"><paramref name="generatorFactory"/> is <see langword="null"/>.</exception> 78/// <exception cref="ArgumentNullException"><paramref name="generatorFactory"/> is <see langword="null"/>.</exception>
Image\ImageGeneratorBuilderImageGeneratorExtensions.cs (1)
18/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception>
Image\ImageGeneratorBuilderServiceCollectionExtensions.cs (4)
21/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> or <paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 34/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/> or <paramref name="innerGeneratorFactory"/> is <see langword="null"/>.</exception> 55/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/>, <paramref name="serviceKey"/>, or <paramref name="innerGenerator"/> is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException"><paramref name="serviceCollection"/>, <paramref name="serviceKey"/>, or <paramref name="innerGeneratorFactory"/> is <see langword="null"/>.</exception>
Image\LoggingImageGenerator.cs (2)
41/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> or <paramref name="logger"/> is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException">The value being set is <see langword="null"/>.</exception>
Image\LoggingImageGeneratorBuilderExtensions.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Realtime\FunctionInvokingRealtimeClientBuilderExtensions.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Realtime\LoggingRealtimeClientBuilderExtensions.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Realtime\OpenTelemetryRealtimeClientBuilderExtensions.cs (1)
64/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
Realtime\RealtimeClientBuilder.cs (3)
23/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception> 69/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception> 80/// <exception cref="ArgumentNullException"><paramref name="clientFactory"/> is <see langword="null"/>.</exception>
Realtime\RealtimeClientBuilderRealtimeClientExtensions.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception>
Realtime\RealtimeClientExtensions.cs (4)
20/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 40/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 41/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 65/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception>
Realtime\RealtimeClientSessionExtensions.cs (4)
20/// <exception cref="ArgumentNullException"><paramref name="session"/> is <see langword="null"/>.</exception> 40/// <exception cref="ArgumentNullException"><paramref name="session"/> is <see langword="null"/>.</exception> 41/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 65/// <exception cref="ArgumentNullException"><paramref name="session"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.AI.Abstractions (151)
ChatCompletion\ChatClientExtensions.cs (12)
20/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 40/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 41/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 65/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 89/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 90/// <exception cref="ArgumentNullException"><paramref name="chatMessage"/> is <see langword="null"/>.</exception> 109/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 110/// <exception cref="ArgumentNullException"><paramref name="chatMessage"/> is <see langword="null"/>.</exception> 129/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 130/// <exception cref="ArgumentNullException"><paramref name="chatMessage"/> is <see langword="null"/>.</exception> 149/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 150/// <exception cref="ArgumentNullException"><paramref name="chatMessage"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatFinishReason.cs (1)
19/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatResponse.cs (1)
32/// <exception cref="ArgumentNullException"><paramref name="message"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatResponseExtensions.cs (10)
28/// <exception cref="ArgumentNullException"><paramref name="list"/> is <see langword="null"/>.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="response"/> is <see langword="null"/>.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="list"/> is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException"><paramref name="updates"/> is <see langword="null"/>.</exception> 76/// <exception cref="ArgumentNullException"><paramref name="list"/> is <see langword="null"/>.</exception> 77/// <exception cref="ArgumentNullException"><paramref name="update"/> is <see langword="null"/>.</exception> 105/// <exception cref="ArgumentNullException"><paramref name="list"/> is <see langword="null"/>.</exception> 106/// <exception cref="ArgumentNullException"><paramref name="updates"/> is <see langword="null"/>.</exception> 129/// <exception cref="ArgumentNullException"><paramref name="updates"/> is <see langword="null"/>.</exception> 157/// <exception cref="ArgumentNullException"><paramref name="updates"/> is <see langword="null"/>.</exception>
ChatCompletion\ChatResponseFormat.cs (1)
78/// <exception cref="ArgumentNullException"><paramref name="schemaType"/> is <see langword="null"/>.</exception>
ChatCompletion\DelegatingChatClient.cs (1)
26/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception>
ChatCompletion\IChatClient.cs (3)
40/// <exception cref="ArgumentNullException"><paramref name="messages"/> is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException"><paramref name="messages"/> is <see langword="null"/>.</exception> 63/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
ChatRouting\RoutingChatClient.cs (1)
41/// <exception cref="ArgumentNullException"><paramref name="clientSelector"/> is <see langword="null"/>.</exception>
Contents\DataContent.cs (6)
64/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <see langword="null"/>.</exception> 78/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <see langword="null"/>.</exception> 121/// <exception cref="ArgumentNullException"><paramref name="mediaType"/> is <see langword="null"/>.</exception> 143/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 164/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 210/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
Contents\FunctionCallContent.cs (4)
73/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception> 74/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="encodedArguments"/> is <see langword="null"/>.</exception> 76/// <exception cref="ArgumentNullException"><paramref name="argumentParser"/> is <see langword="null"/>.</exception>
Contents\HostedFileContent.cs (2)
27/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 37/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Contents\HostedVectorStoreContent.cs (2)
27/// <exception cref="ArgumentNullException"><paramref name="vectorStoreId"/> is <see langword="null"/>.</exception> 37/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Contents\InputRequestContent.cs (1)
20/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception>
Contents\InputResponseContent.cs (1)
20/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception>
Contents\McpServerToolCallContent.cs (1)
28/// <exception cref="ArgumentNullException"><paramref name="callId"/> or <paramref name="name"/> is <see langword="null"/>.</exception>
Contents\McpServerToolResultContent.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception>
Contents\ToolApprovalRequestContent.cs (2)
22/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception> 24/// <exception cref="ArgumentNullException"><paramref name="toolCall"/> is <see langword="null"/>.</exception>
Contents\ToolApprovalResponseContent.cs (2)
21/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception> 23/// <exception cref="ArgumentNullException"><paramref name="toolCall"/> is <see langword="null"/>.</exception>
Contents\ToolCallContent.cs (1)
24/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception>
Contents\ToolResultContent.cs (1)
24/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception>
Contents\UriContent.cs (2)
38/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <see langword="null"/>.</exception> 53/// <exception cref="ArgumentNullException"><paramref name="uri"/> is <see langword="null"/>.</exception>
Embeddings\BinaryEmbedding.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="vector"/> is <see langword="null"/>.</exception>
Embeddings\EmbeddingGeneratorExtensions.cs (10)
21/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 68/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 95/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 96/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 122/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 123/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 172/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 173/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception>
Embeddings\IEmbeddingGenerator.cs (1)
20/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Embeddings\IEmbeddingGenerator{TInput,TEmbedding}.cs (1)
36/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception>
Files\DelegatingHostedFileClient.cs (1)
29/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception>
Files\HostedFileClientExtensions.cs (16)
30/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="content"/> is <see langword="null"/>.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="filePath"/> is <see langword="null"/>.</exception> 88/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 89/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 91/// <exception cref="ArgumentNullException"><paramref name="destinationPath"/> is <see langword="null"/>.</exception> 147/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 148/// <exception cref="ArgumentNullException"><paramref name="hostedFile"/> is <see langword="null"/>.</exception> 175/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 176/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 202/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 217/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 233/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception> 234/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 258/// <exception cref="ArgumentNullException"><paramref name="client"/> is <see langword="null"/>.</exception>
Files\IHostedFileClient.cs (5)
42/// <exception cref="ArgumentNullException"><paramref name="content"/> is <see langword="null"/>.</exception> 60/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 74/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 98/// <exception cref="ArgumentNullException"><paramref name="fileId"/> is <see langword="null"/>.</exception> 111/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Functions\AIFunctionFactory.cs (10)
125/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception> 200/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception> 294/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception> 295/// <exception cref="ArgumentNullException"><paramref name="method"/> represents an instance method but <paramref name="target"/> is null.</exception> 379/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception> 380/// <exception cref="ArgumentNullException"><paramref name="method"/> represents an instance method but <paramref name="target"/> is null.</exception> 486/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception> 487/// <exception cref="ArgumentNullException"><paramref name="createInstanceFunc"/> is <see langword="null"/>.</exception> 504/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 1232catch (Exception e) when (e is ArgumentNullException or NullReferenceException or IndexOutOfRangeException)
Functions\AIFunctionNameAttribute.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Functions\AIParameterNameAttribute.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Functions\ApprovalRequiredAIFunction.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="innerFunction"/> is <see langword="null"/>.</exception>
Functions\DelegatingAIFunction.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="innerFunction"/> is <see langword="null"/>.</exception>
Functions\DelegatingAIFunctionDeclaration.cs (1)
20/// <exception cref="ArgumentNullException"><paramref name="innerFunction"/> is <see langword="null"/>.</exception>
Image\DelegatingImageGenerator.cs (1)
27/// <exception cref="ArgumentNullException"><paramref name="innerGenerator"/> is <see langword="null"/>.</exception>
Image\IImageGenerator.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="request"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Image\ImageGeneratorExtensions.cs (8)
24/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 44/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 45/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception> 69/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception> 94/// <exception cref="ArgumentNullException"><paramref name="generator"/> or <paramref name="prompt"/> is <see langword="null"/>.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="generator"/>, <paramref name="originalImages"/>, or <paramref name="prompt"/> is <see langword="null"/>.</exception> 140/// <exception cref="ArgumentNullException"><paramref name="generator"/>, <paramref name="originalImage"/>, or <paramref name="prompt"/> is <see langword="null"/>.</exception> 165/// <exception cref="ArgumentNullException">
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\NullabilityInfoContext\NullabilityInfoContext.cs (4)
71/// <exception cref="ArgumentNullException">If the parameterInfo parameter is null.</exception> 194/// <exception cref="ArgumentNullException">If the propertyInfo parameter is null.</exception> 244/// <exception cref="ArgumentNullException">If the eventInfo parameter is null.</exception> 257/// <exception cref="ArgumentNullException">If the fieldInfo parameter is null.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Realtime\CreateConversationItemRealtimeClientMessage.cs (2)
23/// <exception cref="ArgumentNullException"><paramref name="item"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Realtime\DelegatingRealtimeClient.cs (1)
27/// <exception cref="ArgumentNullException"><paramref name="innerClient"/> is <see langword="null"/>.</exception>
Realtime\InputAudioBufferAppendRealtimeClientMessage.cs (2)
23/// <exception cref="ArgumentNullException"><paramref name="audioContent"/> is <see langword="null"/>.</exception> 35/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Realtime\IRealtimeClient.cs (1)
27/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Realtime\IRealtimeClientSession.cs (1)
57/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Realtime\RealtimeServerMessageType.cs (1)
105/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/> or whitespace.</exception>
Realtime\RealtimeSessionKind.cs (1)
42/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/> or whitespace.</exception>
Realtime\SessionUpdateRealtimeClientMessage.cs (1)
32/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception>
SpeechToText\ISpeechToTextClient.cs (1)
56/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
TextToSpeech\ITextToSpeechClient.cs (3)
35/// <exception cref="ArgumentNullException"><paramref name="text"/> is <see langword="null"/>.</exception> 46/// <exception cref="ArgumentNullException"><paramref name="text"/> is <see langword="null"/>.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Tools\AITool.cs (1)
38/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Tools\HostedMcpServerTool.cs (4)
23/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="serverAddress"/> is <see langword="null"/>.</exception> 37/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="serverAddress"/> is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="serverAddress"/> is <see langword="null"/>.</exception> 64/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="serverAddress"/> is <see langword="null"/>.</exception>
UsageDetails.cs (1)
117/// <exception cref="ArgumentNullException"><paramref name="usage"/> is <see langword="null"/>.</exception>
Utilities\AIJsonUtilities.cs (2)
30/// <exception cref="ArgumentNullException"><paramref name="options"/> or <paramref name="typeDiscriminatorId"/> is <see langword="null"/>.</exception> 48/// <exception cref="ArgumentNullException"><paramref name="options"/>, <paramref name="contentType"/>, or <paramref name="typeDiscriminatorId"/> is <see langword="null"/>.</exception>
Utilities\AIJsonUtilities.Schema.Create.cs (1)
74/// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.AI.Abstractions.Tests (127)
ChatCompletion\ChatClientExtensionsTests.cs (8)
17Assert.Throws<ArgumentNullException>("client", () => ChatClientExtensions.GetService<object>(null!)); 23Assert.Throws<ArgumentNullException>("client", () => ChatClientExtensions.GetRequiredService(null!, typeof(string))); 24Assert.Throws<ArgumentNullException>("client", () => ChatClientExtensions.GetRequiredService<object>(null!)); 27Assert.Throws<ArgumentNullException>("serviceType", () => client.GetRequiredService(null!)); 75Assert.Throws<ArgumentNullException>("client", () => 80Assert.Throws<ArgumentNullException>("chatMessage", () => 89Assert.Throws<ArgumentNullException>("client", () => 94Assert.Throws<ArgumentNullException>("chatMessage", () =>
ChatCompletion\ChatFinishReasonTests.cs (1)
21Assert.Throws<ArgumentNullException>("value", () => new ChatFinishReason(null!));
ChatCompletion\ChatResponseFormatTests.cs (4)
93Assert.Throws<ArgumentNullException>("schemaType", () => ChatResponseFormat.ForJsonSchema(null!)); 94Assert.Throws<ArgumentNullException>("schemaType", () => ChatResponseFormat.ForJsonSchema(null!, TestJsonSerializerContext.Default.Options)); 95Assert.Throws<ArgumentNullException>("schemaType", () => ChatResponseFormat.ForJsonSchema(null!, TestJsonSerializerContext.Default.Options, "name")); 96Assert.Throws<ArgumentNullException>("schemaType", () => ChatResponseFormat.ForJsonSchema(null!, TestJsonSerializerContext.Default.Options, "name", "description"));
ChatCompletion\ChatResponseTests.cs (1)
27Assert.Throws<ArgumentNullException>("message", () => new ChatResponse((ChatMessage)null!));
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (1)
21Assert.Throws<ArgumentNullException>("updates", () => ((List<ChatResponseUpdate>)null!).ToChatResponse());
ChatCompletion\ChatRoleTests.cs (1)
21Assert.Throws<ArgumentNullException>("value", () => new ChatRole(null!));
ChatCompletion\DelegatingChatClientTests.cs (2)
17Assert.Throws<ArgumentNullException>("innerClient", () => new NoOpDelegatingChatClient(null!)); 95Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
ChatRouting\RoutingChatClientTests.cs (3)
17Assert.Throws<ArgumentNullException>(() => RoutingChatClient.Create(null!)); 102await Assert.ThrowsAsync<ArgumentNullException>(() => router.GetResponseAsync(null!)); 103await Assert.ThrowsAsync<ArgumentNullException>(
ChatRouting\RoutingContextTests.cs (1)
24Assert.Throws<ArgumentNullException>(() => new RoutingContext(null!, options));
Contents\DataContentTests.cs (4)
168Assert.Throws<ArgumentNullException>("uri", () => JsonSerializer.Deserialize<DataContent>(json, TestJsonSerializerContext.Default.Options)!); 684await Assert.ThrowsAsync<ArgumentNullException>("path", async () => await DataContent.LoadFromAsync((string)null!)); 696await Assert.ThrowsAsync<ArgumentNullException>("stream", async () => await DataContent.LoadFromAsync((Stream)null!)); 703await Assert.ThrowsAsync<ArgumentNullException>("path", async () => await content.SaveToAsync(null!));
Contents\FunctionCallContentTests.cs (4)
403Assert.Throws<ArgumentNullException>("encodedArguments", () => FunctionCallContent.CreateFromParsedArguments((string)null!, "callId", "functionName", _ => null)); 404Assert.Throws<ArgumentNullException>("callId", () => FunctionCallContent.CreateFromParsedArguments("{}", null!, "functionName", _ => null)); 405Assert.Throws<ArgumentNullException>("name", () => FunctionCallContent.CreateFromParsedArguments("{}", "callId", null!, _ => null)); 406Assert.Throws<ArgumentNullException>("argumentParser", () => FunctionCallContent.CreateFromParsedArguments("{}", "callId", "functionName", null!));
Contents\HostedFileContentTests.cs (2)
15Assert.Throws<ArgumentNullException>("fileId", () => new HostedFileContent(null!)); 45Assert.Throws<ArgumentNullException>("value", () => c.FileId = null!);
Contents\HostedVectorStoreContentTests.cs (2)
15Assert.Throws<ArgumentNullException>("vectorStoreId", () => new HostedVectorStoreContent(null!)); 38Assert.Throws<ArgumentNullException>("value", () => c.VectorStoreId = null!);
Contents\InputRequestContentTests.cs (1)
16Assert.Throws<ArgumentNullException>("requestId", () => new TestInputRequestContent(null!));
Contents\InputResponseContentTests.cs (1)
15Assert.Throws<ArgumentNullException>("requestId", () => new TestInputResponseContent(null!));
Contents\McpServerToolCallContentTests.cs (2)
58Assert.Throws<ArgumentNullException>("callId", () => new McpServerToolCallContent(null!, "name", null)); 59Assert.Throws<ArgumentNullException>("name", () => new McpServerToolCallContent("callId1", null!, null));
Contents\McpServerToolResultContentTests.cs (1)
50Assert.Throws<ArgumentNullException>("callId", () => new McpServerToolResultContent(null!));
Contents\ToolApprovalRequestContentTests.cs (2)
16Assert.Throws<ArgumentNullException>("requestId", () => new ToolApprovalRequestContent(null!, new FunctionCallContent("FCC1", "TestFunction"))); 19Assert.Throws<ArgumentNullException>("toolCall", () => new ToolApprovalRequestContent("id", null!));
Contents\ToolApprovalResponseContentTests.cs (2)
16Assert.Throws<ArgumentNullException>("requestId", () => new ToolApprovalResponseContent(null!, true, new FunctionCallContent("FCC1", "TestFunction"))); 19Assert.Throws<ArgumentNullException>("toolCall", () => new ToolApprovalResponseContent("id", true, null!));
Contents\ToolCallContentTests.cs (1)
26Assert.Throws<ArgumentNullException>("callId", () => new ToolCallContent(null!));
Contents\ToolResultContentTests.cs (1)
25Assert.Throws<ArgumentNullException>("callId", () => new ToolResultContent(null!));
Contents\UriContentTests.cs (4)
15Assert.Throws<ArgumentNullException>("uri", () => new UriContent((string)null!, "image/png")); 16Assert.Throws<ArgumentNullException>("uri", () => new UriContent((Uri)null!, "image/png")); 26Assert.Throws<ArgumentNullException>("value", () => c.Uri = null!); 42Assert.Throws<ArgumentNullException>("value", () => c.MediaType = null!);
Contents\UsageContentTests.cs (2)
15Assert.Throws<ArgumentNullException>("details", () => new UsageContent(null!)); 57Assert.Throws<ArgumentNullException>("value", () => c.Details = null!);
Embeddings\DelegatingEmbeddingGeneratorTests.cs (2)
17Assert.Throws<ArgumentNullException>("innerGenerator", () => new NoOpDelegatingEmbeddingGenerator(null!)); 56Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
Embeddings\EmbeddingGeneratorExtensionsTests.cs (6)
16Assert.Throws<ArgumentNullException>("generator", () => EmbeddingGeneratorExtensions.GetService<object>(null!)); 22Assert.Throws<ArgumentNullException>("generator", () => EmbeddingGeneratorExtensions.GetRequiredService<object>(null!)); 25Assert.Throws<ArgumentNullException>("serviceType", () => generator.GetRequiredService(null!)); 81await Assert.ThrowsAsync<ArgumentNullException>("generator", () => ((TestEmbeddingGenerator)null!).GenerateAsync("hello")); 82await Assert.ThrowsAsync<ArgumentNullException>("generator", () => ((TestEmbeddingGenerator)null!).GenerateVectorAsync("hello")); 83await Assert.ThrowsAsync<ArgumentNullException>("generator", () => ((TestEmbeddingGenerator)null!).GenerateAndZipAsync(["hello"]));
Embeddings\GeneratedEmbeddingsTests.cs (1)
20Assert.Throws<ArgumentNullException>("embeddings", () => new GeneratedEmbeddings<Embedding<float>>(null!));
Files\DelegatingHostedFileClientTests.cs (2)
20Assert.Throws<ArgumentNullException>("innerClient", () => new NoOpDelegatingHostedFileClient(null!)); 170Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
Files\HostedFileClientExtensionsTests.cs (16)
50await Assert.ThrowsAsync<ArgumentNullException>("client", () => client.UploadAsync(content)); 57await Assert.ThrowsAsync<ArgumentNullException>("content", () => client.UploadAsync((DataContent)null!)); 102await Assert.ThrowsAsync<ArgumentNullException>("client", () => client.UploadAsync("somefile.txt")); 109await Assert.ThrowsAsync<ArgumentNullException>("filePath", () => client.UploadAsync((string)null!)); 255await Assert.ThrowsAsync<ArgumentNullException>("client", () => client.DownloadToAsync("file-1", "path")); 262await Assert.ThrowsAsync<ArgumentNullException>("fileId", () => client.DownloadToAsync(null!, "path")); 269await Assert.ThrowsAsync<ArgumentNullException>("destinationPath", () => client.DownloadToAsync("file-1", null!)); 309await Assert.ThrowsAsync<ArgumentNullException>("client", () => client.DownloadAsync(content)); 316await Assert.ThrowsAsync<ArgumentNullException>("hostedFile", () => client.DownloadAsync((HostedFileContent)null!)); 382await Assert.ThrowsAsync<ArgumentNullException>("client", () => client.DownloadAsDataContentAsync("file-1")); 389await Assert.ThrowsAsync<ArgumentNullException>("fileId", () => client.DownloadAsDataContentAsync(null!)); 427Assert.Throws<ArgumentNullException>("client", () => client.GetMetadata()); 469Assert.Throws<ArgumentNullException>("client", () => client.GetService<string>()); 521Assert.Throws<ArgumentNullException>("client", () => client.GetRequiredService<string>()); 555Assert.Throws<ArgumentNullException>("client", () => client.GetRequiredService(typeof(string))); 562Assert.Throws<ArgumentNullException>("serviceType", () => client.GetRequiredService(null!));
Functions\AINameAttributesTests.cs (2)
14Assert.Throws<ArgumentNullException>("name", () => new AIFunctionNameAttribute(null!)); 21Assert.Throws<ArgumentNullException>("name", () => new AIParameterNameAttribute(null!));
Functions\ApprovalRequiredAIFunctionTests.cs (1)
15Assert.Throws<ArgumentNullException>("innerFunction", () => new ApprovalRequiredAIFunction(null!));
Functions\DelegatingAIFunctionTests.cs (1)
17Assert.Throws<ArgumentNullException>("innerFunction", () => new DerivedFunction(null!));
Image\DelegatingImageGeneratorTests.cs (2)
16Assert.Throws<ArgumentNullException>("innerGenerator", () => new NoOpDelegatingImageGenerator(null!)); 56Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
Image\ImageGeneratorExtensionsTests.cs (7)
16Assert.Throws<ArgumentNullException>("generator", () => 94await Assert.ThrowsAsync<ArgumentNullException>("generator", async () => 97await Assert.ThrowsAsync<ArgumentNullException>("originalImage", async () => 100await Assert.ThrowsAsync<ArgumentNullException>("prompt", async () => 142await Assert.ThrowsAsync<ArgumentNullException>("generator", async () => 152await Assert.ThrowsAsync<ArgumentNullException>("fileName", async () => 162await Assert.ThrowsAsync<ArgumentNullException>("prompt", async () =>
SpeechToText\DelegatingSpeechToTextClientTests.cs (2)
18Assert.Throws<ArgumentNullException>("innerClient", () => new NoOpDelegatingSpeechToTextClient(null!)); 96Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
SpeechToText\SpeechToTextClientExtensionsTests.cs (9)
17Assert.Throws<ArgumentNullException>("client", () => 29var ex1 = await Assert.ThrowsAsync<ArgumentNullException>(() => SpeechToTextClientExtensions.GetTextAsync(client!, content)); 34var ex2 = await Assert.ThrowsAsync<ArgumentNullException>(() => SpeechToTextClientExtensions.GetTextAsync(testClient, nullContent!)); 43var ex1 = await Assert.ThrowsAsync<ArgumentNullException>(() => SpeechToTextClientExtensions.GetStreamingTextAsync(client!, content).GetAsyncEnumerator().MoveNextAsync().AsTask()); 48var ex2 = await Assert.ThrowsAsync<ArgumentNullException>(() => SpeechToTextClientExtensions.GetStreamingTextAsync(testClient, nullContent!).GetAsyncEnumerator().MoveNextAsync().AsTask());
SpeechToText\SpeechToTextResponseTests.cs (2)
17Assert.Throws<ArgumentNullException>("contents", () => new SpeechToTextResponse((IList<AIContent>)null!)); 64Assert.Throws<ArgumentNullException>("contents", () => new SpeechToTextResponse((IList<AIContent>)null!));
SpeechToText\SpeechToTextResponseUpdateExtensionsTests.cs (1)
38Assert.Throws<ArgumentNullException>("updates", () => ((List<SpeechToTextResponseUpdate>)null!).ToSpeechToTextResponse());
SpeechToText\SpeechToTextResponseUpdateKindTests.cs (1)
21Assert.Throws<ArgumentNullException>("value", () => new SpeechToTextResponseUpdateKind(null!));
TextToSpeech\DelegatingTextToSpeechClientTests.cs (2)
17Assert.Throws<ArgumentNullException>("innerClient", () => new NoOpDelegatingTextToSpeechClient(null!)); 95Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!));
TextToSpeech\TextToSpeechClientExtensionsTests.cs (1)
14Assert.Throws<ArgumentNullException>("client", () =>
TextToSpeech\TextToSpeechResponseTests.cs (1)
16Assert.Throws<ArgumentNullException>("contents", () => new TextToSpeechResponse(null!));
TextToSpeech\TextToSpeechResponseUpdateExtensionsTests.cs (1)
16Assert.Throws<ArgumentNullException>("updates", () => ((List<TextToSpeechResponseUpdate>)null!).ToTextToSpeechResponse());
TextToSpeech\TextToSpeechResponseUpdateKindTests.cs (1)
21Assert.Throws<ArgumentNullException>("value", () => new TextToSpeechResponseUpdateKind(null!));
Tools\AIToolTests.cs (1)
26Assert.Throws<ArgumentNullException>("serviceType", () => tool.GetService(null!));
Tools\HostedMcpServerToolTests.cs (4)
126Assert.Throws<ArgumentNullException>("serverName", () => new HostedMcpServerTool(null!, "https://localhost/")); 127Assert.Throws<ArgumentNullException>("serverName", () => new HostedMcpServerTool(null!, new Uri("https://localhost/"))); 131Assert.Throws<ArgumentNullException>("serverAddress", () => new HostedMcpServerTool("name", (string)null!)); 132Assert.Throws<ArgumentNullException>("serverAddress", () => new HostedMcpServerTool("name", (Uri)null!));
UsageDetailsTests.cs (1)
64Assert.Throws<ArgumentNullException>("usage", () => details.Add(null!));
Utilities\AIJsonSchemaTransformCacheTests.cs (3)
15Assert.Throws<ArgumentNullException>("transformOptions", () => new AIJsonSchemaTransformCache(transformOptions: null!)); 36Assert.Throws<ArgumentNullException>("function", () => cache.GetOrCreateTransformedSchema(function: null!)); 43Assert.Throws<ArgumentNullException>("responseFormat", () => cache.GetOrCreateTransformedSchema(responseFormat: null!));
Utilities\AIJsonUtilitiesTests.cs (6)
1289Assert.Throws<ArgumentNullException>("options", () => ((JsonSerializerOptions)null!).AddAIContentType<DerivedAIContent>("discriminator")); 1290Assert.Throws<ArgumentNullException>("options", () => ((JsonSerializerOptions)null!).AddAIContentType(typeof(DerivedAIContent), "discriminator")); 1291Assert.Throws<ArgumentNullException>("typeDiscriminatorId", () => options.AddAIContentType<DerivedAIContent>(null!)); 1292Assert.Throws<ArgumentNullException>("typeDiscriminatorId", () => options.AddAIContentType(typeof(DerivedAIContent), null!)); 1293Assert.Throws<ArgumentNullException>("contentType", () => options.AddAIContentType(null!, "discriminator")); 1870Assert.Throws<ArgumentNullException>("transformOptions", () => AIJsonUtilities.TransformSchema(schema, transformOptions: null!));
Microsoft.Extensions.AI.Evaluation (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.Console (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.NLP (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.Quality (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.Reporting (7)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.Evaluation.Safety (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.OpenAI (47)
MicrosoftExtensionsAIAssistantsExtensions.cs (1)
19/// <exception cref="ArgumentNullException"><paramref name="function"/> is <see langword="null"/>.</exception>
MicrosoftExtensionsAIChatExtensions.cs (6)
27/// <exception cref="ArgumentNullException"><paramref name="function"/> is <see langword="null"/>.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="response"/> is <see langword="null"/>.</exception> 133/// <exception cref="ArgumentNullException"><paramref name="responseUpdates"/> is <see langword="null"/>.</exception> 178/// <exception cref="ArgumentNullException"><paramref name="messages"/> is <see langword="null"/>.</exception> 260/// <exception cref="ArgumentNullException"><paramref name="chatCompletion"/> is <see langword="null"/>.</exception> 273/// <exception cref="ArgumentNullException"><paramref name="chatCompletionUpdates"/> is <see langword="null"/>.</exception>
MicrosoftExtensionsAIRealtimeExtensions.cs (1)
19/// <exception cref="ArgumentNullException"><paramref name="function"/> is <see langword="null"/>.</exception>
MicrosoftExtensionsAIResponsesExtensions.cs (6)
23/// <exception cref="ArgumentNullException"><paramref name="function"/> is <see langword="null"/>.</exception> 30/// <exception cref="ArgumentNullException"><paramref name="tool"/> is <see langword="null"/>.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="messages"/> is <see langword="null"/>.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="items"/> is <see langword="null"/>.</exception> 66/// <exception cref="ArgumentNullException"><paramref name="response"/> is <see langword="null"/>.</exception> 78/// <exception cref="ArgumentNullException"><paramref name="responseUpdates"/> is <see langword="null"/>.</exception>
OpenAIChatClient.cs (1)
64/// <exception cref="ArgumentNullException"><paramref name="chatClient"/> is <see langword="null"/>.</exception>
OpenAIClientExtensions.cs (17)
119/// <exception cref="ArgumentNullException"><paramref name="chatClient"/> is <see langword="null"/>.</exception> 127/// <exception cref="ArgumentNullException"><paramref name="responseClient"/> is <see langword="null"/>.</exception> 141/// <exception cref="ArgumentNullException"><paramref name="assistantClient"/> is <see langword="null"/>.</exception> 142/// <exception cref="ArgumentNullException"><paramref name="assistantId"/> is <see langword="null"/>.</exception> 157/// <exception cref="ArgumentNullException"><paramref name="assistantClient"/> is <see langword="null"/>.</exception> 158/// <exception cref="ArgumentNullException"><paramref name="assistant"/> is <see langword="null"/>.</exception> 166/// <exception cref="ArgumentNullException"><paramref name="audioClient"/> is <see langword="null"/>.</exception> 174/// <exception cref="ArgumentNullException"><paramref name="audioClient"/> is <see langword="null"/>.</exception> 182/// <exception cref="ArgumentNullException"><paramref name="imageClient"/> is <see langword="null"/>.</exception> 191/// <exception cref="ArgumentNullException"><paramref name="embeddingClient"/> is <see langword="null"/>.</exception> 198/// <exception cref="ArgumentNullException"><paramref name="openAIClient"/> is <see langword="null"/>.</exception> 211/// <exception cref="ArgumentNullException"><paramref name="fileClient"/> is <see langword="null"/>.</exception> 228/// <exception cref="ArgumentNullException"><paramref name="containerClient"/> is <see langword="null"/>.</exception> 262/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception> 263/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 275/// <exception cref="ArgumentNullException"><paramref name="callId"/> is <see langword="null"/>.</exception> 276/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
OpenAIEmbeddingGenerator.cs (1)
50/// <exception cref="ArgumentNullException"><paramref name="embeddingClient"/> is <see langword="null"/>.</exception>
OpenAIImageGenerator.cs (1)
33/// <exception cref="ArgumentNullException"><paramref name="imageClient"/> is <see langword="null"/>.</exception>
OpenAIRealtimeClient.cs (4)
33/// <exception cref="ArgumentNullException"><paramref name="apiKey"/> is <see langword="null"/>.</exception> 34/// <exception cref="ArgumentNullException"><paramref name="model"/> is <see langword="null"/>.</exception> 45/// <exception cref="ArgumentNullException"><paramref name="realtimeClient"/> is <see langword="null"/>.</exception> 46/// <exception cref="ArgumentNullException"><paramref name="model"/> is <see langword="null"/>.</exception>
OpenAIRequestPolicies.cs (1)
58/// <exception cref="ArgumentNullException"><paramref name="policy"/> is <see langword="null"/>.</exception>
OpenAIResponsesChatClient.cs (1)
75/// <exception cref="ArgumentNullException"><paramref name="responseClient"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AI.OpenAI.Tests (39)
OpenAIAssistantChatClientTests.cs (3)
23Assert.Throws<ArgumentNullException>("assistantClient", () => ((AssistantClient)null!).AsIChatClient("assistantId")); 24Assert.Throws<ArgumentNullException>("assistantId", () => new AssistantClient("ignored").AsIChatClient((string)null!)); 25Assert.Throws<ArgumentNullException>("assistant", () => new AssistantClient("ignored").AsIChatClient((Assistant)null!));
OpenAIChatClientTests.cs (1)
29Assert.Throws<ArgumentNullException>("chatClient", () => ((ChatClient)null!).AsIChatClient());
OpenAIConversionTests.cs (15)
677Assert.Throws<ArgumentNullException>("tool", () => ((AITool)null!).AsOpenAIResponseTool()); 722Assert.Throws<ArgumentNullException>("messages", () => ((IEnumerable<ChatMessage>)null!).AsOpenAIChatMessages()); 791Assert.Throws<ArgumentNullException>("messages", () => ((IEnumerable<ChatMessage>)null!).AsOpenAIResponseItems()); 883Assert.Throws<ArgumentNullException>("chatCompletion", () => ((ChatCompletion)null!).AsChatResponse()); 916Assert.Throws<ArgumentNullException>("chatCompletionUpdates", () => ((IAsyncEnumerable<StreamingChatCompletionUpdate>)null!).AsChatResponseUpdatesAsync()); 962Assert.Throws<ArgumentNullException>("response", () => ((ResponseResult)null!).AsChatResponse()); 979Assert.Throws<ArgumentNullException>("responseUpdates", () => ((IAsyncEnumerable<StreamingResponseUpdate>)null!).AsChatResponseUpdatesAsync()); 1160Assert.Throws<ArgumentNullException>("messages", () => ((IEnumerable<OpenAI.Chat.ChatMessage>)null!).AsChatMessages().ToArray()); 1183Assert.Throws<ArgumentNullException>("items", () => ((IEnumerable<ResponseItem>)null!).AsChatMessages()); 1513Assert.Throws<ArgumentNullException>("response", () => ((ChatResponse)null!).AsOpenAIChatCompletion()); 1666await Assert.ThrowsAsync<ArgumentNullException>(async () => await asyncEnumerable.GetAsyncEnumerator().MoveNextAsync()); 1975Assert.Throws<ArgumentNullException>("response", () => ((ChatResponse)null!).AsOpenAIResponseResult()); 2232Assert.Throws<ArgumentNullException>("tools", () => ((IList<AITool>)null!).Add(ResponseTool.CreateWebSearchTool())); 2233Assert.Throws<ArgumentNullException>("tool", () => new List<AITool>().Add((ResponseTool)null!)); 2235Assert.Throws<ArgumentNullException>("tool", () => ((ResponseTool)null!).AsAITool());
OpenAIEmbeddingGeneratorTests.cs (1)
24Assert.Throws<ArgumentNullException>("embeddingClient", () => ((EmbeddingClient)null!).AsIEmbeddingGenerator());
OpenAIHostedFileClientTests.cs (8)
30Assert.Throws<ArgumentNullException>("openAIClient", () => ((OpenAIClient)null!).AsIHostedFileClient()); 36Assert.Throws<ArgumentNullException>("fileClient", () => ((OpenAIFileClient)null!).AsIHostedFileClient()); 42Assert.Throws<ArgumentNullException>("containerClient", () => ((ContainerClient)null!).AsIHostedFileClient()); 162await Assert.ThrowsAsync<ArgumentNullException>("content", () => client.UploadAsync(null!)); 171await Assert.ThrowsAsync<ArgumentNullException>("fileId", () => client.DownloadAsync(null!)); 231await Assert.ThrowsAsync<ArgumentNullException>("fileId", () => client.GetFileInfoAsync(null!)); 363await Assert.ThrowsAsync<ArgumentNullException>("fileId", () => client.DeleteAsync(null!)); 641Assert.Throws<ArgumentNullException>("serviceType", () => fileClient.GetService(null!));
OpenAIImageGeneratorTests.cs (1)
17Assert.Throws<ArgumentNullException>("imageClient", () => ((ImageClient)null!).AsIImageGenerator());
OpenAIRealtimeClientSessionTests.cs (3)
30Assert.Throws<ArgumentNullException>("serviceType", () => session.GetService(null!)); 54Assert.Throws<ArgumentNullException>("options", () => new SessionUpdateRealtimeClientMessage(null!)); 61await Assert.ThrowsAsync<ArgumentNullException>("message", () => session.SendAsync(null!));
OpenAIRealtimeClientTests.cs (3)
18Assert.Throws<ArgumentNullException>("apiKey", () => new OpenAIRealtimeClient((string)null!, "model")); 19Assert.Throws<ArgumentNullException>("model", () => new OpenAIRealtimeClient("key", null!)); 37Assert.Throws<ArgumentNullException>("serviceType", () => client.GetService(null!));
OpenAIRequestPoliciesTests.cs (1)
28Assert.Throws<ArgumentNullException>("policy", () => policies.AddPolicy(null!));
OpenAIResponseClientTests.cs (1)
32Assert.Throws<ArgumentNullException>("responseClient", () => ((ResponsesClient)null!).AsIChatClient());
OpenAISpeechToTextClientTests.cs (1)
28Assert.Throws<ArgumentNullException>("audioClient", () => ((AudioClient)null!).AsISpeechToTextClient());
OpenAITextToSpeechClientTests.cs (1)
27Assert.Throws<ArgumentNullException>("audioClient", () => ((AudioClient)null!).AsITextToSpeechClient());
Microsoft.Extensions.AI.Stabilization.Tests (2)
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\HostedFileContentTests.cs (2)
15Assert.Throws<ArgumentNullException>("fileId", () => new HostedFileContent(null!)); 45Assert.Throws<ArgumentNullException>("value", () => c.FileId = null!);
Microsoft.Extensions.AI.Tests (96)
ChatCompletion\ChatClientBuilderTest.cs (3)
61Assert.Throws<ArgumentNullException>("innerClient", () => new ChatClientBuilder((IChatClient)null!)); 62Assert.Throws<ArgumentNullException>("innerClient", () => ((IChatClient)null!).AsBuilder()); 68Assert.Throws<ArgumentNullException>("innerClientFactory", () => new ChatClientBuilder((Func<IServiceProvider, IChatClient>)null!));
ChatCompletion\ConfigureOptionsChatClientTests.cs (3)
18Assert.Throws<ArgumentNullException>("innerClient", () => new ConfigureOptionsChatClient(null!, _ => { })); 19Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsChatClient(new TestChatClient(), null!)); 27Assert.Throws<ArgumentNullException>("configure", () => builder.ConfigureOptions(null!));
ChatCompletion\FunctionInvocationContextTests.cs (3)
37Assert.Throws<ArgumentNullException>("value", () => ctx.CallContent = null!); 38Assert.Throws<ArgumentNullException>("value", () => ctx.Messages = null!); 39Assert.Throws<ArgumentNullException>("value", () => ctx.Function = null!);
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
27Assert.Throws<ArgumentNullException>("innerClient", () => new FunctionInvokingChatClient(null!)); 28Assert.Throws<ArgumentNullException>("builder", () => ((ChatClientBuilder)null!).UseFunctionInvocation());
ChatCompletion\ImageGeneratingChatClientTests.cs (3)
21Assert.Throws<ArgumentNullException>("innerClient", () => new ImageGeneratingChatClient(null!, imageGenerator)); 22Assert.Throws<ArgumentNullException>("imageGenerator", () => new ImageGeneratingChatClient(innerClient, null!)); 28Assert.Throws<ArgumentNullException>("builder", () => ((ChatClientBuilder)null!).UseImageGeneration());
ChatCompletion\LoggingChatClientTests.cs (2)
20Assert.Throws<ArgumentNullException>("innerClient", () => new LoggingChatClient(null!, NullLogger.Instance)); 21Assert.Throws<ArgumentNullException>("logger", () => new LoggingChatClient(new TestChatClient(), null!));
ChatCompletion\ReducingChatClientTests.cs (2)
19Assert.Throws<ArgumentNullException>("innerClient", () => new ReducingChatClient(null!, new TestReducer())); 27Assert.Throws<ArgumentNullException>("builder", () => ReducingChatClientBuilderExtensions.UseChatReducer(null!, new TestReducer()));
ChatCompletion\UseDelegateChatClientTests.cs (1)
22Assert.Throws<ArgumentNullException>("getResponseFunc", () => builder.Use(null!, null!));
ChatReduction\MessageCountingChatReducerTests.cs (1)
35await Assert.ThrowsAsync<ArgumentNullException>(() => reducer.ReduceAsync(null!, CancellationToken.None));
ChatReduction\SummarizingChatReducerTests.cs (2)
20Assert.Throws<ArgumentNullException>("chatClient", () => new SummarizingChatReducer(null!, targetCount: 5, threshold: 2)); 47await Assert.ThrowsAsync<ArgumentNullException>(() => reducer.ReduceAsync(null!, CancellationToken.None));
ChatRouting\FailoverChatClientTests.cs (2)
36await Assert.ThrowsAsync<ArgumentNullException>(() => router.GetResponseAsync(null!)); 37await Assert.ThrowsAsync<ArgumentNullException>(
ChatRouting\OrderedFailoverChatClientTests.cs (1)
21Assert.Throws<ArgumentNullException>(() => new OrderedFailoverChatClient(null!));
ChatRouting\SemanticRoutingChatClientTests.cs (3)
26Assert.Throws<ArgumentNullException>(() => 28Assert.Throws<ArgumentNullException>(() => 30Assert.Throws<ArgumentNullException>(() =>
Embeddings\ConfigureOptionsEmbeddingGeneratorTests.cs (3)
16Assert.Throws<ArgumentNullException>("innerGenerator", () => new ConfigureOptionsEmbeddingGenerator<string, Embedding<float>>(null!, _ => { })); 17Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsEmbeddingGenerator<string, Embedding<float>>(new TestEmbeddingGenerator(), null!)); 25Assert.Throws<ArgumentNullException>("configure", () => builder.ConfigureOptions(null!));
Embeddings\EmbeddingGeneratorBuilderTests.cs (3)
60Assert.Throws<ArgumentNullException>("innerGenerator", () => new EmbeddingGeneratorBuilder<string, Embedding<float>>((IEmbeddingGenerator<string, Embedding<float>>)null!)); 61Assert.Throws<ArgumentNullException>("innerGenerator", () => ((IEmbeddingGenerator<string, Embedding<float>>)null!).AsBuilder()); 67Assert.Throws<ArgumentNullException>("innerGeneratorFactory",
Embeddings\LoggingEmbeddingGeneratorTests.cs (2)
19Assert.Throws<ArgumentNullException>("innerGenerator", () => new LoggingEmbeddingGenerator<string, Embedding<float>>(null!, NullLogger.Instance)); 20Assert.Throws<ArgumentNullException>("logger", () => new LoggingEmbeddingGenerator<string, Embedding<float>>(new TestEmbeddingGenerator(), null!));
Embeddings\UseDelegateEmbeddingGeneratorTests.cs (1)
20Assert.Throws<ArgumentNullException>("generateFunc", () =>
Files\HostedFileClientBuilderTests.cs (4)
18Assert.Throws<ArgumentNullException>("innerClient", () => new HostedFileClientBuilder((IHostedFileClient)null!)); 19Assert.Throws<ArgumentNullException>("innerClientFactory", () => new HostedFileClientBuilder((Func<IServiceProvider, IHostedFileClient>)null!)); 23Assert.Throws<ArgumentNullException>("clientFactory", () => builder.Use((Func<IHostedFileClient, IHostedFileClient>)null!)); 24Assert.Throws<ArgumentNullException>("clientFactory", () => builder.Use((Func<IHostedFileClient, IServiceProvider, IHostedFileClient>)null!));
Files\LoggingHostedFileClientTests.cs (2)
23Assert.Throws<ArgumentNullException>("innerClient", () => new LoggingHostedFileClient(null!, NullLogger.Instance)); 24Assert.Throws<ArgumentNullException>("logger", () => new LoggingHostedFileClient(new TestHostedFileClient(), null!));
Files\OpenTelemetryHostedFileClientTests.cs (2)
23Assert.Throws<ArgumentNullException>("innerClient", () => new OpenTelemetryHostedFileClient(null!)); 520Assert.Throws<ArgumentNullException>("builder",
Functions\AIFunctionFactoryTest.cs (7)
34Assert.Throws<ArgumentNullException>("method", () => AIFunctionFactory.Create(method: null!)); 35Assert.Throws<ArgumentNullException>("method", () => AIFunctionFactory.Create(method: null!, target: new object())); 36Assert.Throws<ArgumentNullException>("method", () => AIFunctionFactory.Create(method: null!, target: new object(), name: "myAiFunk")); 37Assert.Throws<ArgumentNullException>("target", () => AIFunctionFactory.Create(typeof(AIFunctionFactoryTest).GetMethod(nameof(InvalidArguments_Throw))!, (object?)null)); 38Assert.Throws<ArgumentNullException>("createInstanceFunc", () => 668await Assert.ThrowsAsync<ArgumentNullException>("arguments.Services", () => func.InvokeAsync(arguments).AsTask()); 1318Assert.Throws<ArgumentNullException>("name", () => AIFunctionFactory.CreateDeclaration(null!, "description", default));
Image\ConfigureOptionsImageGeneratorTests.cs (3)
16Assert.Throws<ArgumentNullException>("innerGenerator", () => new ConfigureOptionsImageGenerator(null!, _ => { })); 17Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsImageGenerator(new TestImageGenerator(), null!)); 25Assert.Throws<ArgumentNullException>("configure", () => builder.ConfigureOptions(null!));
Image\ImageGeneratorBuilderTests.cs (3)
61Assert.Throws<ArgumentNullException>("innerGenerator", () => new ImageGeneratorBuilder((IImageGenerator)null!)); 62Assert.Throws<ArgumentNullException>("innerGenerator", () => ((IImageGenerator)null!).AsBuilder()); 68Assert.Throws<ArgumentNullException>("innerGeneratorFactory", () => new ImageGeneratorBuilder((Func<IServiceProvider, IImageGenerator>)null!));
Image\LoggingImageGeneratorTests.cs (2)
20Assert.Throws<ArgumentNullException>("innerGenerator", () => new LoggingImageGenerator(null!, NullLogger.Instance)); 21Assert.Throws<ArgumentNullException>("logger", () => new LoggingImageGenerator(new TestImageGenerator(), null!));
Image\OpenTelemetryImageGeneratorTests.cs (1)
22Assert.Throws<ArgumentNullException>("innerGenerator", () => new OpenTelemetryImageGenerator(null!));
Realtime\FunctionInvokingRealtimeClientTests.cs (2)
23Assert.Throws<ArgumentNullException>("innerClient", () => new FunctionInvokingRealtimeClient(null!)); 558Assert.Throws<ArgumentNullException>("builder", () =>
Realtime\LoggingRealtimeClientTests.cs (4)
24Assert.Throws<ArgumentNullException>("innerClient", () => new LoggingRealtimeClient(null!, NullLogger.Instance)); 25Assert.Throws<ArgumentNullException>("logger", () => new LoggingRealtimeClient(innerClient, null!)); 439Assert.Throws<ArgumentNullException>("value", () => client.JsonSerializerOptions = null!); 458Assert.Throws<ArgumentNullException>("builder", () =>
Realtime\OpenTelemetryRealtimeClientTests.cs (4)
351Assert.Throws<ArgumentNullException>("innerClient", () => new OpenTelemetryRealtimeClient(null!)); 353Assert.Throws<ArgumentNullException>("value", () => client.JsonSerializerOptions = null!); 359Assert.Throws<ArgumentNullException>("options", () => new SessionUpdateRealtimeClientMessage(null!)); 1067Assert.Throws<ArgumentNullException>("builder", () =>
Realtime\RealtimeClientBuilderTests.cs (5)
19Assert.Throws<ArgumentNullException>("innerClient", () => new RealtimeClientBuilder((IRealtimeClient)null!)); 25Assert.Throws<ArgumentNullException>("innerClientFactory", () => new RealtimeClientBuilder((Func<IServiceProvider, IRealtimeClient>)null!)); 54Assert.Throws<ArgumentNullException>("clientFactory", () => builder.Use((Func<IRealtimeClient, IRealtimeClient>)null!)); 55Assert.Throws<ArgumentNullException>("clientFactory", () => builder.Use((Func<IRealtimeClient, IServiceProvider, IRealtimeClient>)null!)); 130Assert.Throws<ArgumentNullException>("innerClient", () => ((IRealtimeClient)null!).AsBuilder());
Realtime\RealtimeClientExtensionsTests.cs (4)
18Assert.Throws<ArgumentNullException>("client", () => ((IRealtimeClient)null!).GetService<IRealtimeClient>()); 56Assert.Throws<ArgumentNullException>("client", () => ((IRealtimeClient)null!).GetRequiredService(typeof(string))); 57Assert.Throws<ArgumentNullException>("client", () => ((IRealtimeClient)null!).GetRequiredService<string>()); 64Assert.Throws<ArgumentNullException>("serviceType", () => client.GetRequiredService(null!));
Realtime\RealtimeClientSessionExtensionsTests.cs (4)
17Assert.Throws<ArgumentNullException>("session", () => ((IRealtimeClientSession)null!).GetService<IRealtimeClientSession>()); 55Assert.Throws<ArgumentNullException>("session", () => ((IRealtimeClientSession)null!).GetRequiredService(typeof(string))); 56Assert.Throws<ArgumentNullException>("session", () => ((IRealtimeClientSession)null!).GetRequiredService<string>()); 63Assert.Throws<ArgumentNullException>("serviceType", () => session.GetRequiredService(null!));
SpeechToText\ConfigureOptionsSpeechToTextClientTests.cs (3)
19Assert.Throws<ArgumentNullException>("innerClient", () => new ConfigureOptionsSpeechToTextClient(null!, _ => { })); 20Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsSpeechToTextClient(new TestSpeechToTextClient(), null!)); 28Assert.Throws<ArgumentNullException>("configure", () => builder.ConfigureOptions(null!));
SpeechToText\LoggingSpeechToTextClientTests.cs (2)
22Assert.Throws<ArgumentNullException>("innerClient", () => new LoggingSpeechToTextClient(null!, NullLogger.Instance)); 23Assert.Throws<ArgumentNullException>("logger", () => new LoggingSpeechToTextClient(new TestSpeechToTextClient(), null!));
SpeechToText\OpenTelemetrySpeechToTextClientTests.cs (1)
25Assert.Throws<ArgumentNullException>("innerClient", () => new OpenTelemetrySpeechToTextClient(null!));
TextToSpeech\ConfigureOptionsTextToSpeechClientTests.cs (3)
18Assert.Throws<ArgumentNullException>("innerClient", () => new ConfigureOptionsTextToSpeechClient(null!, _ => { })); 19Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsTextToSpeechClient(new TestTextToSpeechClient(), null!)); 27Assert.Throws<ArgumentNullException>("configure", () => builder.ConfigureOptions(null!));
TextToSpeech\LoggingTextToSpeechClientTests.cs (2)
20Assert.Throws<ArgumentNullException>("innerClient", () => new LoggingTextToSpeechClient(null!, NullLogger.Instance)); 21Assert.Throws<ArgumentNullException>("logger", () => new LoggingTextToSpeechClient(new TestTextToSpeechClient(), null!));
TextToSpeech\OpenTelemetryTextToSpeechClientTests.cs (1)
22Assert.Throws<ArgumentNullException>("innerClient", () => new OpenTelemetryTextToSpeechClient(null!));
Microsoft.Extensions.AmbientMetadata.Application (13)
ApplicationMetadataConfigurationBuilderExtensions.cs (1)
25/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="hostEnvironment"/> is <see langword="null"/>.</exception>
ApplicationMetadataHostBuilderExtensions.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ApplicationMetadataServiceCollectionExtensions.cs (2)
22/// <exception cref="ArgumentNullException"><paramref name="section"/> or <paramref name="section"/> is <see langword="null"/>.</exception> 39/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
ApplicationMetadataSource.cs (1)
24/// <exception cref="ArgumentNullException"><paramref name="hostEnvironment"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AmbientMetadata.Application.Tests (9)
ApplicationMetadataExtensionsTests.cs (8)
38Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddApplicationMetadata(config.GetSection(string.Empty))); 39Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddApplicationMetadata(_ => { })); 40Assert.Throws<ArgumentNullException>(() => serviceCollection.AddApplicationMetadata((Action<ApplicationMetadata>)null!)); 41Assert.Throws<ArgumentNullException>(() => serviceCollection.AddApplicationMetadata((IConfigurationSection)null!)); 42Assert.Throws<ArgumentNullException>(() => ((IHostBuilder)null!).UseApplicationMetadata(_fixture.Create<string>())); 43Assert.Throws<ArgumentNullException>(() => ((IHostApplicationBuilder)null!).UseApplicationMetadata(_fixture.Create<string>())); 44Assert.Throws<ArgumentNullException>(() => new ConfigurationBuilder().AddApplicationMetadata(null!)); 45Assert.Throws<ArgumentNullException>(() => ((IConfigurationBuilder)null!).AddApplicationMetadata(null!));
ApplicationMetadataSourceTests.cs (1)
36act.Should().Throw<ArgumentNullException>();
Microsoft.Extensions.AmbientMetadata.Build (12)
BuildMetadataServiceCollectionExtensions.cs (2)
22/// <exception cref="ArgumentNullException">The argument <paramref name="services"/> or <paramref name="section"/> is <see langword="null" />.</exception> 41/// <exception cref="ArgumentNullException">The argument <paramref name="services"/> or <paramref name="configure"/> is <see langword="null" />.</exception>
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (3)
49ArgumentNullException.ThrowIfNull(optionsBuilder); 60ArgumentNullException.ThrowIfNull(services); 62ArgumentNullException.ThrowIfNull(config);
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AmbientMetadata.Build.Tests (4)
BuildMetadataServiceCollectionExtensionsTests.cs (4)
23.Should().Throw<ArgumentNullException>(); 26.Should().Throw<ArgumentNullException>(); 29.Should().Throw<ArgumentNullException>(); 32.Should().Throw<ArgumentNullException>();
Microsoft.Extensions.AsyncState (8)
AsyncStateExtensions.cs (1)
22/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.AsyncState.Tests (1)
AsyncContextServiceCollectionExtensionsTests.cs (1)
16Assert.Throws<ArgumentNullException>(() => AsyncStateExtensions.AddAsyncState(null!));
Microsoft.Extensions.Caching.Abstractions (20)
CacheEntryExtensions.cs (3)
39ArgumentNullException.ThrowIfNull(expirationToken); 109ArgumentNullException.ThrowIfNull(callback); 160ArgumentNullException.ThrowIfNull(options);
DistributedCacheExtensions.cs (14)
24/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 27ArgumentNullException.ThrowIfNull(key); 28ArgumentNullException.ThrowIfNull(value); 41/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 44ArgumentNullException.ThrowIfNull(key); 45ArgumentNullException.ThrowIfNull(value); 56/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 69/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 72ArgumentNullException.ThrowIfNull(key); 73ArgumentNullException.ThrowIfNull(value); 86/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 101/// <exception cref="System.ArgumentNullException"><paramref name="key"/> or <paramref name="value"/> is null.</exception> 104ArgumentNullException.ThrowIfNull(key); 105ArgumentNullException.ThrowIfNull(value);
MemoryCacheEntryExtensions.cs (3)
57ArgumentNullException.ThrowIfNull(expirationToken); 116ArgumentNullException.ThrowIfNull(callback); 133ArgumentNullException.ThrowIfNull(callback);
Microsoft.Extensions.Caching.Hybrid (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Caching.Memory (26)
CacheEntry.cs (2)
39ArgumentNullException.ThrowIfNull(key); 40ArgumentNullException.ThrowIfNull(memoryCache);
MemoryCache.cs (4)
63ArgumentNullException.ThrowIfNull(optionsAccessor); 118ArgumentNullException.ThrowIfNull(key); 237ArgumentNullException.ThrowIfNull(key); 354ArgumentNullException.ThrowIfNull(key);
MemoryCacheServiceCollectionExtensions.cs (6)
24ArgumentNullException.ThrowIfNull(services); 43ArgumentNullException.ThrowIfNull(services); 44ArgumentNullException.ThrowIfNull(setupAction); 68ArgumentNullException.ThrowIfNull(services); 95ArgumentNullException.ThrowIfNull(services); 96ArgumentNullException.ThrowIfNull(setupAction);
MemoryDistributedCache.cs (14)
35ArgumentNullException.ThrowIfNull(optionsAccessor); 36ArgumentNullException.ThrowIfNull(loggerFactory); 48ArgumentNullException.ThrowIfNull(key); 62ArgumentNullException.ThrowIfNull(key); 75ArgumentNullException.ThrowIfNull(key); 76ArgumentNullException.ThrowIfNull(value); 77ArgumentNullException.ThrowIfNull(options); 97ArgumentNullException.ThrowIfNull(key); 98ArgumentNullException.ThrowIfNull(value); 99ArgumentNullException.ThrowIfNull(options); 111ArgumentNullException.ThrowIfNull(key); 124ArgumentNullException.ThrowIfNull(key); 136ArgumentNullException.ThrowIfNull(key); 149ArgumentNullException.ThrowIfNull(key);
Microsoft.Extensions.Caching.SqlServer (4)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.Extensions.Caching.StackExchangeRedis (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Compliance.Abstractions (13)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Redaction\IRedactionBuilder.cs (1)
27/// <exception cref="ArgumentNullException"><paramref name="classifications" /> is <see langword="null" />.</exception>
Redaction\RedactionStringBuilderExtensions.cs (4)
30/// <exception cref="ArgumentNullException"><paramref name="stringBuilder"/> is <see langword="null"/>.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="redactor"/> is <see langword="null"/>.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="stringBuilder"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="redactor"/> is <see langword="null"/>.</exception>
Redaction\Redactor.cs (1)
93/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.Compliance.Abstractions.Tests (2)
Redaction\RedactionAbstractionsExtensionsTest.cs (2)
17Assert.Throws<ArgumentNullException>(() => RedactionStringBuilderExtensions.AppendRedacted(null!, NullRedactor.Instance, s)); 18Assert.Throws<ArgumentNullException>(() => RedactionStringBuilderExtensions.AppendRedacted(new StringBuilder(), null!, ""));
Microsoft.Extensions.Compliance.Redaction (12)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
RedactionExtensions.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="builder"/>, <paramref name="configure" />, or <paramref name="classifications" /> is <see langword="null"/>.</exception> 46/// <exception cref="ArgumentNullException"><paramref name="builder"/>, <paramref name="section" />, or <paramref name="classifications" /> is <see langword="null"/>.</exception>
RedactionServiceCollectionExtensions.cs (3)
21/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="configure"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.Compliance.Redaction.Tests (2)
RedactionAcceptanceTests.cs (2)
56Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddRedaction(_ => { })); 57Assert.Throws<ArgumentNullException>(() => new ServiceCollection().AddRedaction(null!));
Microsoft.Extensions.Compliance.Testing (13)
FakeRedactionBuilderExtensions.cs (3)
27/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 44/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="configure"/> is <see langword="null"/>.</exception> 66/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="section"/> is <see langword="null"/>.</exception>
FakeRedactionServiceCollectionExtensions.cs (2)
23/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 48/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
FakeRedactionServiceProviderExtensions.cs (1)
21/// <exception cref="ArgumentNullException"><paramref name="serviceProvider"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Compliance.Testing.Tests (8)
RedactionFakesAcceptanceTests.cs (8)
231Assert.Throws<ArgumentNullException>(() => ((IRedactionBuilder)null!).SetFakeRedactor(dc)); 232Assert.Throws<ArgumentNullException>(() => ((IRedactionBuilder)null!).SetFakeRedactor(Setup.GetFakesConfiguration(), dc)); 233Assert.Throws<ArgumentNullException>(() => ((IRedactionBuilder)null!).SetFakeRedactor(x => x.RedactionFormat = "2", dc)); 234Assert.Throws<ArgumentNullException>(() => new ServiceCollection().AddRedaction(x => x.SetFakeRedactor((Action<FakeRedactorOptions>)null!, dc))); 236Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddRedaction(x => x.SetFakeRedactor((Action<FakeRedactorOptions>)null!, dc))); 237Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddFakeRedaction()); 238Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddFakeRedaction(_ => { })); 239Assert.Throws<ArgumentNullException>(() => new ServiceCollection().AddFakeRedaction(null!));
Microsoft.Extensions.Configuration (12)
ChainedBuilderExtensions.cs (2)
32ArgumentNullException.ThrowIfNull(configurationBuilder); 33ArgumentNullException.ThrowIfNull(config);
ChainedConfigurationProvider.cs (1)
25ArgumentNullException.ThrowIfNull(source);
ConfigurationBuilder.cs (1)
34ArgumentNullException.ThrowIfNull(source);
ConfigurationManager.cs (1)
92ArgumentNullException.ThrowIfNull(source);
ConfigurationRoot.cs (1)
29ArgumentNullException.ThrowIfNull(providers);
ConfigurationSection.cs (2)
29ArgumentNullException.ThrowIfNull(root); 30ArgumentNullException.ThrowIfNull(path);
MemoryConfigurationBuilderExtensions.cs (2)
22ArgumentNullException.ThrowIfNull(configurationBuilder); 38ArgumentNullException.ThrowIfNull(configurationBuilder);
MemoryConfigurationProvider.cs (1)
23ArgumentNullException.ThrowIfNull(source);
StreamConfigurationProvider.cs (1)
27ArgumentNullException.ThrowIfNull(source);
Microsoft.Extensions.Configuration.Abstractions (3)
ConfigurationExtensions.cs (1)
100ArgumentNullException.ThrowIfNull(configuration);
ConfigurationPath.cs (2)
27ArgumentNullException.ThrowIfNull(pathSegments); 39ArgumentNullException.ThrowIfNull(pathSegments);
Microsoft.Extensions.Configuration.Binder (8)
ConfigurationBinder.cs (8)
53ArgumentNullException.ThrowIfNull(configuration); 92ArgumentNullException.ThrowIfNull(configuration); 93ArgumentNullException.ThrowIfNull(type); 112ArgumentNullException.ThrowIfNull(configuration); 136ArgumentNullException.ThrowIfNull(configuration); 206ArgumentNullException.ThrowIfNull(configuration); 207ArgumentNullException.ThrowIfNull(type); 1183ArgumentNullException.ThrowIfNull(property);
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
Parser\KnownTypeSymbols.cs (1)
130ArgumentNullException = compilation.GetBestTypeByMetadataName(typeof(ArgumentNullException));
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Extensions.Configuration.CommandLine (1)
CommandLineConfigurationProvider.cs (1)
23ArgumentNullException.ThrowIfNull(args);
Microsoft.Extensions.Configuration.EnvironmentVariables (2)
EnvironmentVariablesConfigurationSource.cs (2)
21ArgumentNullException.ThrowIfNull(name); 39ArgumentNullException.ThrowIfNull(name);
Microsoft.Extensions.Configuration.FileExtensions (8)
FileConfigurationExtensions.cs (7)
25ArgumentNullException.ThrowIfNull(builder); 26ArgumentNullException.ThrowIfNull(fileProvider); 39ArgumentNullException.ThrowIfNull(builder); 57ArgumentNullException.ThrowIfNull(builder); 58ArgumentNullException.ThrowIfNull(basePath); 71ArgumentNullException.ThrowIfNull(builder); 84ArgumentNullException.ThrowIfNull(builder);
FileConfigurationProvider.cs (1)
29ArgumentNullException.ThrowIfNull(source);
Microsoft.Extensions.Configuration.Ini (2)
IniConfigurationExtensions.cs (2)
67ArgumentNullException.ThrowIfNull(builder); 101ArgumentNullException.ThrowIfNull(builder);
Microsoft.Extensions.Configuration.Json (2)
JsonConfigurationExtensions.cs (2)
67ArgumentNullException.ThrowIfNull(builder); 101ArgumentNullException.ThrowIfNull(builder);
Microsoft.Extensions.Configuration.UserSecrets (4)
UserSecretsConfigurationExtensions.cs (4)
121ArgumentNullException.ThrowIfNull(configuration); 122ArgumentNullException.ThrowIfNull(assembly); 169ArgumentNullException.ThrowIfNull(configuration); 170ArgumentNullException.ThrowIfNull(userSecretsId);
Microsoft.Extensions.Configuration.Xml (6)
XmlConfigurationElement.cs (1)
36ArgumentNullException.ThrowIfNull(elementName);
XmlConfigurationElementAttributeValue.cs (2)
12ArgumentNullException.ThrowIfNull(attribute); 13ArgumentNullException.ThrowIfNull(value);
XmlConfigurationElementTextContent.cs (1)
12ArgumentNullException.ThrowIfNull(textContent);
XmlConfigurationExtensions.cs (2)
76ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder);
Microsoft.Extensions.DataIngestion (8)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Writers\VectorStoreWriter.cs (1)
38/// <exception cref="ArgumentNullException">When <paramref name="vectorStore"/> is null.</exception>
Microsoft.Extensions.DataIngestion.Abstractions (13)
IngestionChunk.cs (1)
26/// <exception cref="ArgumentNullException">
IngestionDocument.cs (1)
19/// <exception cref="ArgumentNullException"><paramref name="identifier"/> is <see langword="null"/>.</exception>
IngestionDocumentElement.cs (2)
28/// <exception cref="ArgumentNullException"><paramref name="markdown"/> is <see langword="null"/> or empty.</exception> 173/// <exception cref="ArgumentNullException"><paramref name="cells"/> is <see langword="null"/>.</exception>
IngestionDocumentReader.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 39/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="identifier"/> is <see langword="null"/> or empty.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.DataIngestion.Markdig (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.DataIngestion.MarkItDown (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.DataIngestion.Tests (20)
Chunkers\ChunkerOptionsTests.cs (1)
17Assert.Throws<ArgumentNullException>("tokenizer", () => new IngestionChunkerOptions(null!));
Chunkers\DocumentChunkerTests.cs (1)
20await Assert.ThrowsAsync<ArgumentNullException>("document", async () => await chunker.ProcessAsync(null!).ToListAsync());
IngestionDocumentTests.cs (1)
71=> Assert.Throws<ArgumentNullException>("markdown", () => new IngestionDocumentParagraph(input!));
Processors\AlternativeTextEnricherTests.cs (2)
22Assert.Throws<ArgumentNullException>("options", () => new ImageAlternativeTextEnricher(null!)); 32await Assert.ThrowsAsync<ArgumentNullException>("document", async () => await sut.ProcessAsync(null!));
Processors\ClassificationEnricherTests.cs (2)
23Assert.Throws<ArgumentNullException>("options", () => new ClassificationEnricher(null!, predefinedClasses: ["some"])); 56await Assert.ThrowsAsync<ArgumentNullException>("chunks", async () =>
Processors\KeywordEnricherTests.cs (2)
23Assert.Throws<ArgumentNullException>("options", () => new KeywordEnricher(null!, predefinedKeywords: null, confidenceThreshold: 0.5)); 54await Assert.ThrowsAsync<ArgumentNullException>("chunks", async () =>
Processors\SentimentEnricherTests.cs (2)
23Assert.Throws<ArgumentNullException>("options", () => new SentimentEnricher(null!)); 40await Assert.ThrowsAsync<ArgumentNullException>("chunks", async () =>
Processors\SummaryEnricherTests.cs (2)
23Assert.Throws<ArgumentNullException>("options", () => new SummaryEnricher(null!)); 40await Assert.ThrowsAsync<ArgumentNullException>("chunks", async () =>
Readers\DocumentReaderConformanceTests.cs (2)
26await Assert.ThrowsAsync<ArgumentNullException>("identifier", async () => await reader.ReadAsync(new FileInfo("fileName.txt"), identifier: null!)); 30await Assert.ThrowsAsync<ArgumentNullException>("identifier", async () => await reader.ReadAsync(stream, identifier: null!, mediaType: "some"));
Readers\MarkItDownMcpReaderTests.cs (5)
16Assert.Throws<ArgumentNullException>("mcpServerUri", () => new MarkItDownMcpReader(null!)); 24await Assert.ThrowsAsync<ArgumentNullException>("identifier", async () => await reader.ReadAsync(new FileInfo("fileName.txt"), identifier: null!)); 28await Assert.ThrowsAsync<ArgumentNullException>("identifier", async () => await reader.ReadAsync(stream, identifier: null!, mediaType: "some")); 37await Assert.ThrowsAsync<ArgumentNullException>("source", async () => await reader.ReadAsync(null!, "identifier")); 38await Assert.ThrowsAsync<ArgumentNullException>("source", async () => await reader.ReadAsync((Stream)null!, "identifier", "mediaType"));
Microsoft.Extensions.DependencyInjection (3)
ServiceCollectionContainerBuilderExtensions.cs (2)
48ArgumentNullException.ThrowIfNull(services); 49ArgumentNullException.ThrowIfNull(options);
ServiceLookup\CallSiteFactory.cs (1)
853ArgumentNullException.ThrowIfNull(serviceType);
Microsoft.Extensions.DependencyInjection.Abstractions (248)
ActivatorUtilities.cs (7)
57ArgumentNullException.ThrowIfNull(provider); 931ArgumentNullException.ThrowIfNull(serviceProvider); 967ArgumentNullException.ThrowIfNull(serviceProvider); 988ArgumentNullException.ThrowIfNull(serviceProvider); 1120ArgumentNullException.ThrowIfNull(serviceProvider); 1145ArgumentNullException.ThrowIfNull(serviceProvider); 1214ArgumentNullException.ThrowIfNull(provider);
AsyncServiceScope.cs (1)
25ArgumentNullException.ThrowIfNull(serviceScope);
EmptyServiceProvider.cs (4)
58ArgumentNullException.ThrowIfNull(serviceType); 66ArgumentNullException.ThrowIfNull(serviceType); 78ArgumentNullException.ThrowIfNull(serviceType); 97ArgumentNullException.ThrowIfNull(serviceType);
Extensions\ServiceCollectionDescriptorExtensions.cs (47)
25ArgumentNullException.ThrowIfNull(collection); 26ArgumentNullException.ThrowIfNull(descriptor); 42ArgumentNullException.ThrowIfNull(collection); 43ArgumentNullException.ThrowIfNull(descriptors); 63ArgumentNullException.ThrowIfNull(collection); 64ArgumentNullException.ThrowIfNull(descriptor); 90ArgumentNullException.ThrowIfNull(collection); 91ArgumentNullException.ThrowIfNull(descriptors); 110ArgumentNullException.ThrowIfNull(collection); 111ArgumentNullException.ThrowIfNull(service); 131ArgumentNullException.ThrowIfNull(collection); 132ArgumentNullException.ThrowIfNull(service); 133ArgumentNullException.ThrowIfNull(implementationType); 153ArgumentNullException.ThrowIfNull(collection); 154ArgumentNullException.ThrowIfNull(service); 155ArgumentNullException.ThrowIfNull(implementationFactory); 171ArgumentNullException.ThrowIfNull(collection); 189ArgumentNullException.ThrowIfNull(collection); 222ArgumentNullException.ThrowIfNull(collection); 223ArgumentNullException.ThrowIfNull(service); 243ArgumentNullException.ThrowIfNull(collection); 244ArgumentNullException.ThrowIfNull(service); 245ArgumentNullException.ThrowIfNull(implementationType); 265ArgumentNullException.ThrowIfNull(collection); 266ArgumentNullException.ThrowIfNull(service); 267ArgumentNullException.ThrowIfNull(implementationFactory); 283ArgumentNullException.ThrowIfNull(collection); 301ArgumentNullException.ThrowIfNull(collection); 334ArgumentNullException.ThrowIfNull(collection); 335ArgumentNullException.ThrowIfNull(service); 355ArgumentNullException.ThrowIfNull(collection); 356ArgumentNullException.ThrowIfNull(service); 357ArgumentNullException.ThrowIfNull(implementationType); 377ArgumentNullException.ThrowIfNull(collection); 378ArgumentNullException.ThrowIfNull(service); 379ArgumentNullException.ThrowIfNull(implementationFactory); 395ArgumentNullException.ThrowIfNull(collection); 413ArgumentNullException.ThrowIfNull(collection); 430ArgumentNullException.ThrowIfNull(collection); 431ArgumentNullException.ThrowIfNull(instance); 475ArgumentNullException.ThrowIfNull(services); 476ArgumentNullException.ThrowIfNull(descriptor); 527ArgumentNullException.ThrowIfNull(services); 528ArgumentNullException.ThrowIfNull(descriptors); 547ArgumentNullException.ThrowIfNull(collection); 548ArgumentNullException.ThrowIfNull(descriptor); 583ArgumentNullException.ThrowIfNull(serviceType);
Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs (33)
25ArgumentNullException.ThrowIfNull(collection); 26ArgumentNullException.ThrowIfNull(service); 48ArgumentNullException.ThrowIfNull(collection); 49ArgumentNullException.ThrowIfNull(service); 50ArgumentNullException.ThrowIfNull(implementationType); 72ArgumentNullException.ThrowIfNull(collection); 73ArgumentNullException.ThrowIfNull(service); 74ArgumentNullException.ThrowIfNull(implementationFactory); 91ArgumentNullException.ThrowIfNull(collection); 110ArgumentNullException.ThrowIfNull(collection); 147ArgumentNullException.ThrowIfNull(collection); 148ArgumentNullException.ThrowIfNull(service); 170ArgumentNullException.ThrowIfNull(collection); 171ArgumentNullException.ThrowIfNull(service); 172ArgumentNullException.ThrowIfNull(implementationType); 194ArgumentNullException.ThrowIfNull(collection); 195ArgumentNullException.ThrowIfNull(service); 196ArgumentNullException.ThrowIfNull(implementationFactory); 213ArgumentNullException.ThrowIfNull(collection); 232ArgumentNullException.ThrowIfNull(collection); 269ArgumentNullException.ThrowIfNull(collection); 270ArgumentNullException.ThrowIfNull(service); 292ArgumentNullException.ThrowIfNull(collection); 293ArgumentNullException.ThrowIfNull(service); 294ArgumentNullException.ThrowIfNull(implementationType); 316ArgumentNullException.ThrowIfNull(collection); 317ArgumentNullException.ThrowIfNull(service); 318ArgumentNullException.ThrowIfNull(implementationFactory); 335ArgumentNullException.ThrowIfNull(collection); 354ArgumentNullException.ThrowIfNull(collection); 372ArgumentNullException.ThrowIfNull(collection); 373ArgumentNullException.ThrowIfNull(instance); 418ArgumentNullException.ThrowIfNull(serviceType);
ServiceCollectionServiceExtensions.cs (47)
34ArgumentNullException.ThrowIfNull(services); 35ArgumentNullException.ThrowIfNull(serviceType); 36ArgumentNullException.ThrowIfNull(implementationType); 61ArgumentNullException.ThrowIfNull(services); 62ArgumentNullException.ThrowIfNull(serviceType); 63ArgumentNullException.ThrowIfNull(implementationFactory); 87ArgumentNullException.ThrowIfNull(services); 109ArgumentNullException.ThrowIfNull(services); 110ArgumentNullException.ThrowIfNull(serviceType); 131ArgumentNullException.ThrowIfNull(services); 156ArgumentNullException.ThrowIfNull(services); 157ArgumentNullException.ThrowIfNull(implementationFactory); 185ArgumentNullException.ThrowIfNull(services); 186ArgumentNullException.ThrowIfNull(implementationFactory); 211ArgumentNullException.ThrowIfNull(services); 212ArgumentNullException.ThrowIfNull(serviceType); 213ArgumentNullException.ThrowIfNull(implementationType); 238ArgumentNullException.ThrowIfNull(services); 239ArgumentNullException.ThrowIfNull(serviceType); 240ArgumentNullException.ThrowIfNull(implementationFactory); 264ArgumentNullException.ThrowIfNull(services); 286ArgumentNullException.ThrowIfNull(services); 287ArgumentNullException.ThrowIfNull(serviceType); 308ArgumentNullException.ThrowIfNull(services); 333ArgumentNullException.ThrowIfNull(services); 334ArgumentNullException.ThrowIfNull(implementationFactory); 362ArgumentNullException.ThrowIfNull(services); 363ArgumentNullException.ThrowIfNull(implementationFactory); 389ArgumentNullException.ThrowIfNull(services); 390ArgumentNullException.ThrowIfNull(serviceType); 391ArgumentNullException.ThrowIfNull(implementationType); 416ArgumentNullException.ThrowIfNull(services); 417ArgumentNullException.ThrowIfNull(serviceType); 418ArgumentNullException.ThrowIfNull(implementationFactory); 442ArgumentNullException.ThrowIfNull(services); 464ArgumentNullException.ThrowIfNull(services); 465ArgumentNullException.ThrowIfNull(serviceType); 486ArgumentNullException.ThrowIfNull(services); 511ArgumentNullException.ThrowIfNull(services); 512ArgumentNullException.ThrowIfNull(implementationFactory); 540ArgumentNullException.ThrowIfNull(services); 541ArgumentNullException.ThrowIfNull(implementationFactory); 566ArgumentNullException.ThrowIfNull(services); 567ArgumentNullException.ThrowIfNull(serviceType); 568ArgumentNullException.ThrowIfNull(implementationInstance); 594ArgumentNullException.ThrowIfNull(services); 595ArgumentNullException.ThrowIfNull(implementationInstance);
ServiceCollectionServiceExtensions.Keyed.cs (47)
36ArgumentNullException.ThrowIfNull(services); 37ArgumentNullException.ThrowIfNull(serviceType); 38ArgumentNullException.ThrowIfNull(implementationType); 65ArgumentNullException.ThrowIfNull(services); 66ArgumentNullException.ThrowIfNull(serviceType); 67ArgumentNullException.ThrowIfNull(implementationFactory); 94ArgumentNullException.ThrowIfNull(services); 118ArgumentNullException.ThrowIfNull(services); 119ArgumentNullException.ThrowIfNull(serviceType); 143ArgumentNullException.ThrowIfNull(services); 170ArgumentNullException.ThrowIfNull(services); 171ArgumentNullException.ThrowIfNull(implementationFactory); 201ArgumentNullException.ThrowIfNull(services); 202ArgumentNullException.ThrowIfNull(implementationFactory); 229ArgumentNullException.ThrowIfNull(services); 230ArgumentNullException.ThrowIfNull(serviceType); 231ArgumentNullException.ThrowIfNull(implementationType); 258ArgumentNullException.ThrowIfNull(services); 259ArgumentNullException.ThrowIfNull(serviceType); 260ArgumentNullException.ThrowIfNull(implementationFactory); 287ArgumentNullException.ThrowIfNull(services); 311ArgumentNullException.ThrowIfNull(services); 312ArgumentNullException.ThrowIfNull(serviceType); 336ArgumentNullException.ThrowIfNull(services); 363ArgumentNullException.ThrowIfNull(services); 364ArgumentNullException.ThrowIfNull(implementationFactory); 394ArgumentNullException.ThrowIfNull(services); 395ArgumentNullException.ThrowIfNull(implementationFactory); 422ArgumentNullException.ThrowIfNull(services); 423ArgumentNullException.ThrowIfNull(serviceType); 424ArgumentNullException.ThrowIfNull(implementationType); 451ArgumentNullException.ThrowIfNull(services); 452ArgumentNullException.ThrowIfNull(serviceType); 453ArgumentNullException.ThrowIfNull(implementationFactory); 480ArgumentNullException.ThrowIfNull(services); 504ArgumentNullException.ThrowIfNull(services); 505ArgumentNullException.ThrowIfNull(serviceType); 529ArgumentNullException.ThrowIfNull(services); 556ArgumentNullException.ThrowIfNull(services); 557ArgumentNullException.ThrowIfNull(implementationFactory); 587ArgumentNullException.ThrowIfNull(services); 588ArgumentNullException.ThrowIfNull(implementationFactory); 615ArgumentNullException.ThrowIfNull(services); 616ArgumentNullException.ThrowIfNull(serviceType); 617ArgumentNullException.ThrowIfNull(implementationInstance); 645ArgumentNullException.ThrowIfNull(services); 646ArgumentNullException.ThrowIfNull(implementationInstance);
ServiceDescriptor.cs (46)
45ArgumentNullException.ThrowIfNull(serviceType); 46ArgumentNullException.ThrowIfNull(implementationType); 77ArgumentNullException.ThrowIfNull(serviceType); 78ArgumentNullException.ThrowIfNull(instance); 95ArgumentNullException.ThrowIfNull(serviceType); 96ArgumentNullException.ThrowIfNull(factory); 115ArgumentNullException.ThrowIfNull(serviceType); 116ArgumentNullException.ThrowIfNull(factory); 396ArgumentNullException.ThrowIfNull(service); 397ArgumentNullException.ThrowIfNull(implementationType); 416ArgumentNullException.ThrowIfNull(service); 417ArgumentNullException.ThrowIfNull(implementationType); 437ArgumentNullException.ThrowIfNull(implementationFactory); 459ArgumentNullException.ThrowIfNull(implementationFactory); 475ArgumentNullException.ThrowIfNull(implementationFactory); 492ArgumentNullException.ThrowIfNull(implementationFactory); 507ArgumentNullException.ThrowIfNull(service); 508ArgumentNullException.ThrowIfNull(implementationFactory); 524ArgumentNullException.ThrowIfNull(service); 525ArgumentNullException.ThrowIfNull(implementationFactory); 608ArgumentNullException.ThrowIfNull(implementationFactory); 630ArgumentNullException.ThrowIfNull(implementationFactory); 646ArgumentNullException.ThrowIfNull(implementationFactory); 663ArgumentNullException.ThrowIfNull(implementationFactory); 678ArgumentNullException.ThrowIfNull(service); 679ArgumentNullException.ThrowIfNull(implementationFactory); 695ArgumentNullException.ThrowIfNull(service); 696ArgumentNullException.ThrowIfNull(implementationFactory); 745ArgumentNullException.ThrowIfNull(service); 746ArgumentNullException.ThrowIfNull(implementationType); 765ArgumentNullException.ThrowIfNull(service); 766ArgumentNullException.ThrowIfNull(implementationType); 786ArgumentNullException.ThrowIfNull(implementationFactory); 808ArgumentNullException.ThrowIfNull(implementationFactory); 824ArgumentNullException.ThrowIfNull(implementationFactory); 843ArgumentNullException.ThrowIfNull(implementationFactory); 860ArgumentNullException.ThrowIfNull(serviceType); 861ArgumentNullException.ThrowIfNull(implementationFactory); 880ArgumentNullException.ThrowIfNull(serviceType); 881ArgumentNullException.ThrowIfNull(implementationFactory); 897ArgumentNullException.ThrowIfNull(implementationInstance); 916ArgumentNullException.ThrowIfNull(implementationInstance); 933ArgumentNullException.ThrowIfNull(serviceType); 934ArgumentNullException.ThrowIfNull(implementationInstance); 953ArgumentNullException.ThrowIfNull(serviceType); 954ArgumentNullException.ThrowIfNull(implementationInstance);
ServiceProviderKeyedServiceExtensions.cs (9)
24ArgumentNullException.ThrowIfNull(provider); 43ArgumentNullException.ThrowIfNull(provider); 44ArgumentNullException.ThrowIfNull(serviceType); 64ArgumentNullException.ThrowIfNull(provider); 65ArgumentNullException.ThrowIfNull(serviceType); 85ArgumentNullException.ThrowIfNull(provider); 99ArgumentNullException.ThrowIfNull(provider); 114ArgumentNullException.ThrowIfNull(provider); 115ArgumentNullException.ThrowIfNull(serviceType);
ServiceProviderServiceExtensions.cs (7)
23ArgumentNullException.ThrowIfNull(provider); 37ArgumentNullException.ThrowIfNull(provider); 38ArgumentNullException.ThrowIfNull(serviceType); 63ArgumentNullException.ThrowIfNull(provider); 76ArgumentNullException.ThrowIfNull(provider); 90ArgumentNullException.ThrowIfNull(provider); 91ArgumentNullException.ThrowIfNull(serviceType);
Microsoft.Extensions.DependencyInjection.AutoActivation (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (53)
AutoActivationExtensionsKeyedTests.cs (26)
19Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<IFakeService, FakeService>(null!, null, (_, _) => null!)); 20Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<IFakeService, FakeService>(serviceCollection, null, null!)); 22Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<FakeService>(null!, null, (_, _) => null!)); 23Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<FakeService>(serviceCollection, null, null!)); 25Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<FakeService>(null!, null)); 27Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(null!, typeof(FakeService), null)); 28Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(serviceCollection, null!, null)); 30Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton<IFakeService, FakeService>(null!, null)); 32Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(null!, typeof(FakeService), null, (_, _) => null!)); 33Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(serviceCollection, null!, null, (_, _) => null!)); 34Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(serviceCollection, typeof(FakeService), null, implementationFactory: null!)); 36Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(null!, typeof(IFakeService), null, typeof(FakeService))); 37Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(serviceCollection, null!, null, typeof(FakeService))); 38Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedKeyedSingleton(serviceCollection, typeof(IFakeService), null, implementationType: null!)); 45Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(null!, typeof(FakeService), null)); 46Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(serviceCollection, null!, null)); 48Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(null!, typeof(IFakeService), null, typeof(FakeService))); 49Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(serviceCollection, null!, null, typeof(FakeService))); 50Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(serviceCollection, typeof(IFakeService), null, implementationType: null!)); 52Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(null!, typeof(FakeService), null, (_, _) => null!)); 53Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(serviceCollection, null!, null, (_, _) => null!)); 54Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton(serviceCollection, typeof(FakeService), null, implementationFactory: null!)); 56Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton<FakeService>(null!, null)); 58Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton<IFakeService, FakeService>(null!, null)); 60Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton<FakeService>(null!, null, (_, _) => null!)); 61Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedKeyedSingleton<FakeService>(serviceCollection, null, null!));
AutoActivationExtensionsTests.cs (27)
18Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.ActivateSingleton<IFakeService>(null!)); 25Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<IFakeService, FakeService>(null!, _ => null!)); 26Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<IFakeService, FakeService>(serviceCollection, null!)); 28Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<FakeService>(null!, _ => null!)); 29Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<FakeService>(serviceCollection, null!)); 31Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<FakeService>(null!)); 33Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(null!, typeof(FakeService))); 34Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(serviceCollection, null!)); 36Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton<IFakeService, FakeService>(null!)); 38Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(null!, typeof(FakeService), _ => null!)); 39Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(serviceCollection, null!, _ => null!)); 40Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(serviceCollection, typeof(FakeService), implementationFactory: null!)); 42Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(null!, typeof(IFakeService), typeof(FakeService))); 43Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(serviceCollection, null!, typeof(FakeService))); 44Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.AddActivatedSingleton(serviceCollection, typeof(IFakeService), implementationType: null!)); 51Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(null!, typeof(FakeService))); 52Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(serviceCollection, null!)); 54Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(null!, typeof(IFakeService), typeof(FakeService))); 55Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(serviceCollection, null!, typeof(FakeService))); 56Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(serviceCollection, typeof(IFakeService), implementationType: null!)); 58Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(null!, typeof(FakeService), _ => null!)); 59Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(serviceCollection, null!, _ => null!)); 60Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton(serviceCollection, typeof(FakeService), implementationFactory: null!)); 62Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton<FakeService>(null!)); 64Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton<IFakeService, FakeService>(null!)); 66Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton<FakeService>(null!, _ => null!)); 67Assert.Throws<ArgumentNullException>(() => AutoActivationExtensions.TryAddActivatedSingleton<FakeService>(serviceCollection, null!));
Microsoft.Extensions.DependencyModel (51)
CompilationLibrary.cs (1)
35ArgumentNullException.ThrowIfNull(assemblies);
CompilationOptions.cs (1)
63ArgumentNullException.ThrowIfNull(defines);
DependencyContext.cs (6)
25ArgumentNullException.ThrowIfNull(target); 26ArgumentNullException.ThrowIfNull(compilationOptions); 27ArgumentNullException.ThrowIfNull(compileLibraries); 28ArgumentNullException.ThrowIfNull(runtimeLibraries); 29ArgumentNullException.ThrowIfNull(runtimeGraph); 53ArgumentNullException.ThrowIfNull(other);
DependencyContextExtensions.cs (22)
18ArgumentNullException.ThrowIfNull(self); 25ArgumentNullException.ThrowIfNull(self); 32ArgumentNullException.ThrowIfNull(self); 33ArgumentNullException.ThrowIfNull(runtimeIdentifier); 40ArgumentNullException.ThrowIfNull(self); 41ArgumentNullException.ThrowIfNull(runtimeIdentifier); 48ArgumentNullException.ThrowIfNull(self); 55ArgumentNullException.ThrowIfNull(self); 62ArgumentNullException.ThrowIfNull(self); 63ArgumentNullException.ThrowIfNull(context); 64ArgumentNullException.ThrowIfNull(runtimeIdentifier); 71ArgumentNullException.ThrowIfNull(self); 72ArgumentNullException.ThrowIfNull(context); 73ArgumentNullException.ThrowIfNull(runtimeIdentifier); 80ArgumentNullException.ThrowIfNull(self); 87ArgumentNullException.ThrowIfNull(self); 88ArgumentNullException.ThrowIfNull(runtimeIdentifier); 95ArgumentNullException.ThrowIfNull(self); 96ArgumentNullException.ThrowIfNull(context); 103ArgumentNullException.ThrowIfNull(self); 104ArgumentNullException.ThrowIfNull(context); 105ArgumentNullException.ThrowIfNull(runtimeIdentifier);
DependencyContextJsonReader.cs (1)
24ArgumentNullException.ThrowIfNull(stream);
DependencyContextLoader.cs (1)
57ArgumentNullException.ThrowIfNull(assembly);
DependencyContextWriter.cs (2)
18ArgumentNullException.ThrowIfNull(context); 19ArgumentNullException.ThrowIfNull(stream);
Library.cs (1)
55ArgumentNullException.ThrowIfNull(dependencies);
Resolution\AppBaseCompilationAssemblyResolver.cs (4)
35ArgumentNullException.ThrowIfNull(fileSystem); 36ArgumentNullException.ThrowIfNull(basePath); 37ArgumentNullException.ThrowIfNull(dependencyContextPaths); 46ArgumentNullException.ThrowIfNull(library);
Resolution\CompositeCompilationAssemblyResolver.cs (1)
15ArgumentNullException.ThrowIfNull(resolvers);
Resolution\PackageCompilationAssemblyResolver.cs (3)
34ArgumentNullException.ThrowIfNull(fileSystem); 35ArgumentNullException.ThrowIfNull(nugetPackageDirectories); 71ArgumentNullException.ThrowIfNull(library);
Resolution\ReferenceAssemblyPathResolver.cs (3)
36ArgumentNullException.ThrowIfNull(fileSystem); 37ArgumentNullException.ThrowIfNull(fallbackSearchPaths); 46ArgumentNullException.ThrowIfNull(library);
RuntimeFallbacks.cs (1)
22ArgumentNullException.ThrowIfNull(fallbacks);
RuntimeLibrary.cs (4)
77/// <exception cref="System.ArgumentNullException"> 108ArgumentNullException.ThrowIfNull(runtimeAssemblyGroups); 109ArgumentNullException.ThrowIfNull(nativeLibraryGroups); 110ArgumentNullException.ThrowIfNull(resourceAssemblies);
Microsoft.Extensions.Diagnostics (15)
Metrics\Configuration\MetricListenerConfigurationFactory.cs (1)
21ArgumentNullException.ThrowIfNull(listenerName);
Metrics\Configuration\MetricsBuilderConfigurationExtensions.cs (2)
27ArgumentNullException.ThrowIfNull(builder); 29ArgumentNullException.ThrowIfNull(configuration);
Metrics\DefaultMeterFactory.cs (1)
21ArgumentNullException.ThrowIfNull(options);
Metrics\MetricsServiceExtensions.cs (2)
25ArgumentNullException.ThrowIfNull(services); 50ArgumentNullException.ThrowIfNull(configure);
Tracing\Configuration\DefaultActivityListenerConfigurationFactory.cs (1)
21ArgumentNullException.ThrowIfNull(listenerName);
Tracing\Configuration\TracingBuilderConfigurationExtensions.cs (2)
36ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(configuration);
Tracing\DefaultActivitySourceFactory.cs (3)
23ArgumentNullException.ThrowIfNull(listenerBuilders); 24ArgumentNullException.ThrowIfNull(options); 234ArgumentNullException.ThrowIfNull(rules);
Tracing\TracingServiceExtensions.cs (3)
24ArgumentNullException.ThrowIfNull(services); 43ArgumentNullException.ThrowIfNull(services); 44ArgumentNullException.ThrowIfNull(configure);
Microsoft.Extensions.Diagnostics.Abstractions (12)
Metrics\MetricsBuilderExtensions.Listeners.cs (3)
24ArgumentNullException.ThrowIfNull(builder); 37ArgumentNullException.ThrowIfNull(builder); 49ArgumentNullException.ThrowIfNull(builder);
Metrics\MetricsBuilderExtensions.Rules.cs (2)
105ArgumentNullException.ThrowIfNull(builder); 113ArgumentNullException.ThrowIfNull(options);
Tracing\TracingBuilderExtensions.Listeners.cs (5)
34ArgumentNullException.ThrowIfNull(builder); 36ArgumentNullException.ThrowIfNull(configure); 65ArgumentNullException.ThrowIfNull(builder); 67ArgumentNullException.ThrowIfNull(configure); 85ArgumentNullException.ThrowIfNull(builder);
Tracing\TracingBuilderExtensions.Rules.cs (2)
65ArgumentNullException.ThrowIfNull(builder); 72ArgumentNullException.ThrowIfNull(options);
Microsoft.Extensions.Diagnostics.ExceptionSummarization (10)
ExceptionSummarizationBuilderExtensions.cs (1)
21/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception>
ExceptionSummarizationServiceCollectionExtensions.cs (2)
21/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 36/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (2)
ExceptionSummaryTests.cs (1)
95Assert.Throws<ArgumentNullException>(() => new ExceptionSummary("ExceptionType", "Exception Description", null!));
HttpExceptionSummaryProviderTests.cs (1)
46Assert.ThrowsAny<ArgumentNullException>(() =>
Microsoft.Extensions.Diagnostics.HealthChecks (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (15)
CommonHealthChecksExtensions.ApplicationLifecycle.cs (1)
33/// <exception cref="ArgumentNullException"><paramref name="builder" /> or <paramref name="tags"/> is <see langword="null" />.</exception>
CommonHealthChecksExtensions.Manual.cs (4)
20/// <exception cref="ArgumentNullException"><paramref name="builder" /> or <paramref name="tags"/> is <see langword="null" />.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="builder" /> or <paramref name="tags"/> is <see langword="null" />.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="manualHealthCheck" /> is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="manualHealthCheck" /> is <see langword="null" />.</exception>
CommonHealthChecksExtensions.TelemetryPublisher.cs (3)
19/// <exception cref="ArgumentNullException"><paramref name="services" /> is <see langword="null" />.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="services" /> or <paramref name="section"/> is <see langword="null" />.</exception> 46/// <exception cref="ArgumentNullException"><paramref name="services" /> or <paramref name="configure"/> is <see langword="null" />.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (4)
ApplicationLifecycleHealthChecksExtensionsTests.cs (2)
49Assert.Throws<ArgumentNullException>(() => ((IHealthChecksBuilder)null!).AddApplicationLifecycleHealthCheck()); 50Assert.Throws<ArgumentNullException>(() => ((IHealthChecksBuilder)null!).AddApplicationLifecycleHealthCheck(null!));
ManualHealthCheckExtensionsTests.cs (2)
44Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddHealthChecks().AddManualHealthCheck()); 45Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddHealthChecks().AddManualHealthCheck(null!));
Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore (4)
DbContextHealthCheck.cs (3)
21ArgumentNullException.ThrowIfNull(dbContext); 22ArgumentNullException.ThrowIfNull(options); 30ArgumentNullException.ThrowIfNull(context);
DependencyInjection\EntityFrameworkCoreHealthChecksBuilderExtensions.cs (1)
60ArgumentNullException.ThrowIfNull(builder);
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (17)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
51ArgumentNullException.ThrowIfNull(services); 53ArgumentNullException.ThrowIfNull(config);
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
ResourceUtilizationHealthCheckExtensions.cs (8)
25/// <exception cref="ArgumentNullException"><paramref name="builder" /> is <see langword="null" />.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="builder" /> is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException"><paramref name="builder" /> or <paramref name="section"/> is <see langword="null" />.</exception> 80/// <exception cref="ArgumentNullException"><paramref name="builder" />, <paramref name="section"/> or <paramref name="tags"/> is <see langword="null" />.</exception> 101/// <exception cref="ArgumentNullException"><paramref name="builder" />, <paramref name="section"/> or <paramref name="tags"/> is <see langword="null" />.</exception> 121/// <exception cref="ArgumentNullException"><paramref name="builder" /> or <paramref name="configure"/> is <see langword="null" />.</exception> 140/// <exception cref="ArgumentNullException"><paramref name="builder" />, <paramref name="configure"/> or <paramref name="tags"/> is <see langword="null" />.</exception> 161/// <exception cref="ArgumentNullException"><paramref name="builder" />, <paramref name="configure"/> or <paramref name="tags"/> is <see langword="null" />.</exception>
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests (4)
ResourceHealthCheckExtensionsTests.cs (4)
465Assert.Throws<ArgumentNullException>(() => ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck(null!)); 466Assert.Throws<ArgumentNullException>(() => ((IHealthChecksBuilder)null!).AddResourceUtilizationHealthCheck((IEnumerable<string>)null!)); 467Assert.Throws<ArgumentNullException>(() => ((IHealthChecksBuilder)null!).AddResourceUtilizationHealthCheck((Action<ResourceUtilizationHealthCheckOptions>)null!)); 468Assert.Throws<ArgumentNullException>(() => ((IHealthChecksBuilder)null!).AddResourceUtilizationHealthCheck((IConfigurationSection)null!));
Microsoft.Extensions.Diagnostics.Probes (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Diagnostics.ResourceMonitoring (11)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
ResourceMonitoringBuilderExtensions.cs (2)
27/// <exception cref="ArgumentNullException">Either <paramref name="builder"/> or <paramref name="configure"/> is <see langword="null" />.</exception> 44/// <exception cref="ArgumentNullException">Either <paramref name="builder"/> or <paramref name="section"/> is <see langword="null" />.</exception>
ResourceMonitoringServiceCollectionExtensions.cs (2)
35/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException">Either <paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes.Tests (1)
KubernetesResourceQuotaProviderTests.cs (1)
30Assert.Throws<ArgumentNullException>(() => new KubernetesResourceQuotaProvider(null!));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (5)
ResourceMonitoringExtensionsTests.cs (4)
28Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor(_ => { })); 29Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor((IConfigurationSection)null!)); 30Assert.Throws<ArgumentNullException>(() => services.AddResourceMonitoring((b) => b.ConfigureMonitor((IConfigurationSection)null!))); 31Assert.Throws<ArgumentNullException>(() => services.AddResourceMonitoring((b) => b.ConfigureMonitor((Action<ResourceMonitoringOptions>)null!)));
ResourceMonitoringServiceTests.cs (1)
86Assert.Throws<ArgumentNullException>(() =>
Microsoft.Extensions.Diagnostics.Testing (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Logging\FakeLogCollectorTests.cs (1)
124Assert.Throws<ArgumentNullException>(() => new FakeLogCollector(null!));
Metrics\MetricCollectorTests.cs (5)
19Assert.Throws<ArgumentNullException>(() => new MetricCollector<long>((Instrument<long>)null!)); 20Assert.Throws<ArgumentNullException>(() => new MetricCollector<long>((ObservableInstrument<long>)null!)); 21Assert.Throws<ArgumentNullException>(() => new MetricCollector<long>(new Meter(Guid.NewGuid().ToString()), null!)); 22Assert.Throws<ArgumentNullException>(() => new MetricCollector<long>(null!, "Hello")); 23Assert.Throws<ArgumentNullException>(() => new MetricCollector<long>(null, null!, "Hello"));
Microsoft.Extensions.Features (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.FileProviders.Composite (2)
CompositeDirectoryContents.cs (1)
31ArgumentNullException.ThrowIfNull(fileProviders);
CompositeFileProvider.cs (1)
34ArgumentNullException.ThrowIfNull(fileProviders);
Microsoft.Extensions.FileProviders.Embedded (4)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.Extensions.FileProviders.Physical (4)
Internal\PhysicalDirectoryContents.cs (1)
34ArgumentNullException.ThrowIfNull(directory);
PhysicalFilesWatcher.cs (2)
170/// <exception cref="ArgumentNullException"><paramref name="filter" /> is <see langword="null"/>.</exception> 173ArgumentNullException.ThrowIfNull(filter);
src\runtime\src\libraries\Common\src\Extensions\NonCapturingTimer\NonCapturingTimer.cs (1)
16ArgumentNullException.ThrowIfNull(callback);
Microsoft.Extensions.FileSystemGlobbing (13)
Abstractions\FileInfoWrapper.cs (1)
22ArgumentNullException.ThrowIfNull(fileInfo);
FilePatternMatch.cs (2)
40ArgumentNullException.ThrowIfNull(path); 41ArgumentNullException.ThrowIfNull(stem);
Internal\PathSegments\LiteralPathSegment.cs (1)
18ArgumentNullException.ThrowIfNull(value);
Internal\PathSegments\WildcardPathSegment.cs (3)
20ArgumentNullException.ThrowIfNull(beginsWith); 21ArgumentNullException.ThrowIfNull(contains); 22ArgumentNullException.ThrowIfNull(endsWith);
Internal\PatternContexts\PatternContextLinear.cs (1)
15ArgumentNullException.ThrowIfNull(pattern);
Internal\PatternContexts\PatternContextRagged.cs (1)
14ArgumentNullException.ThrowIfNull(pattern);
Internal\Patterns\PatternBuilder.cs (1)
30ArgumentNullException.ThrowIfNull(pattern);
Matcher.cs (1)
200ArgumentNullException.ThrowIfNull(directoryInfo);
MatcherExtensions.cs (1)
115ArgumentNullException.ThrowIfNull(matcher);
PatternMatchingResult.cs (1)
32ArgumentNullException.ThrowIfNull(files);
Microsoft.Extensions.Hosting (29)
HostApplicationBuilder.cs (6)
346ArgumentNullException.ThrowIfNull(configureDelegate); 354ArgumentNullException.ThrowIfNull(configureDelegate); 362ArgumentNullException.ThrowIfNull(configureDelegate); 370ArgumentNullException.ThrowIfNull(factory); 379ArgumentNullException.ThrowIfNull(factory); 387ArgumentNullException.ThrowIfNull(configureDelegate);
HostBuilder.cs (6)
65ArgumentNullException.ThrowIfNull(configureDelegate); 81ArgumentNullException.ThrowIfNull(configureDelegate); 95ArgumentNullException.ThrowIfNull(configureDelegate); 109ArgumentNullException.ThrowIfNull(factory); 124ArgumentNullException.ThrowIfNull(factory); 141ArgumentNullException.ThrowIfNull(configureDelegate);
HostingHostBuilderExtensions.cs (2)
38ArgumentNullException.ThrowIfNull(environment); 58ArgumentNullException.ThrowIfNull(contentRoot);
Internal\ConfigureContainerAdapter.cs (1)
14ArgumentNullException.ThrowIfNull(action);
Internal\ConsoleLifetime.cs (7)
33/// <exception cref="ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> is <see langword="null"/>.</exception> 45/// <exception cref="ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> or <paramref name="loggerFactory"/> is <see langword="null"/>.</exception> 48ArgumentNullException.ThrowIfNull(options?.Value, nameof(options)); 49ArgumentNullException.ThrowIfNull(applicationLifetime); 50ArgumentNullException.ThrowIfNull(environment); 51ArgumentNullException.ThrowIfNull(hostOptions?.Value, nameof(hostOptions)); 52ArgumentNullException.ThrowIfNull(loggerFactory);
Internal\Host.cs (4)
44ArgumentNullException.ThrowIfNull(services); 45ArgumentNullException.ThrowIfNull(applicationLifetime); 46ArgumentNullException.ThrowIfNull(logger); 47ArgumentNullException.ThrowIfNull(hostLifetime);
Internal\ServiceFactoryAdapter.cs (3)
18ArgumentNullException.ThrowIfNull(serviceProviderFactory); 25ArgumentNullException.ThrowIfNull(contextResolver); 26ArgumentNullException.ThrowIfNull(factoryResolver);
Microsoft.Extensions.Hosting.Abstractions (10)
HostBuilderContext.cs (1)
21ArgumentNullException.ThrowIfNull(properties);
HostEnvironmentEnvExtensions.cs (4)
20ArgumentNullException.ThrowIfNull(hostEnvironment); 32ArgumentNullException.ThrowIfNull(hostEnvironment); 44ArgumentNullException.ThrowIfNull(hostEnvironment); 59ArgumentNullException.ThrowIfNull(hostEnvironment);
HostingEnvironmentExtensions.cs (4)
21ArgumentNullException.ThrowIfNull(hostingEnvironment); 33ArgumentNullException.ThrowIfNull(hostingEnvironment); 45ArgumentNullException.ThrowIfNull(hostingEnvironment); 60ArgumentNullException.ThrowIfNull(hostingEnvironment);
IHostBuilder.cs (1)
65ArgumentNullException.ThrowIfNull(factory);
Microsoft.Extensions.Hosting.Systemd (7)
ServiceState.cs (1)
32ArgumentNullException.ThrowIfNull(state);
SystemdHostBuilderExtensions.cs (2)
40ArgumentNullException.ThrowIfNull(hostBuilder); 88ArgumentNullException.ThrowIfNull(services);
SystemdLifetime.cs (4)
34ArgumentNullException.ThrowIfNull(environment); 35ArgumentNullException.ThrowIfNull(applicationLifetime); 36ArgumentNullException.ThrowIfNull(systemdNotifier); 37ArgumentNullException.ThrowIfNull(loggerFactory);
Microsoft.Extensions.Hosting.Testing (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Hosting.Testing.Tests (6)
HostingFakesExtensionsTests.cs (6)
22Assert.IsType<ArgumentNullException>(exception); 94Assert.IsType<ArgumentNullException>(exception); 101Assert.IsType<ArgumentNullException>(exception); 110Assert.IsType<ArgumentNullException>(exception); 301Assert.Throws<ArgumentNullException>(() => FakeHost.CreateBuilder().AddFakeLoggingOutputSink(null!)); 307Assert.Throws<ArgumentNullException>(() => ((IHostBuilder)null!).AddFakeLoggingOutputSink(_ => { }));
Microsoft.Extensions.Hosting.WindowsServices (7)
WindowsServiceLifetime.cs (5)
48ArgumentNullException.ThrowIfNull(environment); 49ArgumentNullException.ThrowIfNull(applicationLifetime); 50ArgumentNullException.ThrowIfNull(loggerFactory); 51ArgumentNullException.ThrowIfNull(optionsAccessor); 52ArgumentNullException.ThrowIfNull(windowsServiceOptionsAccessor);
WindowsServiceLifetimeHostBuilderExtensions.cs (2)
47ArgumentNullException.ThrowIfNull(hostBuilder); 97ArgumentNullException.ThrowIfNull(services);
Microsoft.Extensions.Http (125)
DefaultHttpClientFactory.cs (6)
68ArgumentNullException.ThrowIfNull(services); 69ArgumentNullException.ThrowIfNull(scopeFactory); 70ArgumentNullException.ThrowIfNull(optionsMonitor); 71ArgumentNullException.ThrowIfNull(filters); 105ArgumentNullException.ThrowIfNull(name); 121ArgumentNullException.ThrowIfNull(name);
DefaultHttpMessageHandlerBuilder.cs (1)
29ArgumentNullException.ThrowIfNull(value);
DefaultTypedHttpClientFactory.cs (2)
20ArgumentNullException.ThrowIfNull(cache); 28ArgumentNullException.ThrowIfNull(httpClient);
DependencyInjection\HttpClientBuilderExtensions.cs (37)
30ArgumentNullException.ThrowIfNull(builder); 31ArgumentNullException.ThrowIfNull(configureClient); 50ArgumentNullException.ThrowIfNull(builder); 51ArgumentNullException.ThrowIfNull(configureClient); 76ArgumentNullException.ThrowIfNull(builder); 77ArgumentNullException.ThrowIfNull(configureHandler); 105ArgumentNullException.ThrowIfNull(builder); 106ArgumentNullException.ThrowIfNull(configureHandler); 133ArgumentNullException.ThrowIfNull(builder); 156ArgumentNullException.ThrowIfNull(builder); 157ArgumentNullException.ThrowIfNull(configureHandler); 186ArgumentNullException.ThrowIfNull(builder); 187ArgumentNullException.ThrowIfNull(configureHandler); 215ArgumentNullException.ThrowIfNull(builder); 240ArgumentNullException.ThrowIfNull(builder); 241ArgumentNullException.ThrowIfNull(configureHandler); 261ArgumentNullException.ThrowIfNull(builder); 262ArgumentNullException.ThrowIfNull(configureBuilder); 288ArgumentNullException.ThrowIfNull(builder); 326ArgumentNullException.ThrowIfNull(builder); 364ArgumentNullException.ThrowIfNull(builder); 427ArgumentNullException.ThrowIfNull(builder); 479ArgumentNullException.ThrowIfNull(builder); 480ArgumentNullException.ThrowIfNull(factory); 525ArgumentNullException.ThrowIfNull(builder); 526ArgumentNullException.ThrowIfNull(factory); 534ArgumentNullException.ThrowIfNull(builder); 535ArgumentNullException.ThrowIfNull(factory); 560ArgumentNullException.ThrowIfNull(builder); 561ArgumentNullException.ThrowIfNull(shouldRedactHeaderValue); 579ArgumentNullException.ThrowIfNull(builder); 580ArgumentNullException.ThrowIfNull(redactedLoggedHeaderNames); 618ArgumentNullException.ThrowIfNull(builder); 638ArgumentNullException.ThrowIfNull(builder); 639ArgumentNullException.ThrowIfNull(configureAdditionalHandlers); 689ArgumentNullException.ThrowIfNull(builder); 731ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (5)
48ArgumentNullException.ThrowIfNull(builder); 49ArgumentNullException.ThrowIfNull(httpClientLoggerFactory); 111ArgumentNullException.ThrowIfNull(builder); 123ArgumentNullException.ThrowIfNull(builder); 141ArgumentNullException.ThrowIfNull(builder);
DependencyInjection\HttpClientFactoryServiceCollectionExtensions.cs (47)
28ArgumentNullException.ThrowIfNull(services); 82ArgumentNullException.ThrowIfNull(services); 83ArgumentNullException.ThrowIfNull(configure); 110ArgumentNullException.ThrowIfNull(services); 111ArgumentNullException.ThrowIfNull(name); 137ArgumentNullException.ThrowIfNull(services); 138ArgumentNullException.ThrowIfNull(name); 139ArgumentNullException.ThrowIfNull(configureClient); 167ArgumentNullException.ThrowIfNull(services); 168ArgumentNullException.ThrowIfNull(name); 169ArgumentNullException.ThrowIfNull(configureClient); 204ArgumentNullException.ThrowIfNull(services); 245ArgumentNullException.ThrowIfNull(services); 284ArgumentNullException.ThrowIfNull(services); 285ArgumentNullException.ThrowIfNull(name); 328ArgumentNullException.ThrowIfNull(services); 329ArgumentNullException.ThrowIfNull(name); 365ArgumentNullException.ThrowIfNull(services); 366ArgumentNullException.ThrowIfNull(configureClient); 404ArgumentNullException.ThrowIfNull(services); 405ArgumentNullException.ThrowIfNull(configureClient); 448ArgumentNullException.ThrowIfNull(services); 449ArgumentNullException.ThrowIfNull(configureClient); 492ArgumentNullException.ThrowIfNull(services); 493ArgumentNullException.ThrowIfNull(configureClient); 534ArgumentNullException.ThrowIfNull(services); 535ArgumentNullException.ThrowIfNull(name); 536ArgumentNullException.ThrowIfNull(configureClient); 576ArgumentNullException.ThrowIfNull(services); 577ArgumentNullException.ThrowIfNull(name); 578ArgumentNullException.ThrowIfNull(configureClient); 623ArgumentNullException.ThrowIfNull(services); 624ArgumentNullException.ThrowIfNull(name); 625ArgumentNullException.ThrowIfNull(configureClient); 670ArgumentNullException.ThrowIfNull(services); 671ArgumentNullException.ThrowIfNull(name); 672ArgumentNullException.ThrowIfNull(configureClient); 711ArgumentNullException.ThrowIfNull(services); 712ArgumentNullException.ThrowIfNull(factory); 750ArgumentNullException.ThrowIfNull(services); 751ArgumentNullException.ThrowIfNull(name); 752ArgumentNullException.ThrowIfNull(factory); 790ArgumentNullException.ThrowIfNull(services); 791ArgumentNullException.ThrowIfNull(factory); 827ArgumentNullException.ThrowIfNull(services); 828ArgumentNullException.ThrowIfNull(name); 829ArgumentNullException.ThrowIfNull(factory);
DependencyInjection\HttpClientKeyedLifetime.cs (1)
29ArgumentNullException.ThrowIfNull(serviceKey);
HttpClientFactoryExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(factory);
HttpMessageHandlerBuilder.cs (3)
77/// <exception cref="ArgumentNullException"><paramref name="primaryHandler"/> or <paramref name="additionalHandlers"/> is <see langword="null"/>.</exception> 83ArgumentNullException.ThrowIfNull(primaryHandler); 84ArgumentNullException.ThrowIfNull(additionalHandlers);
HttpMessageHandlerFactoryExtensions.cs (1)
20ArgumentNullException.ThrowIfNull(factory);
Logging\HttpClientLoggerHandler.cs (3)
19ArgumentNullException.ThrowIfNull(httpClientLogger); 27ArgumentNullException.ThrowIfNull(request); 67ArgumentNullException.ThrowIfNull(request);
Logging\LoggingHttpMessageHandler.cs (6)
26/// <exception cref="ArgumentNullException"><paramref name="logger"/> is <see langword="null"/>.</exception> 29ArgumentNullException.ThrowIfNull(logger); 39/// <exception cref="ArgumentNullException"><paramref name="logger"/> or <paramref name="options"/> is <see langword="null"/>.</exception> 42ArgumentNullException.ThrowIfNull(logger); 43ArgumentNullException.ThrowIfNull(options); 51ArgumentNullException.ThrowIfNull(request);
Logging\LoggingHttpMessageHandlerBuilderFilter.cs (3)
24ArgumentNullException.ThrowIfNull(serviceProvider); 25ArgumentNullException.ThrowIfNull(optionsMonitor); 33ArgumentNullException.ThrowIfNull(next);
Logging\LoggingScopeHttpMessageHandler.cs (6)
25/// <exception cref="ArgumentNullException"><paramref name="logger"/> is <see langword="null"/>.</exception> 28ArgumentNullException.ThrowIfNull(logger); 38/// <exception cref="ArgumentNullException"><paramref name="logger"/> or <paramref name="options"/> is <see langword="null"/>.</exception> 41ArgumentNullException.ThrowIfNull(logger); 42ArgumentNullException.ThrowIfNull(options); 50ArgumentNullException.ThrowIfNull(request);
MetricsFactoryHttpMessageHandlerFilter.cs (2)
17ArgumentNullException.ThrowIfNull(meterFactory); 24ArgumentNullException.ThrowIfNull(next);
src\runtime\src\libraries\Common\src\Extensions\NonCapturingTimer\NonCapturingTimer.cs (1)
16ArgumentNullException.ThrowIfNull(callback);
Microsoft.Extensions.Http.Diagnostics (10)
Http\HttpDependencyMetadataResolver.cs (1)
43/// <exception cref="ArgumentNullException"><paramref name="dependencyMetadata"/> is <see langword="null"/>.</exception>
Logging\HttpClientLoggingHttpClientBuilderExtensions.cs (6)
33/// <exception cref="ArgumentNullException">Argument <paramref name="builder"/> is <see langword="null"/>.</exception> 54/// <exception cref="ArgumentNullException">Argument <paramref name="builder"/> is <see langword="null"/>.</exception> 73/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 96/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 116/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 139/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
Logging\HttpClientLoggingServiceCollectionExtensions.cs (3)
30/// <exception cref="ArgumentNullException">Argument <paramref name="services"/> is <see langword="null"/>.</exception> 60/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 82/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
Microsoft.Extensions.Http.Diagnostics.Tests (18)
Latency\HttpClientLatencyTelemetryExtensionsTest.cs (3)
24act.Should().Throw<ArgumentNullException>(); 27act.Should().Throw<ArgumentNullException>(); 30act.Should().Throw<ArgumentNullException>();
Logging\HttpClientLoggerTest.cs (3)
75await Assert.ThrowsAsync<ArgumentNullException>(act); 755var exception = new ArgumentNullException(); 798var enrichmentException = new ArgumentNullException();
Logging\HttpClientLoggingExtensionsTest.cs (11)
43act.Should().Throw<ArgumentNullException>(); 46act.Should().Throw<ArgumentNullException>(); 49act.Should().Throw<ArgumentNullException>(); 52act.Should().Throw<ArgumentNullException>(); 55act.Should().Throw<ArgumentNullException>(); 62act.Should().Throw<ArgumentNullException>(); 65act.Should().Throw<ArgumentNullException>(); 68act.Should().Throw<ArgumentNullException>(); 71act.Should().Throw<ArgumentNullException>(); 74act.Should().Throw<ArgumentNullException>(); 81act.Should().Throw<ArgumentNullException>();
TelemetryCommonExtensionsTests.cs (1)
49Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddHttpHeadersRedactor());
Microsoft.Extensions.Http.Resilience (12)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Resilience\HttpResilienceContextExtensions.cs (2)
27/// <exception cref="ArgumentNullException"><paramref name="context"/> is <see langword="null"/>.</exception> 39/// <exception cref="ArgumentNullException"><paramref name="context"/> is <see langword="null"/>.</exception>
Resilience\ResilienceHandler.cs (3)
26/// <exception cref="ArgumentNullException">If <paramref name="pipelineProvider"/> is <see langword="null"/>.</exception> 36/// <exception cref="ArgumentNullException">If <paramref name="pipeline"/> is <see langword="null"/>.</exception> 49/// <exception cref="ArgumentNullException">If <paramref name="request"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.Http.Resilience.Tests (16)
Polly\HttpClientResiliencePredicatesTests.cs (2)
28Assert.Throws<ArgumentNullException>(() => 68Assert.Throws<ArgumentNullException>(() => HttpClientResiliencePredicates.IsTransientHttpFailure(null!));
Polly\HttpRetryStrategyOptionsExtensionsTests.cs (2)
18Assert.Throws<ArgumentNullException>(() => ((HttpRetryStrategyOptions)null!).DisableFor(HttpMethod.Get)); 24Assert.Throws<ArgumentNullException>(() => new HttpRetryStrategyOptions().DisableFor(null!));
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (7)
32Assert.Throws<ArgumentNullException>(() => builder.AddResilienceHandler(null!, _ => { })); 34Assert.Throws<ArgumentNullException>(() => builder.AddResilienceHandler(null!, (_, _) => { })); 36Assert.Throws<ArgumentNullException>(() => builder.AddResilienceHandler("dummy", (Action<ResiliencePipelineBuilder<HttpResponseMessage>>)null!)); 37Assert.Throws<ArgumentNullException>(() => builder.AddResilienceHandler("dummy", (Action<ResiliencePipelineBuilder<HttpResponseMessage>, ResilienceHandlerContext>)null!)); 40Assert.Throws<ArgumentNullException>(() => builder!.AddResilienceHandler("pipeline-name", _ => { })); 41Assert.Throws<ArgumentNullException>(() => builder!.AddResilienceHandler("pipeline-name", (_, _) => { })); 295Assert.Throws<ArgumentNullException>(() => builder!.RemoveAllResilienceHandlers());
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (3)
107Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, _validConfigurationSection, options => { })); 117Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, _validConfigurationSection, null!)); 128Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, null!, options => { }));
Resilience\HttpResilienceContextExtensionsTests.cs (2)
18Assert.Throws<ArgumentNullException>(context.GetRequestMessage); 54Assert.Throws<ArgumentNullException>(() => context.SetRequestMessage(request));
Microsoft.Extensions.Identity.Core (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Identity.Stores (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Localization (4)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.Extensions.Localization.Abstractions (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.Logging (2)
LoggerFactory.cs (1)
176ArgumentNullException.ThrowIfNull(provider);
LoggingServiceCollectionExtensions.cs (1)
34ArgumentNullException.ThrowIfNull(services);
Microsoft.Extensions.Logging.Abstractions (7)
LoggerExtensions.cs (2)
484ArgumentNullException.ThrowIfNull(logger); 508ArgumentNullException.ThrowIfNull(logger);
LoggerFactoryExtensions.cs (3)
22ArgumentNullException.ThrowIfNull(factory); 34ArgumentNullException.ThrowIfNull(factory); 35ArgumentNullException.ThrowIfNull(type);
LoggerT.cs (1)
27ArgumentNullException.ThrowIfNull(factory);
LogValuesFormatter.cs (1)
32ArgumentNullException.ThrowIfNull(format);
Microsoft.Extensions.Logging.AzureAppServices (4)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.Extensions.Logging.Configuration (2)
_generated\0\BindingExtensions.g.cs (1)
45ArgumentNullException.ThrowIfNull(configuration);
LoggerProviderConfigurationFactory.cs (1)
21ArgumentNullException.ThrowIfNull(providerType);
Microsoft.Extensions.Logging.Console (12)
_generated\0\BindingExtensions.g.cs (4)
41ArgumentNullException.ThrowIfNull(configuration); 57ArgumentNullException.ThrowIfNull(configuration); 72ArgumentNullException.ThrowIfNull(configuration); 87ArgumentNullException.ThrowIfNull(configuration);
AnsiParser.cs (1)
15ArgumentNullException.ThrowIfNull(onParseWrite);
ConsoleFormatter.cs (1)
21ArgumentNullException.ThrowIfNull(name);
ConsoleLogger.cs (3)
29ArgumentNullException.ThrowIfNull(name); 53ArgumentNullException.ThrowIfNull(formatter); 76ArgumentNullException.ThrowIfNull(records);
ConsoleLoggerExtensions.cs (3)
52ArgumentNullException.ThrowIfNull(configure); 114ArgumentNullException.ThrowIfNull(configure); 149ArgumentNullException.ThrowIfNull(configure);
Microsoft.Extensions.Logging.Debug (1)
DebugLogger.cs (1)
46ArgumentNullException.ThrowIfNull(formatter);
Microsoft.Extensions.Logging.EventLog (10)
_generated\0\BindingExtensions.g.cs (1)
41ArgumentNullException.ThrowIfNull(configuration);
EventLoggerFactoryExtensions.cs (6)
28ArgumentNullException.ThrowIfNull(factory); 29ArgumentNullException.ThrowIfNull(settings); 60ArgumentNullException.ThrowIfNull(builder); 78ArgumentNullException.ThrowIfNull(builder); 79ArgumentNullException.ThrowIfNull(settings); 94ArgumentNullException.ThrowIfNull(configure);
EventLogLogger.cs (3)
32ArgumentNullException.ThrowIfNull(name); 33ArgumentNullException.ThrowIfNull(settings); 82ArgumentNullException.ThrowIfNull(formatter);
Microsoft.Extensions.Logging.EventSource (3)
EventSourceLoggerFactoryExtensions.cs (2)
27ArgumentNullException.ThrowIfNull(factory); 47ArgumentNullException.ThrowIfNull(builder);
EventSourceLoggerProvider.cs (1)
39ArgumentNullException.ThrowIfNull(eventSource);
Microsoft.Extensions.Logging.Generators (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Extensions.Logging.TraceSource (21)
TraceSourceFactoryExtensions.cs (20)
28ArgumentNullException.ThrowIfNull(factory); 29ArgumentNullException.ThrowIfNull(sourceSwitch); 30ArgumentNullException.ThrowIfNull(listener); 47ArgumentNullException.ThrowIfNull(factory); 48ArgumentNullException.ThrowIfNull(sourceSwitch); 66ArgumentNullException.ThrowIfNull(factory); 67ArgumentNullException.ThrowIfNull(switchName); 68ArgumentNullException.ThrowIfNull(listener); 85ArgumentNullException.ThrowIfNull(factory); 86ArgumentNullException.ThrowIfNull(switchName); 103ArgumentNullException.ThrowIfNull(builder); 104ArgumentNullException.ThrowIfNull(switchName); 121ArgumentNullException.ThrowIfNull(builder); 122ArgumentNullException.ThrowIfNull(switchName); 123ArgumentNullException.ThrowIfNull(listener); 138ArgumentNullException.ThrowIfNull(builder); 139ArgumentNullException.ThrowIfNull(sourceSwitch); 158ArgumentNullException.ThrowIfNull(builder); 159ArgumentNullException.ThrowIfNull(sourceSwitch); 160ArgumentNullException.ThrowIfNull(listener);
TraceSourceLoggerProvider.cs (1)
40ArgumentNullException.ThrowIfNull(rootSourceSwitch);
Microsoft.Extensions.ObjectPool (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Extensions.ObjectPool.DependencyInjection (9)
ObjectPoolServiceCollectionExtensions.cs (2)
27/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 48/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (3)
DependencyInjectionExtensionsTests.cs (3)
19Assert.Throws<ArgumentNullException>(() => ObjectPoolServiceCollectionExtensions.AddPooled<TestClass>(null!)); 20Assert.Throws<ArgumentNullException>(() => ObjectPoolServiceCollectionExtensions.AddPooled<ITestClass, TestClass>(null!)); 81Assert.Throws<ArgumentNullException>(() => new ServiceCollection().ConfigurePools(null!));
Microsoft.Extensions.Options (65)
AsyncValidateOptions.cs (6)
27ArgumentNullException.ThrowIfNull(validation); 114ArgumentNullException.ThrowIfNull(validation); 199ArgumentNullException.ThrowIfNull(validation); 292ArgumentNullException.ThrowIfNull(validation); 393ArgumentNullException.ThrowIfNull(validation); 502ArgumentNullException.ThrowIfNull(validation);
ConfigureNamedOptions.cs (6)
42ArgumentNullException.ThrowIfNull(options); 102ArgumentNullException.ThrowIfNull(options); 171ArgumentNullException.ThrowIfNull(options); 249ArgumentNullException.ThrowIfNull(options); 336ArgumentNullException.ThrowIfNull(options); 432ArgumentNullException.ThrowIfNull(options);
ConfigureOptions.cs (1)
34ArgumentNullException.ThrowIfNull(options);
NamedAsyncValidateOptionsFilter.cs (1)
25ArgumentNullException.ThrowIfNull(inner);
NamedValidateOptionsFilter.cs (1)
17ArgumentNullException.ThrowIfNull(inner);
OptionsBuilder.cs (25)
37ArgumentNullException.ThrowIfNull(services); 53ArgumentNullException.ThrowIfNull(configureOptions); 71ArgumentNullException.ThrowIfNull(configureOptions); 92ArgumentNullException.ThrowIfNull(configureOptions); 115ArgumentNullException.ThrowIfNull(configureOptions); 145ArgumentNullException.ThrowIfNull(configureOptions); 178ArgumentNullException.ThrowIfNull(configureOptions); 202ArgumentNullException.ThrowIfNull(configureOptions); 220ArgumentNullException.ThrowIfNull(configureOptions); 241ArgumentNullException.ThrowIfNull(configureOptions); 264ArgumentNullException.ThrowIfNull(configureOptions); 294ArgumentNullException.ThrowIfNull(configureOptions); 327ArgumentNullException.ThrowIfNull(configureOptions); 387ArgumentNullException.ThrowIfNull(validation); 411ArgumentNullException.ThrowIfNull(validation); 442ArgumentNullException.ThrowIfNull(validation); 481ArgumentNullException.ThrowIfNull(validation); 525ArgumentNullException.ThrowIfNull(validation); 574ArgumentNullException.ThrowIfNull(validation); 604ArgumentNullException.ThrowIfNull(validation); 629ArgumentNullException.ThrowIfNull(validation); 664ArgumentNullException.ThrowIfNull(validation); 704ArgumentNullException.ThrowIfNull(validation); 749ArgumentNullException.ThrowIfNull(validation); 799ArgumentNullException.ThrowIfNull(validation);
OptionsBuilderExtensions.cs (1)
55ArgumentNullException.ThrowIfNull(optionsBuilder);
OptionsCache.cs (2)
33ArgumentNullException.ThrowIfNull(createOptions); 98ArgumentNullException.ThrowIfNull(options);
OptionsServiceCollectionExtensions.cs (6)
24ArgumentNullException.ThrowIfNull(services); 100ArgumentNullException.ThrowIfNull(services); 101ArgumentNullException.ThrowIfNull(configureOptions); 141ArgumentNullException.ThrowIfNull(services); 142ArgumentNullException.ThrowIfNull(configureOptions); 282ArgumentNullException.ThrowIfNull(services);
OptionsValidationException.cs (2)
22ArgumentNullException.ThrowIfNull(optionsName); 23ArgumentNullException.ThrowIfNull(optionsType);
PostConfigureOptions.cs (6)
42ArgumentNullException.ThrowIfNull(options); 96ArgumentNullException.ThrowIfNull(options); 165ArgumentNullException.ThrowIfNull(options); 243ArgumentNullException.ThrowIfNull(options); 330ArgumentNullException.ThrowIfNull(options); 426ArgumentNullException.ThrowIfNull(options);
ValidateOptions.cs (6)
22ArgumentNullException.ThrowIfNull(validation); 83ArgumentNullException.ThrowIfNull(validation); 152ArgumentNullException.ThrowIfNull(validation); 229ArgumentNullException.ThrowIfNull(validation); 314ArgumentNullException.ThrowIfNull(validation); 407ArgumentNullException.ThrowIfNull(validation);
ValidateOptionsResultBuilder.cs (2)
34ArgumentNullException.ThrowIfNull(error); 74ArgumentNullException.ThrowIfNull(result);
Microsoft.Extensions.Options.ConfigurationExtensions (9)
ConfigurationChangeTokenSource.cs (1)
34ArgumentNullException.ThrowIfNull(config);
ConfigureFromConfigurationOptions.cs (1)
30ArgumentNullException.ThrowIfNull(config);
NamedConfigureFromConfigurationOptions.cs (1)
40ArgumentNullException.ThrowIfNull(config);
OptionsBuilderConfigurationExtensions.cs (4)
43ArgumentNullException.ThrowIfNull(optionsBuilder); 58/// <exception cref="ArgumentNullException"> 70ArgumentNullException.ThrowIfNull(optionsBuilder); 71ArgumentNullException.ThrowIfNull(configSectionPath);
OptionsConfigurationServiceCollectionExtensions.cs (2)
69ArgumentNullException.ThrowIfNull(services); 70ArgumentNullException.ThrowIfNull(config);
Microsoft.Extensions.Options.Contextual (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Options.Contextual.Tests (1)
ContextualOptionsServiceCollectionExtensionsTests.cs (1)
20Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddContextualOptions());
Microsoft.Extensions.Options.DataAnnotations (2)
DataAnnotationValidateOptions.Async.cs (1)
53ArgumentNullException.ThrowIfNull(options);
DataAnnotationValidateOptions.cs (1)
63ArgumentNullException.ThrowIfNull(options);
Microsoft.Extensions.Primitives (22)
ChangeToken.cs (8)
27ArgumentNullException.ThrowIfNull(changeTokenProducer); 28ArgumentNullException.ThrowIfNull(changeTokenConsumer); 46ArgumentNullException.ThrowIfNull(changeTokenProducer); 47ArgumentNullException.ThrowIfNull(changeTokenConsumer); 65ArgumentNullException.ThrowIfNull(changeTokenProducer); 66ArgumentNullException.ThrowIfNull(changeTokenConsumer); 85ArgumentNullException.ThrowIfNull(changeTokenProducer); 86ArgumentNullException.ThrowIfNull(changeTokenConsumer);
CompositeChangeToken.cs (1)
38ArgumentNullException.ThrowIfNull(changeTokens);
InplaceStringBuilder.cs (2)
60ArgumentNullException.ThrowIfNull(value); 85ArgumentNullException.ThrowIfNull(value);
StringSegment.cs (6)
41/// <exception cref="ArgumentNullException"> 327/// <exception cref="ArgumentNullException"> 333ArgumentNullException.ThrowIfNull(text); 350/// <exception cref="ArgumentNullException"> 356ArgumentNullException.ThrowIfNull(text); 503/// <exception cref="ArgumentNullException">
StringTokenizer.cs (3)
25ArgumentNullException.ThrowIfNull(value); 26ArgumentNullException.ThrowIfNull(separators); 44ArgumentNullException.ThrowIfNull(separators);
StringValues.cs (2)
349/// <exception cref="ArgumentNullException"><paramref name="array" /> is null.</exception> 369ArgumentNullException.ThrowIfNull(array);
Microsoft.Extensions.Resilience (10)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Resilience\ResilienceContextExtensions.cs (2)
22/// <exception cref="ArgumentNullException"><paramref name="context"/> or <paramref name="requestMetadata"/> is <see langword="null"/>.</exception> 36/// <exception cref="ArgumentNullException"><paramref name="context"/> is <see langword="null"/>.</exception>
Resilience\ResilienceServiceCollectionExtensions.cs (1)
36/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.ServiceDiscovery (19)
Http\HttpServiceEndpointResolver.cs (1)
34ArgumentNullException.ThrowIfNull(request);
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
parent\parent\Shared\FxPolyfills\ArgumentException.cs (1)
25ArgumentNullException.ThrowIfNull(argument, paramName);
parent\parent\Shared\FxPolyfills\ArgumentNullException.cs (1)
11extension(ArgumentNullException)
ServiceDiscoveryHttpClientBuilderExtensions.cs (1)
27ArgumentNullException.ThrowIfNull(httpClientBuilder);
ServiceDiscoveryOptions.cs (1)
46ArgumentNullException.ThrowIfNull(requestedSchemes);
ServiceDiscoveryServiceCollectionExtensions.cs (5)
57ArgumentNullException.ThrowIfNull(services); 58ArgumentNullException.ThrowIfNull(configureOptions); 92ArgumentNullException.ThrowIfNull(services); 93ArgumentNullException.ThrowIfNull(configureOptions); 113ArgumentNullException.ThrowIfNull(services);
ServiceEndpointResolver.cs (1)
44ArgumentNullException.ThrowIfNull(serviceName);
ServiceEndpointWatcherFactory.cs (1)
31ArgumentNullException.ThrowIfNull(serviceName);
Microsoft.Extensions.ServiceDiscovery.Abstractions (13)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
parent\parent\Shared\FxPolyfills\ArgumentException.cs (1)
25ArgumentNullException.ThrowIfNull(argument, paramName);
parent\parent\Shared\FxPolyfills\ArgumentNullException.cs (1)
11extension(ArgumentNullException)
ServiceEndpoint.cs (1)
34ArgumentNullException.ThrowIfNull(endPoint);
ServiceEndpointSource.cs (2)
27ArgumentNullException.ThrowIfNull(changeToken); 28ArgumentNullException.ThrowIfNull(features);
UriEndPoint.cs (1)
19ArgumentNullException.ThrowIfNull(uri);
Microsoft.Extensions.ServiceDiscovery.Dns (15)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
ServiceDiscoveryDnsServiceCollectionExtensions.cs (8)
29ArgumentNullException.ThrowIfNull(services); 46ArgumentNullException.ThrowIfNull(services); 47ArgumentNullException.ThrowIfNull(configureOptions); 79ArgumentNullException.ThrowIfNull(services); 95ArgumentNullException.ThrowIfNull(services); 96ArgumentNullException.ThrowIfNull(configureOptions); 125ArgumentNullException.ThrowIfNull(services); 126ArgumentNullException.ThrowIfNull(configureOptions);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (14)
DnsServicePublicApiTests.cs (14)
19var exception = Assert.Throws<ArgumentNullException>(action); 31var exception = Assert.Throws<ArgumentNullException>(action); 43var exception = Assert.Throws<ArgumentNullException>(action); 54var exception = Assert.Throws<ArgumentNullException>(action); 66var exception = Assert.Throws<ArgumentNullException>(action); 77var exception = Assert.Throws<ArgumentNullException>(action); 89var exception = Assert.Throws<ArgumentNullException>(action);
Microsoft.Extensions.ServiceDiscovery.Tests (32)
ExtensionsServicePublicApiTests.cs (31)
26var exception = Assert.Throws<ArgumentNullException>(action); 37var exception = Assert.Throws<ArgumentNullException>(action); 49var exception = Assert.Throws<ArgumentNullException>(action); 61var exception = Assert.Throws<ArgumentNullException>(action); 72var exception = Assert.Throws<ArgumentNullException>(action); 84var exception = Assert.Throws<ArgumentNullException>(action); 96var exception = Assert.Throws<ArgumentNullException>(action); 107var exception = Assert.Throws<ArgumentNullException>(action); 119var exception = Assert.Throws<ArgumentNullException>(action); 131var exception = Assert.Throws<ArgumentNullException>(action); 142var exception = Assert.Throws<ArgumentNullException>(action); 160var exception = await Assert.ThrowsAsync<ArgumentNullException>(action); 171var exception = Assert.Throws<ArgumentNullException>(action); 188? Assert.Throws<ArgumentNullException>(action) 202var exception = Assert.Throws<ArgumentNullException>(action); 215var exception = Assert.Throws<ArgumentNullException>(action);
ServiceEndpointResolverTests.cs (1)
53Assert.Throws<ArgumentNullException>(() => resolverFactory.CreateWatcher(null!));
Microsoft.Extensions.ServiceDiscovery.Yarp (10)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
ServiceDiscoveryReverseProxyServiceCollectionExtensions.cs (3)
20ArgumentNullException.ThrowIfNull(builder); 32ArgumentNullException.ThrowIfNull(services); 42ArgumentNullException.ThrowIfNull(services);
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (6)
YarpServiceDiscoveryPublicApiTests.cs (6)
20var exception = Assert.Throws<ArgumentNullException>(action); 31var exception = Assert.Throws<ArgumentNullException>(action); 42var exception = Assert.Throws<ArgumentNullException>(action);
Microsoft.Extensions.Telemetry (26)
Enrichment\ApplicationEnricherServiceCollectionExtensions.cs (6)
22/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 36/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 63/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 78/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 95/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
Enrichment\ProcessEnricherServiceCollectionExtensions.cs (3)
21/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null" />.</exception> 36/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception> 54/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
Latency\LatencyConsoleExtensions.cs (3)
23/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 40/// <exception cref="ArgumentNullException">Either <paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException">Either <paramref name="services"/> or <paramref name="section"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\GetOrAdd\GetOrAddExtensions.cs (1)
24/// <exception cref="ArgumentNullException">The dictionary, key, or value factory is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Sampling\SamplingLoggerBuilderExtensions.cs (6)
25/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 41/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 72/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="configure"/> is <see langword="null"/>.</exception> 98/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 124/// <exception cref="ArgumentNullException"><paramref name="builder"/> is <see langword="null"/>.</exception> 142/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="sampler"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.Telemetry.Abstractions (27)
Enrichment\EnrichmentServiceCollectionExtensions.cs (4)
22/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 33/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="enricher"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception> 54/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="enricher"/> is <see langword="null"/>.</exception>
Enrichment\IEnrichmentTagCollector.cs (1)
20/// <exception cref="ArgumentNullException">
Http\RequestMetadata.cs (1)
33/// <exception cref="ArgumentNullException">Any argument is <see langword="null"/>.</exception>
Latency\ILatencyContext.cs (1)
28/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
Latency\NullLatencyContextServiceCollectionExtensions.cs (1)
21/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception>
Latency\Registration\CheckpointToken.cs (1)
31/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Latency\Registration\ILatencyContextTokenIssuer.cs (3)
18/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 35/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Latency\Registration\LatencyRegistryServiceCollectionExtensions.cs (3)
21/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="names"/> is <see langword="null"/>.</exception> 39/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="names"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="names"/> is <see langword="null"/>.</exception>
Latency\Registration\MeasureToken.cs (1)
31/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Latency\Registration\TagToken.cs (1)
31/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
Logging\ITagCollector.cs (2)
22/// <exception cref="ArgumentNullException"><paramref name="tagName"/> is <see langword="null"/>.</exception> 34/// <exception cref="ArgumentNullException"><paramref name="tagName"/> is <see langword="null"/>.</exception>
Logging\TagProviderAttribute.cs (1)
23/// <exception cref="ArgumentNullException">
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.Telemetry.Abstractions.Tests (13)
Enrichment\EnricherExtensionsTests.cs (3)
16Assert.Throws<ArgumentNullException>(() => new ServiceCollection().AddLogEnricher(null!)); 26Assert.Throws<ArgumentNullException>(() => 29Assert.Throws<ArgumentNullException>(() =>
Latency\LatencyRegistryExtensionsTests.cs (6)
16Assert.Throws<ArgumentNullException>( 18Assert.Throws<ArgumentNullException>( 20Assert.Throws<ArgumentNullException>( 22Assert.Throws<ArgumentNullException>( 24Assert.Throws<ArgumentNullException>( 26Assert.Throws<ArgumentNullException>(
Latency\NoopLatencyContextTests.cs (1)
15Assert.Throws<ArgumentNullException>(() =>
Logging\TagNameAttributeTests.cs (1)
17Assert.Throws<ArgumentNullException>(() => new TagNameAttribute(null!));
Logging\TagProviderAttributeTests.cs (2)
26Assert.Throws<ArgumentNullException>(() => new TagProviderAttribute(null!, "test")); 27Assert.Throws<ArgumentNullException>(() => new TagProviderAttribute(typeof(object), null!));
Microsoft.Extensions.Telemetry.Tests (26)
Enrichment\ApplicationEnricherExtensionsTests.cs (4)
20Assert.Throws<ArgumentNullException>(() => 23Assert.Throws<ArgumentNullException>(() => 26Assert.Throws<ArgumentNullException>(() => 29Assert.Throws<ArgumentNullException>(() =>
Enrichment\ProcessEnricherExtensionsTests.cs (5)
20Assert.Throws<ArgumentNullException>(() => 23Assert.Throws<ArgumentNullException>(() => 26Assert.Throws<ArgumentNullException>(() => 29Assert.Throws<ArgumentNullException>(() => 32Assert.Throws<ArgumentNullException>(() =>
Enrichment\ServiceEnricherExtensionsTests.cs (4)
21Assert.Throws<ArgumentNullException>(() => 24Assert.Throws<ArgumentNullException>(() => 27Assert.Throws<ArgumentNullException>(() => 30Assert.Throws<ArgumentNullException>(() =>
Latency\Internal\RegistryTests.cs (3)
15Assert.Throws<ArgumentNullException>(() => new Registry(null!, true)); 16Assert.Throws<ArgumentNullException>(() => new Registry(null!, false)); 38Assert.Throws<ArgumentNullException>(() => r.GetRegisteredKeyIndex(null!));
Latency\LatencyConsoleExtensionsTests.cs (3)
20Assert.Throws<ArgumentNullException>(() => LatencyConsoleExtensions.AddConsoleLatencyDataExporter(null!)); 21Assert.Throws<ArgumentNullException>(() => LatencyConsoleExtensions.AddConsoleLatencyDataExporter(s, configure: null!)); 22Assert.Throws<ArgumentNullException>(() => LatencyConsoleExtensions.AddConsoleLatencyDataExporter(s, section: null!));
Latency\LatencyContextExtensionTests.cs (1)
20Assert.Throws<ArgumentNullException>(() =>
Logging\ExtendedLoggerFactoryTests.cs (1)
34Assert.Throws<ArgumentNullException>(() => factory.AddProvider(null!));
Logging\ExtendedLoggerTests.cs (1)
457catch (ArgumentNullException e)
Sampling\SamplingLoggerBuilderExtensionsTests.cs (4)
270Assert.Throws<ArgumentNullException>(action); 273Assert.Throws<ArgumentNullException>(action); 276Assert.Throws<ArgumentNullException>(action); 279Assert.Throws<ArgumentNullException>(action);
Microsoft.Extensions.TimeProvider.Testing (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Microsoft.Extensions.VectorData.Abstractions (10)
IKeywordHybridSearchable.cs (1)
69/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
IVectorSearchable.cs (1)
67/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
VectorStore.cs (1)
77/// <exception cref="ArgumentNullException"><paramref name="serviceType"/> is <see langword="null"/>.</exception>
Microsoft.Extensions.VectorData.ConformanceTests (18)
DependencyInjectionTests.cs (6)
38Assert.Throws<ArgumentNullException>(() => registrationDelegate(null!, null, ServiceLifetime.Singleton)); 39Assert.Throws<ArgumentNullException>(() => registrationDelegate(null!, "serviceKey", ServiceLifetime.Singleton)); 44Assert.Throws<ArgumentNullException>(() => registrationDelegate(null!, null, CollectionName, ServiceLifetime.Singleton)); 45Assert.Throws<ArgumentNullException>(() => registrationDelegate(null!, "serviceKey", CollectionName, ServiceLifetime.Singleton)); 58Assert.Throws<ArgumentNullException>(() => registrationDelegate(services, null, null!, ServiceLifetime.Singleton)); 59Assert.Throws<ArgumentNullException>(() => registrationDelegate(services, "serviceKey", null!, ServiceLifetime.Singleton));
ModelTests\BasicModelTests.cs (8)
53ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => Collection.GetAsync((TKey)default!)); 60ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => Collection.GetAsync(keys: null!).ToArrayAsync().AsTask()); 348ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => Collection.UpsertAsync(records: null!)); 409ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => Collection.DeleteAsync(keys: null!));
ModelTests\DynamicModelTests.cs (4)
58ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => fixture.Collection.GetAsync((TKey)default!)); 65ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => fixture.Collection.GetAsync(keys: null!).ToArrayAsync().AsTask());
Microsoft.Extensions.WebEncoders (2)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 29ArgumentNullException.ThrowIfNull(argument, paramName);
Microsoft.Gen.BuildMetadata.Generated.Tests (5)
BuildMetadataConfigBuilderExtensionsTests.cs (2)
20Assert.Throws<ArgumentNullException>(() => builder!.AddBuildMetadata()); 30Assert.Throws<ArgumentNullException>(() => builder.AddBuildMetadata(sectionName: null!));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BuildMetadataExtensions.g.cs (3)
66global::System.ArgumentNullException.ThrowIfNull(builder); 96global::System.ArgumentNullException.ThrowIfNull(builder); 124global::System.ArgumentNullException.ThrowIfNull(builder);
Microsoft.Gen.BuildMetadata.Unit.Tests (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BuildMetadataExtensions.g.cs (3)
66global::System.ArgumentNullException.ThrowIfNull(builder); 96global::System.ArgumentNullException.ThrowIfNull(builder); 124global::System.ArgumentNullException.ThrowIfNull(builder);
Microsoft.Gen.Metrics.Generated.Tests (8)
MetricTests.cs (4)
476var ex = Assert.Throws<ArgumentNullException>(() => recorder.Record(4L, null!)); 483var ex = Assert.Throws<ArgumentNullException>(() => counter.Add(4M, null!));
MetricTests.Ext.cs (4)
21var ex = Assert.Throws<ArgumentNullException>(() => recorder.Record(4L, null!)); 28var ex = Assert.Throws<ArgumentNullException>(() => counter.Add(4M, null!));
Microsoft.Interop.ComInterfaceGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Interop.LibraryImportGenerator (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.Interop.SourceGeneration (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
Microsoft.JSInterop (26)
DotNetObjectReference.cs (1)
21ArgumentNullException.ThrowIfNull(value);
JSInProcessObjectReferenceExtensions.cs (1)
23ArgumentNullException.ThrowIfNull(jsObjectReference);
JSInProcessRuntimeExtensions.cs (1)
23ArgumentNullException.ThrowIfNull(jsRuntime);
JSObjectReferenceExtensions.cs (11)
24ArgumentNullException.ThrowIfNull(jsObjectReference); 43ArgumentNullException.ThrowIfNull(jsObjectReference); 62ArgumentNullException.ThrowIfNull(jsObjectReference); 80ArgumentNullException.ThrowIfNull(jsObjectReference); 95ArgumentNullException.ThrowIfNull(jsObjectReference); 113ArgumentNullException.ThrowIfNull(jsObjectReference); 130ArgumentNullException.ThrowIfNull(jsObjectReference); 148ArgumentNullException.ThrowIfNull(jsObjectReference); 163ArgumentNullException.ThrowIfNull(jsObjectReference); 181ArgumentNullException.ThrowIfNull(jsObjectReference); 200ArgumentNullException.ThrowIfNull(jsObjectReference);
JSRuntime.cs (1)
348ArgumentNullException.ThrowIfNull(dotNetObjectReference);
JSRuntimeExtensions.cs (11)
24ArgumentNullException.ThrowIfNull(jsRuntime); 43ArgumentNullException.ThrowIfNull(jsRuntime); 62ArgumentNullException.ThrowIfNull(jsRuntime); 80ArgumentNullException.ThrowIfNull(jsRuntime); 95ArgumentNullException.ThrowIfNull(jsRuntime); 113ArgumentNullException.ThrowIfNull(jsRuntime); 130ArgumentNullException.ThrowIfNull(jsRuntime); 148ArgumentNullException.ThrowIfNull(jsRuntime); 163ArgumentNullException.ThrowIfNull(jsRuntime); 181ArgumentNullException.ThrowIfNull(jsRuntime); 200ArgumentNullException.ThrowIfNull(jsRuntime);
Microsoft.Maui (8)
Animations\Easing.cs (1)
112 /// <exception cref="ArgumentNullException">Thrown when <paramref name="easingFunc"/> is <see langword="null"/>.</exception>
Dispatching\DispatcherExtensions.cs (1)
107 /// <exception cref="ArgumentNullException">Thrown when <paramref name="callback"/> is <see langword="null"/>.</exception>
Extensions\EnumerableExtensions.cs (2)
62 /// <exception cref="ArgumentNullException">Throws when <paramref name="enumerable"/> is <see langword="null"/>.</exception> 100 /// <exception cref="ArgumentNullException">Throws when <paramref name="enumerable"/> is <see langword="null"/>.</exception>
Fonts\FileSystemEmbeddedFontLoader.cs (1)
22 /// <exception cref="ArgumentNullException">Thrown when <paramref name="rootPath"/> is null.</exception>
Fonts\FontFile.cs (1)
61 /// <exception cref="ArgumentNullException">Thrown if <paramref name="input"/> is <see langword="null"/></exception>
Hosting\Fonts\FontCollectionExtensions.cs (2)
16 /// <exception cref="ArgumentNullException">The <paramref name="filename"/> parameter is <c>null</c>.</exception> 36 /// <exception cref="ArgumentNullException">The <paramref name="filename"/> parameter is <c>null</c>. -or- The <paramref name="assembly"/> parameter is <c>null</c>.</exception>
Microsoft.Maui.Controls (37)
BindableObject.cs (9)
80 /// <exception cref="ArgumentNullException">Thrown when <paramref name="property"/> is <see langword="null"/>.</exception> 114 /// <exception cref="ArgumentNullException">Thrown when <paramref name="propertyKey"/> is <see langword="null"/>.</exception> 159 /// <exception cref="ArgumentNullException">Thrown when <paramref name="property"/> is <see langword="null"/>.</exception> 246 /// <exception cref="ArgumentNullException">Thrown when <paramref name="targetProperty"/> is <see langword="null"/>.</exception> 262 /// <exception cref="ArgumentNullException">Thrown when <paramref name="property"/> is <see langword="null"/>.</exception> 478 /// <exception cref="ArgumentNullException">Thrown when <paramref name="property"/> is <see langword="null"/>.</exception> 504 /// <exception cref="ArgumentNullException">Thrown when <paramref name="propertyKey"/> is <see langword="null"/>.</exception> 790 /// <exception cref="ArgumentNullException">Thrown when <paramref name="property"/> is <see langword="null"/>.</exception> 801 /// <exception cref="ArgumentNullException">Thrown when <paramref name="propertyKey"/> is <see langword="null"/>.</exception>
BindableObjectExtensions.cs (1)
128 /// <exception cref="ArgumentNullException"></exception>
BindingBase.Create.cs (1)
20 /// <exception cref="ArgumentNullException"></exception>
Layout\GridExtensions.cs (3)
15 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is null.</exception> 34 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is null.</exception> 55 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is null.</exception>
OrderedDictionary.cs (8)
163 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception> 176 /// <exception cref="ArgumentNullException">If <paramref name="key" /> is <c>null</c>.</exception> 213 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception> 225 /// <exception cref="ArgumentNullException">If <paramref name="key" /> is <c>null</c>.</exception> 295 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception> 310 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception> 328 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception> 349 /// <exception cref="ArgumentNullException"><paramref name="key" /> is <c>null</c>.</exception>
Page\Page.cs (1)
337 /// <exception cref="ArgumentNullException">Thrown when <paramref name="cancel"/> is <see langword="null"/> or empty.</exception>
ShadowTypeConverter.cs (2)
45 /// <exception cref="ArgumentNullException">Thrown when <paramref name="value" /> is null.</exception> 141 /// <exception cref="ArgumentNullException">Thrown when <paramref name="value" /> is null.</exception>
ViewExtensions.cs (12)
21 /// <exception cref="ArgumentNullException">Thrown if <paramref name="view"/> is <see langword="null"/>.</exception> 70 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 88 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 116 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 134 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 152 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 170 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 188 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 205 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 223 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 241 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception> 260 /// <exception cref="ArgumentNullException">Thrown when <paramref name="view"/> is <see langword="null"/>.</exception>
Microsoft.Maui.Controls.Maps (1)
Map.cs (1)
193 /// <exception cref="ArgumentNullException">Thrown when <paramref name="mapSpan"/> is <see langword="null"/>.</exception>
Microsoft.Maui.Essentials (18)
Accelerometer\Accelerometer.shared.cs (1)
85 /// <remarks>Will throw <see cref="FeatureNotSupportedException"/> if not supported on device. Will throw <see cref="ArgumentNullException"/> if handler is null.</remarks>
AppActions\AppActions.shared.cs (1)
208 /// <exception cref="ArgumentNullException">Thrown when either <paramref name="id"/> or <paramref name="title"/> is <see langword="null"/>.</exception>
Geocoding\Geocoding.shared.cs (1)
98 /// <exception cref="ArgumentNullException">Thrown when <paramref name="location"/> is <see langword="null"/>.</exception>
Geolocation\Geolocation.shared.cs (2)
55 /// <exception cref="ArgumentNullException">Thrown when <paramref name="request"/> is <see langword="null"/>.</exception> 143 /// <exception cref="ArgumentNullException">Thrown when <paramref name="request"/> is <see langword="null"/>.</exception>
Geolocation\GeolocationLocationChangedEventArgs.shared.cs (1)
20 /// <exception cref="ArgumentNullException">Thrown when <paramref name="location"/> is <see langword="null"/>.</exception>
Map\Map.shared.cs (3)
202 /// <exception cref="ArgumentNullException">Thrown when either <paramref name="location"/> or <paramref name="options"/> is <see langword="null"/>.</exception> 221 /// <exception cref="ArgumentNullException">Thrown when <paramref name="location"/> is <see langword="null"/>.</exception> 233 /// <exception cref="ArgumentNullException">Thrown when either <paramref name="location"/> or <paramref name="options"/> is <see langword="null"/>.</exception>
PhoneDialer\PhoneDialer.shared.cs (4)
20 /// Will throw <see cref="ArgumentNullException"/> if <paramref name="number"/> is not valid. 23 /// <exception cref="ArgumentNullException">Thrown if <paramref name="number"/> is not valid.</exception> 44 /// Will throw <see cref="ArgumentNullException"/> if <paramref name="number"/> is not valid. 47 /// <exception cref="ArgumentNullException">Thrown if <paramref name="number"/> is not valid.</exception>
Share\Share.shared.cs (3)
105 /// <exception cref="ArgumentNullException">Thrown when <paramref name="request"/> is <see langword="null"/>.</exception> 119 /// <exception cref="ArgumentNullException">Thrown when <paramref name="request"/> is <see langword="null"/>.</exception> 133 /// <exception cref="ArgumentNullException">Thrown when <paramref name="request"/> is <see langword="null"/>.</exception>
Types\Location.shared.cs (1)
96 /// <exception cref="ArgumentNullException">Thrown if <paramref name="point"/> is <see langword="null"/>.</exception>
Types\Placemark.shared.cs (1)
21 /// <exception cref="ArgumentNullException">Thrown when <paramref name="placemark"/> is <see langword="null"/>.</exception>
Microsoft.ML.AutoML.Tests (4)
UserInputValidationTests.cs (4)
29var ex = Assert.Throws<ArgumentNullException>(() => UserInputValidationUtil.ValidateExperimentExecuteArgs(null, new ColumnInformation(), null, TaskKind.Regression)); 173var ex = Assert.Throws<ArgumentNullException>(() => UserInputValidationUtil.ValidateInferColumnsArgs(null, "Label"));
Microsoft.ML.Core (5)
Environment\HostEnvironmentBase.cs (5)
582/// <exception cref="ArgumentNullException">When <paramref name="name"/> is null or empty.</exception> 600/// <exception cref="ArgumentNullException">When <paramref name="name"/> is null or empty.</exception> 615/// <exception cref="ArgumentNullException">When <paramref name="name"/> is null or empty.</exception> 636/// <exception cref="ArgumentNullException">When <paramref name="name"/> is null or empty.</exception> 654/// <exception cref="ArgumentNullException">When <paramref name="name"/> is null or empty.</exception>
Microsoft.ML.Data (2)
Utilities\StreamUtils.cs (2)
185/// <exception cref="ArgumentNullException"><paramref name="buffer"/> was null.</exception> 248/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception>
Microsoft.ML.Parquet (1)
PartitionedPathUtils.cs (1)
44catch (ArgumentNullException e)
Microsoft.ML.Predictor.Tests (3)
TestGamPublicInterfaces.cs (3)
59Assert.Throws<System.ArgumentNullException>(() => new GamRegressionModelParameters(mlContext, binUpperBounds, null, intercept)); 60Assert.Throws<System.ArgumentNullException>(() => new GamRegressionModelParameters(mlContext, null, binEffects, intercept)); 61Assert.Throws<System.ArgumentNullException>(() => new GamRegressionModelParameters(mlContext, null, null, intercept));
Microsoft.ML.Tests (2)
ImagesTests.cs (2)
1264Assert.Throws<ArgumentNullException>(() => MLImage.CreateFromFile(null)); 1266Assert.Throws<ArgumentNullException>(() => MLImage.CreateFromStream(null));
Microsoft.ML.Tokenizers (13)
Model\BertTokenizer.cs (5)
289/// <exception cref="ArgumentNullException">When <paramref name="tokenIds"/> is null.</exception> 338/// <exception cref="ArgumentNullException">When <paramref name="tokenIds"/> is null.</exception> 401/// <exception cref="ArgumentNullException"></exception> 465/// <exception cref="ArgumentNullException"></exception> 557/// <exception cref="ArgumentNullException">When <paramref name="tokenIds"/> is null.</exception>
Model\BpeOptions.cs (1)
21/// <exception cref="ArgumentNullException">Thrown when <paramref name="vocabulary"/> is null.</exception>
Model\EnglishRobertaTokenizer.cs (2)
1110/// <exception cref="ArgumentNullException">Any of `pad`, `eos`, `unk` and `bos` is `null`.</exception> 1225/// <exception cref="ArgumentNullException">`symbol` is `null`.</exception>
Model\TiktokenTokenizer.cs (2)
44/// <exception cref="ArgumentNullException">Thrown when <paramref name="vocabFilePath"/> is null or empty.</exception> 59/// <exception cref="ArgumentNullException">Thrown when <paramref name="vocabStream"/> is null or empty.</exception>
PreTokenizer\CompositePreTokenizer.cs (1)
28/// <exception cref="ArgumentNullException">Thrown when <paramref name="preTokenizers"/> is null.</exception>
PreTokenizer\RegexPreTokenizer.cs (1)
26/// <exception cref="ArgumentNullException">When regex is null</exception>
Tokenizer.cs (1)
358/// <exception cref="ArgumentNullException"><paramref name="ids"/> is null.</exception>
Microsoft.ML.Tokenizers.Tests (4)
LlamaTests.cs (1)
347Assert.Throws<ArgumentNullException>(() => llamaTokenizer.Decode(null!));
TiktokenTests.cs (1)
541Assert.Throws<ArgumentNullException>(() => TiktokenTokenizer.CreateForEncoding(null!));
UnigramTests.cs (2)
601Assert.Throws<ArgumentNullException>(() => 645Assert.Throws<ArgumentNullException>(() =>
Microsoft.NET.Build.Extensions.Tasks (1)
GetDependsOnNETStandard.cs (1)
87|| (e is ArgumentException && !(e is ArgumentNullException))
Microsoft.NET.HostModel (5)
Bundle\Bundler.cs (1)
282ArgumentNullException.ThrowIfNull(bundleContents);
ComHost\ConflictingGuidException.cs (2)
18ArgumentNullException.ThrowIfNull(typeName1); 19ArgumentNullException.ThrowIfNull(typeName2);
ComHost\MissingGuidException.cs (1)
18ArgumentNullException.ThrowIfNull(typeName);
ResourceUpdater.cs (1)
43ArgumentNullException.ThrowIfNull(stream);
Microsoft.Net.Http.Headers (6)
ContentDispositionHeaderValueIdentityExtensions.cs (2)
20ArgumentNullException.ThrowIfNull(header); 33ArgumentNullException.ThrowIfNull(header);
GenericHeaderParser.cs (1)
17ArgumentNullException.ThrowIfNull(getParsedValueLength);
RangeConditionHeaderValue.cs (1)
41ArgumentNullException.ThrowIfNull(entityTag);
StringWithQualityHeaderValueComparer.cs (2)
43ArgumentNullException.ThrowIfNull(stringWithQuality1); 44ArgumentNullException.ThrowIfNull(stringWithQuality2);
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\MsDeploy\NormalizeServiceUrl.cs (1)
130catch (ArgumentNullException)
Microsoft.Private.Windows.Core (22)
src\winforms\src\Microsoft.Private.Windows.Polyfills\Exceptions\ArgumentExtensions.cs (4)
21/// <exception cref="ArgumentNullException"><paramref name="argument"/> is null.</exception> 34/// <exception cref="ArgumentNullException"><paramref name="argument"/> is null.</exception> 54ArgumentNullException.ThrowIfNull(argument, paramName); 61ArgumentNullException.ThrowIfNull(argument, paramName);
src\winforms\src\Microsoft.Private.Windows.Polyfills\Exceptions\ArgumentNullExtensions.cs (5)
7/// Helper to allow using new patterns for throwing <see cref="ArgumentNullException"/>s. 11extension(ArgumentNullException) 13/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 24/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 35/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
System\ArgumentValidation.cs (1)
10ArgumentNullException.ThrowIfNull(argument, paramName);
System\IO\StreamExtensions.cs (1)
17ArgumentNullException.ThrowIfNull(stream);
System\Private\Windows\Ole\DataStore.cs (2)
108ArgumentNullException.ThrowIfNull(format); 120ArgumentNullException.ThrowIfNull(data);
System\Private\Windows\Ole\DragDropHelper.cs (5)
134ArgumentNullException.ThrowIfNull(dataObject); 195ArgumentNullException.ThrowIfNull(dataObject); 243ArgumentNullException.ThrowIfNull(e); 259ArgumentNullException.ThrowIfNull(dataObject); 340ArgumentNullException.ThrowIfNull(dataObject);
System\Private\Windows\Ole\TypeBinder.cs (1)
104ArgumentNullException.ThrowIfNull(typeName);
System\Value.cs (2)
552ArgumentNullException.ThrowIfNull(array, nameof(segment)); 571ArgumentNullException.ThrowIfNull(array, nameof(segment));
Windows\Win32\System\Com\ComHelpers.cs (1)
299/// <exception cref="ArgumentNullException"><paramref name="unknown"/> is <see langword="null"/>.</exception>
Microsoft.SourceLink.Tools.Package (2)
SourceLinkMap.cs (2)
80/// <exception cref="ArgumentNullException"><paramref name="json"/> is null.</exception> 187/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
Microsoft.TemplateEngine.Abstractions (3)
Parameters\IParameterDefinitionSet.cs (3)
28/// <exception cref="ArgumentNullException"><paramref name="key">key</paramref> is null.</exception> 35/// <exception cref="ArgumentNullException"><paramref name="key">key</paramref> is null.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="key">key</paramref> is null.</exception>
Microsoft.TemplateEngine.Cli (1)
TemplateGroup.cs (1)
27/// <exception cref="ArgumentNullException">when <paramref name="templates"/> is <c>null</c>.</exception>
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
LocalizationModelDeserializer.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="file"/> is null.</exception>
Microsoft.TestPlatform.AdapterUtilities (5)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (3)
46/// <exception cref="ArgumentNullException"> 82/// <exception cref="ArgumentNullException"> 117/// <exception cref="ArgumentNullException">
TestIdProvider.cs (2)
33/// <exception cref="ArgumentNullException">Thrown when <paramref name="str"/> is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">Thrown when <paramref name="bytes"/> is <see langword="null"/>.</exception>
Microsoft.TestPlatform.CommunicationUtilities (4)
Json\Jsonite\Jsonite.cs (4)
285/// <exception cref="System.ArgumentNullException">if text is null</exception> 298/// <exception cref="System.ArgumentNullException">if reader is null</exception> 312/// <exception cref="System.ArgumentNullException">if reader is null</exception> 324/// <exception cref="System.ArgumentNullException">if reader is null</exception>
Microsoft.TestPlatform.CoreUtilities (2)
ValidateArg.cs (2)
54/// <exception cref="ArgumentNullException"> 75/// <exception cref="ArgumentNullException">
Microsoft.VisualBasic.Core (5)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (2)
322Friend Shared Function GetArgumentNullException(ByVal ArgumentName As String) As ArgumentNullException 335ByVal ResourceID As String, ByVal ParamArray PlaceHolders() As String) As ArgumentNullException
Microsoft\VisualBasic\FileIO\FileSystem.vb (3)
1331TypeOf ex Is ArgumentNullException Or TypeOf ex Is IO.DirectoryNotFoundException Or 1510TypeOf ex Is ArgumentNullException OrElse 1518TypeOf ex Is ArgumentNullException OrElse
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
ObjectModel\UriDataAttachment.cs (1)
31/// <exception cref="ArgumentNullException">'uri' is null</exception>
Microsoft.Web.Xdt.Extensions (3)
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (1)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
src\aspnetcore\src\Shared\ThrowHelpers\ArgumentThrowHelper.cs (2)
14/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty.</summary> 42/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null or an <see cref="ArgumentException"/> if it is empty or whitespace.</summary>
Microsoft.Win32.Registry (6)
Microsoft\Win32\Registry.cs (1)
38ArgumentNullException.ThrowIfNull(keyName);
Microsoft\Win32\RegistryKey.cs (5)
448ArgumentNullException.ThrowIfNull(machineName); 604ArgumentNullException.ThrowIfNull(registrySecurity); 749ArgumentNullException.ThrowIfNull(handle); 1235ArgumentNullException.ThrowIfNull(value); 1509ArgumentNullException.ThrowIfNull(name);
Microsoft.Win32.Registry.AccessControl (3)
Microsoft\Win32\RegistryAclExtensions.cs (3)
13ArgumentNullException.ThrowIfNull(key); 20ArgumentNullException.ThrowIfNull(key); 27ArgumentNullException.ThrowIfNull(key);
MSBuild (16)
CommandLine\CommandLineSwitchException.cs (1)
57ArgumentNullException.ThrowIfNull(info);
InitializationException.cs (1)
63ArgumentNullException.ThrowIfNull(info);
OutOfProcTaskHostNode.cs (2)
1148ArgumentNullException.ThrowIfNull(context); 1169ArgumentNullException.ThrowIfNull(context);
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (2)
191ArgumentNullException.ThrowIfNull(factory); 353ArgumentNullException.ThrowIfNull(packet);
src\msbuild\src\Shared\StringExtensions.cs (2)
18ArgumentNullException.ThrowIfNull(aString); 19ArgumentNullException.ThrowIfNull(oldValue);
src\msbuild\src\Shared\TaskParameter.cs (3)
767ArgumentNullException.ThrowIfNull(metadataName); 790ArgumentNullException.ThrowIfNull(destinationItem); 873ArgumentNullException.ThrowIfNull(metadataName);
src\msbuild\src\Shared\TypeLoader.cs (3)
444ArgumentNullException.ThrowIfNull(desiredInterface); 445ArgumentNullException.ThrowIfNull(loadInfo); 479ArgumentNullException.ThrowIfNull(typeName);
XMake.cs (2)
3192catch (ArgumentNullException ex) 3301catch (ArgumentNullException ex)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
49[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArgumentNullException))]
netstandard (1)
netstandard.cs (1)
42[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArgumentNullException))]
NuGet.Build.Tasks (2)
BuildTasksUtility.cs (2)
703/// <exception cref="ArgumentNullException"><paramref name="projectFullPath" /> is <see langword="null" />.</exception> 720/// <exception cref="ArgumentNullException"><paramref name="projectDirectory" /> -or- <paramref name="projectName" /> is <see langword="null" />.</exception>
NuGet.CommandLine.XPlat (2)
Commands\ConfigCommands\ConfigRunners.cs (2)
174/// <exception cref="ArgumentNullException"></exception> 261/// <exception cref="ArgumentNullException"></exception>
NuGet.Commands (18)
RestoreCommand\LockFileBuilderCache.cs (1)
63/// <exception cref="ArgumentNullException">If graph or framework is null.</exception>
RestoreCommand\SourceRepositoryDependencyProvider.cs (16)
86/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 88/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 89/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> is <see langword="null" />.</exception> 109/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 111/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 179/// <exception cref="ArgumentNullException">Thrown if <paramref name="libraryRange" /> 181/// <exception cref="ArgumentNullException">Thrown if <paramref name="targetFramework" /> 183/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> 185/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 332/// <exception cref="ArgumentNullException">Thrown if <paramref name="libraryIdentity" /> 334/// <exception cref="ArgumentNullException">Thrown if <paramref name="targetFramework" /> 336/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> 338/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 456/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 458/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> 460/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" />
RestoreCommand\Utility\PackageSpecFactory.cs (1)
426/// <exception cref="ArgumentNullException"><paramref name="projectDirectory" /> -or- <paramref name="projectName" /> is <see langword="null" />.</exception>
NuGet.Common (3)
Preprocessor.cs (3)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="tokenReplacement" /> 60/// <exception cref="ArgumentNullException">Thrown if <paramref name="stream" /> 62/// <exception cref="ArgumentNullException">Thrown if <paramref name="tokenReplacement" />
NuGet.Configuration (4)
Credential\ICredentialService.cs (2)
26/// <exception cref="ArgumentNullException">Thrown if <paramref name="uri" /> is <see langword="null" />.</exception> 48/// <exception cref="ArgumentNullException">Thrown if <paramref name="uri" /> is <see langword="null" />.</exception>
PackageSourceMapping\PackageSourceMapping.cs (1)
64/// <exception cref="ArgumentNullException"> if <paramref name="settings"/> is null.</exception>
Settings\SettingsLoadingContext.cs (1)
47/// <exception cref="ArgumentNullException">When <paramref name="filePath" /> is <see langword="null" />.</exception>
NuGet.Credentials (6)
CredentialService.cs (1)
159/// <exception cref="ArgumentNullException">Thrown if <paramref name="uri" /> is <see langword="null" />.</exception>
SecurePluginCredentialProvider.cs (3)
56/// <exception cref="ArgumentNullException">if <paramref name="pluginDiscoveryResult"/> is null</exception> 57/// <exception cref="ArgumentNullException">if <paramref name="logger"/> is null</exception> 58/// <exception cref="ArgumentNullException">if <paramref name="pluginManager"/> is null</exception>
SecurePluginCredentialProviderBuilder.cs (2)
28/// <exception cref="ArgumentNullException">if <paramref name="logger"/> is null</exception> 29/// <exception cref="ArgumentNullException">if <paramref name="pluginManager"/> is null</exception>
NuGet.DependencyResolver.Core (5)
Providers\LocalDependencyProvider.cs (5)
32/// <exception cref="ArgumentNullException">Thrown if <paramref name="dependencyProvider" /> 69/// <exception cref="ArgumentNullException">Thrown if <paramref name="libraryRange" /> 71/// <exception cref="ArgumentNullException">Thrown if <paramref name="targetFramework" /> 111/// <exception cref="ArgumentNullException">Thrown if <paramref name="libraryIdentity" /> 113/// <exception cref="ArgumentNullException">Thrown if <paramref name="targetFramework" />
NuGet.Frameworks (1)
DualCompatibilityFramework.cs (1)
34/// <exception cref="ArgumentNullException">if either <paramref name="framework"/> or <paramref name="secondaryFramework"/> are <see langword="null"/>.</exception>
NuGet.LibraryModel (1)
LibraryDependency.cs (1)
67/// <exception cref="ArgumentNullException"><paramref name="libraryRange"/> is <see langword="null"/></exception>
NuGet.PackageManagement (56)
FileModifiers\IPackageFileTransformer.cs (5)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 29/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" /> 48/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 50/// <exception cref="ArgumentNullException">Thrown if <paramref name="matchingFiles" /> 52/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" />
FileModifiers\Preprocessor.cs (4)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 29/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" /> 67/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 69/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" />
FileModifiers\XdtTransformer.cs (5)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 35/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" /> 69/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 71/// <exception cref="ArgumentNullException">Thrown if <paramref name="matchingFiles" /> 73/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" />
FileModifiers\XmlTransformer.cs (5)
29/// <exception cref="ArgumentNullException">Thrown if <paramref name="nodeActions" /> 49/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 51/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" /> 93/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" /> 95/// <exception cref="ArgumentNullException">Thrown if <paramref name="projectSystem" />
IInstallationCompatibility.cs (3)
51/// <exception cref="ArgumentNullException">Thrown if <paramref name="nuGetProject" /> 53/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 55/// <exception cref="ArgumentNullException">Thrown if <paramref name="resourceResult" />
InstallationCompatibility.cs (3)
92/// <exception cref="ArgumentNullException">Thrown if <paramref name="nuGetProject" /> 94/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 96/// <exception cref="ArgumentNullException">Thrown if <paramref name="resourceResult" />
PackageDownloader.cs (8)
39/// <exception cref="ArgumentNullException">Thrown if <paramref name="sources" /> 41/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 43/// <exception cref="ArgumentNullException">Thrown if <paramref name="downloadContext" /> 45/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 253/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 255/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 257/// <exception cref="ArgumentNullException">Thrown if <paramref name="downloadContext" /> 259/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" />
Projects\FolderNuGetProject.cs (21)
40/// <exception cref="ArgumentNullException">Thrown if <paramref name="root" /> is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException">Thrown if <paramref name="root" /> is <see langword="null" />.</exception> 52/// <exception cref="ArgumentNullException">Thrown if <paramref name="packagePathResolver" /> 65/// <exception cref="ArgumentNullException">Thrown if <paramref name="root" /> is <see langword="null" />.</exception> 66/// <exception cref="ArgumentNullException">Thrown if <paramref name="packagePathResolver" /> is <see langword="null" />.</exception> 67/// <exception cref="ArgumentNullException">Thrown if <paramref name="targetFramework" /> is <see langword="null" />.</exception> 105/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 107/// <exception cref="ArgumentNullException">Thrown if <paramref name="downloadResourceResult" /> 109/// <exception cref="ArgumentNullException">Thrown if <paramref name="nuGetProjectContext" /> 252/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 270/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 331/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 358/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 379/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 381/// <exception cref="ArgumentNullException">Thrown if <paramref name="nuGetProjectContext" /> 419/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 475/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 505/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 533/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 562/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 564/// <exception cref="ArgumentNullException">Thrown if <paramref name="nuGetProjectContext" />
Utility\FileSystemUtility.cs (2)
317/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamFactory" /> 348/// <exception cref="ArgumentNullException">Thrown if <paramref name="streamTaskFactory" />
NuGet.Packaging (47)
Definitions\IPackageDownloader.cs (1)
71/// <exception cref="ArgumentNullException">Thrown if <paramref name="handleExceptionAsync" />
PackageExtractor.cs (5)
31/// <exception cref="ArgumentNullException">If packageReader, packagePathResolver, or packageExtractionContext are null.</exception> 162/// <exception cref="ArgumentNullException">If packageReader, packagePathResolver, or packageExtractionContext are null.</exception> 268/// <exception cref="ArgumentNullException">If packageReader, packagePathResolver, or packageExtractionContext are null.</exception> 375/// <exception cref="ArgumentNullException">If copyToAsync or packageExtractionContext is null.</exception> 653/// <exception cref="ArgumentNullException">If packageDownlaoder or packageExtractionContext is null.</exception>
PackageReaderBase.cs (3)
35/// <exception cref="ArgumentNullException">Thrown if <paramref name="frameworkProvider" /> is <see langword="null" />.</exception> 46/// <exception cref="ArgumentNullException">Thrown if <paramref name="frameworkProvider" /> is <see langword="null" />.</exception> 47/// <exception cref="ArgumentNullException">Thrown if <paramref name="compatibilityProvider" /> is <see langword="null" />.</exception>
RuntimeModel\IObjectWriter.cs (7)
35/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 55/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 64/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 73/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 82/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 91/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception> 101/// <exception cref="ArgumentNullException">Thrown if <paramref name="name" /> is <see langword="null" />.</exception>
Signing\Archive\SignedPackageArchiveUtility.cs (1)
76/// <exception cref="ArgumentNullException">Thrown if <paramref name="reader" /> is <see langword="null" />.</exception>
Signing\Authoring\AuthorSignPackageRequest.cs (2)
22/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" /> 42/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" />
Signing\Authoring\RepositorySignPackageRequest.cs (2)
37/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" /> 43/// <exception cref="ArgumentNullException">Thrown if <paramref name="v3ServiceIndexUrl" />
Signing\Authoring\SigningOptions.cs (6)
74/// <exception cref="ArgumentNullException">Thrown if <paramref name="inputPackageStream" /> is <see langword="null" />.</exception> 75/// <exception cref="ArgumentNullException">Thrown if <paramref name="outputPackageStream" /> is <see langword="null" />.</exception> 76/// <exception cref="ArgumentNullException">Thrown if <paramref name="signatureProvider" /> is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 108/// <exception cref="ArgumentNullException">Thrown if <paramref name="signatureProvider" /> is <see langword="null" />.</exception> 109/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception>
Signing\TrustStore\X509TrustStore.cs (1)
28/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception>
Signing\Utility\AttributeUtility.cs (6)
39/// <exception cref="ArgumentNullException">Thrown if <paramref name="signedAttributes" /> is <see langword="null" />.</exception> 75/// <exception cref="ArgumentNullException">Thrown if <paramref name="v3ServiceIndexUrl" /> is null.</exception> 108/// <exception cref="ArgumentNullException">Thrown if <paramref name="signedAttributes" /> 178/// <exception cref="ArgumentNullException">Thrown if <paramref name="signedAttributes" /> is <see langword="null" />.</exception> 314/// <exception cref="ArgumentNullException">Thrown if <paramref name="attributes" /> is <see langword="null" />.</exception> 351/// <exception cref="ArgumentNullException">Thrown if <paramref name="attributes" /> is <see langword="null" />.</exception>
Signing\Utility\CertificateChainUtility.cs (6)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException">Thrown if <paramref name="extraStore" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 54/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" /> is <see langword="null" />.</exception> 55/// <exception cref="ArgumentNullException">Thrown if <paramref name="extraStore" /> is <see langword="null" />.</exception> 56/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception>
Signing\Utility\CertificateUtility.cs (1)
327/// <exception cref="ArgumentNullException">Thrown if <paramref name="certificate" /> is <see langword="null" />.</exception>
Signing\Utility\SignatureUtility.cs (6)
32/// <exception cref="ArgumentNullException">Thrown if <paramref name="primarySignature" /> is <see langword="null" />.</exception> 57/// <exception cref="ArgumentNullException">Thrown if <paramref name="primarySignature" /> is <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="repositoryCountersignature" /> is <see langword="null" />.</exception> 156/// <exception cref="ArgumentNullException">Thrown if <paramref name="primarySignature" /> is <see langword="null" />.</exception> 190/// <exception cref="ArgumentNullException">Thrown if <paramref name="primarySignature" /> is <see langword="null" />.</exception> 191/// <exception cref="ArgumentNullException">Thrown if <paramref name="repositoryCountersignature" /> is <see langword="null" />.</exception>
NuGet.ProjectModel (8)
CacheFileFormat.cs (1)
64catch (Exception ex) when (ex is ArgumentNullException || ex is JsonException || ex is NotSupportedException)
DependencyGraphSpec.cs (1)
143/// <exception cref="ArgumentNullException">Thrown if <paramref name="closure" /> is <see langword="null" />.</exception>
PackageSpecOperations.cs (6)
29/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="dependency"/> is <see langword="null"/> </exception> 91/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="identity"/> is <see langword="null"/> </exception> 116/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="dependency"/> is <see langword="null"/> </exception> 142/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="dependency"/> is <see langword="null"/> </exception> 197/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="identity"/> is <see langword="null"/> </exception> 215/// <exception cref="ArgumentNullException"> If <paramref name="spec"/> or <paramref name="identity"/> is <see langword="null"/> </exception>
NuGet.Protocol (279)
DownloadResourceResult.cs (3)
44/// <exception cref="ArgumentNullException">Thrown if <paramref name="stream" /> is <see langword="null" />.</exception> 63/// <exception cref="ArgumentNullException">Thrown if <paramref name="stream" /> is <see langword="null" />.</exception> 75/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageReader" /> is <see langword="null" />.</exception>
EnhancedHttpRetryHelper.cs (1)
80/// <exception cref="ArgumentNullException"><paramref name="environmentVariableReader" /> is <see langword="null" />.</exception>
LocalPackageArchiveDownloader.cs (3)
80/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 82/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 257/// <exception cref="ArgumentNullException">Thrown if <paramref name="handleExceptionAsync" />
LocalRepositories\LocalV2FindPackageByIdResource.cs (16)
42/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" /> 68/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 127/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 128/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 129/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 130/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 209/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 210/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 211/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 286/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 287/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 288/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 351/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 352/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 353/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
LocalRepositories\LocalV3FindPackageByIdResource.cs (16)
76/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" /> 104/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 105/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 161/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 162/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 163/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 164/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 255/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 256/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 257/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 326/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 327/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 328/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 393/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 394/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 395/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
Model\PackageVulnerabilityInfo.cs (1)
30/// <exception cref="ArgumentNullException"></exception>
Plugins\AutomaticProgressReporter.cs (3)
103/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 105/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> 159catch (ArgumentNullException)
Plugins\Connection.cs (10)
60/// <exception cref="ArgumentNullException">Thrown if <paramref name="dispatcher" /> is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">Thrown if <paramref name="sender" /> is <see langword="null" />.</exception> 62/// <exception cref="ArgumentNullException">Thrown if <paramref name="receiver" /> is <see langword="null" />.</exception> 63/// <exception cref="ArgumentNullException">Thrown if <paramref name="options" /> is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">Thrown if <paramref name="dispatcher" /> is <see langword="null" />.</exception> 78/// <exception cref="ArgumentNullException">Thrown if <paramref name="sender" /> is <see langword="null" />.</exception> 79/// <exception cref="ArgumentNullException">Thrown if <paramref name="receiver" /> is <see langword="null" />.</exception> 80/// <exception cref="ArgumentNullException">Thrown if <paramref name="options" /> is <see langword="null" />.</exception> 81/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 221/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\ConnectionOptions.cs (3)
43/// <exception cref="ArgumentNullException">Thrown if <paramref name="protocolVersion" /> 45/// <exception cref="ArgumentNullException">Thrown if <paramref name="minimumProtocolVersion" /> 47/// <exception cref="ArgumentNullException">Thrown if <paramref name="protocolVersion" />
Plugins\FaultedPluginEventArgs.cs (2)
28/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException">Thrown if <paramref name="exception" /> is <see langword="null" />.</exception>
Plugins\IConnection.cs (1)
53/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\InboundRequestContext.cs (9)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 52/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 56/// <exception cref="ArgumentNullException">Thrown if <paramref name="inboundRequestProcessingHandler" /> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 167/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> 169/// <exception cref="ArgumentNullException">Thrown if <paramref name="exception" /> 226/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> 228/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandler" /> 230/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\IPluginFactory.cs (3)
29/// <exception cref="ArgumentNullException">Thrown if <paramref name="arguments" /> 31/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandlers" /> 33/// <exception cref="ArgumentNullException">Thrown if <paramref name="options" />
Plugins\IPluginManager.cs (1)
20/// <exception cref="ArgumentNullException">Throw if <paramref name="source"/> is null </exception>
Plugins\IPluginMulticlientUtilities.cs (1)
24/// <exception cref="ArgumentNullException">Thrown if <paramref name="taskFunc" />
Plugins\IRequestHandler.cs (3)
28/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 30/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 31/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\IRequestHandlers.cs (3)
20/// <exception cref="ArgumentNullException">Thrown if <paramref name="addHandlerFunc" /> 22/// <exception cref="ArgumentNullException">Thrown if <paramref name="updateHandlerFunc" /> 35/// <exception cref="ArgumentNullException">Thrown if <paramref name="handler" /> is <see langword="null" />.</exception>
Plugins\IResponseHandler.cs (2)
23/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 24/// <exception cref="ArgumentNullException">Thrown if <paramref name="payload" /> is <see langword="null" />.</exception>
Plugins\ISender.cs (1)
37/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\JsonSerializationUtilities.cs (3)
76/// <exception cref="ArgumentNullException">Thrown if <paramref name="value" /> is <see langword="null" />.</exception> 96/// <exception cref="ArgumentNullException">Thrown if <paramref name="value" /> is <see langword="null" />.</exception> 117/// <exception cref="ArgumentNullException">Thrown if <paramref name="jObject" /> is <see langword="null" />.</exception>
Plugins\MessageDispatcher.cs (13)
40/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandlers" /> 42/// <exception cref="ArgumentNullException">Thrown if <paramref name="idGenerator" /> 54/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandlers" /> 56/// <exception cref="ArgumentNullException">Thrown if <paramref name="idGenerator" /> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="inboundRequestProcessingHandler" /> 60/// /// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 158/// <exception cref="ArgumentNullException">Throws if <paramref name="payload" /> is <see langword="null" />.</exception> 178/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 208/// <exception cref="ArgumentNullException">Thrown if <paramref name="fault" /> is <see langword="null" />.</exception> 238/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 239/// <exception cref="ArgumentNullException">Thrown if <paramref name="progress" /> is <see langword="null" />.</exception> 313/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 314/// <exception cref="ArgumentNullException">Thrown if <paramref name="responsePayload" /> is <see langword="null" />.</exception>
Plugins\MessageEventArgs.cs (1)
22/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\Messages\GetAuthenticationCredentialsRequest.cs (1)
44/// <exception cref="ArgumentNullException"> if <paramref name="uri"/> is null</exception>
Plugins\Messages\GetOperationClaimsResponse.cs (1)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="claims" /> is <see langword="null" />.</exception>
Plugins\Messages\GetServiceIndexResponse.cs (1)
46/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseCode" />
Plugins\Messages\HandshakeRequest.cs (2)
35/// <exception cref="ArgumentNullException">Thrown if <paramref name="protocolVersion" /> 37/// <exception cref="ArgumentNullException">Thrown if <paramref name="minimumProtocolVersion" />
Plugins\MessageUtilities.cs (3)
51/// <exception cref="ArgumentNullException">Thrown if <paramref name="payload" /> is <see langword="null" />.</exception> 78/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception> 115/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\NoOpDisposePlugin.cs (1)
69/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception>
Plugins\OutboundRequestContext.cs (3)
44/// <exception cref="ArgumentNullException">Thrown if <paramref name="progress" /> is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException">Thrown if <paramref name="response" /> is <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="fault" /> is <see langword="null" />.</exception>
Plugins\OutboundRequestContext`1.cs (8)
47/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 49/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> 73/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 75/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> 79/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> 152/// <exception cref="ArgumentNullException">Thrown if <paramref name="progress" /> is <see langword="null" />.</exception> 177/// <exception cref="ArgumentNullException">Thrown if <paramref name="response" /> is <see langword="null" />.</exception> 198/// <exception cref="ArgumentNullException">Thrown if <paramref name="fault" /> is <see langword="null" />.</exception>
Plugins\Plugin.cs (2)
79/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> is <see langword="null" />.</exception> 80/// <exception cref="ArgumentNullException">Thrown if <paramref name="process" /> is <see langword="null" />.</exception>
Plugins\PluginCreationResult.cs (4)
58/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 59/// <exception cref="ArgumentNullException">Thrown if <paramref name="utilities" /> is <see langword="null" />.</exception> 60/// <exception cref="ArgumentNullException">Thrown if <paramref name="claims" /> is <see langword="null" />.</exception> 106/// <exception cref="ArgumentNullException">Thrown if <paramref name="exception" /> is <see langword="null" />.</exception>
Plugins\PluginDiscoveryResult.cs (1)
70/// <exception cref="ArgumentNullException">Thrown if <paramref name="pluginFile" />
Plugins\PluginEventArgs.cs (1)
22/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception>
Plugins\PluginFactory.cs (5)
110/// <exception cref="ArgumentNullException">Thrown if <paramref name="arguments" /> 112/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandlers" /> 114/// <exception cref="ArgumentNullException">Thrown if <paramref name="options" /> 317/// <exception cref="ArgumentNullException">Thrown if <paramref name="requestHandlers" /> 319/// <exception cref="ArgumentNullException">Thrown if <paramref name="options" />
Plugins\PluginManager.cs (1)
129/// <exception cref="ArgumentNullException">Throw if <paramref name="source"/> is null </exception>
Plugins\PluginMulticlientUtilities.cs (1)
35/// <exception cref="ArgumentNullException">Thrown if <paramref name="taskFunc" />
Plugins\PluginPackageDownloader.cs (4)
72/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> 74/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 76/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageReader" /> 221/// <exception cref="ArgumentNullException">Thrown if <paramref name="handleExceptionAsync" />
Plugins\PluginPackageReader.cs (7)
43/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 44/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 46/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSourceRepository" /> 187/// <exception cref="ArgumentNullException">Thrown if <paramref name="folder" /> is <see langword="null" />.</exception> 237/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageFiles" /> 239/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 714/// <exception cref="ArgumentNullException">Thrown if <paramref name="folderName" /> is <see langword="null" />.</exception>
Plugins\PluginProcess.cs (1)
78/// <exception cref="ArgumentNullException">Thrown if <paramref name="startInfo" /> is <see langword="null" />.</exception>
Plugins\ProtocolErrorEventArgs.cs (3)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="exception" /> is <see langword="null" />.</exception> 43/// <exception cref="ArgumentNullException">Thrown if <paramref name="exception" /> is <see langword="null" />.</exception> 44/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\RequestHandlers.cs (3)
31/// <exception cref="ArgumentNullException">Thrown if <paramref name="addHandlerFunc" /> 33/// <exception cref="ArgumentNullException">Thrown if <paramref name="updateHandlerFunc" /> 59/// <exception cref="ArgumentNullException">Thrown if <paramref name="handler" /> is <see langword="null" />.</exception>
Plugins\RequestHandlers\CloseRequestHandler.cs (4)
24/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 55/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 57/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (5)
43/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> 80/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 106/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 108/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 109/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\RequestHandlers\GetServiceIndexRequestHandler.cs (5)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 64/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 90/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 92/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 93/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\RequestHandlers\LogRequestHandler.cs (6)
29/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 48/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 50/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" /> 106/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 129/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception>
Plugins\RequestHandlers\MonitorNuGetProcessExitRequestHandler.cs (4)
30/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> is <see langword="null" />.</exception> 68/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 70/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 71/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\RequestHandlers\SymmetricHandshake.cs (3)
151/// <exception cref="ArgumentNullException">Thrown if <paramref name="connection" /> 153/// <exception cref="ArgumentNullException">Thrown if <paramref name="request" /> is <see langword="null" />.</exception> 154/// <exception cref="ArgumentNullException">Thrown if <paramref name="responseHandler" />
Plugins\Sender.cs (2)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="writer" /> is <see langword="null" />.</exception> 117/// <exception cref="ArgumentNullException">Thrown if <paramref name="message" /> is <see langword="null" />.</exception>
Plugins\StandardInputReceiver.cs (1)
31/// <exception cref="ArgumentNullException">Thrown if <paramref name="reader" /> is <see langword="null" />.</exception>
Plugins\StandardOutputReceiver.cs (1)
27/// <exception cref="ArgumentNullException">Thrown if <paramref name="process" /> is <see langword="null" />.</exception>
Providers\DownloadResourcePluginProvider.cs (1)
34/// <exception cref="ArgumentNullException">Thrown if <paramref name="source"/> is <see langword="null" />.</exception>
Providers\PluginResourceProvider.cs (1)
38/// <exception cref="ArgumentNullException">Thrown if <paramref name="source"/> is <see langword="null" />.</exception>
RemotePackageArchiveDownloader.cs (5)
79/// <exception cref="ArgumentNullException">Thrown if <paramref name="resource" /> is <see langword="null" />.</exception> 80/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> 82/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> 84/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception> 251/// <exception cref="ArgumentNullException">Thrown if <paramref name="handleExceptionAsync" />
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (17)
56/// <exception cref="ArgumentNullException">Thrown if <paramref name="baseUris" /> is <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="httpSource" /> is <see langword="null" />.</exception> 105/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 106/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 163/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 164/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 165/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 243/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 244/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 245/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 246/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 325/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 326/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 327/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 375/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 376/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 377/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
RemoteRepositories\PluginFindPackageByIdResource.cs (14)
43/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> 45/// <exception cref="ArgumentNullException">Thrown if <paramref name="utilities" /> 47/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" /> 107/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 108/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 109/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 166/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 167/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 231/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 232/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 233/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 326/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 327/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 328/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
RemoteRepositories\PluginFindPackageByIdResourceProvider.cs (1)
34/// <exception cref="ArgumentNullException">Thrown if <paramref name="source"/> is <see langword="null" />.</exception>
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (17)
50/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" /> 52/// <exception cref="ArgumentNullException">Thrown if <paramref name="httpSource" /> 91/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 92/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 149/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 150/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 151/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 227/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 228/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 229/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 230/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 305/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 306/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 307/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 374/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 375/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 376/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (17)
44/// <exception cref="ArgumentNullException">Thrown if <paramref name="sourceRepository" /> 46/// <exception cref="ArgumentNullException">Thrown if <paramref name="httpSource" /> 82/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 83/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 140/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 141/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 142/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 217/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 218/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 219/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 220/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 295/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 296/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 297/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 364/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 365/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 366/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
Resources\DownloadResourcePlugin.cs (6)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="plugin" /> 35/// <exception cref="ArgumentNullException">Thrown if <paramref name="utilities" /> 37/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" /> 75/// <exception cref="ArgumentNullException">Thrown if <paramref name="identity" /> is <see langword="null" />.</exception> 76/// <exception cref="ArgumentNullException">Thrown if <paramref name="downloadContext" /> 78/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> is <see langword="null" />.</exception>
Resources\FindPackageByIdResource.cs (15)
33/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 34/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 56/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 57/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 82/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 83/// <exception cref="ArgumentNullException">Thrown if <paramref name="destination" /> <see langword="null" />.</exception> 84/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 85/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 105/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageIdentity" /> <see langword="null" />.</exception> 106/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 107/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception> 129/// <exception cref="ArgumentNullException">Thrown if <paramref name="version" /> <see langword="null" />.</exception> 130/// <exception cref="ArgumentNullException">Thrown if <paramref name="cacheContext" /> <see langword="null" />.</exception> 131/// <exception cref="ArgumentNullException">Thrown if <paramref name="logger" /> <see langword="null" />.</exception>
Resources\PluginResource.cs (2)
30/// <exception cref="ArgumentNullException">Thrown if <paramref name="pluginCreationResults" /> 32/// <exception cref="ArgumentNullException">Thrown if <paramref name="packageSource" />
NuGet.Versioning (1)
ResourcesFormatter.cs (1)
22internal static ArgumentNullException CannotBeNullWhenParameterIsNull(string parameterThatIsNull, string parameterThisIsNotNull)
PresentationBuildTasks (4)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (4)
29ArgumentNullException.ThrowIfNull(assembly, nameof(assembly)); 31ArgumentNullException.ThrowIfNull(fullName, nameof(Assembly.FullName)); 48ArgumentNullException.ThrowIfNull(assembly, nameof(assembly)); 97ArgumentNullException.ThrowIfNull(assembly, nameof(assembly));
PresentationCore (989)
MS\Internal\Automation\InteropAutomationProvider.cs (2)
16ArgumentNullException.ThrowIfNull(wrapper); 17ArgumentNullException.ThrowIfNull(parent);
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
716ArgumentNullException.ThrowIfNull(array);
MS\Internal\FontFace\CompositeFontInfo.cs (1)
45ArgumentNullException.ThrowIfNull(familyMap);
MS\Internal\FontFace\TypefaceCollection.cs (1)
57ArgumentNullException.ThrowIfNull(array);
MS\Internal\Ink\ExtendedProperty.cs (1)
154ArgumentNullException.ThrowIfNull(value);
MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
234ArgumentNullException.ThrowIfNull(value);
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
122ArgumentNullException.ThrowIfNull(strokes); 188ArgumentNullException.ThrowIfNull(applicationGestures);
MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (4)
69ArgumentNullException.ThrowIfNull(input); 147ArgumentNullException.ThrowIfNull(input); 152ArgumentNullException.ThrowIfNull(outputBuffer); 307ArgumentNullException.ThrowIfNull(input);
MS\Internal\Ink\InkSerializedFormat\Compress.cs (1)
248ArgumentNullException.ThrowIfNull(data);
MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (4)
76ArgumentNullException.ThrowIfNull(input); 495ArgumentNullException.ThrowIfNull(input); 497ArgumentNullException.ThrowIfNull(outputBuffer); 571ArgumentNullException.ThrowIfNull(reader);
MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
133ArgumentNullException.ThrowIfNull(writer);
MS\Internal\Ink\InkSerializedFormat\MultiByteCodec.cs (1)
25ArgumentNullException.ThrowIfNull(output);
MS\Internal\Ink\Renderer.cs (5)
39ArgumentNullException.ThrowIfNull(stroke); 222ArgumentNullException.ThrowIfNull(value); 275ArgumentNullException.ThrowIfNull(visual); 276ArgumentNullException.ThrowIfNull(drawingAttributes); 320ArgumentNullException.ThrowIfNull(visual);
MS\Internal\Ink\StrokeNodeEnumerator.cs (7)
28ArgumentNullException.ThrowIfNull(stroke); 29ArgumentNullException.ThrowIfNull(drawingAttributes); 43ArgumentNullException.ThrowIfNull(stylusPoints); 44ArgumentNullException.ThrowIfNull(drawingAttributes); 103ArgumentNullException.ThrowIfNull(operations); 116ArgumentNullException.ThrowIfNull(stylusPoints); 145ArgumentNullException.ThrowIfNull(points);
MS\Internal\Ink\StrokeNodeOperations.cs (1)
24ArgumentNullException.ThrowIfNull(nodeShape);
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (5)
53ArgumentNullException.ThrowIfNull(tempFileName); 180ArgumentNullException.ThrowIfNull(byteRanges); 294ArgumentNullException.ThrowIfNull(value); 399ArgumentNullException.ThrowIfNull(requestedUri); 407ArgumentNullException.ThrowIfNull(eventHandle);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
196ArgumentNullException.ThrowIfNull(obfuscatedStream);
MS\Internal\IO\Packaging\PreloadedPackages.cs (1)
150ArgumentNullException.ThrowIfNull(uri);
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
196ArgumentNullException.ThrowIfNull(value); 216ArgumentNullException.ThrowIfNull(value);
MS\Internal\Media\TextOptionsInternal.cs (2)
40ArgumentNullException.ThrowIfNull(element); 47ArgumentNullException.ThrowIfNull(element);
MS\Internal\Media\VisualTreeUtils.cs (1)
231ArgumentNullException.ThrowIfNull(element);
MS\Internal\PartialArray.cs (1)
124ArgumentNullException.ThrowIfNull(array);
MS\Internal\TextFormatting\FullTextLine.cs (1)
535ArgumentNullException.ThrowIfNull(drawingContext);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
480ArgumentNullException.ThrowIfNull(drawingContext);
MS\Internal\TextFormatting\TextFormatterImp.cs (3)
444ArgumentNullException.ThrowIfNull(textSource); 446ArgumentNullException.ThrowIfNull(textRunCache); 448ArgumentNullException.ThrowIfNull(paragraphProperties);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
250ArgumentNullException.ThrowIfNull(drawingContext);
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
165ArgumentNullException.ThrowIfNull(array);
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
110ArgumentNullException.ThrowIfNull(array);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (2)
175ArgumentNullException.ThrowIfNull(characterArray); 274ArgumentNullException.ThrowIfNull(characterString);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Ink\BitStream.cs (1)
357ArgumentNullException.ThrowIfNull(bufferToWriteTo);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (2)
35ArgumentNullException.ThrowIfNull(stream); 37ArgumentNullException.ThrowIfNull(syncRoot);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
145ArgumentNullException.ThrowIfNull(exception);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
36ArgumentNullException.ThrowIfNull(array);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SizeLimitedCache.cs (4)
88ArgumentNullException.ThrowIfNull(key, nameof(key)); 89ArgumentNullException.ThrowIfNull(resource, nameof(resource)); 147ArgumentNullException.ThrowIfNull(key, nameof(key)); 171ArgumentNullException.ThrowIfNull(key, nameof(key));
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (1)
55ArgumentNullException.ThrowIfNull(uri);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\EventSourceActivity.cs (6)
104Contract.Requires<ArgumentNullException>(eventSource != null, nameof(eventSource)); 143Contract.Requires<ArgumentNullException>(parentActivity != null, nameof(parentActivity)); 176Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 207Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 237Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 256Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName));
System\IO\Packaging\PackageStore.cs (2)
98ArgumentNullException.ThrowIfNull(package); 140ArgumentNullException.ThrowIfNull(uri);
System\IO\Packaging\PackWebRequestFactory.cs (1)
50ArgumentNullException.ThrowIfNull(uri);
System\IO\Packaging\PackWebResponse.cs (7)
55ArgumentNullException.ThrowIfNull(uri); 57ArgumentNullException.ThrowIfNull(innerUri); 59ArgumentNullException.ThrowIfNull(innerRequest); 123ArgumentNullException.ThrowIfNull(uri); 125ArgumentNullException.ThrowIfNull(innerUri); 127ArgumentNullException.ThrowIfNull(partName); 129ArgumentNullException.ThrowIfNull(cacheEntry);
System\Windows\Automation\AutomationProperties.cs (34)
26ArgumentNullException.ThrowIfNull(element); 36ArgumentNullException.ThrowIfNull(element); 59ArgumentNullException.ThrowIfNull(element); 69ArgumentNullException.ThrowIfNull(element); 92ArgumentNullException.ThrowIfNull(element); 102ArgumentNullException.ThrowIfNull(element); 125ArgumentNullException.ThrowIfNull(element); 135ArgumentNullException.ThrowIfNull(element); 158ArgumentNullException.ThrowIfNull(element); 168ArgumentNullException.ThrowIfNull(element); 191ArgumentNullException.ThrowIfNull(element); 201ArgumentNullException.ThrowIfNull(element); 224ArgumentNullException.ThrowIfNull(element); 234ArgumentNullException.ThrowIfNull(element); 256ArgumentNullException.ThrowIfNull(element); 266ArgumentNullException.ThrowIfNull(element); 288ArgumentNullException.ThrowIfNull(element); 298ArgumentNullException.ThrowIfNull(element); 320ArgumentNullException.ThrowIfNull(element); 330ArgumentNullException.ThrowIfNull(element); 352ArgumentNullException.ThrowIfNull(element); 362ArgumentNullException.ThrowIfNull(element); 384ArgumentNullException.ThrowIfNull(element); 394ArgumentNullException.ThrowIfNull(element); 416ArgumentNullException.ThrowIfNull(element); 426ArgumentNullException.ThrowIfNull(element); 452ArgumentNullException.ThrowIfNull(element); 462ArgumentNullException.ThrowIfNull(element); 488ArgumentNullException.ThrowIfNull(element); 498ArgumentNullException.ThrowIfNull(element); 517ArgumentNullException.ThrowIfNull(element); 527ArgumentNullException.ThrowIfNull(element); 546ArgumentNullException.ThrowIfNull(element); 555ArgumentNullException.ThrowIfNull(element);
System\Windows\Automation\Peers\AutomationPeer.cs (3)
348ArgumentNullException.ThrowIfNull(args); 460ArgumentNullException.ThrowIfNull(connectedPeer); 544ArgumentNullException.ThrowIfNull(parent);
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (3)
22ArgumentNullException.ThrowIfNull(owner); 48ArgumentNullException.ThrowIfNull(element); 55ArgumentNullException.ThrowIfNull(element);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (3)
18ArgumentNullException.ThrowIfNull(owner); 45ArgumentNullException.ThrowIfNull(element); 53ArgumentNullException.ThrowIfNull(element);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (3)
17ArgumentNullException.ThrowIfNull(owner); 43ArgumentNullException.ThrowIfNull(element); 51ArgumentNullException.ThrowIfNull(element);
System\Windows\clipboard.cs (10)
146ArgumentNullException.ThrowIfNull(audioBytes); 155ArgumentNullException.ThrowIfNull(audioStream); 165ArgumentNullException.ThrowIfNull(data); 179ArgumentNullException.ThrowIfNull(image); 188ArgumentNullException.ThrowIfNull(text); 197ArgumentNullException.ThrowIfNull(text); 226ArgumentNullException.ThrowIfNull(data); 238ArgumentNullException.ThrowIfNull(data); 254ArgumentNullException.ThrowIfNull(data); 496ArgumentNullException.ThrowIfNull(data);
System\Windows\ContentElement.cs (2)
854ArgumentNullException.ThrowIfNull(touchDevice); 866ArgumentNullException.ThrowIfNull(touchDevice);
System\Windows\ContentOperations.cs (2)
17ArgumentNullException.ThrowIfNull(reference); 34ArgumentNullException.ThrowIfNull(reference);
System\Windows\CultureInfoConverter.cs (3)
74/// <exception cref="ArgumentNullException"> 103/// <exception cref="ArgumentNullException"> 119ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\DataFormat.cs (1)
18ArgumentNullException.ThrowIfNull(name);
System\Windows\DataFormats.cs (1)
25ArgumentNullException.ThrowIfNull(format);
System\Windows\dataobject.cs (9)
230ArgumentNullException.ThrowIfNull(data); 240ArgumentNullException.ThrowIfNull(data); 251ArgumentNullException.ThrowIfNull(data); 341ArgumentNullException.ThrowIfNull(audioBytes); 350ArgumentNullException.ThrowIfNull(audioStream); 369ArgumentNullException.ThrowIfNull(image); 378ArgumentNullException.ThrowIfNull(textData); 387ArgumentNullException.ThrowIfNull(textData); 649/// <exception cref="ArgumentNullException"><paramref name="data"/> or <paramref name="format"/> is null.</exception>
System\Windows\DataObjectCopyingEventArgs.cs (1)
48ArgumentNullException.ThrowIfNull(dataObject);
System\Windows\DataObjectExtensions.cs (5)
17ArgumentNullException.ThrowIfNull(dataObject); 31/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 39/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 48/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 58/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception>
System\Windows\DataObjectPastingEventArgs.cs (4)
49ArgumentNullException.ThrowIfNull(dataObject); 51ArgumentNullException.ThrowIfNull(formatToApply); 123ArgumentNullException.ThrowIfNull(value); 153ArgumentNullException.ThrowIfNull(value);
System\Windows\DataObjectSettingDataEventArgs.cs (2)
37ArgumentNullException.ThrowIfNull(dataObject); 39ArgumentNullException.ThrowIfNull(format);
System\Windows\Documents\DynamicDocumentPaginator.cs (1)
72ArgumentNullException.ThrowIfNull(contentPosition);
System\Windows\DragDrop.cs (2)
372ArgumentNullException.ThrowIfNull(dragSource); 374ArgumentNullException.ThrowIfNull(data);
System\Windows\DragEventArgs.cs (1)
82ArgumentNullException.ThrowIfNull(relativeTo);
System\Windows\DurationConverter.cs (1)
94ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\EventHandlersStore.cs (11)
52ArgumentNullException.ThrowIfNull(key); 53ArgumentNullException.ThrowIfNull(handler); 87ArgumentNullException.ThrowIfNull(key); 88ArgumentNullException.ThrowIfNull(handler); 124ArgumentNullException.ThrowIfNull(key); 143ArgumentNullException.ThrowIfNull(routedEvent); 144ArgumentNullException.ThrowIfNull(handler); 177ArgumentNullException.ThrowIfNull(routedEvent); 178ArgumentNullException.ThrowIfNull(handler); 221ArgumentNullException.ThrowIfNull(routedEvent); 233ArgumentNullException.ThrowIfNull(routedEvent);
System\Windows\EventManager.cs (9)
55ArgumentNullException.ThrowIfNull(name); 64ArgumentNullException.ThrowIfNull(handlerType); 66ArgumentNullException.ThrowIfNull(ownerType); 149ArgumentNullException.ThrowIfNull(classType); 151ArgumentNullException.ThrowIfNull(routedEvent); 153ArgumentNullException.ThrowIfNull(handler); 216ArgumentNullException.ThrowIfNull(ownerType); 248ArgumentNullException.ThrowIfNull(name); 250ArgumentNullException.ThrowIfNull(ownerType);
System\Windows\EventRoute.cs (5)
40ArgumentNullException.ThrowIfNull(routedEvent); 77ArgumentNullException.ThrowIfNull(target); 79ArgumentNullException.ThrowIfNull(handler); 122ArgumentNullException.ThrowIfNull(source); 124ArgumentNullException.ThrowIfNull(args);
System\Windows\FreezableCollection.cs (4)
64ArgumentNullException.ThrowIfNull(collection); 361ArgumentNullException.ThrowIfNull(array); 471ArgumentNullException.ThrowIfNull(array); 635ArgumentNullException.ThrowIfNull(value);
System\Windows\Generated\ContentElement.cs (12)
67ArgumentNullException.ThrowIfNull(dp); 132ArgumentNullException.ThrowIfNull(dp); 186ArgumentNullException.ThrowIfNull(dp); 387ArgumentNullException.ThrowIfNull(e); 399ArgumentNullException.ThrowIfNull(args); 415ArgumentNullException.ThrowIfNull(args); 515ArgumentNullException.ThrowIfNull(routedEvent); 517ArgumentNullException.ThrowIfNull(handler); 570ArgumentNullException.ThrowIfNull(routedEvent); 572ArgumentNullException.ThrowIfNull(handler); 631ArgumentNullException.ThrowIfNull(route); 632ArgumentNullException.ThrowIfNull(e);
System\Windows\Generated\TextDecorationCollection.cs (4)
273ArgumentNullException.ThrowIfNull(array); 383ArgumentNullException.ThrowIfNull(array); 493ArgumentNullException.ThrowIfNull(value); 898ArgumentNullException.ThrowIfNull(collection);
System\Windows\Generated\UIElement.cs (12)
67ArgumentNullException.ThrowIfNull(dp); 132ArgumentNullException.ThrowIfNull(dp); 186ArgumentNullException.ThrowIfNull(dp); 387ArgumentNullException.ThrowIfNull(e); 399ArgumentNullException.ThrowIfNull(args); 415ArgumentNullException.ThrowIfNull(args); 515ArgumentNullException.ThrowIfNull(routedEvent); 517ArgumentNullException.ThrowIfNull(handler); 570ArgumentNullException.ThrowIfNull(routedEvent); 572ArgumentNullException.ThrowIfNull(handler); 631ArgumentNullException.ThrowIfNull(route); 632ArgumentNullException.ThrowIfNull(e);
System\Windows\Generated\UIElement3D.cs (9)
193ArgumentNullException.ThrowIfNull(e); 205ArgumentNullException.ThrowIfNull(args); 221ArgumentNullException.ThrowIfNull(args); 321ArgumentNullException.ThrowIfNull(routedEvent); 323ArgumentNullException.ThrowIfNull(handler); 376ArgumentNullException.ThrowIfNull(routedEvent); 378ArgumentNullException.ThrowIfNull(handler); 437ArgumentNullException.ThrowIfNull(route); 438ArgumentNullException.ThrowIfNull(e);
System\Windows\IContentHost.cs (2)
32/// <exception cref="ArgumentNullException"> 62/// <exception cref="ArgumentNullException">
System\Windows\Ink\DrawingAttributes.cs (1)
700ArgumentNullException.ThrowIfNull(propertyData);
System\Windows\Ink\Events.cs (4)
201ArgumentNullException.ThrowIfNull(newDrawingAttributes); 202ArgumentNullException.ThrowIfNull(previousDrawingAttributes); 245ArgumentNullException.ThrowIfNull(newStylusPoints); 246ArgumentNullException.ThrowIfNull(previousStylusPoints);
System\Windows\Ink\GestureRecognizer.cs (1)
161ArgumentNullException.ThrowIfNull(strokes);
System\Windows\Ink\IncrementalHitTester.cs (2)
37ArgumentNullException.ThrowIfNull(points); 60ArgumentNullException.ThrowIfNull(stylusPoints);
System\Windows\Ink\Stroke.cs (5)
47ArgumentNullException.ThrowIfNull(stylusPoints); 52ArgumentNullException.ThrowIfNull(drawingAttributes); 463ArgumentNullException.ThrowIfNull(value); 502ArgumentNullException.ThrowIfNull(value); 602ArgumentNullException.ThrowIfNull(e);
System\Windows\Ink\Stroke2.cs (13)
51ArgumentNullException.ThrowIfNull(context); 69ArgumentNullException.ThrowIfNull(drawingContext); 71ArgumentNullException.ThrowIfNull(drawingAttributes); 116ArgumentNullException.ThrowIfNull(lassoPoints); 147ArgumentNullException.ThrowIfNull(lassoPoints); 168ArgumentNullException.ThrowIfNull(eraserShape); 169ArgumentNullException.ThrowIfNull(eraserPath); 255ArgumentNullException.ThrowIfNull(lassoPoints); 309ArgumentNullException.ThrowIfNull(path); 310ArgumentNullException.ThrowIfNull(stylusShape); 365ArgumentNullException.ThrowIfNull(drawingContext); 367ArgumentNullException.ThrowIfNull(drawingAttributes); 447ArgumentNullException.ThrowIfNull(drawingAttributes);
System\Windows\Ink\StrokeCollection.cs (7)
36ArgumentNullException.ThrowIfNull(strokes); 57ArgumentNullException.ThrowIfNull(stream); 81ArgumentNullException.ThrowIfNull(stream); 306ArgumentNullException.ThrowIfNull(stroke); 324ArgumentNullException.ThrowIfNull(stroke); 370ArgumentNullException.ThrowIfNull(strokes); 411ArgumentNullException.ThrowIfNull(strokes);
System\Windows\Ink\StrokeCollection2.cs (7)
81ArgumentNullException.ThrowIfNull(lassoPoints); 183ArgumentNullException.ThrowIfNull(stylusShape); 184ArgumentNullException.ThrowIfNull(path); 220ArgumentNullException.ThrowIfNull(lassoPoints); 271ArgumentNullException.ThrowIfNull(lassoPoints); 348ArgumentNullException.ThrowIfNull(context); 411ArgumentNullException.ThrowIfNull(eraserShape);
System\Windows\Ink\StrokeCollectionConverter.cs (1)
109ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\AccessKeyManager.cs (3)
26ArgumentNullException.ThrowIfNull(element); 57ArgumentNullException.ThrowIfNull(element); 119ArgumentNullException.ThrowIfNull(key);
System\Windows\Input\Command\CanExecuteChangedEventManager.cs (4)
43ArgumentNullException.ThrowIfNull(source); 44ArgumentNullException.ThrowIfNull(handler); 53ArgumentNullException.ThrowIfNull(source); 54ArgumentNullException.ThrowIfNull(handler);
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (1)
28ArgumentNullException.ThrowIfNull(command);
System\Windows\Input\Command\CommandBinding.cs (2)
55ArgumentNullException.ThrowIfNull(command); 81ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\Command\CommandBindingCollection.cs (1)
178ArgumentNullException.ThrowIfNull(collection);
System\Windows\Input\Command\CommandDevice.cs (1)
304ArgumentNullException.ThrowIfNull(command);
System\Windows\Input\Command\CommandManager.cs (20)
48ArgumentNullException.ThrowIfNull(element); 49ArgumentNullException.ThrowIfNull(handler); 61ArgumentNullException.ThrowIfNull(element); 62ArgumentNullException.ThrowIfNull(handler); 83ArgumentNullException.ThrowIfNull(element); 84ArgumentNullException.ThrowIfNull(handler); 96ArgumentNullException.ThrowIfNull(element); 97ArgumentNullException.ThrowIfNull(handler); 118ArgumentNullException.ThrowIfNull(element); 119ArgumentNullException.ThrowIfNull(handler); 131ArgumentNullException.ThrowIfNull(element); 132ArgumentNullException.ThrowIfNull(handler); 153ArgumentNullException.ThrowIfNull(element); 154ArgumentNullException.ThrowIfNull(handler); 166ArgumentNullException.ThrowIfNull(element); 167ArgumentNullException.ThrowIfNull(handler); 183ArgumentNullException.ThrowIfNull(type); 184ArgumentNullException.ThrowIfNull(inputBinding); 212ArgumentNullException.ThrowIfNull(type); 213ArgumentNullException.ThrowIfNull(commandBinding);
System\Windows\Input\Command\ExecutedRoutedEventArgs.cs (1)
28ArgumentNullException.ThrowIfNull(command);
System\Windows\Input\Command\InputBinding.cs (3)
37ArgumentNullException.ThrowIfNull(command); 39ArgumentNullException.ThrowIfNull(gesture); 141ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\Command\InputBindingCollection.cs (1)
243ArgumentNullException.ThrowIfNull(collection);
System\Windows\Input\Command\InputGestureCollection.cs (3)
250ArgumentNullException.ThrowIfNull(inputGesture); 270ArgumentNullException.ThrowIfNull(collection); 331ArgumentNullException.ThrowIfNull(inputGesture);
System\Windows\Input\Command\KeyGesture.cs (1)
96ArgumentNullException.ThrowIfNull(displayString);
System\Windows\Input\Command\KeyGestureConverter.cs (1)
137ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\Command\MouseActionConverter.cs (1)
84ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\Command\MouseGestureConverter.cs (1)
141ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\Command\RoutedCommand.cs (2)
46ArgumentNullException.ThrowIfNull(name); 53ArgumentNullException.ThrowIfNull(ownerType);
System\Windows\Input\Command\RoutedUICommand.cs (2)
48ArgumentNullException.ThrowIfNull(text); 77ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\Cursor.cs (2)
52ArgumentNullException.ThrowIfNull(cursorFile); 83ArgumentNullException.ThrowIfNull(cursorStream);
System\Windows\Input\CursorConverter.cs (1)
208ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\FocusManager.cs (5)
130ArgumentNullException.ThrowIfNull(element); 160ArgumentNullException.ThrowIfNull(element); 172ArgumentNullException.ThrowIfNull(element); 183ArgumentNullException.ThrowIfNull(element); 194ArgumentNullException.ThrowIfNull(element);
System\Windows\Input\InputLanguageManager.cs (14)
37ArgumentNullException.ThrowIfNull(target); 49ArgumentNullException.ThrowIfNull(target); 74ArgumentNullException.ThrowIfNull(target); 85ArgumentNullException.ThrowIfNull(target); 120ArgumentNullException.ThrowIfNull(inputLanguageSource); 145ArgumentNullException.ThrowIfNull(newLanguageId); 147ArgumentNullException.ThrowIfNull(previousLanguageId); 181ArgumentNullException.ThrowIfNull(newLanguageId); 183ArgumentNullException.ThrowIfNull(previousLanguageId); 258ArgumentNullException.ThrowIfNull(value); 293ArgumentNullException.ThrowIfNull(value); 305ArgumentNullException.ThrowIfNull(value); 323ArgumentNullException.ThrowIfNull(value); 335ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\InputManager.cs (3)
327ArgumentNullException.ThrowIfNull(menuSite); 348ArgumentNullException.ThrowIfNull(menuSite); 510ArgumentNullException.ThrowIfNull(input);
System\Windows\Input\InputMethod.cs (14)
224ArgumentNullException.ThrowIfNull(target); 235ArgumentNullException.ThrowIfNull(target); 257ArgumentNullException.ThrowIfNull(target); 268ArgumentNullException.ThrowIfNull(target); 291ArgumentNullException.ThrowIfNull(target); 302ArgumentNullException.ThrowIfNull(target); 324ArgumentNullException.ThrowIfNull(target); 335ArgumentNullException.ThrowIfNull(target); 357ArgumentNullException.ThrowIfNull(target); 368ArgumentNullException.ThrowIfNull(target); 389ArgumentNullException.ThrowIfNull(target); 400ArgumentNullException.ThrowIfNull(target); 1169ArgumentNullException.ThrowIfNull(value); 1182ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\InputReport.cs (1)
34ArgumentNullException.ThrowIfNull(inputSource);
System\Windows\Input\InputReportEventArgs.cs (1)
24ArgumentNullException.ThrowIfNull(report);
System\Windows\Input\InputScope.cs (4)
53ArgumentNullException.ThrowIfNull(value); 71ArgumentNullException.ThrowIfNull(value); 279ArgumentNullException.ThrowIfNull(name); 303ArgumentNullException.ThrowIfNull(name);
System\Windows\Input\KeyEventArgs.cs (1)
29ArgumentNullException.ThrowIfNull(inputSource);
System\Windows\Input\Manipulation.cs (15)
33ArgumentNullException.ThrowIfNull(element); 58ArgumentNullException.ThrowIfNull(element); 70ArgumentNullException.ThrowIfNull(element); 96ArgumentNullException.ThrowIfNull(element); 116ArgumentNullException.ThrowIfNull(element); 137ArgumentNullException.ThrowIfNull(element); 158ArgumentNullException.ThrowIfNull(element); 176ArgumentNullException.ThrowIfNull(element); 196ArgumentNullException.ThrowIfNull(element); 215ArgumentNullException.ThrowIfNull(element); 216ArgumentNullException.ThrowIfNull(manipulator); 234ArgumentNullException.ThrowIfNull(element); 235ArgumentNullException.ThrowIfNull(manipulator); 263ArgumentNullException.ThrowIfNull(element); 264ArgumentNullException.ThrowIfNull(parameter);
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (2)
35ArgumentNullException.ThrowIfNull(genericHandler); 37ArgumentNullException.ThrowIfNull(genericTarget);
System\Windows\Input\ManipulationCompletedEventArgs.cs (4)
27ArgumentNullException.ThrowIfNull(total); 29ArgumentNullException.ThrowIfNull(velocities); 45ArgumentNullException.ThrowIfNull(genericHandler); 47ArgumentNullException.ThrowIfNull(genericTarget);
System\Windows\Input\ManipulationDeltaEventArgs.cs (6)
28ArgumentNullException.ThrowIfNull(delta); 30ArgumentNullException.ThrowIfNull(cumulative); 32ArgumentNullException.ThrowIfNull(velocities); 49ArgumentNullException.ThrowIfNull(genericHandler); 51ArgumentNullException.ThrowIfNull(genericTarget); 124ArgumentNullException.ThrowIfNull(unusedManipulation);
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (4)
29ArgumentNullException.ThrowIfNull(initialVelocities); 44ArgumentNullException.ThrowIfNull(genericHandler); 46ArgumentNullException.ThrowIfNull(genericTarget); 194ArgumentNullException.ThrowIfNull(parameter);
System\Windows\Input\ManipulationStartedEventArgs.cs (2)
35ArgumentNullException.ThrowIfNull(genericHandler); 37ArgumentNullException.ThrowIfNull(genericTarget);
System\Windows\Input\ManipulationStartingEventArgs.cs (2)
109ArgumentNullException.ThrowIfNull(genericHandler); 111ArgumentNullException.ThrowIfNull(genericTarget);
System\Windows\Input\MouseEventArgs.cs (2)
23ArgumentNullException.ThrowIfNull(mouse); 41ArgumentNullException.ThrowIfNull(mouse);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
97ArgumentNullException.ThrowIfNull(value); 728ArgumentNullException.ThrowIfNull(drawingContext); 1043ArgumentNullException.ThrowIfNull(value);
System\Windows\Input\Stylus\Common\DynamicRendererThreadManager.cs (2)
48ArgumentNullException.ThrowIfNull(source); 49ArgumentNullException.ThrowIfNull(listener);
System\Windows\Input\Stylus\Common\RawStylusInput.cs (3)
26ArgumentNullException.ThrowIfNull(report); 31ArgumentNullException.ThrowIfNull(targetPlugInCollection); 98ArgumentNullException.ThrowIfNull(stylusPoints);
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
185ArgumentNullException.ThrowIfNull(data); 241ArgumentNullException.ThrowIfNull(data);
System\Windows\Input\Stylus\Common\Stylus.cs (8)
577ArgumentNullException.ThrowIfNull(element); 594ArgumentNullException.ThrowIfNull(element); 617ArgumentNullException.ThrowIfNull(element); 634ArgumentNullException.ThrowIfNull(element); 657ArgumentNullException.ThrowIfNull(element); 674ArgumentNullException.ThrowIfNull(element); 696ArgumentNullException.ThrowIfNull(element); 713ArgumentNullException.ThrowIfNull(element);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
35ArgumentNullException.ThrowIfNull(impl);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (1)
25ArgumentNullException.ThrowIfNull(stylus);
System\Windows\Input\Stylus\Common\StylusPoint.cs (4)
101ArgumentNullException.ThrowIfNull(stylusPointDescription); 108ArgumentNullException.ThrowIfNull(additionalValues); 270ArgumentNullException.ThrowIfNull(stylusPointProperty); 335ArgumentNullException.ThrowIfNull(stylusPointProperty);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (6)
56ArgumentNullException.ThrowIfNull(stylusPointDescription); 83ArgumentNullException.ThrowIfNull(stylusPoints); 110ArgumentNullException.ThrowIfNull(points); 139ArgumentNullException.ThrowIfNull(stylusPointDescription); 200ArgumentNullException.ThrowIfNull(stylusPoints); 399ArgumentNullException.ThrowIfNull(e);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (6)
46ArgumentNullException.ThrowIfNull(stylusPointPropertyInfos); 113ArgumentNullException.ThrowIfNull(stylusPointProperty); 137ArgumentNullException.ThrowIfNull(stylusPointProperty); 330ArgumentNullException.ThrowIfNull(stylusPointDescription); 331ArgumentNullException.ThrowIfNull(stylusPointDescriptionPreserveInfo); 379ArgumentNullException.ThrowIfNull(stylusPointDescriptionSuperset);
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (1)
36ArgumentNullException.ThrowIfNull(stylusPointProperty);
System\Windows\Input\Stylus\Common\StylusTraceLogger.cs (3)
205Requires<ArgumentNullException>(stylusData != null); 224Requires<ArgumentNullException>(error != null); 235Requires<ArgumentNullException>(deviceInfo != null);
System\Windows\Input\Stylus\Common\TabletDevice.cs (1)
27ArgumentNullException.ThrowIfNull(impl);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
688ArgumentNullException.ThrowIfNull(subsetToReformatTo);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1128ArgumentNullException.ThrowIfNull(subsetToReformatTo);
System\Windows\Input\TextCompositionEventArgs.cs (1)
29ArgumentNullException.ThrowIfNull(composition);
System\Windows\Input\TextCompositionManager.cs (15)
57ArgumentNullException.ThrowIfNull(element); 69ArgumentNullException.ThrowIfNull(element); 86ArgumentNullException.ThrowIfNull(element); 98ArgumentNullException.ThrowIfNull(element); 115ArgumentNullException.ThrowIfNull(element); 127ArgumentNullException.ThrowIfNull(element); 144ArgumentNullException.ThrowIfNull(element); 156ArgumentNullException.ThrowIfNull(element); 173ArgumentNullException.ThrowIfNull(element); 185ArgumentNullException.ThrowIfNull(element); 202ArgumentNullException.ThrowIfNull(element); 214ArgumentNullException.ThrowIfNull(element); 310ArgumentNullException.ThrowIfNull(composition); 333ArgumentNullException.ThrowIfNull(composition); 360ArgumentNullException.ThrowIfNull(composition);
System\Windows\Input\TouchPoint.cs (1)
34ArgumentNullException.ThrowIfNull(device);
System\Windows\InterOp\HwndPanningFeedback.cs (1)
24ArgumentNullException.ThrowIfNull(hwndSource);
System\Windows\InterOp\HwndSource.cs (3)
1909ArgumentNullException.ThrowIfNull(sink); 1963ArgumentNullException.ThrowIfNull(request); 1979ArgumentNullException.ThrowIfNull(request);
System\Windows\InterOp\HwndSourceKeyboardInputSite.cs (2)
12ArgumentNullException.ThrowIfNull(source); 13ArgumentNullException.ThrowIfNull(sink);
System\Windows\Markup\XmlLanguage.cs (5)
107/// <exception cref="ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(ietfLanguageTag); 341ArgumentNullException.ThrowIfNull(culture); 705/// <exception cref="ArgumentNullException">tag is NULL.</exception> 709ArgumentNullException.ThrowIfNull(ietfLanguageTag);
System\Windows\Markup\XmlLanguageConverter.cs (3)
67/// <exception cref="ArgumentNullException"> 96/// <exception cref="ArgumentNullException"> 112ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Media\Animation\Generated\Animatable.cs (3)
66ArgumentNullException.ThrowIfNull(dp); 131ArgumentNullException.ThrowIfNull(dp); 185ArgumentNullException.ThrowIfNull(dp);
System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 490ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\ByteAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\CharAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 490ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\DecimalAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\DoubleAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\Int16AnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\Int64AnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 490ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\ObjectAnimationBase.cs (1)
79ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 490ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\Point3DAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\PointAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\RectAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\Rotation3DAnimationBase.cs (1)
130ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\SingleAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\SizeAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (32)
69ArgumentNullException.ThrowIfNull(keySpline); 141ArgumentNullException.ThrowIfNull(value); 196ArgumentNullException.ThrowIfNull(keySpline); 268ArgumentNullException.ThrowIfNull(value); 323ArgumentNullException.ThrowIfNull(keySpline); 395ArgumentNullException.ThrowIfNull(value); 450ArgumentNullException.ThrowIfNull(keySpline); 522ArgumentNullException.ThrowIfNull(value); 577ArgumentNullException.ThrowIfNull(keySpline); 649ArgumentNullException.ThrowIfNull(value); 704ArgumentNullException.ThrowIfNull(keySpline); 776ArgumentNullException.ThrowIfNull(value); 831ArgumentNullException.ThrowIfNull(keySpline); 903ArgumentNullException.ThrowIfNull(value); 958ArgumentNullException.ThrowIfNull(keySpline); 1030ArgumentNullException.ThrowIfNull(value); 1085ArgumentNullException.ThrowIfNull(keySpline); 1157ArgumentNullException.ThrowIfNull(value); 1212ArgumentNullException.ThrowIfNull(keySpline); 1284ArgumentNullException.ThrowIfNull(value); 1339ArgumentNullException.ThrowIfNull(keySpline); 1411ArgumentNullException.ThrowIfNull(value); 1466ArgumentNullException.ThrowIfNull(keySpline); 1538ArgumentNullException.ThrowIfNull(value); 1593ArgumentNullException.ThrowIfNull(keySpline); 1665ArgumentNullException.ThrowIfNull(value); 1720ArgumentNullException.ThrowIfNull(keySpline); 1792ArgumentNullException.ThrowIfNull(value); 1847ArgumentNullException.ThrowIfNull(keySpline); 1919ArgumentNullException.ThrowIfNull(value); 1974ArgumentNullException.ThrowIfNull(keySpline); 2046ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\StringAnimationBase.cs (1)
130ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 490ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\TimelineCollection.cs (4)
272ArgumentNullException.ThrowIfNull(array); 382ArgumentNullException.ThrowIfNull(array); 492ArgumentNullException.ThrowIfNull(value); 897ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Animation\Generated\Vector3DAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Generated\VectorAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Timeline.cs (2)
376ArgumentNullException.ThrowIfNull(timeline); 389ArgumentNullException.ThrowIfNull(timeline);
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
92ArgumentNullException.ThrowIfNull(item);
System\Windows\Media\Animation\TimelineGroup.cs (3)
108ArgumentNullException.ThrowIfNull(child); 164/// <exception cref="ArgumentNullException">The childText parameter is 170ArgumentNullException.ThrowIfNull(childText);
System\Windows\Media\CharacterMetrics.cs (1)
51ArgumentNullException.ThrowIfNull(metrics);
System\Windows\Media\CharacterMetricsDictionary.cs (5)
116ArgumentNullException.ThrowIfNull(array); 173ArgumentNullException.ThrowIfNull(array); 357ArgumentNullException.ThrowIfNull(value); 483ArgumentNullException.ThrowIfNull(key); 515ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\ColorContext.cs (1)
483ArgumentNullException.ThrowIfNull(profileUri);
System\Windows\Media\CultureSpecificStringDictionary.cs (5)
108ArgumentNullException.ThrowIfNull(array); 142ArgumentNullException.ThrowIfNull(array); 299ArgumentNullException.ThrowIfNull(value); 310ArgumentNullException.ThrowIfNull(value); 323ArgumentNullException.ThrowIfNull(key);
System\Windows\Media\DrawingVisual.cs (2)
25ArgumentNullException.ThrowIfNull(hitTestParameters); 43ArgumentNullException.ThrowIfNull(hitTestParameters);
System\Windows\Media\Effects\BitmapEffect.cs (1)
92ArgumentNullException.ThrowIfNull(input);
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (4)
275ArgumentNullException.ThrowIfNull(array); 385ArgumentNullException.ThrowIfNull(array); 495ArgumentNullException.ThrowIfNull(value); 900ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\EventProxy.cs (1)
128ArgumentNullException.ThrowIfNull(invokable);
System\Windows\Media\FamilyMap.cs (1)
84ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\FamilyMapCollection.cs (5)
74ArgumentNullException.ThrowIfNull(array); 88ArgumentNullException.ThrowIfNull(array); 246ArgumentNullException.ThrowIfNull(item); 294ArgumentNullException.ThrowIfNull(item); 363ArgumentNullException.ThrowIfNull(obj);
System\Windows\Media\FamilyTypefaceCollection.cs (4)
231ArgumentNullException.ThrowIfNull(item); 298ArgumentNullException.ThrowIfNull(item); 355ArgumentNullException.ThrowIfNull(obj); 366ArgumentNullException.ThrowIfNull(array);
System\Windows\Media\FontEmbeddingManager.cs (1)
43ArgumentNullException.ThrowIfNull(glyphRun);
System\Windows\Media\FontFamily.cs (1)
68ArgumentNullException.ThrowIfNull(familyName);
System\Windows\Media\FontFamilyConverter.cs (2)
115ArgumentNullException.ThrowIfNull(value); 123ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Media\Fonts.cs (5)
42ArgumentNullException.ThrowIfNull(location); 59ArgumentNullException.ThrowIfNull(baseUri); 135ArgumentNullException.ThrowIfNull(location); 152ArgumentNullException.ThrowIfNull(baseUri); 311ArgumentNullException.ThrowIfNull(array);
System\Windows\Media\FormattedText.cs (5)
202ArgumentNullException.ThrowIfNull(textToFormat); 204ArgumentNullException.ThrowIfNull(typeface); 268ArgumentNullException.ThrowIfNull(culture); 369ArgumentNullException.ThrowIfNull(fontFamily); 391ArgumentNullException.ThrowIfNull(fontFamily);
System\Windows\Media\Generated\DoubleCollection.cs (4)
234ArgumentNullException.ThrowIfNull(array); 357ArgumentNullException.ThrowIfNull(array); 451ArgumentNullException.ThrowIfNull(value); 925ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\DrawingCollection.cs (4)
294ArgumentNullException.ThrowIfNull(array); 404ArgumentNullException.ThrowIfNull(array); 514ArgumentNullException.ThrowIfNull(value); 942ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\GeneralTransformCollection.cs (4)
282ArgumentNullException.ThrowIfNull(array); 392ArgumentNullException.ThrowIfNull(array); 502ArgumentNullException.ThrowIfNull(value); 907ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\GeometryCollection.cs (4)
294ArgumentNullException.ThrowIfNull(array); 404ArgumentNullException.ThrowIfNull(array); 514ArgumentNullException.ThrowIfNull(value); 942ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\GradientStopCollection.cs (4)
282ArgumentNullException.ThrowIfNull(array); 392ArgumentNullException.ThrowIfNull(array); 502ArgumentNullException.ThrowIfNull(value); 1010ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\Int32Collection.cs (4)
234ArgumentNullException.ThrowIfNull(array); 357ArgumentNullException.ThrowIfNull(array); 451ArgumentNullException.ThrowIfNull(value); 925ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\PathFigureCollection.cs (4)
283ArgumentNullException.ThrowIfNull(array); 393ArgumentNullException.ThrowIfNull(array); 503ArgumentNullException.ThrowIfNull(value); 997ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\PathSegmentCollection.cs (4)
282ArgumentNullException.ThrowIfNull(array); 392ArgumentNullException.ThrowIfNull(array); 502ArgumentNullException.ThrowIfNull(value); 907ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\PointCollection.cs (4)
234ArgumentNullException.ThrowIfNull(array); 357ArgumentNullException.ThrowIfNull(array); 451ArgumentNullException.ThrowIfNull(value); 927ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
46ArgumentNullException.ThrowIfNull(points); 57ArgumentNullException.ThrowIfNull(points);
System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
46ArgumentNullException.ThrowIfNull(points); 57ArgumentNullException.ThrowIfNull(points);
System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
46ArgumentNullException.ThrowIfNull(points); 57ArgumentNullException.ThrowIfNull(points);
System\Windows\Media\Generated\TextEffectCollection.cs (4)
282ArgumentNullException.ThrowIfNull(array); 392ArgumentNullException.ThrowIfNull(array); 502ArgumentNullException.ThrowIfNull(value); 907ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\TransformCollection.cs (4)
294ArgumentNullException.ThrowIfNull(array); 404ArgumentNullException.ThrowIfNull(array); 514ArgumentNullException.ThrowIfNull(value); 942ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Generated\VectorCollection.cs (4)
234ArgumentNullException.ThrowIfNull(array); 357ArgumentNullException.ThrowIfNull(array); 451ArgumentNullException.ThrowIfNull(value); 927ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media\Geometry.cs (1)
662ArgumentNullException.ThrowIfNull(pen);
System\Windows\Media\GeometryHitTestParameters.cs (1)
36ArgumentNullException.ThrowIfNull(geometry);
System\Windows\Media\GlyphRun.cs (6)
429ArgumentNullException.ThrowIfNull(glyphTypeface); 430ArgumentNullException.ThrowIfNull(glyphIndices); 440ArgumentNullException.ThrowIfNull(advanceWidths); 903ArgumentNullException.ThrowIfNull(value); 1081ArgumentNullException.ThrowIfNull(value); 1111ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\GlyphsSerializer.cs (1)
24ArgumentNullException.ThrowIfNull(glyphRun);
System\Windows\Media\GlyphTypeface.cs (5)
113ArgumentNullException.ThrowIfNull(typefaceSource); 225ArgumentNullException.ThrowIfNull(glyphs); 290ArgumentNullException.ThrowIfNull(value); 1809ArgumentNullException.ThrowIfNull(array); 1894ArgumentNullException.ThrowIfNull(array);
System\Windows\Media\Imaging\BitmapDecoder.cs (4)
60ArgumentNullException.ThrowIfNull(bitmapUri); 117ArgumentNullException.ThrowIfNull(bitmapStream); 473ArgumentNullException.ThrowIfNull(bitmapUri); 499ArgumentNullException.ThrowIfNull(bitmapStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (6)
130ArgumentNullException.ThrowIfNull(value); 157ArgumentNullException.ThrowIfNull(value); 186ArgumentNullException.ThrowIfNull(value); 218ArgumentNullException.ThrowIfNull(value); 273ArgumentNullException.ThrowIfNull(value); 300ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Imaging\BitmapFrame.cs (7)
110ArgumentNullException.ThrowIfNull(bitmapUri); 153ArgumentNullException.ThrowIfNull(bitmapUri); 174ArgumentNullException.ThrowIfNull(bitmapStream); 199ArgumentNullException.ThrowIfNull(bitmapStream); 219ArgumentNullException.ThrowIfNull(source); 251ArgumentNullException.ThrowIfNull(source); 289ArgumentNullException.ThrowIfNull(source);
System\Windows\Media\Imaging\BitmapImage.cs (1)
45ArgumentNullException.ThrowIfNull(uriSource);
System\Windows\Media\Imaging\BitmapMetadata.cs (7)
581ArgumentNullException.ThrowIfNull(containerFormat); 627ArgumentNullException.ThrowIfNull(bitmapMetadata); 1012ArgumentNullException.ThrowIfNull(query); 1014ArgumentNullException.ThrowIfNull(value); 1079ArgumentNullException.ThrowIfNull(query); 1131ArgumentNullException.ThrowIfNull(query); 1181ArgumentNullException.ThrowIfNull(query);
System\Windows\Media\Imaging\BitmapPalette.cs (2)
31ArgumentNullException.ThrowIfNull(colors); 67ArgumentNullException.ThrowIfNull(bitmapSource);
System\Windows\Media\Imaging\BitmapSource.cs (2)
640ArgumentNullException.ThrowIfNull(pixels); 1695ArgumentNullException.ThrowIfNull(bitmapSource);
System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
28ArgumentNullException.ThrowIfNull(bitmapTarget); 61ArgumentNullException.ThrowIfNull(visual);
System\Windows\Media\Imaging\CachedBitmap.cs (3)
26ArgumentNullException.ThrowIfNull(source); 65ArgumentNullException.ThrowIfNull(bitmap); 113ArgumentNullException.ThrowIfNull(pixels);
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (3)
33ArgumentNullException.ThrowIfNull(source); 35ArgumentNullException.ThrowIfNull(sourceColorContext); 37ArgumentNullException.ThrowIfNull(destinationColorContext);
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
31ArgumentNullException.ThrowIfNull(source);
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
34ArgumentNullException.ThrowIfNull(source);
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
32ArgumentNullException.ThrowIfNull(source);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
703ArgumentNullException.ThrowIfNull(source);
System\Windows\Media\Knowncolors.cs (1)
812ArgumentNullException.ThrowIfNull(argbString);
System\Windows\Media\mediaeventargs.cs (3)
23ArgumentNullException.ThrowIfNull(errorException); 63ArgumentNullException.ThrowIfNull(parameterType); 65ArgumentNullException.ThrowIfNull(parameterValue);
System\Windows\Media\PathFigure.cs (1)
36ArgumentNullException.ThrowIfNull(segments);
System\Windows\Media\PathGeometry.cs (3)
44ArgumentNullException.ThrowIfNull(figures); 67ArgumentNullException.ThrowIfNull(figures); 354ArgumentNullException.ThrowIfNull(geometry);
System\Windows\Media\PixelFormat.cs (1)
192ArgumentNullException.ThrowIfNull(pixelFormatString);
System\Windows\Media\PixelFormatConverter.cs (2)
74ArgumentNullException.ThrowIfNull(destinationType); 75ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\RenderOptions.cs (12)
43ArgumentNullException.ThrowIfNull(target); 52ArgumentNullException.ThrowIfNull(target); 76ArgumentNullException.ThrowIfNull(target); 85ArgumentNullException.ThrowIfNull(target); 109ArgumentNullException.ThrowIfNull(target); 118ArgumentNullException.ThrowIfNull(target); 143ArgumentNullException.ThrowIfNull(target); 152ArgumentNullException.ThrowIfNull(target); 176ArgumentNullException.ThrowIfNull(target); 185ArgumentNullException.ThrowIfNull(target); 209ArgumentNullException.ThrowIfNull(target); 218ArgumentNullException.ThrowIfNull(target);
System\Windows\Media\RequestCachePolicyConverter.cs (2)
87/// <exception cref="ArgumentNullException"> 103ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Media\SolidColorBrush.cs (4)
55/// <exception cref="System.ArgumentNullException"> 66ArgumentNullException.ThrowIfNull(writer); 117/// <exception cref="System.ArgumentNullException"> 122ArgumentNullException.ThrowIfNull(reader);
System\Windows\Media\StreamAsIStream.cs (1)
630ArgumentNullException.ThrowIfNull(stream);
System\Windows\Media\textformatting\NumberSubstitution.cs (6)
143ArgumentNullException.ThrowIfNull(target); 154ArgumentNullException.ThrowIfNull(target); 176ArgumentNullException.ThrowIfNull(target); 188ArgumentNullException.ThrowIfNull(target); 207ArgumentNullException.ThrowIfNull(target); 218ArgumentNullException.ThrowIfNull(target);
System\Windows\Media\textformatting\TextCharacters.cs (1)
110ArgumentNullException.ThrowIfNull(textRunProperties);
System\Windows\Media\textformatting\TextSimpleMarkerProperties.cs (1)
30ArgumentNullException.ThrowIfNull(textParagraphProperties);
System\Windows\Media\Typeface.cs (1)
99ArgumentNullException.ThrowIfNull(fontFamily);
System\Windows\Media\UniqueEventHelper.cs (2)
90ArgumentNullException.ThrowIfNull(handler); 110ArgumentNullException.ThrowIfNull(handler);
System\Windows\Media\Visual.cs (14)
1913ArgumentNullException.ThrowIfNull(resultCallback); 1915ArgumentNullException.ThrowIfNull(hitTestParameters); 2397ArgumentNullException.ThrowIfNull(hitTestParameters); 2415ArgumentNullException.ThrowIfNull(hitTestParameters); 4140ArgumentNullException.ThrowIfNull(ancestor); 4246/// <exception cref="ArgumentNullException">If the argument is null.</exception> 4251ArgumentNullException.ThrowIfNull(otherVisual); 4293/// <exception cref="ArgumentNullException"> 4303ArgumentNullException.ThrowIfNull(ancestor); 4314/// <exception cref="ArgumentNullException"> 4323ArgumentNullException.ThrowIfNull(ancestor); 4338/// <exception cref="ArgumentNullException">If the descendant argument is null.</exception> 4342ArgumentNullException.ThrowIfNull(descendant); 4355/// <exception cref="ArgumentNullException">If visual is null.</exception>
System\Windows\Media\VisualCollection.cs (3)
64ArgumentNullException.ThrowIfNull(parent); 170ArgumentNullException.ThrowIfNull(array); 198ArgumentNullException.ThrowIfNull(array);
System\Windows\Media\VisualTarget.cs (1)
32ArgumentNullException.ThrowIfNull(hostVisual);
System\Windows\Media\VisualTreeHelper.cs (3)
28ArgumentNullException.ThrowIfNull(reference); 222ArgumentNullException.ThrowIfNull(ancestor); 223ArgumentNullException.ThrowIfNull(descendant);
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (4)
280ArgumentNullException.ThrowIfNull(array); 390ArgumentNullException.ThrowIfNull(array); 500ArgumentNullException.ThrowIfNull(value); 905ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\MaterialCollection.cs (4)
292ArgumentNullException.ThrowIfNull(array); 402ArgumentNullException.ThrowIfNull(array); 512ArgumentNullException.ThrowIfNull(value); 940ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\Model3DCollection.cs (4)
292ArgumentNullException.ThrowIfNull(array); 402ArgumentNullException.ThrowIfNull(array); 512ArgumentNullException.ThrowIfNull(value); 940ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\Point3DCollection.cs (4)
232ArgumentNullException.ThrowIfNull(array); 355ArgumentNullException.ThrowIfNull(array); 449ArgumentNullException.ThrowIfNull(value); 926ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\Transform3DCollection.cs (4)
292ArgumentNullException.ThrowIfNull(array); 402ArgumentNullException.ThrowIfNull(array); 512ArgumentNullException.ThrowIfNull(value); 940ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\Vector3DCollection.cs (4)
232ArgumentNullException.ThrowIfNull(array); 355ArgumentNullException.ThrowIfNull(array); 449ArgumentNullException.ThrowIfNull(value); 926ArgumentNullException.ThrowIfNull(collection);
System\Windows\Media3D\Generated\Visual3D.cs (3)
66ArgumentNullException.ThrowIfNull(dp); 131ArgumentNullException.ThrowIfNull(dp); 185ArgumentNullException.ThrowIfNull(dp);
System\Windows\Media3D\ModelVisual3D.cs (1)
73ArgumentNullException.ThrowIfNull(value);
System\Windows\Media3D\Visual3D.cs (11)
634ArgumentNullException.ThrowIfNull(resultCallback); 636ArgumentNullException.ThrowIfNull(hitTestParameters); 1313ArgumentNullException.ThrowIfNull(ancestor); 1398/// <exception cref="ArgumentNullException">If the argument is null.</exception> 1403ArgumentNullException.ThrowIfNull(otherVisual); 1604/// <exception cref="ArgumentNullException"> 1613ArgumentNullException.ThrowIfNull(ancestor); 1630/// <exception cref="ArgumentNullException">If the descendant argument is null.</exception> 1634ArgumentNullException.ThrowIfNull(descendant); 1766/// <exception cref="ArgumentNullException"> 1775ArgumentNullException.ThrowIfNull(ancestor);
System\Windows\Media3D\Visual3DCollection.cs (3)
132ArgumentNullException.ThrowIfNull(array); 148ArgumentNullException.ThrowIfNull(array); 446ArgumentNullException.ThrowIfNull(value);
System\Windows\Navigation\BaseUriHelper.cs (1)
526ArgumentNullException.ThrowIfNull(element);
System\Windows\PresentationSource.cs (4)
114ArgumentNullException.ThrowIfNull(element); 180ArgumentNullException.ThrowIfNull(e); 258ArgumentNullException.ThrowIfNull(ce); 540ArgumentNullException.ThrowIfNull(v);
System\Windows\RoutedEventArgs.cs (2)
274ArgumentNullException.ThrowIfNull(genericHandler); 276ArgumentNullException.ThrowIfNull(genericTarget);
System\Windows\TextDecorationCollection.cs (2)
67ArgumentNullException.ThrowIfNull(textDecorations); 91ArgumentNullException.ThrowIfNull(textDecorations);
System\Windows\UIElement.cs (6)
1638ArgumentNullException.ThrowIfNull(route); 1640ArgumentNullException.ThrowIfNull(args); 1876ArgumentNullException.ThrowIfNull(d); 1912ArgumentNullException.ThrowIfNull(d); 4551ArgumentNullException.ThrowIfNull(touchDevice); 4563ArgumentNullException.ThrowIfNull(touchDevice);
System\Windows\UIElement3D.cs (2)
1452ArgumentNullException.ThrowIfNull(touchDevice); 1464ArgumentNullException.ThrowIfNull(touchDevice);
PresentationFramework (1318)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (18)
31/// <exception cref="ArgumentNullException">manager is null</exception> 58/// <exception cref="ArgumentNullException">node is null</exception> 61ArgumentNullException.ThrowIfNull(node); 100ArgumentNullException.ThrowIfNull(node); 142/// <exception cref="ArgumentNullException">node is null</exception> 145ArgumentNullException.ThrowIfNull(node); 171/// <exception cref="ArgumentNullException">locatorPart or startNode are 177ArgumentNullException.ThrowIfNull(locatorPart); 178ArgumentNullException.ThrowIfNull(startNode); 272/// <exception cref="ArgumentNullException">d is null</exception> 275ArgumentNullException.ThrowIfNull(d); 286/// <exception cref="ArgumentNullException">d is null</exception> 290ArgumentNullException.ThrowIfNull(d); 312/// <exception cref="ArgumentNullException">d is null</exception> 315ArgumentNullException.ThrowIfNull(d); 327/// <exception cref="ArgumentNullException">d is null</exception> 331ArgumentNullException.ThrowIfNull(d); 382/// <exception cref="ArgumentNullException">node is null</exception>
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (8)
45/// <exception cref="ArgumentNullException">manager is null</exception> 72/// <exception cref="ArgumentNullException">node is null</exception> 75ArgumentNullException.ThrowIfNull(node); 102/// <exception cref="ArgumentNullException">node is null</exception> 107ArgumentNullException.ThrowIfNull(node); 160/// <exception cref="ArgumentNullException">locatorPart or startNode are 166ArgumentNullException.ThrowIfNull(locatorPart); 167ArgumentNullException.ThrowIfNull(startNode);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (12)
81/// <exception cref="ArgumentNullException">selection is null</exception> 149/// <exception cref="ArgumentNullException">selection is null</exception> 165/// <exception cref="ArgumentNullException">selection is null</exception> 180/// <exception cref="ArgumentNullException">startNode or selection is null</exception> 185ArgumentNullException.ThrowIfNull(startNode); 186ArgumentNullException.ThrowIfNull(selection); 247/// <exception cref="ArgumentNullException">locatorPart or startNode are 254ArgumentNullException.ThrowIfNull(startNode); 284ArgumentNullException.ThrowIfNull(locatorPart); 428ArgumentNullException.ThrowIfNull(selection); 468ArgumentNullException.ThrowIfNull(selection); 490ArgumentNullException.ThrowIfNull(locatorPart);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (32)
84/// <exception cref="ArgumentNullException">if the processor or processorId are null</exception> 89ArgumentNullException.ThrowIfNull(processor); 90ArgumentNullException.ThrowIfNull(processorId); 116/// <exception cref="ArgumentNullException">node is null</exception> 121ArgumentNullException.ThrowIfNull(node); 149/// <exception cref="ArgumentNullException">locatorPart is null</exception> 153ArgumentNullException.ThrowIfNull(locatorPart); 174/// <exception cref="ArgumentNullException">processor or selectionType is null</exception> 179ArgumentNullException.ThrowIfNull(processor); 180ArgumentNullException.ThrowIfNull(selectionType); 207/// <exception cref="ArgumentNullException">selectionType is null</exception> 211ArgumentNullException.ThrowIfNull(selectionType); 235/// <exception cref="ArgumentNullException">locatorPart is null</exception> 239ArgumentNullException.ThrowIfNull(locatorPart); 255/// <exception cref="ArgumentNullException">node is null</exception> 261ArgumentNullException.ThrowIfNull(node); 331/// <exception cref="ArgumentNullException">if selection is null</exception> 337ArgumentNullException.ThrowIfNull(selection); 383/// <exception cref="ArgumentNullException">locator or startNode are null</exception> 390ArgumentNullException.ThrowIfNull(locator); 391ArgumentNullException.ThrowIfNull(startNode); 448/// <exception cref="ArgumentNullException">d is null</exception> 451ArgumentNullException.ThrowIfNull(d); 463/// <exception cref="ArgumentNullException">d is null</exception> 467ArgumentNullException.ThrowIfNull(d); 491/// <exception cref="ArgumentNullException">subtree is null</exception> 494ArgumentNullException.ThrowIfNull(subTree); 518/// <exception cref="ArgumentNullException">startNode or locator is null</exception> 521ArgumentNullException.ThrowIfNull(startNode); 522ArgumentNullException.ThrowIfNull(locator); 629/// <exception cref="ArgumentNullException">root is null</exception> 741/// <exception cref="ArgumentNullException">node is null</exception>
MS\Internal\Annotations\Anchoring\PathNode.cs (4)
30/// <exception cref="ArgumentNullException">node is null</exception> 33ArgumentNullException.ThrowIfNull(node); 138/// <exception cref="ArgumentNullException">nodes is null</exception> 141ArgumentNullException.ThrowIfNull(nodes);
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (6)
62/// <exception cref="ArgumentNullException">selection1 or selection2 are 72/// <exception cref="ArgumentNullException">selection is null</exception> 81/// <exception cref="ArgumentNullException">selection is null</exception> 90/// <exception cref="ArgumentNullException">selection is null</exception> 103/// <exception cref="ArgumentNullException">startNode or selection is null</exception> 118/// <exception cref="ArgumentNullException">locatorPart or startNode are
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (7)
41/// <exception cref="ArgumentNullException">manager is null</exception> 44ArgumentNullException.ThrowIfNull(manager); 71/// <exception cref="ArgumentNullException">node is null</exception> 86/// <exception cref="ArgumentNullException">node is null</exception> 89ArgumentNullException.ThrowIfNull(node); 115/// <exception cref="ArgumentNullException">node is null</exception> 135/// <exception cref="ArgumentNullException">locatorPart or startNode are
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (15)
65/// <exception cref="ArgumentNullException">anchor1 or anchor2 are null</exception> 101/// <exception cref="ArgumentNullException">selection is null</exception> 105ArgumentNullException.ThrowIfNull(selection); 145/// <exception cref="ArgumentNullException">selection is null</exception> 149ArgumentNullException.ThrowIfNull(selection); 166/// <exception cref="ArgumentNullException">pointer is null</exception> 169ArgumentNullException.ThrowIfNull(pointer); 219/// <exception cref="ArgumentNullException">anchor is null</exception> 223ArgumentNullException.ThrowIfNull(selection); 240/// <exception cref="ArgumentNullException">pointer is null</exception> 243ArgumentNullException.ThrowIfNull(pointer); 264/// <exception cref="ArgumentNullException">pointer is null</exception> 267ArgumentNullException.ThrowIfNull(pointer); 287/// <exception cref="ArgumentNullException">pointer is null</exception> 290ArgumentNullException.ThrowIfNull(pointer);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (11)
65/// <exception cref="ArgumentNullException">anchor1 or anchor2 are 79/// <exception cref="ArgumentNullException">selection is null</exception> 91/// <exception cref="ArgumentNullException">selection is null</exception> 104/// <exception cref="ArgumentNullException">selection is null</exception> 121/// <exception cref="ArgumentNullException">startNode or selection is null</exception> 126ArgumentNullException.ThrowIfNull(startNode); 127ArgumentNullException.ThrowIfNull(selection); 183/// <exception cref="ArgumentNullException">locatorPart or startNode are 188ArgumentNullException.ThrowIfNull(startNode); 189ArgumentNullException.ThrowIfNull(locatorPart); 353ArgumentNullException.ThrowIfNull(locatorPart);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (9)
67/// <exception cref="ArgumentNullException">selection is null</exception> 82/// <exception cref="ArgumentNullException">selection is null</exception> 99/// <exception cref="ArgumentNullException">selection is null</exception> 119/// <exception cref="ArgumentNullException">startNode or selection is null</exception> 124ArgumentNullException.ThrowIfNull(startNode); 163/// <exception cref="ArgumentNullException">locatorPart or startNode are null</exception> 166ArgumentNullException.ThrowIfNull(locatorPart); 167ArgumentNullException.ThrowIfNull(startNode); 260ArgumentNullException.ThrowIfNull(selection);
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (14)
59/// <exception cref="ArgumentNullException">selection1 or selection2 are 63ArgumentNullException.ThrowIfNull(selection1); 64ArgumentNullException.ThrowIfNull(selection2); 76/// <exception cref="ArgumentNullException">selection is null</exception> 88/// <exception cref="ArgumentNullException">selection is null</exception> 92ArgumentNullException.ThrowIfNull(selection); 108/// <exception cref="ArgumentNullException">selection is null</exception> 112ArgumentNullException.ThrowIfNull(selection); 134/// <exception cref="ArgumentNullException">startNode or selection is null</exception> 139ArgumentNullException.ThrowIfNull(startNode); 140ArgumentNullException.ThrowIfNull(selection); 155/// <exception cref="ArgumentNullException">locatorPart or startNode are 160ArgumentNullException.ThrowIfNull(startNode); 161ArgumentNullException.ThrowIfNull(locatorPart);
MS\Internal\Annotations\AnnotationObservableCollection.cs (1)
54/// <exception cref="ArgumentNullException"> list is a null reference </exception>
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (4)
38ArgumentNullException.ThrowIfNull(adornerLayer); 166ArgumentNullException.ThrowIfNull(component); 181ArgumentNullException.ThrowIfNull(component); 480ArgumentNullException.ThrowIfNull(component);
MS\Internal\Annotations\Component\HighlightComponent.cs (4)
46ArgumentNullException.ThrowIfNull(type); 263ArgumentNullException.ThrowIfNull(attachedAnnotation); 445ArgumentNullException.ThrowIfNull(selection); 507ArgumentNullException.ThrowIfNull(attachedAnnotation);
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
54ArgumentNullException.ThrowIfNull(type); 231ArgumentNullException.ThrowIfNull(attachedAnnotation);
MS\Internal\Annotations\ObservableDictionary.cs (13)
59/// <exception cref="ArgumentNullException">key or val is null</exception> 63ArgumentNullException.ThrowIfNull(key); 64ArgumentNullException.ThrowIfNull(val); 138/// <exception cref="ArgumentNullException">key is null</exception> 141ArgumentNullException.ThrowIfNull(key); 150/// <exception cref="ArgumentNullException">pair is null</exception> 161/// <exception cref="ArgumentNullException">pair is null</exception> 172/// <exception cref="ArgumentNullException">pair is null</exception> 183/// <exception cref="ArgumentNullException">target is null</exception> 187ArgumentNullException.ThrowIfNull(target); 237ArgumentNullException.ThrowIfNull(key); 245ArgumentNullException.ThrowIfNull(key); 247ArgumentNullException.ThrowIfNull(value);
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
106ArgumentNullException.ThrowIfNull(anchorLocator);
MS\Internal\Annotations\TextAnchor.cs (1)
101ArgumentNullException.ThrowIfNull(textPointer);
MS\Internal\AppModel\Journaling.cs (1)
532ArgumentNullException.ThrowIfNull(contentObject);
MS\Internal\Controls\ActiveXSite.cs (1)
34ArgumentNullException.ThrowIfNull(host);
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (2)
31ArgumentNullException.ThrowIfNull(inkCanvas); 49ArgumentNullException.ThrowIfNull(transform);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
905ArgumentNullException.ThrowIfNull(attachedAnnotation); 929ArgumentNullException.ThrowIfNull(attachedAnnotation);
MS\Internal\Controls\StickyNote\StickyNoteHelper.cs (1)
56ArgumentNullException.ThrowIfNull(helper);
MS\Internal\Controls\ValidationRuleCollection.cs (2)
40ArgumentNullException.ThrowIfNull(item); 50ArgumentNullException.ThrowIfNull(item);
MS\Internal\Data\BindingCollection.cs (2)
79ArgumentNullException.ThrowIfNull(item); 93ArgumentNullException.ThrowIfNull(item);
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
48ArgumentNullException.ThrowIfNull(args);
MS\Internal\Data\ObjectRef.cs (7)
119/// <exception cref="ArgumentNullException"> name is a null reference </exception> 122ArgumentNullException.ThrowIfNull(name); 138ArgumentNullException.ThrowIfNull(d); 311/// <exception cref="ArgumentNullException"> relativeSource is a null reference </exception> 314ArgumentNullException.ThrowIfNull(relativeSource); 345/// <exception cref="ArgumentNullException"> d is a null reference </exception> 356/// <exception cref="ArgumentNullException"> d is a null reference </exception>
MS\Internal\Data\RBTree.cs (1)
567ArgumentNullException.ThrowIfNull(array);
MS\Internal\Data\StaticPropertyChangedEventManager.cs (4)
45ArgumentNullException.ThrowIfNull(type); 46ArgumentNullException.ThrowIfNull(handler); 56ArgumentNullException.ThrowIfNull(type); 57ArgumentNullException.ThrowIfNull(handler);
MS\Internal\Data\ValueChangedEventManager.cs (6)
63ArgumentNullException.ThrowIfNull(source); 64ArgumentNullException.ThrowIfNull(listener); 74ArgumentNullException.ThrowIfNull(source); 75ArgumentNullException.ThrowIfNull(listener); 85ArgumentNullException.ThrowIfNull(handler); 97ArgumentNullException.ThrowIfNull(handler);
MS\Internal\Data\XmlNodeChangedEventManager.cs (6)
42ArgumentNullException.ThrowIfNull(source); 43ArgumentNullException.ThrowIfNull(listener); 53ArgumentNullException.ThrowIfNull(source); 54ArgumentNullException.ThrowIfNull(listener); 64ArgumentNullException.ThrowIfNull(handler); 74ArgumentNullException.ThrowIfNull(handler);
MS\Internal\Documents\ContentElementCollection.cs (10)
53/// <exception cref="ArgumentNullException"> 66ArgumentNullException.ThrowIfNull(array); 86/// <exception cref="ArgumentNullException"> 102ArgumentNullException.ThrowIfNull(array); 141/// <exception cref="ArgumentNullException"> 204/// <exception cref="ArgumentNullException"> 224/// <exception cref="ArgumentNullException"> 403ArgumentNullException.ThrowIfNull(value); 449ArgumentNullException.ThrowIfNull(value); 503ArgumentNullException.ThrowIfNull(value);
MS\Internal\Documents\DocumentGrid.cs (2)
1697ArgumentNullException.ThrowIfNull(e); 2665ArgumentNullException.ThrowIfNull(row);
MS\Internal\Documents\FlowDocumentPaginator.cs (4)
215ArgumentNullException.ThrowIfNull(contentPosition); 278ArgumentNullException.ThrowIfNull(contentPosition); 356ArgumentNullException.ThrowIfNull(page); 415ArgumentNullException.ThrowIfNull(o);
MS\Internal\Documents\ParentUndoUnit.cs (6)
55/// <exception cref="ArgumentNullException"> 62ArgumentNullException.ThrowIfNull(newUnit); 103/// <exception cref="ArgumentNullException"> 110ArgumentNullException.ThrowIfNull(unit); 200/// <exception cref="ArgumentNullException"> 212ArgumentNullException.ThrowIfNull(unit);
MS\Internal\Documents\TableColumnCollectionInternal.cs (7)
26/// <exception cref="ArgumentNullException"> 36ArgumentNullException.ThrowIfNull(item); 79/// <exception cref="ArgumentNullException"> 101ArgumentNullException.ThrowIfNull(item); 193/// <exception cref="ArgumentNullException"> 208ArgumentNullException.ThrowIfNull(item); 329ArgumentNullException.ThrowIfNull(value);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (7)
31/// <exception cref="ArgumentNullException"> 41ArgumentNullException.ThrowIfNull(item); 84/// <exception cref="ArgumentNullException"> 106ArgumentNullException.ThrowIfNull(item); 131/// <exception cref="ArgumentNullException"> 146ArgumentNullException.ThrowIfNull(item); 416ArgumentNullException.ThrowIfNull(value);
MS\Internal\Documents\TextParagraphView.cs (6)
89ArgumentNullException.ThrowIfNull(position); 108ArgumentNullException.ThrowIfNull(startPosition); 109ArgumentNullException.ThrowIfNull(endPosition); 133ArgumentNullException.ThrowIfNull(position); 262ArgumentNullException.ThrowIfNull(position); 281ArgumentNullException.ThrowIfNull(position);
MS\Internal\Documents\UndoManager.cs (11)
95ArgumentNullException.ThrowIfNull(scope); 96ArgumentNullException.ThrowIfNull(undoManager); 130ArgumentNullException.ThrowIfNull(scope); 181/// <exception cref="ArgumentNullException"> 193ArgumentNullException.ThrowIfNull(unit); 232/// <exception cref="ArgumentNullException"> 242ArgumentNullException.ThrowIfNull(unit); 308/// <exception cref="ArgumentNullException"> 318ArgumentNullException.ThrowIfNull(unit); 399/// <exception cref="ArgumentNullException"> 411ArgumentNullException.ThrowIfNull(unit);
MS\Internal\Ink\ClipboardProcessor.cs (1)
52ArgumentNullException.ThrowIfNull(inkCanvas);
MS\Internal\Ink\EditBehavior.cs (2)
39ArgumentNullException.ThrowIfNull(inkCanvas); 40ArgumentNullException.ThrowIfNull(editingCoordinator);
MS\Internal\Ink\EditingCoordinator.cs (1)
37ArgumentNullException.ThrowIfNull(inkCanvas);
MS\Internal\Ink\InkCanvasSelection.cs (1)
40ArgumentNullException.ThrowIfNull(inkCanvas);
MS\Internal\Ink\LassoHelper.cs (1)
67ArgumentNullException.ThrowIfNull(points);
MS\Internal\IO\Packaging\ContentDescriptor.cs (2)
23ArgumentNullException.ThrowIfNull(xmlNamespace); 24ArgumentNullException.ThrowIfNull(baseName);
MS\Internal\IO\Packaging\CorePropertiesFilter.cs (1)
58ArgumentNullException.ThrowIfNull(coreProperties);
MS\Internal\IO\Packaging\EncryptedPackageFilter.cs (1)
33ArgumentNullException.ThrowIfNull(encryptedPackage);
MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
46ArgumentNullException.ThrowIfNull(managedFilter);
MS\Internal\IO\Packaging\ManagedFilter.cs (1)
67ArgumentNullException.ThrowIfNull(value);
MS\Internal\IO\Packaging\ManagedIStream.cs (1)
28ArgumentNullException.ThrowIfNull(ioStream);
MS\Internal\IO\Packaging\PackageFilter.cs (1)
57ArgumentNullException.ThrowIfNull(package);
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
62ArgumentNullException.ThrowIfNull(oleStream);
MS\Internal\IO\Packaging\XpsFilter.cs (1)
520ArgumentNullException.ThrowIfNull(stream);
MS\Internal\ListOfObject.cs (1)
17ArgumentNullException.ThrowIfNull(list);
MS\Internal\Markup\StaticExtension.cs (1)
78ArgumentNullException.ThrowIfNull(serviceProvider);
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
1139ArgumentNullException.ThrowIfNull(serviceType);
MS\Internal\WeakDictionary.cs (1)
293ArgumentNullException.ThrowIfNull(array);
MS\Internal\WeakHashSet.cs (1)
40ArgumentNullException.ThrowIfNull(array);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (1)
55ArgumentNullException.ThrowIfNull(uri);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\EventSourceActivity.cs (6)
104Contract.Requires<ArgumentNullException>(eventSource != null, nameof(eventSource)); 143Contract.Requires<ArgumentNullException>(parentActivity != null, nameof(parentActivity)); 176Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 207Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 237Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName)); 256Contract.Requires<ArgumentNullException>(eventName != null, nameof(eventName));
System\ComponentModel\DesignerProperties.cs (2)
68ArgumentNullException.ThrowIfNull(element); 78ArgumentNullException.ThrowIfNull(element);
System\Windows\Annotations\Annotation.cs (8)
84/// <exception cref="ArgumentNullException">annotationType is null</exception> 88ArgumentNullException.ThrowIfNull(annotationType); 118/// <exception cref="ArgumentNullException">annotationType is null</exception> 124ArgumentNullException.ThrowIfNull(annotationType); 176/// <exception cref="ArgumentNullException">writer is null</exception> 179ArgumentNullException.ThrowIfNull(writer); 262/// <exception cref="ArgumentNullException">reader is null</exception> 265ArgumentNullException.ThrowIfNull(reader);
System\Windows\Annotations\AnnotationAuthorChangedEventArgs.cs (2)
46/// <exception cref="ArgumentNullException">annotation is null</exception> 53ArgumentNullException.ThrowIfNull(annotation);
System\Windows\Annotations\AnnotationComponentChooser.cs (1)
57ArgumentNullException.ThrowIfNull(attachedAnnotation);
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
364ArgumentNullException.ThrowIfNull(dpv);
System\Windows\Annotations\AnnotationHelper.cs (11)
39/// <exception cref="ArgumentNullException">service is null</exception> 69/// <exception cref="ArgumentNullException">service is null</exception> 85/// <exception cref="ArgumentNullException">service is null</exception> 102/// <exception cref="ArgumentNullException">service is null</exception> 125/// <exception cref="ArgumentNullException">service is null</exception> 148/// <exception cref="ArgumentNullException">service is null</exception> 170/// <exception cref="ArgumentNullException">service or annotation is null</exception> 176ArgumentNullException.ThrowIfNull(annotation); 483/// <exception cref="ArgumentNullException">service is null</exception> 1076/// <exception cref="ArgumentNullException">service is null</exception> 1080ArgumentNullException.ThrowIfNull(service);
System\Windows\Annotations\AnnotationResource.cs (6)
55/// <exception cref="ArgumentNullException">name is null</exception> 59ArgumentNullException.ThrowIfNull(name); 107/// <exception cref="ArgumentNullException">writer is null</exception> 110ArgumentNullException.ThrowIfNull(writer); 156/// <exception cref="ArgumentNullException">reader is null</exception> 159ArgumentNullException.ThrowIfNull(reader);
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (2)
46/// <exception cref="ArgumentNullException">annotation or action is null</exception> 53ArgumentNullException.ThrowIfNull(annotation);
System\Windows\Annotations\AnnotationService.cs (34)
87/// <exception cref="ArgumentNullException">viewer is null</exception> 90ArgumentNullException.ThrowIfNull(viewer); 100/// <exception cref="ArgumentNullException">viewer is null</exception> 103ArgumentNullException.ThrowIfNull(viewer); 113/// <exception cref="ArgumentNullException">viewer is null</exception> 116ArgumentNullException.ThrowIfNull(viewer); 127/// <exception cref="ArgumentNullException">root is null</exception> 131ArgumentNullException.ThrowIfNull(root); 153/// <exception cref="ArgumentNullException">store is null</exception> 160ArgumentNullException.ThrowIfNull(annotationStore); 278/// <exception cref="ArgumentNullException">viewer is null</exception> 281ArgumentNullException.ThrowIfNull(viewer); 293/// <exception cref="ArgumentNullException">reader is null</exception> 296ArgumentNullException.ThrowIfNull(reader); 308/// <exception cref="ArgumentNullException">viewer is null</exception> 311ArgumentNullException.ThrowIfNull(viewer); 334/// <exception cref="ArgumentNullException">element is null</exception> 344ArgumentNullException.ThrowIfNull(element); 374/// <exception cref="ArgumentNullException">element is null</exception> 379ArgumentNullException.ThrowIfNull(element); 512/// <exception cref="ArgumentNullException">d is null</exception> 515ArgumentNullException.ThrowIfNull(d); 535ArgumentNullException.ThrowIfNull(d); 557/// <exception cref="ArgumentNullException">d is null</exception> 560ArgumentNullException.ThrowIfNull(d); 561ArgumentNullException.ThrowIfNull(id); 573/// <exception cref="ArgumentNullException">d is null</exception> 576ArgumentNullException.ThrowIfNull(d); 595/// <exception cref="ArgumentNullException">d is null</exception> 598ArgumentNullException.ThrowIfNull(d); 599ArgumentNullException.ThrowIfNull(id); 611/// <exception cref="ArgumentNullException">d is null</exception> 614ArgumentNullException.ThrowIfNull(d); 848/// <exception cref="ArgumentNullException">element is null</exception>
System\Windows\Annotations\LocatorGroup.cs (4)
93/// <exception cref="ArgumentNullException">writer is null</exception> 96ArgumentNullException.ThrowIfNull(writer); 119/// <exception cref="ArgumentNullException">reader is null</exception> 122ArgumentNullException.ThrowIfNull(reader);
System\Windows\Annotations\LocatorPart.cs (2)
41/// <exception cref="ArgumentNullException">partType is null</exception> 45ArgumentNullException.ThrowIfNull(partType);
System\Windows\Annotations\LocatorPartList.cs (6)
62/// <exception cref="ArgumentNullException">locator is null</exception> 65ArgumentNullException.ThrowIfNull(locator); 136/// <exception cref="ArgumentNullException">writer is null</exception> 139ArgumentNullException.ThrowIfNull(writer); 187/// <exception cref="ArgumentNullException">reader is null</exception> 190ArgumentNullException.ThrowIfNull(reader);
System\Windows\Annotations\Storage\AnnotationStore.cs (1)
58/// <exception cref="ArgumentNullException">newAnnotation is null</exception>
System\Windows\Annotations\Storage\StoreContentChangedEventArgs.cs (1)
63ArgumentNullException.ThrowIfNull(annotation);
System\Windows\Annotations\Storage\XmlStreamStore.cs (9)
59/// <exception cref="ArgumentNullException">stream is null</exception> 64ArgumentNullException.ThrowIfNull(stream); 85/// <exception cref="ArgumentNullException">stream is null</exception> 92ArgumentNullException.ThrowIfNull(stream); 112/// <exception cref="ArgumentNullException">newAnnotation is null</exception> 118ArgumentNullException.ThrowIfNull(newAnnotation); 229ArgumentNullException.ThrowIfNull(anchorLocator); 389ArgumentNullException.ThrowIfNull(name); 539/// <exception cref="ArgumentNullException">queryExpression is null</exception>
System\Windows\Application.cs (7)
348ArgumentNullException.ThrowIfNull(component); 349ArgumentNullException.ThrowIfNull(resourceLocator); 439ArgumentNullException.ThrowIfNull(resourceLocator); 576ArgumentNullException.ThrowIfNull(uriResource); 608ArgumentNullException.ThrowIfNull(uriContent); 637ArgumentNullException.ThrowIfNull(uriRemote); 1031ArgumentNullException.ThrowIfNull(value);
System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (2)
98ArgumentNullException.ThrowIfNull(d); 99ArgumentNullException.ThrowIfNull(dp);
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
142ArgumentNullException.ThrowIfNull(val);
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (3)
26ArgumentNullException.ThrowIfNull(owner); 416ArgumentNullException.ThrowIfNull(cellProviders); 438ArgumentNullException.ThrowIfNull(itemProviders);
System\Windows\Automation\Peers\DataGridCellAutomationPeer.cs (1)
24ArgumentNullException.ThrowIfNull(owner);
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
25ArgumentNullException.ThrowIfNull(item); 26ArgumentNullException.ThrowIfNull(dataGridColumn);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (2)
27ArgumentNullException.ThrowIfNull(item); 28ArgumentNullException.ThrowIfNull(dataGridPeer);
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
23ArgumentNullException.ThrowIfNull(owner);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
25ArgumentNullException.ThrowIfNull(owningCalendar);
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
124ArgumentNullException.ThrowIfNull(value);
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
95ArgumentNullException.ThrowIfNull(value);
System\Windows\ColorConvertedBitmapExtension.cs (1)
37ArgumentNullException.ThrowIfNull(image);
System\Windows\ComponentResourceKey.cs (3)
29ArgumentNullException.ThrowIfNull(typeInTargetAssembly); 30ArgumentNullException.ThrowIfNull(resourceId); 51ArgumentNullException.ThrowIfNull(value);
System\Windows\ComponentResourceKeyConverter.cs (3)
31ArgumentNullException.ThrowIfNull(sourceType); 51ArgumentNullException.ThrowIfNull(destinationType); 102ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Condition.cs (5)
47ArgumentNullException.ThrowIfNull(conditionProperty); 65ArgumentNullException.ThrowIfNull(binding); 260ArgumentNullException.ThrowIfNull(targetObject); 261ArgumentNullException.ThrowIfNull(eventArgs); 279ArgumentNullException.ThrowIfNull(eventArgs);
System\Windows\ConditionCollection.cs (1)
107ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\Canvas.cs (8)
74ArgumentNullException.ThrowIfNull(element); 86ArgumentNullException.ThrowIfNull(element); 100ArgumentNullException.ThrowIfNull(element); 112ArgumentNullException.ThrowIfNull(element); 126ArgumentNullException.ThrowIfNull(element); 138ArgumentNullException.ThrowIfNull(element); 152ArgumentNullException.ThrowIfNull(element); 164ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\ColumnDefinition.cs (4)
75ArgumentNullException.ThrowIfNull(array); 101ArgumentNullException.ThrowIfNull(array); 587ArgumentNullException.ThrowIfNull(value); 608ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\ColumnDefinitionCollectionConverter.cs (1)
34/// <exception cref="ArgumentNullException">
System\Windows\Controls\ContextMenuService.cs (18)
37ArgumentNullException.ThrowIfNull(element); 62ArgumentNullException.ThrowIfNull(element); 84ArgumentNullException.ThrowIfNull(element); 95ArgumentNullException.ThrowIfNull(element); 117ArgumentNullException.ThrowIfNull(element); 128ArgumentNullException.ThrowIfNull(element); 148ArgumentNullException.ThrowIfNull(element); 159ArgumentNullException.ThrowIfNull(element); 180ArgumentNullException.ThrowIfNull(element); 191ArgumentNullException.ThrowIfNull(element); 212ArgumentNullException.ThrowIfNull(element); 223ArgumentNullException.ThrowIfNull(element); 244ArgumentNullException.ThrowIfNull(element); 255ArgumentNullException.ThrowIfNull(element); 276ArgumentNullException.ThrowIfNull(element); 287ArgumentNullException.ThrowIfNull(element); 308ArgumentNullException.ThrowIfNull(element); 319ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\DataGrid.cs (2)
1527ArgumentNullException.ThrowIfNull(item); 7800ArgumentNullException.ThrowIfNull(itemProperties);
System\Windows\Controls\DataGridCellInfo.cs (2)
22ArgumentNullException.ThrowIfNull(column); 43ArgumentNullException.ThrowIfNull(cell);
System\Windows\Controls\DataGridColumn.cs (2)
614ArgumentNullException.ThrowIfNull(dataItem); 635ArgumentNullException.ThrowIfNull(dataGridRow);
System\Windows\Controls\DataGridLengthConverter.cs (3)
60/// <exception cref="ArgumentNullException"> 115/// <exception cref="ArgumentNullException"> 128ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Controls\DockPanel.cs (2)
100ArgumentNullException.ThrowIfNull(element); 113ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\DocumentViewer.cs (3)
1892ArgumentNullException.ThrowIfNull(data); 1910catch (ArgumentNullException) 1943ArgumentNullException.ThrowIfNull(data);
System\Windows\Controls\ExceptionRoutedEventArgs.cs (1)
22ArgumentNullException.ThrowIfNull(errorException);
System\Windows\Controls\FlowDocumentReader.cs (1)
1913ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1796ArgumentNullException.ThrowIfNull(value); 1836ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Controls\Grid.cs (11)
68ArgumentNullException.ThrowIfNull(value); 124ArgumentNullException.ThrowIfNull(element); 137ArgumentNullException.ThrowIfNull(element); 149ArgumentNullException.ThrowIfNull(element); 162ArgumentNullException.ThrowIfNull(element); 174ArgumentNullException.ThrowIfNull(element); 187ArgumentNullException.ThrowIfNull(element); 199ArgumentNullException.ThrowIfNull(element); 212ArgumentNullException.ThrowIfNull(element); 224ArgumentNullException.ThrowIfNull(element); 236ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\GridView.cs (2)
168ArgumentNullException.ThrowIfNull(element); 179ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\GridViewColumnCollection.cs (1)
427ArgumentNullException.ThrowIfNull(column);
System\Windows\Controls\Image.cs (6)
539ArgumentNullException.ThrowIfNull(handler); 549ArgumentNullException.ThrowIfNull(handler); 663ArgumentNullException.ThrowIfNull(handler); 673ArgumentNullException.ThrowIfNull(handler); 787ArgumentNullException.ThrowIfNull(handler); 797ArgumentNullException.ThrowIfNull(handler);
System\Windows\Controls\InkCanvas.cs (27)
435ArgumentNullException.ThrowIfNull(element); 447ArgumentNullException.ThrowIfNull(element); 469ArgumentNullException.ThrowIfNull(element); 481ArgumentNullException.ThrowIfNull(element); 503ArgumentNullException.ThrowIfNull(element); 515ArgumentNullException.ThrowIfNull(element); 537ArgumentNullException.ThrowIfNull(element); 549ArgumentNullException.ThrowIfNull(element); 768ArgumentNullException.ThrowIfNull(value); 963ArgumentNullException.ThrowIfNull(value); 986ArgumentNullException.ThrowIfNull(value); 1028ArgumentNullException.ThrowIfNull(e); 1159ArgumentNullException.ThrowIfNull(e); 1178ArgumentNullException.ThrowIfNull(e); 1199ArgumentNullException.ThrowIfNull(e); 1249ArgumentNullException.ThrowIfNull(e); 1306ArgumentNullException.ThrowIfNull(e); 1360ArgumentNullException.ThrowIfNull(e); 1392ArgumentNullException.ThrowIfNull(e); 1423ArgumentNullException.ThrowIfNull(e); 1459ArgumentNullException.ThrowIfNull(e); 1508ArgumentNullException.ThrowIfNull(e); 1535ArgumentNullException.ThrowIfNull(e); 1565ArgumentNullException.ThrowIfNull(e); 1599ArgumentNullException.ThrowIfNull(e); 1629ArgumentNullException.ThrowIfNull(e); 1911ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\ItemCollection.cs (1)
284ArgumentNullException.ThrowIfNull(array);
System\Windows\Controls\ItemContainerGenerator.cs (2)
565ArgumentNullException.ThrowIfNull(container); 612ArgumentNullException.ThrowIfNull(container);
System\Windows\Controls\ItemsControl.cs (2)
1078ArgumentNullException.ThrowIfNull(element); 1176ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
150ArgumentNullException.ThrowIfNull(templatedParent);
System\Windows\Controls\Label.cs (1)
146ArgumentNullException.ThrowIfNull(o);
System\Windows\Controls\MediaScriptCommandRoutedEventArgs.cs (2)
21ArgumentNullException.ThrowIfNull(parameterType); 23ArgumentNullException.ThrowIfNull(parameterValue);
System\Windows\Controls\MultipleCopiesCollection.cs (2)
240ArgumentNullException.ThrowIfNull(value); 247ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\Panel.cs (3)
81ArgumentNullException.ThrowIfNull(value); 916ArgumentNullException.ThrowIfNull(element); 928ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
511ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
322ArgumentNullException.ThrowIfNull(element); 333ArgumentNullException.ThrowIfNull(element); 485ArgumentNullException.ThrowIfNull(element); 1697ArgumentNullException.ThrowIfNull(value); 1739ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (6)
382ArgumentNullException.ThrowIfNull(source); 383ArgumentNullException.ThrowIfNull(listener); 393ArgumentNullException.ThrowIfNull(source); 394ArgumentNullException.ThrowIfNull(listener); 404ArgumentNullException.ThrowIfNull(handler); 414ArgumentNullException.ThrowIfNull(handler);
System\Windows\Controls\Primitives\LayoutInformation.cs (2)
20ArgumentNullException.ThrowIfNull(element); 55ArgumentNullException.ThrowIfNull(dispatcher);
System\Windows\Controls\Primitives\Popup.cs (2)
881ArgumentNullException.ThrowIfNull(popup); 882ArgumentNullException.ThrowIfNull(child);
System\Windows\Controls\Primitives\Selector.cs (3)
184ArgumentNullException.ThrowIfNull(element); 208ArgumentNullException.ThrowIfNull(element); 221ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1041ArgumentNullException.ThrowIfNull(e); 1515ArgumentNullException.ThrowIfNull(position);
System\Windows\Controls\PrintDialog.cs (2)
342ArgumentNullException.ThrowIfNull(visual); 371ArgumentNullException.ThrowIfNull(documentPaginator);
System\Windows\Controls\RichTextBox.cs (4)
149ArgumentNullException.ThrowIfNull(value); 174ArgumentNullException.ThrowIfNull(text); 354ArgumentNullException.ThrowIfNull(value); 573ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\RowDefinition.cs (4)
70ArgumentNullException.ThrowIfNull(array); 96ArgumentNullException.ThrowIfNull(array); 582ArgumentNullException.ThrowIfNull(value); 603ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\RowDefinitionCollectionConverter.cs (1)
34/// <exception cref="ArgumentNullException">
System\Windows\Controls\ScrollViewer.cs (14)
452ArgumentNullException.ThrowIfNull(element); 462ArgumentNullException.ThrowIfNull(element); 486ArgumentNullException.ThrowIfNull(element); 496ArgumentNullException.ThrowIfNull(element); 520ArgumentNullException.ThrowIfNull(element); 530ArgumentNullException.ThrowIfNull(element); 784ArgumentNullException.ThrowIfNull(element); 796ArgumentNullException.ThrowIfNull(element); 1435ArgumentNullException.ThrowIfNull(element); 1445ArgumentNullException.ThrowIfNull(element); 1508ArgumentNullException.ThrowIfNull(element); 1518ArgumentNullException.ThrowIfNull(element); 1548ArgumentNullException.ThrowIfNull(element); 1558ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\SelectedCellsChangedEventArgs.cs (4)
21ArgumentNullException.ThrowIfNull(addedCells); 22ArgumentNullException.ThrowIfNull(removedCells); 35ArgumentNullException.ThrowIfNull(addedCells); 36ArgumentNullException.ThrowIfNull(removedCells);
System\Windows\Controls\SelectionChangedEventArgs.cs (3)
34ArgumentNullException.ThrowIfNull(id); 35ArgumentNullException.ThrowIfNull(removedItems); 36ArgumentNullException.ThrowIfNull(addedItems);
System\Windows\Controls\SpellCheck.cs (4)
68ArgumentNullException.ThrowIfNull(textBoxBase); 78ArgumentNullException.ThrowIfNull(textBoxBase); 123ArgumentNullException.ThrowIfNull(textBoxBase); 162ArgumentNullException.ThrowIfNull(textBoxBase);
System\Windows\Controls\TextAdaptor.cs (1)
563ArgumentNullException.ThrowIfNull(childElementProvider);
System\Windows\Controls\TextBlock.cs (27)
121ArgumentNullException.ThrowIfNull(value); 174ArgumentNullException.ThrowIfNull(text); 267ArgumentNullException.ThrowIfNull(serviceType); 339ArgumentNullException.ThrowIfNull(inline); 539ArgumentNullException.ThrowIfNull(element); 550ArgumentNullException.ThrowIfNull(element); 639ArgumentNullException.ThrowIfNull(element); 650ArgumentNullException.ThrowIfNull(element); 678ArgumentNullException.ThrowIfNull(element); 689ArgumentNullException.ThrowIfNull(element); 717ArgumentNullException.ThrowIfNull(element); 728ArgumentNullException.ThrowIfNull(element); 756ArgumentNullException.ThrowIfNull(element); 767ArgumentNullException.ThrowIfNull(element); 798ArgumentNullException.ThrowIfNull(element); 810ArgumentNullException.ThrowIfNull(element); 839ArgumentNullException.ThrowIfNull(element); 850ArgumentNullException.ThrowIfNull(element); 938ArgumentNullException.ThrowIfNull(element); 950ArgumentNullException.ThrowIfNull(element); 977ArgumentNullException.ThrowIfNull(element); 988ArgumentNullException.ThrowIfNull(element); 1034ArgumentNullException.ThrowIfNull(element); 1045ArgumentNullException.ThrowIfNull(element); 1479ArgumentNullException.ThrowIfNull(ctx); 1627ArgumentNullException.ThrowIfNull(hitTestParameters); 1725ArgumentNullException.ThrowIfNull(child);
System\Windows\Controls\TextBox.cs (2)
127ArgumentNullException.ThrowIfNull(value); 141ArgumentNullException.ThrowIfNull(text);
System\Windows\Controls\TextChangedEventArgs.cs (1)
70ArgumentNullException.ThrowIfNull(id);
System\Windows\Controls\TextRangeAdaptor.cs (5)
1589ArgumentNullException.ThrowIfNull(range); 1611ArgumentNullException.ThrowIfNull(targetRange); 1657ArgumentNullException.ThrowIfNull(value); 1748ArgumentNullException.ThrowIfNull(text); 2004ArgumentNullException.ThrowIfNull(targetRange);
System\Windows\Controls\TextSearch.cs (6)
37ArgumentNullException.ThrowIfNull(itemsControl); 79ArgumentNullException.ThrowIfNull(element); 92ArgumentNullException.ThrowIfNull(element); 111ArgumentNullException.ThrowIfNull(element); 124ArgumentNullException.ThrowIfNull(element); 742ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\ToolBar.cs (3)
358ArgumentNullException.ThrowIfNull(element); 418ArgumentNullException.ThrowIfNull(element); 430ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\ToolBarTray.cs (3)
150ArgumentNullException.ThrowIfNull(element); 161ArgumentNullException.ThrowIfNull(element); 267ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\ToolTipService.cs (28)
36ArgumentNullException.ThrowIfNull(element); 53ArgumentNullException.ThrowIfNull(element); 75ArgumentNullException.ThrowIfNull(element); 86ArgumentNullException.ThrowIfNull(element); 108ArgumentNullException.ThrowIfNull(element); 119ArgumentNullException.ThrowIfNull(element); 140ArgumentNullException.ThrowIfNull(element); 151ArgumentNullException.ThrowIfNull(element); 172ArgumentNullException.ThrowIfNull(element); 183ArgumentNullException.ThrowIfNull(element); 204ArgumentNullException.ThrowIfNull(element); 215ArgumentNullException.ThrowIfNull(element); 236ArgumentNullException.ThrowIfNull(element); 247ArgumentNullException.ThrowIfNull(element); 268ArgumentNullException.ThrowIfNull(element); 279ArgumentNullException.ThrowIfNull(element); 305ArgumentNullException.ThrowIfNull(element); 316ArgumentNullException.ThrowIfNull(element); 337ArgumentNullException.ThrowIfNull(element); 348ArgumentNullException.ThrowIfNull(element); 375ArgumentNullException.ThrowIfNull(element); 386ArgumentNullException.ThrowIfNull(element); 408ArgumentNullException.ThrowIfNull(element); 419ArgumentNullException.ThrowIfNull(element); 441ArgumentNullException.ThrowIfNull(element); 452ArgumentNullException.ThrowIfNull(element); 474ArgumentNullException.ThrowIfNull(element); 485ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\Validation.cs (19)
81/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 84ArgumentNullException.ThrowIfNull(element); 152/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 155ArgumentNullException.ThrowIfNull(element); 179/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 183ArgumentNullException.ThrowIfNull(element); 189/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 192ArgumentNullException.ThrowIfNull(element); 223/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 227ArgumentNullException.ThrowIfNull(element); 233/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 236ArgumentNullException.ThrowIfNull(element); 286/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 290ArgumentNullException.ThrowIfNull(element); 296/// <exception cref="ArgumentNullException"> DependencyObject element cannot be null </exception> 299ArgumentNullException.ThrowIfNull(element); 480ArgumentNullException.ThrowIfNull(bindingExpression); 481ArgumentNullException.ThrowIfNull(validationError); 492ArgumentNullException.ThrowIfNull(bindingExpression);
System\Windows\Controls\ValidationError.cs (2)
29ArgumentNullException.ThrowIfNull(ruleInError); 30ArgumentNullException.ThrowIfNull(bindingInError);
System\Windows\Controls\ViewPort3D.cs (1)
226ArgumentNullException.ThrowIfNull(value);
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (3)
83/// <exception cref="ArgumentNullException"> 117/// <exception cref="ArgumentNullException"> 130ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Controls\VirtualizingPanel.cs (15)
64ArgumentNullException.ThrowIfNull(element); 76ArgumentNullException.ThrowIfNull(element); 98ArgumentNullException.ThrowIfNull(element); 110ArgumentNullException.ThrowIfNull(element); 130ArgumentNullException.ThrowIfNull(element); 142ArgumentNullException.ThrowIfNull(element); 161ArgumentNullException.ThrowIfNull(element); 172ArgumentNullException.ThrowIfNull(element); 196ArgumentNullException.ThrowIfNull(element); 209ArgumentNullException.ThrowIfNull(element); 230ArgumentNullException.ThrowIfNull(element); 242ArgumentNullException.ThrowIfNull(element); 262ArgumentNullException.ThrowIfNull(element); 274ArgumentNullException.ThrowIfNull(element); 294ArgumentNullException.ThrowIfNull(element);
System\Windows\Controls\VirtualizingStackPanel.cs (1)
10972ArgumentNullException.ThrowIfNull(child);
System\Windows\Controls\WebBrowser.cs (1)
154ArgumentNullException.ThrowIfNull(stream);
System\Windows\ControlTemplate.cs (1)
61ArgumentNullException.ThrowIfNull(templatedParent);
System\Windows\CornerRadiusConverter.cs (4)
78/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(value); 119ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Data\Binding.cs (4)
158/// <exception cref="ArgumentNullException"> DependencyObject target cannot be null </exception> 161ArgumentNullException.ThrowIfNull(target); 167/// <exception cref="ArgumentNullException"> DependencyObject target cannot be null </exception> 170ArgumentNullException.ThrowIfNull(target);
System\Windows\Data\BindingExpression.cs (1)
208ArgumentNullException.ThrowIfNull(d);
System\Windows\Data\BindingExpressionBase.cs (3)
123ArgumentNullException.ThrowIfNull(binding); 360ArgumentNullException.ThrowIfNull(d); 361ArgumentNullException.ThrowIfNull(dp);
System\Windows\Data\BindingGroup.cs (2)
1964ArgumentNullException.ThrowIfNull(item); 1975ArgumentNullException.ThrowIfNull(item);
System\Windows\Data\BindingOperations.cs (27)
60/// <exception cref="ArgumentNullException"> target and dp and binding cannot be null </exception> 63ArgumentNullException.ThrowIfNull(target); 64ArgumentNullException.ThrowIfNull(dp); 65ArgumentNullException.ThrowIfNull(binding); 87/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 103/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 118/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 133/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 148/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 151ArgumentNullException.ThrowIfNull(target); 152ArgumentNullException.ThrowIfNull(dp); 168/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 189/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 204/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 221/// <exception cref="ArgumentNullException"> target and dp cannot be null </exception> 224ArgumentNullException.ThrowIfNull(target); 225ArgumentNullException.ThrowIfNull(dp); 236/// <exception cref="ArgumentNullException"> DependencyObject target cannot be null </exception> 239ArgumentNullException.ThrowIfNull(target); 265/// <exception cref="ArgumentNullException"> DependencyObject target cannot be null </exception> 268ArgumentNullException.ThrowIfNull(target); 269ArgumentNullException.ThrowIfNull(dp); 293ArgumentNullException.ThrowIfNull(collection); 294ArgumentNullException.ThrowIfNull(synchronizationCallback); 309ArgumentNullException.ThrowIfNull(collection); 310ArgumentNullException.ThrowIfNull(lockObject); 324ArgumentNullException.ThrowIfNull(collection);
System\Windows\Data\CollectionView.cs (4)
55ArgumentNullException.ThrowIfNull(collection); 164ArgumentNullException.ThrowIfNull(value); 910ArgumentNullException.ThrowIfNull(args); 1022ArgumentNullException.ThrowIfNull(args);
System\Windows\Data\DataChangedEventManager.cs (5)
39ArgumentNullException.ThrowIfNull(source); 40ArgumentNullException.ThrowIfNull(listener); 54ArgumentNullException.ThrowIfNull(listener); 64ArgumentNullException.ThrowIfNull(handler); 74ArgumentNullException.ThrowIfNull(handler);
System\Windows\Data\ListCollectionView.cs (1)
1656ArgumentNullException.ThrowIfNull(args);
System\Windows\Data\ValueConversionAttribute.cs (2)
51ArgumentNullException.ThrowIfNull(sourceType); 52ArgumentNullException.ThrowIfNull(targetType);
System\Windows\Data\XmlNamespaceMappingCollection.cs (8)
70ArgumentNullException.ThrowIfNull(text); 82/// <exception cref="ArgumentNullException">mapping is null</exception> 85ArgumentNullException.ThrowIfNull(mapping); 116/// <exception cref="ArgumentNullException">mapping is null</exception> 119ArgumentNullException.ThrowIfNull(mapping); 132ArgumentNullException.ThrowIfNull(array); 151/// <exception cref="ArgumentNullException">mapping is null</exception> 154ArgumentNullException.ThrowIfNull(mapping);
System\Windows\DataTemplate.cs (1)
187ArgumentNullException.ThrowIfNull(templatedParent);
System\Windows\DataTrigger.cs (2)
199ArgumentNullException.ThrowIfNull(targetObject); 200ArgumentNullException.ThrowIfNull(eventArgs);
System\Windows\DeferrableContentConverter.cs (1)
29ArgumentNullException.ThrowIfNull(context);
System\Windows\DependencyPropertyHelper.cs (4)
169ArgumentNullException.ThrowIfNull(dependencyObject); 170ArgumentNullException.ThrowIfNull(dependencyProperty); 195ArgumentNullException.ThrowIfNull(elementInTemplate); 196ArgumentNullException.ThrowIfNull(dependencyProperty);
System\Windows\Documents\Adorner.cs (1)
43ArgumentNullException.ThrowIfNull(adornedElement);
System\Windows\Documents\AdornerLayer.cs (7)
147ArgumentNullException.ThrowIfNull(context); 179ArgumentNullException.ThrowIfNull(adorner); 230ArgumentNullException.ThrowIfNull(element); 255ArgumentNullException.ThrowIfNull(element); 309ArgumentNullException.ThrowIfNull(visual); 510ArgumentNullException.ThrowIfNull(adorner); 677ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\Block.cs (8)
102ArgumentNullException.ThrowIfNull(element); 113ArgumentNullException.ThrowIfNull(element); 234ArgumentNullException.ThrowIfNull(element); 245ArgumentNullException.ThrowIfNull(element); 295ArgumentNullException.ThrowIfNull(element); 307ArgumentNullException.ThrowIfNull(element); 341ArgumentNullException.ThrowIfNull(element); 352ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\BlockUIContainer.cs (1)
50ArgumentNullException.ThrowIfNull(uiElement);
System\Windows\Documents\DocumentSequence.cs (8)
60ArgumentNullException.ThrowIfNull(serviceType); 93ArgumentNullException.ThrowIfNull(value); 269ArgumentNullException.ThrowIfNull(document); 294ArgumentNullException.ThrowIfNull(userState); 308ArgumentNullException.ThrowIfNull(contentPosition); 340ArgumentNullException.ThrowIfNull(userState); 358ArgumentNullException.ThrowIfNull(o); 1075ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
342ArgumentNullException.ThrowIfNull(position);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
655ArgumentNullException.ThrowIfNull(textBuffer); 729ArgumentNullException.ThrowIfNull(property); 740ArgumentNullException.ThrowIfNull(property);
System\Windows\Documents\DocumentSequenceTextView.cs (3)
253ArgumentNullException.ThrowIfNull(position); 300ArgumentNullException.ThrowIfNull(position); 326ArgumentNullException.ThrowIfNull(position);
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
56ArgumentNullException.ThrowIfNull(element); 102ArgumentNullException.ThrowIfNull(element); 159ArgumentNullException.ThrowIfNull(element); 189ArgumentNullException.ThrowIfNull(listItem); 231ArgumentNullException.ThrowIfNull(element); 285ArgumentNullException.ThrowIfNull(tableRowGroup); 327ArgumentNullException.ThrowIfNull(tableRow); 370ArgumentNullException.ThrowIfNull(tableCell); 414ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\DocumentStructures\StoryFragments.cs (2)
30ArgumentNullException.ThrowIfNull(storyFragment); 88ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\FixedDocument.cs (13)
87/// <exception cref="ArgumentNullException">serviceType is NULL.</exception> 94ArgumentNullException.ThrowIfNull(serviceType); 120/// <exception cref="ArgumentNullException">value is NULL.</exception> 128ArgumentNullException.ThrowIfNull(value); 357/// <exception cref="ArgumentNullException">userState is NULL.</exception> 371ArgumentNullException.ThrowIfNull(userState); 393/// <exception cref="ArgumentNullException">contentPosition is NULL.</exception> 399ArgumentNullException.ThrowIfNull(contentPosition); 413/// <exception cref="ArgumentNullException">userState is NULL.</exception> 419ArgumentNullException.ThrowIfNull(userState); 435/// <exception cref="ArgumentNullException">element is NULL.</exception> 438ArgumentNullException.ThrowIfNull(o); 1376ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Documents\FixedLineResult.cs (1)
42ArgumentNullException.ThrowIfNull(o);
System\Windows\Documents\FixedNode.cs (1)
147ArgumentNullException.ThrowIfNull(o);
System\Windows\Documents\FixedPage.cs (22)
173/// <exception cref="ArgumentNullException">value is NULL.</exception> 181ArgumentNullException.ThrowIfNull(value); 210/// <exception cref="ArgumentNullException">element is NULL.</exception> 218ArgumentNullException.ThrowIfNull(element); 225/// <exception cref="ArgumentNullException">element is NULL.</exception> 231ArgumentNullException.ThrowIfNull(element); 238/// <exception cref="ArgumentNullException">element is NULL.</exception> 246ArgumentNullException.ThrowIfNull(element); 253/// <exception cref="ArgumentNullException">element is NULL.</exception> 259ArgumentNullException.ThrowIfNull(element); 266/// <exception cref="ArgumentNullException">element is NULL.</exception> 274ArgumentNullException.ThrowIfNull(element); 281/// <exception cref="ArgumentNullException">element is NULL.</exception> 287ArgumentNullException.ThrowIfNull(element); 294/// <exception cref="ArgumentNullException">element is NULL.</exception> 302ArgumentNullException.ThrowIfNull(element); 309/// <exception cref="ArgumentNullException">element is NULL.</exception> 315ArgumentNullException.ThrowIfNull(element); 322/// <exception cref="ArgumentNullException">element is NULL.</exception> 327ArgumentNullException.ThrowIfNull(element); 334/// <exception cref="ArgumentNullException">element is NULL.</exception> 338ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
278ArgumentNullException.ThrowIfNull(path);
System\Windows\Documents\FixedTextContainer.cs (1)
309ArgumentNullException.ThrowIfNull(position);
System\Windows\Documents\FixedTextPointer.cs (4)
125ArgumentNullException.ThrowIfNull(textBuffer); 192ArgumentNullException.ThrowIfNull(property); 204ArgumentNullException.ThrowIfNull(property); 493ArgumentNullException.ThrowIfNull(textData);
System\Windows\Documents\FlowDocument.cs (3)
116ArgumentNullException.ThrowIfNull(block); 1622ArgumentNullException.ThrowIfNull(value); 1682ArgumentNullException.ThrowIfNull(serviceType);
System\Windows\Documents\FlowNode.cs (1)
108ArgumentNullException.ThrowIfNull(o);
System\Windows\Documents\FlowPosition.cs (1)
64ArgumentNullException.ThrowIfNull(o);
System\Windows\Documents\InlineCollection.cs (2)
188ArgumentNullException.ThrowIfNull(text); 234ArgumentNullException.ThrowIfNull(uiElement);
System\Windows\Documents\ITextView.cs (9)
79/// <exception cref="System.ArgumentNullException"> 116/// <exception cref="System.ArgumentNullException"> 176/// <exception cref="System.ArgumentNullException"> 222/// <exception cref="System.ArgumentNullException"> 254/// <exception cref="System.ArgumentNullException"> 293/// <exception cref="System.ArgumentNullException"> 319/// <exception cref="System.ArgumentNullException"> 348/// <exception cref="System.ArgumentNullException"> 377/// <exception cref="System.ArgumentNullException">
System\Windows\Documents\List.cs (2)
58ArgumentNullException.ThrowIfNull(listItem); 181ArgumentNullException.ThrowIfNull(item);
System\Windows\Documents\ListItem.cs (1)
49ArgumentNullException.ThrowIfNull(paragraph);
System\Windows\Documents\MsSpellCheckLib\SpellChecker\OptionDescription.cs (1)
60ArgumentNullException.ThrowIfNull(optionDescription);
System\Windows\Documents\MsSpellCheckLib\SpellChecker\SpellingError.cs (1)
72ArgumentNullException.ThrowIfNull(error);
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerFactory.cs (4)
322ArgumentNullException.ThrowIfNull(dictionaryPath); 323ArgumentNullException.ThrowIfNull(languageTag); 353ArgumentNullException.ThrowIfNull(dictionaryPath); 354ArgumentNullException.ThrowIfNull(languageTag);
System\Windows\Documents\MsSpellCheckLib\Utils\Extensions.cs (4)
33ArgumentNullException.ThrowIfNull(enumString); 77ArgumentNullException.ThrowIfNull(spellingErrors); 120ArgumentNullException.ThrowIfNull(errors); 144ArgumentNullException.ThrowIfNull(spellingErrors);
System\Windows\Documents\MsSpellCheckLib\Utils\RetryHelper.cs (3)
283ArgumentNullException.ThrowIfNull(exception); 284ArgumentNullException.ThrowIfNull(exceptions); 298ArgumentNullException.ThrowIfNull(exceptions);
System\Windows\Documents\PageContent.cs (4)
154/// <exception cref="ArgumentNullException">value is NULL.</exception> 165ArgumentNullException.ThrowIfNull(value); 265ArgumentNullException.ThrowIfNull(value); 341ArgumentNullException.ThrowIfNull(pageVisual);
System\Windows\Documents\PageContentCollection.cs (2)
45/// <exception cref="ArgumentNullException"> 53ArgumentNullException.ThrowIfNull(newPageContent);
System\Windows\Documents\Paragraph.cs (1)
51ArgumentNullException.ThrowIfNull(inline);
System\Windows\Documents\RubberbandSelector.cs (1)
45ArgumentNullException.ThrowIfNull(scope);
System\windows\Documents\Section.cs (1)
44ArgumentNullException.ThrowIfNull(block);
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
63ArgumentNullException.ThrowIfNull(factoryInstance);
System\Windows\Documents\Serialization\SerializerProvider.cs (4)
72ArgumentNullException.ThrowIfNull(serializerDescriptor); 98ArgumentNullException.ThrowIfNull(serializerDescriptor); 125ArgumentNullException.ThrowIfNull(serializerDescriptor); 133ArgumentNullException.ThrowIfNull(stream);
System\Windows\Documents\Span.cs (2)
88ArgumentNullException.ThrowIfNull(start); 89ArgumentNullException.ThrowIfNull(end);
System\Windows\Documents\Table.cs (1)
58ArgumentNullException.ThrowIfNull(value);
System\Windows\Documents\TableCell.cs (1)
60ArgumentNullException.ThrowIfNull(blockItem);
System\Windows\Documents\TableCellCollection.cs (5)
48/// <exception cref="ArgumentNullException"> 67/// <exception cref="ArgumentNullException"> 108/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException"> 187/// <exception cref="ArgumentNullException">
System\Windows\Documents\TableColumnCollection.cs (5)
48/// <exception cref="ArgumentNullException"> 67/// <exception cref="ArgumentNullException"> 108/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException"> 187/// <exception cref="ArgumentNullException">
System\Windows\Documents\TableRow.cs (1)
56ArgumentNullException.ThrowIfNull(value);
System\Windows\Documents\TableRowCollection.cs (5)
48/// <exception cref="ArgumentNullException"> 67/// <exception cref="ArgumentNullException"> 108/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException"> 187/// <exception cref="ArgumentNullException">
System\Windows\Documents\TableRowGroup.cs (1)
57ArgumentNullException.ThrowIfNull(value);
System\Windows\Documents\TableRowGroupCollection.cs (5)
48/// <exception cref="ArgumentNullException"> 67/// <exception cref="ArgumentNullException"> 108/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException"> 187/// <exception cref="ArgumentNullException">
System\Windows\Documents\TextContainer.cs (3)
214ArgumentNullException.ThrowIfNull(position); 215ArgumentNullException.ThrowIfNull(property); 256ArgumentNullException.ThrowIfNull(position);
System\Windows\Documents\TextEffectResolver.cs (3)
41ArgumentNullException.ThrowIfNull(effect); 130ArgumentNullException.ThrowIfNull(element); 131ArgumentNullException.ThrowIfNull(effect);
System\Windows\Documents\TextElement.cs (15)
473ArgumentNullException.ThrowIfNull(element); 484ArgumentNullException.ThrowIfNull(element); 518ArgumentNullException.ThrowIfNull(element); 529ArgumentNullException.ThrowIfNull(element); 563ArgumentNullException.ThrowIfNull(element); 574ArgumentNullException.ThrowIfNull(element); 608ArgumentNullException.ThrowIfNull(element); 619ArgumentNullException.ThrowIfNull(element); 656ArgumentNullException.ThrowIfNull(element); 668ArgumentNullException.ThrowIfNull(element); 704ArgumentNullException.ThrowIfNull(element); 715ArgumentNullException.ThrowIfNull(element); 857ArgumentNullException.ThrowIfNull(text); 1488ArgumentNullException.ThrowIfNull(textData); 1522ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\TextElementCollection.cs (10)
78ArgumentNullException.ThrowIfNull(item); 242ArgumentNullException.ThrowIfNull(previousSibling); 244ArgumentNullException.ThrowIfNull(newItem); 281ArgumentNullException.ThrowIfNull(nextSibling); 283ArgumentNullException.ThrowIfNull(newItem); 316ArgumentNullException.ThrowIfNull(range); 394ArgumentNullException.ThrowIfNull(value); 447ArgumentNullException.ThrowIfNull(value); 560ArgumentNullException.ThrowIfNull(value); 597ArgumentNullException.ThrowIfNull(array);
System\Windows\Documents\TextPointer.cs (8)
256ArgumentNullException.ThrowIfNull(textPointer); 264ArgumentNullException.ThrowIfNull(position); 431ArgumentNullException.ThrowIfNull(textPosition); 1271ArgumentNullException.ThrowIfNull(textData); 1749ArgumentNullException.ThrowIfNull(textBuffer); 2138ArgumentNullException.ThrowIfNull(uiElement); 2499ArgumentNullException.ThrowIfNull(formattingProperty); 2523ArgumentNullException.ThrowIfNull(formattingProperty);
System\Windows\Documents\TextRange.cs (4)
83ArgumentNullException.ThrowIfNull(position1); 84ArgumentNullException.ThrowIfNull(position2); 779ArgumentNullException.ThrowIfNull(formattingProperty); 848ArgumentNullException.ThrowIfNull(formattingProperty);
System\Windows\Documents\TextRangeBase.cs (8)
61ArgumentNullException.ThrowIfNull(textPointer); 185ArgumentNullException.ThrowIfNull(position); 235ArgumentNullException.ThrowIfNull(position); 1284ArgumentNullException.ThrowIfNull(textData); 1496ArgumentNullException.ThrowIfNull(stream); 1497ArgumentNullException.ThrowIfNull(dataFormat); 1544ArgumentNullException.ThrowIfNull(stream); 1545ArgumentNullException.ThrowIfNull(dataFormat);
System\Windows\Documents\Typography.cs (87)
30ArgumentNullException.ThrowIfNull(owner); 364ArgumentNullException.ThrowIfNull(element); 377ArgumentNullException.ThrowIfNull(element); 390ArgumentNullException.ThrowIfNull(element); 403ArgumentNullException.ThrowIfNull(element); 416ArgumentNullException.ThrowIfNull(element); 429ArgumentNullException.ThrowIfNull(element); 442ArgumentNullException.ThrowIfNull(element); 455ArgumentNullException.ThrowIfNull(element); 468ArgumentNullException.ThrowIfNull(element); 481ArgumentNullException.ThrowIfNull(element); 494ArgumentNullException.ThrowIfNull(element); 507ArgumentNullException.ThrowIfNull(element); 520ArgumentNullException.ThrowIfNull(element); 533ArgumentNullException.ThrowIfNull(element); 546ArgumentNullException.ThrowIfNull(element); 559ArgumentNullException.ThrowIfNull(element); 572ArgumentNullException.ThrowIfNull(element); 585ArgumentNullException.ThrowIfNull(element); 598ArgumentNullException.ThrowIfNull(element); 611ArgumentNullException.ThrowIfNull(element); 624ArgumentNullException.ThrowIfNull(element); 637ArgumentNullException.ThrowIfNull(element); 650ArgumentNullException.ThrowIfNull(element); 663ArgumentNullException.ThrowIfNull(element); 676ArgumentNullException.ThrowIfNull(element); 689ArgumentNullException.ThrowIfNull(element); 702ArgumentNullException.ThrowIfNull(element); 715ArgumentNullException.ThrowIfNull(element); 728ArgumentNullException.ThrowIfNull(element); 741ArgumentNullException.ThrowIfNull(element); 754ArgumentNullException.ThrowIfNull(element); 767ArgumentNullException.ThrowIfNull(element); 780ArgumentNullException.ThrowIfNull(element); 793ArgumentNullException.ThrowIfNull(element); 806ArgumentNullException.ThrowIfNull(element); 819ArgumentNullException.ThrowIfNull(element); 832ArgumentNullException.ThrowIfNull(element); 845ArgumentNullException.ThrowIfNull(element); 858ArgumentNullException.ThrowIfNull(element); 871ArgumentNullException.ThrowIfNull(element); 884ArgumentNullException.ThrowIfNull(element); 897ArgumentNullException.ThrowIfNull(element); 910ArgumentNullException.ThrowIfNull(element); 923ArgumentNullException.ThrowIfNull(element); 936ArgumentNullException.ThrowIfNull(element); 949ArgumentNullException.ThrowIfNull(element); 962ArgumentNullException.ThrowIfNull(element); 975ArgumentNullException.ThrowIfNull(element); 988ArgumentNullException.ThrowIfNull(element); 1001ArgumentNullException.ThrowIfNull(element); 1014ArgumentNullException.ThrowIfNull(element); 1027ArgumentNullException.ThrowIfNull(element); 1040ArgumentNullException.ThrowIfNull(element); 1053ArgumentNullException.ThrowIfNull(element); 1066ArgumentNullException.ThrowIfNull(element); 1079ArgumentNullException.ThrowIfNull(element); 1092ArgumentNullException.ThrowIfNull(element); 1105ArgumentNullException.ThrowIfNull(element); 1118ArgumentNullException.ThrowIfNull(element); 1131ArgumentNullException.ThrowIfNull(element); 1144ArgumentNullException.ThrowIfNull(element); 1157ArgumentNullException.ThrowIfNull(element); 1170ArgumentNullException.ThrowIfNull(element); 1183ArgumentNullException.ThrowIfNull(element); 1196ArgumentNullException.ThrowIfNull(element); 1209ArgumentNullException.ThrowIfNull(element); 1222ArgumentNullException.ThrowIfNull(element); 1235ArgumentNullException.ThrowIfNull(element); 1248ArgumentNullException.ThrowIfNull(element); 1261ArgumentNullException.ThrowIfNull(element); 1274ArgumentNullException.ThrowIfNull(element); 1287ArgumentNullException.ThrowIfNull(element); 1300ArgumentNullException.ThrowIfNull(element); 1313ArgumentNullException.ThrowIfNull(element); 1326ArgumentNullException.ThrowIfNull(element); 1339ArgumentNullException.ThrowIfNull(element); 1352ArgumentNullException.ThrowIfNull(element); 1365ArgumentNullException.ThrowIfNull(element); 1378ArgumentNullException.ThrowIfNull(element); 1391ArgumentNullException.ThrowIfNull(element); 1404ArgumentNullException.ThrowIfNull(element); 1417ArgumentNullException.ThrowIfNull(element); 1430ArgumentNullException.ThrowIfNull(element); 1443ArgumentNullException.ThrowIfNull(element); 1456ArgumentNullException.ThrowIfNull(element); 1469ArgumentNullException.ThrowIfNull(element);
System\Windows\Documents\ValidationHelper.cs (2)
55ArgumentNullException.ThrowIfNull(startPosition); 56ArgumentNullException.ThrowIfNull(endPosition);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
714/// <exception cref="ArgumentNullException">
System\Windows\Documents\WpfPayload.cs (4)
188ArgumentNullException.ThrowIfNull(range); 285/// <exception cref="ArgumentNullException"> 299ArgumentNullException.ThrowIfNull(stream); 480ArgumentNullException.ThrowIfNull(image);
System\Windows\Documents\XamlRtfConverter.cs (2)
52ArgumentNullException.ThrowIfNull(xamlContent); 89ArgumentNullException.ThrowIfNull(rtfContent);
System\Windows\Documents\ZoomPercentageConverter.cs (1)
189catch (ArgumentNullException) { }
System\Windows\DynamicResourceExtension.cs (2)
38ArgumentNullException.ThrowIfNull(resourceKey); 82ArgumentNullException.ThrowIfNull(value);
System\Windows\DynamicResourceExtensionConverter.cs (1)
42ArgumentNullException.ThrowIfNull(value);
System\Windows\EventSetter.cs (4)
32ArgumentNullException.ThrowIfNull(routedEvent); 33ArgumentNullException.ThrowIfNull(handler); 47ArgumentNullException.ThrowIfNull(value); 63ArgumentNullException.ThrowIfNull(value);
System\Windows\EventSetterHandlerConverter.cs (2)
50ArgumentNullException.ThrowIfNull(typeDescriptorContext); 51ArgumentNullException.ThrowIfNull(source);
System\Windows\EventTrigger.cs (1)
92ArgumentNullException.ThrowIfNull(value);
System\Windows\FigureLengthConverter.cs (3)
94/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 143ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\FontSizeConverter.cs (1)
99ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\FrameworkContentElement.cs (4)
339ArgumentNullException.ThrowIfNull(resourceKey); 366ArgumentNullException.ThrowIfNull(resourceKey); 423ArgumentNullException.ThrowIfNull(storyboard); 985ArgumentNullException.ThrowIfNull(request);
System\Windows\FrameworkElement.cs (6)
447ArgumentNullException.ThrowIfNull(storyboard); 819ArgumentNullException.ThrowIfNull(resourceKey); 847ArgumentNullException.ThrowIfNull(resourceKey); 3683ArgumentNullException.ThrowIfNull(element); 3693ArgumentNullException.ThrowIfNull(element); 5302ArgumentNullException.ThrowIfNull(request);
System\Windows\FrameworkElementFactory.cs (8)
124ArgumentNullException.ThrowIfNull(value); 163ArgumentNullException.ThrowIfNull(child); 202ArgumentNullException.ThrowIfNull(dp); 280ArgumentNullException.ThrowIfNull(dp); 305ArgumentNullException.ThrowIfNull(routedEvent); 306ArgumentNullException.ThrowIfNull(handler); 341ArgumentNullException.ThrowIfNull(routedEvent); 342ArgumentNullException.ThrowIfNull(handler);
System\Windows\FrameworkTemplate.cs (1)
300ArgumentNullException.ThrowIfNull(templatedParent);
System\Windows\GridLengthConverter.cs (3)
97/// <exception cref="ArgumentNullException"> 150/// <exception cref="ArgumentNullException"> 163ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Ink\Events.cs (10)
31ArgumentNullException.ThrowIfNull(stroke); 77ArgumentNullException.ThrowIfNull(newStrokes); 78ArgumentNullException.ThrowIfNull(previousStrokes); 126ArgumentNullException.ThrowIfNull(selectedStrokes); 127ArgumentNullException.ThrowIfNull(selectedElements); 165ArgumentNullException.ThrowIfNull(selectedElements); 188ArgumentNullException.ThrowIfNull(selectedStrokes); 265ArgumentNullException.ThrowIfNull(stroke); 302ArgumentNullException.ThrowIfNull(strokes); 307ArgumentNullException.ThrowIfNull(gestureRecognitionResults);
System\Windows\Input\Command\CommandConverter.cs (1)
169ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Input\KeyboardNavigation.cs (12)
324ArgumentNullException.ThrowIfNull(element); 337ArgumentNullException.ThrowIfNull(element); 349ArgumentNullException.ThrowIfNull(element); 362ArgumentNullException.ThrowIfNull(element); 374ArgumentNullException.ThrowIfNull(element); 388ArgumentNullException.ThrowIfNull(element); 400ArgumentNullException.ThrowIfNull(element); 414ArgumentNullException.ThrowIfNull(element); 426ArgumentNullException.ThrowIfNull(element); 440ArgumentNullException.ThrowIfNull(element); 452ArgumentNullException.ThrowIfNull(element); 465ArgumentNullException.ThrowIfNull(element);
System\Windows\Interop\WindowInteropHelper.cs (1)
34ArgumentNullException.ThrowIfNull(window);
System\Windows\LengthConverter.cs (3)
92/// <exception cref="ArgumentNullException"> 121/// <exception cref="ArgumentNullException"> 137ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Localization.cs (4)
54ArgumentNullException.ThrowIfNull(element); 66ArgumentNullException.ThrowIfNull(element); 80ArgumentNullException.ThrowIfNull(element); 92ArgumentNullException.ThrowIfNull(element);
System\Windows\LogicalTreeHelper.cs (6)
64ArgumentNullException.ThrowIfNull(logicalTreeNode); 115ArgumentNullException.ThrowIfNull(current); 139ArgumentNullException.ThrowIfNull(current); 161ArgumentNullException.ThrowIfNull(current); 171ArgumentNullException.ThrowIfNull(current); 181ArgumentNullException.ThrowIfNull(current);
System\Windows\LostFocusEventManager.cs (6)
42ArgumentNullException.ThrowIfNull(source); 43ArgumentNullException.ThrowIfNull(listener); 53ArgumentNullException.ThrowIfNull(source); 54ArgumentNullException.ThrowIfNull(listener); 64ArgumentNullException.ThrowIfNull(handler); 74ArgumentNullException.ThrowIfNull(handler);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (6)
49ArgumentNullException.ThrowIfNull(fileName); 61ArgumentNullException.ThrowIfNull(stream); 71ArgumentNullException.ThrowIfNull(stream); 72ArgumentNullException.ThrowIfNull(xamlReaderSettings); 91ArgumentNullException.ThrowIfNull(stream); 92ArgumentNullException.ThrowIfNull(schemaContext);
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
12ArgumentNullException.ThrowIfNull(schemaContext);
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (8)
339ArgumentNullException.ThrowIfNull(assemblyName); 363ArgumentNullException.ThrowIfNull(typeName); 390ArgumentNullException.ThrowIfNull(propertyName); 409ArgumentNullException.ThrowIfNull(value); 704ArgumentNullException.ThrowIfNull(name); 712ArgumentNullException.ThrowIfNull(assembly); 729ArgumentNullException.ThrowIfNull(name); 748ArgumentNullException.ThrowIfNull(name);
System\Windows\Markup\Baml2006\Baml6Assembly.cs (2)
20ArgumentNullException.ThrowIfNull(name); 28ArgumentNullException.ThrowIfNull(assembly);
System\Windows\Markup\Baml2006\SharedStream.cs (3)
25ArgumentNullException.ThrowIfNull(baseStream); 38ArgumentNullException.ThrowIfNull(baseStream); 165ArgumentNullException.ThrowIfNull(buffer);
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
177ArgumentNullException.ThrowIfNull(type);
System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (1)
20ArgumentNullException.ThrowIfNull(type);
System\Windows\Markup\BamlWriter.cs (1)
28ArgumentNullException.ThrowIfNull(stream);
System\Windows\Markup\DependencyPropertyConverter.cs (2)
64ArgumentNullException.ThrowIfNull(context); 65ArgumentNullException.ThrowIfNull(source);
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (3)
25ArgumentNullException.ThrowIfNull(uid); 26ArgumentNullException.ThrowIfNull(className); 27ArgumentNullException.ThrowIfNull(propertyName);
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (9)
210ArgumentNullException.ThrowIfNull(key); 215ArgumentNullException.ThrowIfNull(key); 227ArgumentNullException.ThrowIfNull(key); 295ArgumentNullException.ThrowIfNull(array); 322ArgumentNullException.ThrowIfNull(key); 328ArgumentNullException.ThrowIfNull(key); 334ArgumentNullException.ThrowIfNull(key); 342ArgumentNullException.ThrowIfNull(key); 347ArgumentNullException.ThrowIfNull(key);
System\Windows\Markup\Localizer\BamlLocalizer.cs (3)
55ArgumentNullException.ThrowIfNull(source); 82ArgumentNullException.ThrowIfNull(target); 83ArgumentNullException.ThrowIfNull(updates);
System\Windows\Markup\Primitives\MarkupWriter.cs (8)
34ArgumentNullException.ThrowIfNull(instance); 56ArgumentNullException.ThrowIfNull(instance); 57ArgumentNullException.ThrowIfNull(manager); 72ArgumentNullException.ThrowIfNull(writer); 91ArgumentNullException.ThrowIfNull(writer); 92ArgumentNullException.ThrowIfNull(manager); 113ArgumentNullException.ThrowIfNull(writer); 114ArgumentNullException.ThrowIfNull(item);
System\Windows\Markup\RoutedEventConverter.cs (2)
139ArgumentNullException.ThrowIfNull(value); 140ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (2)
84ArgumentNullException.ThrowIfNull(serviceProvider); 85ArgumentNullException.ThrowIfNull(source);
System\Windows\Markup\XamlFigureLengthSerializer.cs (2)
63ArgumentNullException.ThrowIfNull(writer); 134ArgumentNullException.ThrowIfNull(reader);
System\Windows\Markup\XamlGridLengthSerializer.cs (2)
63ArgumentNullException.ThrowIfNull(writer); 134ArgumentNullException.ThrowIfNull(reader);
System\Windows\Markup\XamlReader.cs (7)
131ArgumentNullException.ThrowIfNull(reader); 159ArgumentNullException.ThrowIfNull(stream); 200ArgumentNullException.ThrowIfNull(stream); 243ArgumentNullException.ThrowIfNull(reader); 279ArgumentNullException.ThrowIfNull(stream); 319ArgumentNullException.ThrowIfNull(reader); 978ArgumentNullException.ThrowIfNull(reader);
System\Windows\Markup\XamlWriter.cs (9)
39ArgumentNullException.ThrowIfNull(obj); 74ArgumentNullException.ThrowIfNull(obj); 75ArgumentNullException.ThrowIfNull(writer); 99ArgumentNullException.ThrowIfNull(obj); 100ArgumentNullException.ThrowIfNull(stream); 126ArgumentNullException.ThrowIfNull(obj); 127ArgumentNullException.ThrowIfNull(xmlWriter); 156ArgumentNullException.ThrowIfNull(obj); 157ArgumentNullException.ThrowIfNull(manager);
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (2)
69ArgumentNullException.ThrowIfNull(keySpline); 141ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (3)
78ArgumentNullException.ThrowIfNull(defaultOriginValue); 79ArgumentNullException.ThrowIfNull(defaultDestinationValue); 133ArgumentNullException.ThrowIfNull(animationClock);
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (4)
205ArgumentNullException.ThrowIfNull(child); 242/// <exception cref="ArgumentNullException">The childText parameter is 246ArgumentNullException.ThrowIfNull(childText); 523ArgumentNullException.ThrowIfNull(value);
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (2)
282ArgumentNullException.ThrowIfNull(keyFrame); 363ArgumentNullException.ThrowIfNull(keyFrame);
System\Windows\Media\Animation\Storyboard.cs (9)
84ArgumentNullException.ThrowIfNull(element); 99ArgumentNullException.ThrowIfNull(element); 133ArgumentNullException.ThrowIfNull(element); 134ArgumentNullException.ThrowIfNull(name); 143ArgumentNullException.ThrowIfNull(element); 163ArgumentNullException.ThrowIfNull(element); 164ArgumentNullException.ThrowIfNull(path); 173ArgumentNullException.ThrowIfNull(element); 1211ArgumentNullException.ThrowIfNull(containingObject);
System\Windows\Media\TextOptions.cs (6)
64ArgumentNullException.ThrowIfNull(element); 71ArgumentNullException.ThrowIfNull(element); 78ArgumentNullException.ThrowIfNull(element); 85ArgumentNullException.ThrowIfNull(element); 93ArgumentNullException.ThrowIfNull(element); 100ArgumentNullException.ThrowIfNull(element);
System\Windows\Navigation\Journal.cs (1)
270ArgumentNullException.ThrowIfNull(journalEntry);
System\Windows\Navigation\JournalEntry.cs (6)
109ArgumentNullException.ThrowIfNull(info); 150ArgumentNullException.ThrowIfNull(dependencyObject); 166ArgumentNullException.ThrowIfNull(dependencyObject); 181ArgumentNullException.ThrowIfNull(dependencyObject); 256ArgumentNullException.ThrowIfNull(contentObject); 274ArgumentNullException.ThrowIfNull(contentObject);
System\Windows\Navigation\JournalEntryListConverter.cs (2)
84ArgumentNullException.ThrowIfNull(element); 94ArgumentNullException.ThrowIfNull(element);
System\Windows\Navigation\NavigationService.cs (1)
1304ArgumentNullException.ThrowIfNull(dependencyObject);
System\Windows\PropertyPathConverter.cs (5)
81/// <exception cref="ArgumentNullException"> 95ArgumentNullException.ThrowIfNull(source); 111/// <exception cref="ArgumentNullException"> 128ArgumentNullException.ThrowIfNull(value); 129ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\ResourceDictionary.cs (1)
87ArgumentNullException.ThrowIfNull(array);
System\Windows\ResourceDictionaryCollection.cs (2)
43ArgumentNullException.ThrowIfNull(item); 54ArgumentNullException.ThrowIfNull(item);
System\Windows\ResourceReferenceExpression.cs (2)
51ArgumentNullException.ThrowIfNull(d); 52ArgumentNullException.ThrowIfNull(dp);
System\Windows\ResourceReferenceExpressionConverter.cs (2)
63ArgumentNullException.ThrowIfNull(destinationType); 118ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Setter.cs (4)
63ArgumentNullException.ThrowIfNull(property); 219ArgumentNullException.ThrowIfNull(targetObject); 220ArgumentNullException.ThrowIfNull(eventArgs); 251ArgumentNullException.ThrowIfNull(eventArgs);
System\Windows\SetterBaseCollection.cs (1)
107ArgumentNullException.ThrowIfNull(setterBase);
System\Windows\SizeChangedEventArgs.cs (2)
24ArgumentNullException.ThrowIfNull(info); 25ArgumentNullException.ThrowIfNull(element);
System\Windows\Standard\ErrorCodes.cs (1)
421Assert.IsFalse(e is ArgumentNullException);
System\Windows\StaticResourceExtension.cs (2)
37ArgumentNullException.ThrowIfNull(resourceKey); 70ArgumentNullException.ThrowIfNull(value);
System\Windows\Style.cs (2)
161ArgumentNullException.ThrowIfNull(value); 388ArgumentNullException.ThrowIfNull(value);
System\Windows\SystemKeyConverter.cs (3)
39ArgumentNullException.ThrowIfNull(sourceType); 59ArgumentNullException.ThrowIfNull(destinationType); 112ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\TemplateBindingExtension.cs (3)
39ArgumentNullException.ThrowIfNull(property); 72ArgumentNullException.ThrowIfNull(value); 86ArgumentNullException.ThrowIfNull(value);
System\Windows\TemplateBindingExtensionConverter.cs (1)
46ArgumentNullException.ThrowIfNull(value);
System\Windows\TemplateContentLoader.cs (2)
12ArgumentNullException.ThrowIfNull(serviceProvider); 13ArgumentNullException.ThrowIfNull(xamlReader);
System\Windows\ThemeDictionaryExtension.cs (1)
33ArgumentNullException.ThrowIfNull(assemblyName);
System\Windows\ThemeManager.cs (3)
395ArgumentNullException.ThrowIfNull(newDictionary); 417ArgumentNullException.ThrowIfNull(rd); 435ArgumentNullException.ThrowIfNull(rd, nameof(rd));
System\Windows\ThemeModeConverter.cs (3)
53/// <exception cref="ArgumentNullException"> 77/// <exception cref="ArgumentNullException"> 95ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\ThicknessConverter.cs (4)
78/// <exception cref="ArgumentNullException"> 107/// <exception cref="ArgumentNullException"> 120ArgumentNullException.ThrowIfNull(value); 121ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Trigger.cs (2)
175ArgumentNullException.ThrowIfNull(o); 287ArgumentNullException.ThrowIfNull(eventArgs);
System\Windows\TriggerActionCollection.cs (1)
303ArgumentNullException.ThrowIfNull(value);
System\Windows\TriggerBase.cs (1)
187ArgumentNullException.ThrowIfNull(target);
System\Windows\TriggerCollection.cs (1)
137ArgumentNullException.ThrowIfNull(triggerBase);
System\Windows\VisualStateManager.cs (16)
28ArgumentNullException.ThrowIfNull(stateName); 70ArgumentNullException.ThrowIfNull(control); 86ArgumentNullException.ThrowIfNull(stateGroupsRoot); 110ArgumentNullException.ThrowIfNull(obj); 117ArgumentNullException.ThrowIfNull(obj); 141ArgumentNullException.ThrowIfNull(obj); 157ArgumentNullException.ThrowIfNull(obj); 187ArgumentNullException.ThrowIfNull(stateGroupsRoot); 188ArgumentNullException.ThrowIfNull(state); 328ArgumentNullException.ThrowIfNull(stateGroup); 329ArgumentNullException.ThrowIfNull(newState); 341ArgumentNullException.ThrowIfNull(stateGroup); 342ArgumentNullException.ThrowIfNull(newState); 529ArgumentNullException.ThrowIfNull(element); 530ArgumentNullException.ThrowIfNull(group); 531ArgumentNullException.ThrowIfNull(to);
System\Windows\Window.cs (1)
524ArgumentNullException.ThrowIfNull(dependencyObject);
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
59ArgumentNullException.ThrowIfNull(element); 71ArgumentNullException.ThrowIfNull(element);
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
59ArgumentNullException.ThrowIfNull(element); 71ArgumentNullException.ThrowIfNull(element);
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
58ArgumentNullException.ThrowIfNull(element); 70ArgumentNullException.ThrowIfNull(element);
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
97ArgumentNullException.ThrowIfNull(element); 109ArgumentNullException.ThrowIfNull(element);
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
79ArgumentNullException.ThrowIfNull(element); 91ArgumentNullException.ThrowIfNull(element);
PresentationUI (62)
MS\Internal\Documents\Application\CommandEnforcer.cs (2)
26ArgumentNullException.ThrowIfNull(command); 87ArgumentNullException.ThrowIfNull(bind);
MS\Internal\Documents\Application\DocumentManager.cs (2)
498/// <exception cref="System.ArgumentNullException"/> 502ArgumentNullException.ThrowIfNull(document);
MS\Internal\Documents\Application\DocumentProperties.cs (1)
32ArgumentNullException.ThrowIfNull(uri);
MS\Internal\Documents\Application\DocumentStream.cs (10)
87/// <exception cref="System.ArgumentNullException"/> 326/// <exception cref="System.ArgumentNullException"/> 341/// <exception cref="System.ArgumentNullException"/> 376/// <exception cref="System.ArgumentNullException"/> 381ArgumentNullException.ThrowIfNull(existing); 483/// <exception cref="System.ArgumentNullException"/> 716/// <exception cref="System.ArgumentNullException"/> 947/// <exception cref="System.ArgumentNullException"/> 966/// <exception cref="System.ArgumentNullException"/> 970ArgumentNullException.ThrowIfNull(location);
MS\Internal\Documents\Application\PageTextBox.cs (1)
398ArgumentNullException.ThrowIfNull(value);
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (3)
30/// <exception cref="System.ArgumentNullException" /> 41/// <exception cref="System.ArgumentNullException" /> 45ArgumentNullException.ThrowIfNull(target);
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (2)
71ArgumentNullException.ThrowIfNull(exception); 266(exception is ArgumentNullException) ||
MS\Internal\Documents\Application\TransactionalPackage.cs (9)
52/// <exception cref="System.ArgumentNullException" /> 61ArgumentNullException.ThrowIfNull(original); 75/// <exception cref="System.ArgumentNullException" /> 78ArgumentNullException.ThrowIfNull(workspace); 93/// <exception cref="System.ArgumentNullException" /> 97ArgumentNullException.ThrowIfNull(target); 144ArgumentNullException.ThrowIfNull(newOriginal); 506/// <exception cref="System.ArgumentNullException" /> 518ArgumentNullException.ThrowIfNull(packagePart);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (4)
51/// <exception cref="System.ArgumentNullException"/> 63ArgumentNullException.ThrowIfNull(container); 64ArgumentNullException.ThrowIfNull(readingPart); 65ArgumentNullException.ThrowIfNull(writeablePartFactory);
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (3)
40/// <exception cref="System.ArgumentNullException" /> 54ArgumentNullException.ThrowIfNull(readingStream); 55ArgumentNullException.ThrowIfNull(writeableStreamFactory);
MS\Internal\Documents\Application\ZoomComboBox.cs (2)
469catch (ArgumentNullException) { } 541ArgumentNullException.ThrowIfNull(value);
MS\Internal\Documents\DigitalSignatureProvider.cs (1)
33ArgumentNullException.ThrowIfNull(package);
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (5)
223ArgumentNullException.ThrowIfNull(docSigManager); 224ArgumentNullException.ThrowIfNull(rmManager); 1629ArgumentNullException.ThrowIfNull(args); 1891catch (ArgumentNullException) { } 1982catch (ArgumentNullException) { }
MS\Internal\Documents\DocumentSignatureManager.cs (3)
36ArgumentNullException.ThrowIfNull(digSigProvider); 1077ArgumentNullException.ThrowIfNull(digitalSignature); 1145ArgumentNullException.ThrowIfNull(args);
MS\Internal\Documents\PeoplePickerWrapper.cs (1)
317ArgumentNullException.ThrowIfNull(dataStream);
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
23ArgumentNullException.ThrowIfNull(docSigManager);
MS\Internal\Documents\RightsManagementManager.cs (1)
42ArgumentNullException.ThrowIfNull(rmProvider);
MS\Internal\Documents\RightsManagementProvider.cs (3)
446ArgumentNullException.ThrowIfNull(user); 480ArgumentNullException.ThrowIfNull(user); 639ArgumentNullException.ThrowIfNull(licenses);
MS\Internal\Documents\RightsManagementResourceHelper.cs (1)
70ArgumentNullException.ThrowIfNull(user);
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (5)
621ArgumentNullException.ThrowIfNull(everyoneRow); 642ArgumentNullException.ThrowIfNull(everyoneRow); 643ArgumentNullException.ThrowIfNull(targetRow); 729ArgumentNullException.ThrowIfNull(everyoneRow); 760ArgumentNullException.ThrowIfNull(row);
MS\Internal\Documents\SigningDialog.cs (2)
33ArgumentNullException.ThrowIfNull(x509Certificate2); 34ArgumentNullException.ThrowIfNull(docSigManager);
ProjectResourceExtensions.AppHost (4)
AppHost.cs (4)
49ArgumentNullException.ThrowIfNull(builder); 50ArgumentNullException.ThrowIfNull(name); 51ArgumentNullException.ThrowIfNull(relativeProjectPath); 52ArgumentNullException.ThrowIfNull(launchProfileName);
ReachFramework (196)
AlphaFlattener\MetroDevice.cs (6)
432ArgumentNullException.ThrowIfNull(queue); 775ArgumentNullException.ThrowIfNull(ticket); 782ArgumentNullException.ThrowIfNull(ticket); 783ArgumentNullException.ThrowIfNull(devMode); 790ArgumentNullException.ThrowIfNull(ticket); 810ArgumentNullException.ThrowIfNull(ticket);
MS\Internal\Printing\Configuration\DevMode.cs (1)
29ArgumentNullException.ThrowIfNull(devModeBytes);
Packaging\PartEditor.cs (1)
40ArgumentNullException.ThrowIfNull(metroPart);
packaging\XpsDigitalSignature.cs (1)
156catch( ArgumentNullException )
Packaging\XpsDocument.cs (7)
158ArgumentNullException.ThrowIfNull(path); 355/// <exception cref="ArgumentNullException">certificate is null.</exception> 392/// <exception cref="ArgumentNullException">certificate is null.</exception> 433/// <exception cref="ArgumentNullException">certificate is null.</exception> 461/// <exception cref="ArgumentNullException">signature is null.</exception> 470ArgumentNullException.ThrowIfNull(signature); 850ArgumentNullException.ThrowIfNull(certificate);
Packaging\XpsFixedDocumentReaderWriter.cs (2)
253/// <exception cref="ArgumentNullException">part is null.</exception> 263ArgumentNullException.ThrowIfNull(part);
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (2)
189/// <exception cref="ArgumentNullException">part is null.</exception> 198ArgumentNullException.ThrowIfNull(part);
Packaging\XpsFixedPageReaderWriter.cs (8)
217/// <exception cref="ArgumentNullException">resourceName is null.</exception> 310/// <exception cref="ArgumentNullException">imageType is null.</exception> 437/// <exception cref="ArgumentNullException">part is null.</exception> 448ArgumentNullException.ThrowIfNull(part); 1185/// <exception cref="ArgumentNullException">imageType is null.</exception> 1209/// <exception cref="ArgumentNullException">imageType is null.</exception> 1222ArgumentNullException.ThrowIfNull(mimeType); 1242ArgumentNullException.ThrowIfNull(mimeType);
Packaging\XpsInterleavingPolicy.cs (1)
276ArgumentNullException.ThrowIfNull(node);
Packaging\XpsManager.cs (11)
297ArgumentNullException.ThrowIfNull(contentType); 347ArgumentNullException.ThrowIfNull(contentType); 434ArgumentNullException.ThrowIfNull(relatedPart); 435ArgumentNullException.ThrowIfNull(metroPart); 436ArgumentNullException.ThrowIfNull(printTicket); 489ArgumentNullException.ThrowIfNull(relatedPart); 490ArgumentNullException.ThrowIfNull(metroPart); 975ArgumentNullException.ThrowIfNull(metroPackage); 1005ArgumentNullException.ThrowIfNull(relatedPart); 1038ArgumentNullException.ThrowIfNull(contentType); 1468ArgumentNullException.ThrowIfNull(startingPart);
Packaging\XpsPartBase.cs (1)
36ArgumentNullException.ThrowIfNull(xpsManager);
Packaging\XpsResource.cs (3)
24/// <exception cref="ArgumentNullException">part is null.</exception> 37ArgumentNullException.ThrowIfNull(part); 67ArgumentNullException.ThrowIfNull(inUri);
Packaging\XpsResourcePolicy.cs (3)
73/// <exception cref="ArgumentNullException">service or serviceType is null..</exception> 82ArgumentNullException.ThrowIfNull(serviceType); 83ArgumentNullException.ThrowIfNull(service);
Packaging\XPSSignatureDefinition.cs (3)
326ArgumentNullException.ThrowIfNull(writer); 407ArgumentNullException.ThrowIfNull(reader); 485catch (ArgumentNullException)
PrintConfig\FallbackPTProvider.cs (1)
302ArgumentNullException.ThrowIfNull(devMode);
PrintConfig\PrintCapabilitesWriter.cs (1)
26ArgumentNullException.ThrowIfNull(stream);
PrintConfig\PrintSchemaShim.cs (2)
111ArgumentNullException.ThrowIfNull(ticket); 112ArgumentNullException.ThrowIfNull(oemDriverNamespace);
PrintConfig\PrtCap_Public_Simple.cs (1)
188/// <exception cref="ArgumentNullException">
PrintConfig\PrtCap_Public.cs (2)
34/// <exception cref="ArgumentNullException"> 45ArgumentNullException.ThrowIfNull(xmlStream);
PrintConfig\PrtTicket_Public_Simple.cs (2)
257/// <exception cref="ArgumentNullException"> 307/// <exception cref="ArgumentNullException">
PrintConfig\PrtTicket_Public.cs (4)
53/// <exception cref="ArgumentNullException"> 64ArgumentNullException.ThrowIfNull(xmlStream); 146/// <exception cref="ArgumentNullException"> 152ArgumentNullException.ThrowIfNull(outStream);
PrintConfig\PTConverter.cs (8)
60/// <exception cref="ArgumentNullException"> 74ArgumentNullException.ThrowIfNull(deviceName); 117/// <exception cref="ArgumentNullException"> 140/// <exception cref="ArgumentNullException"> 172/// <exception cref="ArgumentNullException"> 200/// <exception cref="ArgumentNullException"> 236ArgumentNullException.ThrowIfNull(devMode); 257ArgumentNullException.ThrowIfNull(printTicket);
PrintConfig\PTManager.cs (5)
194/// <exception cref="ArgumentNullException"> 208ArgumentNullException.ThrowIfNull(deviceName); 318/// <exception cref="ArgumentNullException"> 349/// <exception cref="ArgumentNullException"> 369ArgumentNullException.ThrowIfNull(basePrintTicket);
Serialization\ColorTypeConverter.cs (2)
105ArgumentNullException.ThrowIfNull(value); 278ArgumentNullException.ThrowIfNull(colorContext);
Serialization\FontTypeConverter.cs (2)
103ArgumentNullException.ThrowIfNull(value); 142ArgumentNullException.ThrowIfNull(context);
Serialization\ImageSourceTypeConverter.cs (2)
108ArgumentNullException.ThrowIfNull(value); 150ArgumentNullException.ThrowIfNull(context);
Serialization\Manager\MetroSerializationManager.cs (5)
151ArgumentNullException.ThrowIfNull(serializedObject); 503ArgumentNullException.ThrowIfNull(serializedObject); 697ArgumentNullException.ThrowIfNull(serializableObject); 756ArgumentNullException.ThrowIfNull(serializableObject); 943ArgumentNullException.ThrowIfNull(serializableObjectType);
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
107ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\NGCSerializationManager.cs (4)
30/// <exception cref="ArgumentNullException">queue is NULL.</exception> 38ArgumentNullException.ThrowIfNull(queue); 51/// <exception cref="ArgumentNullException">serializedObject is NULL.</exception> 62ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\NGCSerializationManagerAsync.cs (4)
33/// <exception cref="ArgumentNullException">queue is NULL.</exception> 41ArgumentNullException.ThrowIfNull(queue); 61/// <exception cref="ArgumentNullException">serializedObject is NULL.</exception> 70ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\NGCSerializer.cs (7)
69ArgumentNullException.ThrowIfNull(manager); 82ArgumentNullException.ThrowIfNull(serializedObject); 136ArgumentNullException.ThrowIfNull(manager); 150ArgumentNullException.ThrowIfNull(serializedObject); 215ArgumentNullException.ThrowIfNull(manager); 294ArgumentNullException.ThrowIfNull(manager); 465ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\NGCSerializerAsync.cs (19)
28ArgumentNullException.ThrowIfNull(manager); 120ArgumentNullException.ThrowIfNull(serializedProperty); 165ArgumentNullException.ThrowIfNull(serializedObject); 270ArgumentNullException.ThrowIfNull(serializableObjectContext); 293ArgumentNullException.ThrowIfNull(serializablePropertyContext); 358ArgumentNullException.ThrowIfNull(serializableObjectContext); 420ArgumentNullException.ThrowIfNull(serializablePropertyContext); 497ArgumentNullException.ThrowIfNull(manager); 570ArgumentNullException.ThrowIfNull(serializableObjectContext); 601ArgumentNullException.ThrowIfNull(manager); 682ArgumentNullException.ThrowIfNull(serializableObjectContext); 755ArgumentNullException.ThrowIfNull(manager); 834ArgumentNullException.ThrowIfNull(serializableObjectContext); 869ArgumentNullException.ThrowIfNull(manager); 946ArgumentNullException.ThrowIfNull(serializableObjectContext); 984ArgumentNullException.ThrowIfNull(manager); 1031ArgumentNullException.ThrowIfNull(serializableObjectContext); 1144ArgumentNullException.ThrowIfNull(serializableObjectContext); 1253ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
121ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\NullPackagingPolicy.cs (2)
739/// <exception cref="ArgumentNullException">printTicket is NULL.</exception> 750ArgumentNullException.ThrowIfNull(printTicket);
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
38ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
76ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\ReachDocumentSequenceSerializer.cs (2)
142ArgumentNullException.ThrowIfNull(serializablePropertyContext); 164ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachDocumentSequenceSerializerAsync.cs (2)
180ArgumentNullException.ThrowIfNull(serializablePropertyContext); 202ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachFixedDocumentSerializer.cs (3)
124ArgumentNullException.ThrowIfNull(serializableObjectContext); 213ArgumentNullException.ThrowIfNull(serializablePropertyContext); 243ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachFixedDocumentSerializerAsync.cs (3)
153ArgumentNullException.ThrowIfNull(serializableObjectContext); 253ArgumentNullException.ThrowIfNull(serializablePropertyContext); 283ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachFixedPageSerializer.cs (3)
140ArgumentNullException.ThrowIfNull(serializableObjectContext); 290ArgumentNullException.ThrowIfNull(serializablePropertyContext); 319ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachFixedPageSerializerAsync.cs (3)
165ArgumentNullException.ThrowIfNull(serializableObjectContext); 262ArgumentNullException.ThrowIfNull(serializablePropertyContext); 291ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachObjectContext.cs (1)
58ArgumentNullException.ThrowIfNull(target);
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
59ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
105ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\ReachPrintTicketSerializer.cs (1)
98ArgumentNullException.ThrowIfNull(serializedProperty);
Serialization\Manager\ReachPrintTicketSerializerAsync.cs (1)
91ArgumentNullException.ThrowIfNull(serializedProperty);
Serialization\Manager\ReachSerializableProperties.cs (4)
364ArgumentNullException.ThrowIfNull(target); 366ArgumentNullException.ThrowIfNull(propertyCache); 385ArgumentNullException.ThrowIfNull(target); 386ArgumentNullException.ThrowIfNull(propertyCache);
Serialization\Manager\ReachSerializationCacheItems.cs (2)
282ArgumentNullException.ThrowIfNull(propertyInfo); 302ArgumentNullException.ThrowIfNull(propertyInfo);
Serialization\Manager\ReachSerializationUtils.cs (2)
279ArgumentNullException.ThrowIfNull(manager); 280ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\ReachSerializer.cs (7)
36ArgumentNullException.ThrowIfNull(manager); 70ArgumentNullException.ThrowIfNull(serializedObject); 129ArgumentNullException.ThrowIfNull(serializedProperty); 208ArgumentNullException.ThrowIfNull(serializableObjectContext); 231ArgumentNullException.ThrowIfNull(serializablePropertyContext); 296ArgumentNullException.ThrowIfNull(serializableObjectContext); 325ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachSerializerAsync.cs (7)
38ArgumentNullException.ThrowIfNull(manager); 132ArgumentNullException.ThrowIfNull(serializedProperty); 177ArgumentNullException.ThrowIfNull(serializedObject); 282ArgumentNullException.ThrowIfNull(serializableObjectContext); 305ArgumentNullException.ThrowIfNull(serializablePropertyContext); 370ArgumentNullException.ThrowIfNull(serializableObjectContext); 432ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
82ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
122ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\XpsOMFixedDocumentSerializer.cs (1)
105ArgumentNullException.ThrowIfNull(serializableObjectContext);
Serialization\Manager\XpsOMFixedPageSerializer.cs (3)
120ArgumentNullException.ThrowIfNull(serializableObjectContext); 255ArgumentNullException.ThrowIfNull(serializablePropertyContext); 277ArgumentNullException.ThrowIfNull(serializablePropertyContext);
Serialization\Manager\XpsOMPackagingPolicy.cs (4)
31ArgumentNullException.ThrowIfNull(packageTarget); 400ArgumentNullException.ThrowIfNull(printTicket); 566ArgumentNullException.ThrowIfNull(resourceId); 835ArgumentNullException.ThrowIfNull(contentType);
Serialization\Manager\XpsOMSerializationManager.cs (1)
62ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\XpsOMSerializationManagerAsync.cs (1)
44ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\XpsPackagingPolicy.cs (5)
502/// <exception cref="ArgumentNullException">reachPackage is NULL.</exception> 513/// <exception cref="ArgumentNullException">reachPackage is NULL.</exception> 521ArgumentNullException.ThrowIfNull(xpsPackage); 1242/// <exception cref="ArgumentNullException">printTicket is NULL.</exception> 1253ArgumentNullException.ThrowIfNull(printTicket);
Serialization\Manager\XpsSerializationManager.cs (2)
79/// <exception cref="ArgumentNullException">serializedObject is NULL.</exception> 92ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\Manager\XpsSerializationManagerAsync.cs (2)
56/// <exception cref="ArgumentNullException">serializedObject is NULL.</exception> 65ArgumentNullException.ThrowIfNull(serializedObject);
Serialization\XpsFontSubsetter.cs (4)
101ArgumentNullException.ThrowIfNull(packagingPolicy); 128ArgumentNullException.ThrowIfNull(glyphRun); 436ArgumentNullException.ThrowIfNull(packagingPolicy); 437ArgumentNullException.ThrowIfNull(glyphTypeface);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (1)
55ArgumentNullException.ThrowIfNull(uri);
Roslyn.Diagnostics.Analyzers (46)
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
364catch (ArgumentNullException)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (3)
86/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException">
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
51/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1111/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
34/// <exception cref="ArgumentNullException">If items is null (default)</exception> 35/// <remarks>If the sequence is null, this will throw <see cref="ArgumentNullException"/></remarks>
src\roslyn\src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
155private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (1)
42/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="segments"/> is <see langword="null"/></exception>
src\roslyn\src\Dependencies\Contracts\IReadOnlySet.cs (6)
37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 45/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 53/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 61/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 77/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\roslyn\src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (8)
34/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 52/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 70/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 212/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IEnumerableExtensions.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 79/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (6)
70/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 157/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (9)
41/// <exception cref="ArgumentNullException"><paramref name="spans"/> is null.</exception> 61/// <exception cref="ArgumentNullException">Either <paramref name="left"/> or <paramref name="right"/> is null.</exception> 135/// <exception cref="ArgumentNullException"><paramref name="left"/> or <paramref name="right"/> is null.</exception> 194/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 195/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 252/// <exception cref="ArgumentNullException"><paramref name="left"/> is null.</exception> 253/// <exception cref="ArgumentNullException"><paramref name="right"/> is null.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 448/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
92/// <exception cref="ArgumentNullException">
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
rzc (4)
Json\JsonDataWriter.cs (2)
155ArgumentNullException.ThrowIfNull(writeElement); 183ArgumentNullException.ThrowIfNull(writeElement);
Json\ThrowHelper.cs (2)
51/// Throws an <see cref="ArgumentNullException"/> with a parameter name. 65/// Throws an <see cref="ArgumentNullException"/> with a parameter name.
Shared (9)
ServerSentEvents\SseParser.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="sseStream"/> is null.</exception> 37/// <exception cref="ArgumentNullException"><paramref name="sseStream"/> or <paramref name="itemParser"/> is null.</exception>
Throw\Throw.cs (7)
33/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>. 52/// Throws an <see cref="System.ArgumentNullException"/> if the specified argument is <see langword="null"/>, 126/// Throws either an <see cref="System.ArgumentNullException"/> or an <see cref="System.ArgumentException"/> 159/// Throws an <see cref="System.ArgumentNullException"/> if the string is <see langword="null"/>, 242/// Throws an <see cref="System.ArgumentNullException"/> if the collection is <see langword="null"/>, 302/// Throws an <see cref="System.ArgumentNullException"/>. 313/// Throws an <see cref="System.ArgumentNullException"/>.
Shared.Tests (21)
Debugger\DebuggerTest.cs (3)
62Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddAttachedDebuggerState()); 63Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddDetachedDebuggerState()); 64Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddSystemDebuggerState());
Pools\PoolTests.cs (1)
225Assert.Throws<ArgumentNullException>(() => PoolFactory.CreatePool<Foo>(null!, 0));
Throw\ThrowTest.cs (17)
64var exception = Assert.Throws<ArgumentNullException>(() => Throw.ArgumentNullException(paramName)); 73var exception = Assert.Throws<ArgumentNullException>(() => Throw.ArgumentNullException(paramName, message)); 116var exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNull<string>(null!, "paramName")); 123var exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNull<int?>(null!, "paramName")); 232var exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrWhitespace(null!, "paramName")); 254var exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty(null, "paramName")); 334ArgumentException exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty((ICollection<int>?)null, "foo")); 337exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty((IReadOnlyCollection<int>?)null, "foo")); 340exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty((List<int>?)null, "foo")); 343exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty((Queue<int>?)null, "foo")); 346exception = Assert.Throws<ArgumentNullException>(() => Throw.IfNullOrEmpty((IEnumerable<int>?)null, "foo"));
System.CodeDom (98)
Microsoft\CSharp\CSharpCodeGenerator.cs (19)
532ArgumentNullException.ThrowIfNull(e); 1231ArgumentNullException.ThrowIfNull(e); 2687ArgumentNullException.ThrowIfNull(name); 2704ArgumentNullException.ThrowIfNull(name); 2888ArgumentNullException.ThrowIfNull(options); 2902ArgumentNullException.ThrowIfNull(options); 2916ArgumentNullException.ThrowIfNull(options); 2930ArgumentNullException.ThrowIfNull(options); 2944ArgumentNullException.ThrowIfNull(options); 2945ArgumentNullException.ThrowIfNull(fileNames); 2966ArgumentNullException.ThrowIfNull(options); 2980ArgumentNullException.ThrowIfNull(options); 2988ArgumentNullException.ThrowIfNull(options); 2989ArgumentNullException.ThrowIfNull(fileName); 3000ArgumentNullException.ThrowIfNull(options); 3007ArgumentNullException.ThrowIfNull(options); 3008ArgumentNullException.ThrowIfNull(ea); 3048ArgumentNullException.ThrowIfNull(options); 3049ArgumentNullException.ThrowIfNull(sources);
Microsoft\CSharp\CSharpCodeProvider.cs (1)
25ArgumentNullException.ThrowIfNull(providerOptions);
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
39ArgumentNullException.ThrowIfNull(destinationType);
Microsoft\VisualBasic\VBCodeProvider.cs (1)
25ArgumentNullException.ThrowIfNull(providerOptions);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
39ArgumentNullException.ThrowIfNull(destinationType);
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
45ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (2)
44ArgumentNullException.ThrowIfNull(value); 54ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeAttributeArgumentCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeAttributeDeclarationCollection.cs (2)
34ArgumentNullException.ThrowIfNull(value); 44ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeCatchClauseCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeCommentStatementCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeDirectiveCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeExpressionCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeNamespaceCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeNamespaceImportCollection.cs (1)
41ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeParameterDeclarationExpressionCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeStatementCollection.cs (2)
34ArgumentNullException.ThrowIfNull(value); 44ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeTypeDeclarationCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeTypeMemberCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\CodeTypeParameterCollection.cs (2)
34ArgumentNullException.ThrowIfNull(value); 44ArgumentNullException.ThrowIfNull(value);
System\CodeDom\Compiler\CodeCompiler.cs (17)
13ArgumentNullException.ThrowIfNull(options); 27ArgumentNullException.ThrowIfNull(options); 41ArgumentNullException.ThrowIfNull(options); 55ArgumentNullException.ThrowIfNull(options); 69ArgumentNullException.ThrowIfNull(options); 70ArgumentNullException.ThrowIfNull(fileNames); 90ArgumentNullException.ThrowIfNull(options); 108ArgumentNullException.ThrowIfNull(options); 115ArgumentNullException.ThrowIfNull(options); 116ArgumentNullException.ThrowIfNull(fileName); 126ArgumentNullException.ThrowIfNull(options); 133ArgumentNullException.ThrowIfNull(options); 134ArgumentNullException.ThrowIfNull(ea); 174ArgumentNullException.ThrowIfNull(options); 175ArgumentNullException.ThrowIfNull(fileNames); 200ArgumentNullException.ThrowIfNull(options); 201ArgumentNullException.ThrowIfNull(sources);
System\CodeDom\Compiler\CodeDomProvider.cs (2)
91ArgumentNullException.ThrowIfNull(language); 100ArgumentNullException.ThrowIfNull(extension);
System\CodeDom\Compiler\CodeGenerator.cs (22)
237ArgumentNullException.ThrowIfNull(e); 400ArgumentNullException.ThrowIfNull(member); 607ArgumentNullException.ThrowIfNull(e); 704ArgumentNullException.ThrowIfNull(e); 791ArgumentNullException.ThrowIfNull(e); 805ArgumentNullException.ThrowIfNull(e); 859ArgumentNullException.ThrowIfNull(e); 953ArgumentNullException.ThrowIfNull(stmts); 963ArgumentNullException.ThrowIfNull(attributes); 1008ArgumentNullException.ThrowIfNull(arg); 1261ArgumentNullException.ThrowIfNull(parameters); 1296ArgumentNullException.ThrowIfNull(e); 1349ArgumentNullException.ThrowIfNull(e); 1363ArgumentNullException.ThrowIfNull(e); 1371ArgumentNullException.ThrowIfNull(e); 1448ArgumentNullException.ThrowIfNull(e); 1455ArgumentNullException.ThrowIfNull(e); 1467ArgumentNullException.ThrowIfNull(e); 1478ArgumentNullException.ThrowIfNull(e); 1498ArgumentNullException.ThrowIfNull(e); 1519ArgumentNullException.ThrowIfNull(e); 1529ArgumentNullException.ThrowIfNull(e);
System\CodeDom\Compiler\CodeValidator.cs (3)
61ArgumentNullException.ThrowIfNull(e); 395ArgumentNullException.ThrowIfNull(e); 770ArgumentNullException.ThrowIfNull(e);
System\CodeDom\Compiler\CompilerErrorCollection.cs (2)
32ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value);
System\CodeDom\Compiler\CompilerInfo.cs (1)
65ArgumentNullException.ThrowIfNull(providerOptions);
System.Collections (107)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ICollectionDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(collection);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
12ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\LinkedList.cs (6)
34ArgumentNullException.ThrowIfNull(collection); 196ArgumentNullException.ThrowIfNull(array); 328ArgumentNullException.ThrowIfNull(info); 422ArgumentNullException.ThrowIfNull(node); 432ArgumentNullException.ThrowIfNull(node); 449ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\OrderedDictionary.cs (42)
142/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is <see langword="null"/>.</exception> 159/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is <see langword="null"/>.</exception> 163ArgumentNullException.ThrowIfNull(dictionary); 176/// <exception cref="ArgumentNullException"><paramref name="collection"/> is <see langword="null"/>.</exception> 193/// <exception cref="ArgumentNullException"><paramref name="collection"/> is <see langword="null"/>.</exception> 197ArgumentNullException.ThrowIfNull(collection); 290ArgumentNullException.ThrowIfNull(value); 306ArgumentNullException.ThrowIfNull(key); 317ArgumentNullException.ThrowIfNull(key); 320ArgumentNullException.ThrowIfNull(value); 356/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 372ArgumentNullException.ThrowIfNull(key); 477/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 481ArgumentNullException.ThrowIfNull(key); 489/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 497/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 501ArgumentNullException.ThrowIfNull(key); 544/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 605/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 608ArgumentNullException.ThrowIfNull(key); 715/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 725ArgumentNullException.ThrowIfNull(key); 733/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 740/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 743ArgumentNullException.ThrowIfNull(key); 809/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 819ArgumentNullException.ThrowIfNull(key); 915/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 926/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 929ArgumentNullException.ThrowIfNull(key); 1172ArgumentNullException.ThrowIfNull(item.Key, nameof(item)); 1196ArgumentNullException.ThrowIfNull(item.Key, nameof(item)); 1206ArgumentNullException.ThrowIfNull(array); 1235ArgumentNullException.ThrowIfNull(key); 1238ArgumentNullException.ThrowIfNull(value); 1263ArgumentNullException.ThrowIfNull(key); 1271ArgumentNullException.ThrowIfNull(key); 1282ArgumentNullException.ThrowIfNull(array); 1503ArgumentNullException.ThrowIfNull(array); 1525ArgumentNullException.ThrowIfNull(array); 1692ArgumentNullException.ThrowIfNull(array); 1834ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\OrderedDictionaryDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(dictionary);
System\Collections\Generic\PriorityQueue.cs (8)
122/// <exception cref="ArgumentNullException"> 144/// <exception cref="ArgumentNullException"> 153ArgumentNullException.ThrowIfNull(items); 394/// <exception cref="ArgumentNullException"> 399ArgumentNullException.ThrowIfNull(items); 457/// <exception cref="ArgumentNullException"> 462ArgumentNullException.ThrowIfNull(elements); 951ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\PriorityQueueDebugView.cs (1)
15ArgumentNullException.ThrowIfNull(queue);
System\Collections\Generic\SortedDictionary.cs (18)
33ArgumentNullException.ThrowIfNull(dictionary); 110ArgumentNullException.ThrowIfNull(key); 122ArgumentNullException.ThrowIfNull(key); 191ArgumentNullException.ThrowIfNull(key); 203ArgumentNullException.ThrowIfNull(key); 252ArgumentNullException.ThrowIfNull(key); 259ArgumentNullException.ThrowIfNull(key); 313ArgumentNullException.ThrowIfNull(key); 316ArgumentNullException.ThrowIfNull(value); 340ArgumentNullException.ThrowIfNull(key); 344ArgumentNullException.ThrowIfNull(value); 377ArgumentNullException.ThrowIfNull(key); 521ArgumentNullException.ThrowIfNull(dictionary); 536ArgumentNullException.ThrowIfNull(array); 550ArgumentNullException.ThrowIfNull(array); 682ArgumentNullException.ThrowIfNull(dictionary); 697ArgumentNullException.ThrowIfNull(array); 711ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\SortedList.cs (10)
181ArgumentNullException.ThrowIfNull(key); 267ArgumentNullException.ThrowIfNull(key); 270ArgumentNullException.ThrowIfNull(value); 433ArgumentNullException.ThrowIfNull(array); 454ArgumentNullException.ThrowIfNull(array); 582ArgumentNullException.ThrowIfNull(key); 618ArgumentNullException.ThrowIfNull(value); 640ArgumentNullException.ThrowIfNull(key); 745ArgumentNullException.ThrowIfNull(key); 1093ArgumentNullException.ThrowIfNull(key);
System\Collections\Generic\SortedSet.cs (15)
87ArgumentNullException.ThrowIfNull(collection); 515ArgumentNullException.ThrowIfNull(array); 542ArgumentNullException.ThrowIfNull(array); 845ArgumentNullException.ThrowIfNull(other); 985ArgumentNullException.ThrowIfNull(other); 1067ArgumentNullException.ThrowIfNull(other); 1105ArgumentNullException.ThrowIfNull(other); 1172ArgumentNullException.ThrowIfNull(other); 1207ArgumentNullException.ThrowIfNull(other); 1231ArgumentNullException.ThrowIfNull(other); 1258ArgumentNullException.ThrowIfNull(other); 1290ArgumentNullException.ThrowIfNull(other); 1318ArgumentNullException.ThrowIfNull(other); 1427ArgumentNullException.ThrowIfNull(match); 1532ArgumentNullException.ThrowIfNull(info);
System\Collections\Generic\Stack.cs (3)
52ArgumentNullException.ThrowIfNull(collection); 99ArgumentNullException.ThrowIfNull(array); 122ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\StackDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(stack);
System.Collections.Concurrent (48)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs (1)
23ArgumentNullException.ThrowIfNull(collection);
System\Collections\Concurrent\BlockingCollection.cs (25)
171/// <exception cref="System.ArgumentNullException">The <paramref name="collection"/> argument is 178ArgumentNullException.ThrowIfNull(collection); 193/// <exception cref="System.ArgumentNullException">The <paramref name="collection"/> argument is 197ArgumentNullException.ThrowIfNull(collection); 742/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 784/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 823/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 849/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 877/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 909/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 939/// <exception cref="System.ArgumentNullException">If the collections argument is null.</exception> 1124/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1152/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1181/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1209/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1240/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1274/// <exception cref="System.ArgumentNullException">The <paramref name="collections"/> argument is 1307/// <exception cref="System.ArgumentNullException">If the collections argument is null.</exception> 1342/// <exception cref="System.ArgumentNullException">If the collections argument is null.</exception> 1531/// <exception cref="System.ArgumentNullException">The <paramref name="array"/> argument is 1549/// <exception cref="System.ArgumentNullException">The <paramref name="array"/> argument is 1569catch (ArgumentNullException) 1650/// <exception cref="System.ArgumentNullException">If the collections argument is null.</exception> 1656ArgumentNullException.ThrowIfNull(collections); 1740ArgumentNullException.ThrowIfNull(collection);
System\Collections\Concurrent\ConcurrentBag.cs (6)
54/// <exception cref="ArgumentNullException"><paramref name="collection"/> is a null reference 58ArgumentNullException.ThrowIfNull(collection); 262/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in 273ArgumentNullException.ThrowIfNull(array); 336/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in 363ArgumentNullException.ThrowIfNull(array);
System\Collections\Concurrent\ConcurrentStack.cs (13)
77/// <exception cref="System.ArgumentNullException">The <paramref name="collection"/> argument is 81ArgumentNullException.ThrowIfNull(collection); 211/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in 227ArgumentNullException.ThrowIfNull(array); 246/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in 258ArgumentNullException.ThrowIfNull(array); 295/// <exception cref="ArgumentNullException"><paramref name="items"/> is a null reference 306ArgumentNullException.ThrowIfNull(items); 319/// <exception cref="ArgumentNullException"><paramref name="items"/> is a null reference 392ArgumentNullException.ThrowIfNull(items); 489/// <exception cref="ArgumentNullException"><paramref name="items"/> is a null argument (Nothing 500ArgumentNullException.ThrowIfNull(items); 519/// <exception cref="ArgumentNullException"><paramref name="items"/> is a null reference
System\Collections\Concurrent\PartitionerStatic.cs (3)
90ArgumentNullException.ThrowIfNull(list); 116ArgumentNullException.ThrowIfNull(array); 167ArgumentNullException.ThrowIfNull(source);
System.Collections.Immutable (33)
System\Collections\Frozen\FrozenDictionary.AlternateLookup.cs (3)
100/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 119/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 130/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception>
System\Collections\Frozen\FrozenDictionary.cs (5)
119ArgumentNullException.ThrowIfNull(source); 377ArgumentNullException.ThrowIfNull(destination); 403ArgumentNullException.ThrowIfNull(array); 480ArgumentNullException.ThrowIfNull(key); 597ArgumentNullException.ThrowIfNull(key);
System\Collections\Frozen\FrozenSet.cs (8)
64ArgumentNullException.ThrowIfNull(source); 274ArgumentNullException.ThrowIfNull(destination); 427ArgumentNullException.ThrowIfNull(other); 437ArgumentNullException.ThrowIfNull(other); 447ArgumentNullException.ThrowIfNull(other); 457ArgumentNullException.ThrowIfNull(other); 467ArgumentNullException.ThrowIfNull(other); 477ArgumentNullException.ThrowIfNull(other);
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
962/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception>
System\Collections\Immutable\ImmutableArray_1.cs (1)
800/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception>
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (5)
390/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception> 506/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception> 522/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception> 559/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception> 576/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception>
System\Collections\Immutable\ImmutableDictionary_2.cs (2)
567/// <exception cref="ArgumentNullException"><paramref name="key"/> is null. 587/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
877/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception>
System\Collections\Immutable\ImmutableList_1.cs (1)
438/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception>
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (2)
472/// <exception cref="ArgumentNullException"><paramref name="key"/> is null. 492/// <exception cref="ArgumentNullException"><paramref name="key"/> is null.
Validation\Requires.cs (4)
21/// <exception cref="ArgumentNullException">Thrown if <paramref name="value"/> is <c>null</c></exception> 39/// <exception cref="ArgumentNullException">Thrown if <paramref name="value"/> is <c>null</c></exception> 54/// <exception cref="ArgumentNullException">Thrown if <paramref name="value"/> is <c>null</c></exception> 69/// Throws an <see cref="ArgumentNullException"/>.
System.Collections.NonGeneric (18)
System\Collections\CaseInsensitiveComparer.cs (1)
29ArgumentNullException.ThrowIfNull(culture);
System\Collections\CaseInsensitiveHashCodeProvider.cs (2)
24ArgumentNullException.ThrowIfNull(culture); 35ArgumentNullException.ThrowIfNull(obj);
System\Collections\CollectionBase.cs (1)
230ArgumentNullException.ThrowIfNull(value);
System\Collections\Queue.cs (3)
130ArgumentNullException.ThrowIfNull(array); 210ArgumentNullException.ThrowIfNull(queue); 489ArgumentNullException.ThrowIfNull(queue);
System\Collections\SortedList.cs (8)
175ArgumentNullException.ThrowIfNull(key); 336ArgumentNullException.ThrowIfNull(array); 456ArgumentNullException.ThrowIfNull(key); 477ArgumentNullException.ThrowIfNull(key); 551ArgumentNullException.ThrowIfNull(list); 730ArgumentNullException.ThrowIfNull(key); 971ArgumentNullException.ThrowIfNull(key); 1095ArgumentNullException.ThrowIfNull(sortedList);
System\Collections\Stack.cs (3)
116ArgumentNullException.ThrowIfNull(array); 191ArgumentNullException.ThrowIfNull(stack); 387ArgumentNullException.ThrowIfNull(stack);
System.Collections.Specialized (26)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\CompatibleComparer.cs (1)
49ArgumentNullException.ThrowIfNull(obj);
System\Collections\Specialized\HybridDictionary.cs (3)
86ArgumentNullException.ThrowIfNull(key); 282ArgumentNullException.ThrowIfNull(key); 333ArgumentNullException.ThrowIfNull(key);
System\Collections\Specialized\ListDictionary.cs (7)
34ArgumentNullException.ThrowIfNull(key); 65ArgumentNullException.ThrowIfNull(key); 153ArgumentNullException.ThrowIfNull(key); 191ArgumentNullException.ThrowIfNull(key); 206ArgumentNullException.ThrowIfNull(array); 232ArgumentNullException.ThrowIfNull(key); 364ArgumentNullException.ThrowIfNull(array);
System\Collections\Specialized\NameObjectCollectionBase.cs (3)
373ArgumentNullException.ThrowIfNull(array); 440ArgumentNullException.ThrowIfNull(type); 597ArgumentNullException.ThrowIfNull(array);
System\Collections\Specialized\NameValueCollection.cs (2)
160ArgumentNullException.ThrowIfNull(c); 198ArgumentNullException.ThrowIfNull(dest);
System\Collections\Specialized\OrderedDictionary.cs (4)
262ArgumentNullException.ThrowIfNull(key); 351ArgumentNullException.ThrowIfNull(key); 386ArgumentNullException.ThrowIfNull(info); 558ArgumentNullException.ThrowIfNull(array);
System\Collections\Specialized\StringCollection.cs (1)
74ArgumentNullException.ThrowIfNull(value);
System\Collections\Specialized\StringDictionary.cs (5)
69ArgumentNullException.ThrowIfNull(key); 75ArgumentNullException.ThrowIfNull(key); 120ArgumentNullException.ThrowIfNull(key); 138ArgumentNullException.ThrowIfNull(key); 173ArgumentNullException.ThrowIfNull(key);
System.ComponentModel.Annotations (59)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
22ArgumentNullException.ThrowIfNull(values);
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptionProvider.cs (2)
42/// <exception cref="System.ArgumentNullException">The value of associatedMetadataType is null.</exception> 48ArgumentNullException.ThrowIfNull(associatedMetadataType);
System\ComponentModel\DataAnnotations\AsyncValidationAttribute.cs (2)
108/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 114ArgumentNullException.ThrowIfNull(validationContext);
System\ComponentModel\DataAnnotations\CompareAttribute.cs (2)
17ArgumentNullException.ThrowIfNull(otherProperty); 36ArgumentNullException.ThrowIfNull(validationContext);
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (1)
22ArgumentNullException.ThrowIfNull(values);
System\ComponentModel\DataAnnotations\MetadataTypeAttribute.cs (1)
23/// <exception cref="System.ArgumentNullException">metadataClassType is null.</exception>
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (3)
446/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 453ArgumentNullException.ThrowIfNull(validationContext); 510ArgumentNullException.ThrowIfNull(validationContext);
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
139ArgumentNullException.ThrowIfNull(validationContext);
System\ComponentModel\DataAnnotations\ValidationContext.cs (6)
46/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is <c>null</c></exception> 63/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is <c>null</c></exception> 85/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is <c>null</c></exception> 89ArgumentNullException.ThrowIfNull(instance); 117/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is <c>null</c></exception> 125ArgumentNullException.ThrowIfNull(instance);
System\ComponentModel\DataAnnotations\ValidationResult.cs (2)
67/// <exception cref="System.ArgumentNullException">The <paramref name="validationResult" /> is null.</exception> 70ArgumentNullException.ThrowIfNull(validationResult);
System\ComponentModel\DataAnnotations\Validator.cs (38)
91/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 129/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 138ArgumentNullException.ThrowIfNull(instance); 190ArgumentNullException.ThrowIfNull(validationAttributes); 215/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 244/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 245/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 270/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 271/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 281ArgumentNullException.ThrowIfNull(instance); 282ArgumentNullException.ThrowIfNull(validationContext); 311/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 316ArgumentNullException.ThrowIfNull(validationContext); 317ArgumentNullException.ThrowIfNull(validationAttributes); 394/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 440/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 453ArgumentNullException.ThrowIfNull(instance); 498ArgumentNullException.ThrowIfNull(validationAttributes); 520/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 550/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 551/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 578/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 579/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 592ArgumentNullException.ThrowIfNull(instance); 593ArgumentNullException.ThrowIfNull(validationContext); 616/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 624ArgumentNullException.ThrowIfNull(validationContext); 625ArgumentNullException.ThrowIfNull(validationAttributes); 646ArgumentNullException.ThrowIfNull(validationContext); 816ArgumentNullException.ThrowIfNull(validationContext); 943/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 963/// <exception cref="ArgumentNullException">When <paramref name="destinationType" /> is null.</exception> 1005/// <exception cref="ArgumentNullException">When <paramref name="instance" /> is null.</exception> 1006/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 1015ArgumentNullException.ThrowIfNull(validationContext); 1160/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception> 1164ArgumentNullException.ThrowIfNull(validationContext); 1217/// <exception cref="ArgumentNullException">When <paramref name="validationContext" /> is null.</exception>
System.ComponentModel.Composition (221)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
14ArgumentNullException.ThrowIfNull(itemType); 15ArgumentNullException.ThrowIfNull(collectionObject);
Microsoft\Internal\Collections\CollectionServices.cs (3)
61ArgumentNullException.ThrowIfNull(source); 167ArgumentNullException.ThrowIfNull(source); 198ArgumentNullException.ThrowIfNull(stack);
Microsoft\Internal\GenerationServices.cs (9)
167ArgumentNullException.ThrowIfNull(dictionary); 168ArgumentNullException.ThrowIfNull(key); 169ArgumentNullException.ThrowIfNull(value); 186ArgumentNullException.ThrowIfNull(dictionary); 187ArgumentNullException.ThrowIfNull(key); 188ArgumentNullException.ThrowIfNull(value); 204ArgumentNullException.ThrowIfNull(exception); 205ArgumentNullException.ThrowIfNull(dataStore); 216ArgumentNullException.ThrowIfNull(enumerable);
Microsoft\Internal\LazyServices.cs (1)
13ArgumentNullException.ThrowIfNull(lazy);
Microsoft\Internal\ReflectionServices.cs (2)
62ArgumentNullException.ThrowIfNull(declaringType); 69ArgumentNullException.ThrowIfNull(member);
System\ComponentModel\Composition\AttributedModel\AttributedExportDefinition.cs (3)
24ArgumentNullException.ThrowIfNull(partCreationInfo); 25ArgumentNullException.ThrowIfNull(member); 26ArgumentNullException.ThrowIfNull(exportAttribute);
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (6)
29ArgumentNullException.ThrowIfNull(type); 38ArgumentNullException.ThrowIfNull(attributedPart); 48ArgumentNullException.ThrowIfNull(attributedPart); 49ArgumentNullException.ThrowIfNull(reflectionContext); 65ArgumentNullException.ThrowIfNull(partDefinition); 66ArgumentNullException.ThrowIfNull(attributedPart);
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
29ArgumentNullException.ThrowIfNull(type); 186ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Composition\AttributedModelServices.cs (2)
168/// <exception cref="ArgumentNullException"> 199/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\CatalogReflectionContextAttribute.cs (1)
27ArgumentNullException.ThrowIfNull(_reflectionContextType);
System\ComponentModel\Composition\CompositionContractMismatchException.cs (1)
71/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\ConstraintServices.cs (6)
58ArgumentNullException.ThrowIfNull(parameter); 68ArgumentNullException.ThrowIfNull(requiredMetadata); 69ArgumentNullException.ThrowIfNull(parameter); 86ArgumentNullException.ThrowIfNull(parameter); 106ArgumentNullException.ThrowIfNull(requiredTypeIdentity); 107ArgumentNullException.ThrowIfNull(parameter);
System\ComponentModel\Composition\ContractNameServices.cs (1)
38ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Composition\ErrorBuilder.cs (11)
37ArgumentNullException.ThrowIfNull(exception); 38ArgumentNullException.ThrowIfNull(definition); 49ArgumentNullException.ThrowIfNull(part); 50ArgumentNullException.ThrowIfNull(innerException); 63ArgumentNullException.ThrowIfNull(part); 64ArgumentNullException.ThrowIfNull(definition); 65ArgumentNullException.ThrowIfNull(innerException); 79ArgumentNullException.ThrowIfNull(part); 80ArgumentNullException.ThrowIfNull(definition); 81ArgumentNullException.ThrowIfNull(innerException); 95ArgumentNullException.ThrowIfNull(part);
System\ComponentModel\Composition\ExceptionBuilder.cs (11)
21ArgumentNullException.ThrowIfNull(parameterName); 30ArgumentNullException.ThrowIfNull(instance); 37ArgumentNullException.ThrowIfNull(memberName); 51ArgumentNullException.ThrowIfNull(parameterName); 66ArgumentNullException.ThrowIfNull(parameterName); 80ArgumentNullException.ThrowIfNull(part); 81ArgumentNullException.ThrowIfNull(definition); 82ArgumentNullException.ThrowIfNull(innerException); 90ArgumentNullException.ThrowIfNull(parameterName); 97ArgumentNullException.ThrowIfNull(partDefinitionType); 104ArgumentNullException.ThrowIfNull(typeName);
System\ComponentModel\Composition\ExportFactoryOfT.cs (1)
12ArgumentNullException.ThrowIfNull(exportLifetimeContextCreator);
System\ComponentModel\Composition\ExportServices.cs (4)
28ArgumentNullException.ThrowIfNull(metadataViewType); 38ArgumentNullException.ThrowIfNull(metadataViewType); 59ArgumentNullException.ThrowIfNull(genericMethod); 69ArgumentNullException.ThrowIfNull(genericMethod);
System\ComponentModel\Composition\ExportServices.DisposableLazy.cs (2)
17ArgumentNullException.ThrowIfNull(disposable); 35ArgumentNullException.ThrowIfNull(disposable);
System\ComponentModel\Composition\Hosting\AggregateCatalog.cs (2)
40/// <exception cref="ArgumentNullException"> 113/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\ApplicationCatalog.cs (1)
149/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (5)
41/// <exception cref="ArgumentNullException"> 93/// <exception cref="ArgumentNullException"> 150/// <exception cref="ArgumentNullException"> 210/// <exception cref="ArgumentNullException"> 412/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\AtomicCompositionExtensions.cs (3)
11ArgumentNullException.ThrowIfNull(defaultResultAndKey); 29ArgumentNullException.ThrowIfNull(action); 43ArgumentNullException.ThrowIfNull(action);
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (8)
27ArgumentNullException.ThrowIfNull(outerExportProvider); 59/// <exception cref="ArgumentNullException"> 131/// <exception cref="ArgumentNullException"> 512ArgumentNullException.ThrowIfNull(part); 513ArgumentNullException.ThrowIfNull(export); 550ArgumentNullException.ThrowIfNull(catalogPart); 598ArgumentNullException.ThrowIfNull(exportedValue); 599ArgumentNullException.ThrowIfNull(part);
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (2)
18ArgumentNullException.ThrowIfNull(catalogExportProvider); 19ArgumentNullException.ThrowIfNull(scopeDefinition);
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (1)
38/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (3)
108/// <exception cref="ArgumentNullException"> 317ArgumentNullException.ThrowIfNull(batch); 354ArgumentNullException.ThrowIfNull(batch);
System\ComponentModel\Composition\Hosting\CompositionBatch.cs (3)
106/// <exception cref="ArgumentNullException"> 130/// <exception cref="ArgumentNullException"> 158/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\CompositionBatch.SingleExportComposablePart.cs (1)
20ArgumentNullException.ThrowIfNull(export);
System\ComponentModel\Composition\Hosting\CompositionContainer.CompositionServiceShim.cs (1)
16ArgumentNullException.ThrowIfNull(innerContainer);
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (6)
392/// <exception cref="ArgumentNullException"> 421/// <exception cref="ArgumentNullException"> 439/// <exception cref="ArgumentNullException"> 460/// <exception cref="ArgumentNullException"> 481/// <exception cref="ArgumentNullException"> 504/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (2)
166/// <exception cref="ArgumentNullException"> 189ArgumentNullException.ThrowIfNull(definition);
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
22ArgumentNullException.ThrowIfNull(composablePartCatalog);
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
28ArgumentNullException.ThrowIfNull(member); 63ArgumentNullException.ThrowIfNull(specifiedContractType); 405ArgumentNullException.ThrowIfNull(itemType); 620ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (9)
58/// <exception cref="ArgumentNullException"> 96/// <exception cref="ArgumentNullException"> 134/// <exception cref="ArgumentNullException"> 176/// <exception cref="ArgumentNullException"> 216/// <exception cref="ArgumentNullException"> 259/// <exception cref="ArgumentNullException"> 307/// <exception cref="ArgumentNullException"> 360/// <exception cref="ArgumentNullException"> 516/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\ExportProvider.cs (4)
47/// <exception cref="ArgumentNullException"> 81/// <exception cref="ArgumentNullException"> 141/// <exception cref="ArgumentNullException"> 210ArgumentNullException.ThrowIfNull(definition);
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (4)
252/// <exception cref="ArgumentNullException"> 796ArgumentNullException.ThrowIfNull(type); 797ArgumentNullException.ThrowIfNull(metadataViewType); 798ArgumentNullException.ThrowIfNull(contractName);
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (1)
41/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (1)
136/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependenciesTraversal.cs (2)
22ArgumentNullException.ThrowIfNull(catalog); 23ArgumentNullException.ThrowIfNull(importFilter);
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependentsTraversal.cs (2)
28ArgumentNullException.ThrowIfNull(catalog); 29ArgumentNullException.ThrowIfNull(importFilter);
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (2)
61ArgumentNullException.ThrowIfNull(traversal); 82ArgumentNullException.ThrowIfNull(traversal);
System\ComponentModel\Composition\Hosting\ImportEngine.cs (4)
146/// <exception cref="ArgumentNullException"> 183/// <exception cref="ArgumentNullException"> 412ArgumentNullException.ThrowIfNull(part); 689ArgumentNullException.ThrowIfNull(atomicComposition);
System\ComponentModel\Composition\Hosting\ImportEngine.EngineContext.cs (2)
30ArgumentNullException.ThrowIfNull(part); 40ArgumentNullException.ThrowIfNull(part);
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
35ArgumentNullException.ThrowIfNull(sourceDefinition);
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (6)
42/// <exception cref="ArgumentNullException"> 64/// <exception cref="ArgumentNullException"> 92/// <exception cref="ArgumentNullException"> 120/// <exception cref="ArgumentNullException"> 156/// <exception cref="ArgumentNullException"> 289ArgumentNullException.ThrowIfNull(definition);
System\ComponentModel\Composition\ICompositionService.cs (1)
20/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\ImportCardinalityMismatchException.cs (1)
74/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\MetadataServices.cs (1)
31ArgumentNullException.ThrowIfNull(metadata);
System\ComponentModel\Composition\MetadataViewGenerator.cs (2)
93ArgumentNullException.ThrowIfNull(viewType); 139ArgumentNullException.ThrowIfNull(metadataViewFactory);
System\ComponentModel\Composition\MetadataViewProvider.cs (2)
17ArgumentNullException.ThrowIfNull(metadata); 128ArgumentNullException.ThrowIfNull(metadataViewType);
System\ComponentModel\Composition\Primitives\ComposablePart.cs (2)
140/// <exception cref="ArgumentNullException"> 170/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\ComposablePartCatalog.cs (1)
84/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\ComposablePartException.cs (2)
41/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (3)
86/// <exception cref="ArgumentNullException"> 148/// <exception cref="ArgumentNullException"> 292/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\Export.cs (3)
48/// <exception cref="ArgumentNullException"> 81/// <exception cref="ArgumentNullException"> 108/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\ExportDefinition.cs (1)
48/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (2)
74/// <exception cref="ArgumentNullException"> 259/// <exception cref="ArgumentNullException">
System\ComponentModel\Composition\ReflectionModel\ExportfactoryCreator.cs (1)
18ArgumentNullException.ThrowIfNull(exportFactoryType);
System\ComponentModel\Composition\ReflectionModel\ExportingMember.cs (2)
20ArgumentNullException.ThrowIfNull(definition); 21ArgumentNullException.ThrowIfNull(member);
System\ComponentModel\Composition\ReflectionModel\GenericServices.cs (2)
16ArgumentNullException.ThrowIfNull(type); 38ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (6)
34ArgumentNullException.ThrowIfNull(originalPartCreationInfo); 35ArgumentNullException.ThrowIfNull(originalPart); 36ArgumentNullException.ThrowIfNull(specialization); 112ArgumentNullException.ThrowIfNull(_membersTable); 120ArgumentNullException.ThrowIfNull(_parametersTable); 173ArgumentNullException.ThrowIfNull(members);
System\ComponentModel\Composition\ReflectionModel\ImportingItem.cs (3)
17ArgumentNullException.ThrowIfNull(definition); 47ArgumentNullException.ThrowIfNull(exports); 67ArgumentNullException.ThrowIfNull(exports);
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (5)
22ArgumentNullException.ThrowIfNull(member); 107ArgumentNullException.ThrowIfNull(values); 122ArgumentNullException.ThrowIfNull(itemType); 215ArgumentNullException.ThrowIfNull(collection); 216ArgumentNullException.ThrowIfNull(values);
System\ComponentModel\Composition\ReflectionModel\ImportType.cs (3)
29ArgumentNullException.ThrowIfNull(type); 102ArgumentNullException.ThrowIfNull(type); 103ArgumentNullException.ThrowIfNull(baseType);
System\ComponentModel\Composition\ReflectionModel\PartCreatorMemberImportDefinition.cs (1)
22ArgumentNullException.ThrowIfNull(productImportDefinition);
System\ComponentModel\Composition\ReflectionModel\PartCreatorParameterImportDefinition.cs (1)
23ArgumentNullException.ThrowIfNull(productImportDefinition);
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
26ArgumentNullException.ThrowIfNull(creationInfo);
System\ComponentModel\Composition\ReflectionModel\ReflectionExtensions.cs (7)
46ArgumentNullException.ThrowIfNull(member); 83ArgumentNullException.ThrowIfNull(property); 100ArgumentNullException.ThrowIfNull(parameter); 107ArgumentNullException.ThrowIfNull(method); 114ArgumentNullException.ThrowIfNull(field); 121ArgumentNullException.ThrowIfNull(type); 128ArgumentNullException.ThrowIfNull(member);
System\ComponentModel\Composition\ReflectionModel\ReflectionField.cs (1)
15ArgumentNullException.ThrowIfNull(field);
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberExportDefinition.cs (1)
18ArgumentNullException.ThrowIfNull(exportDefinition);
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberImportDefinition.cs (1)
27ArgumentNullException.ThrowIfNull(contractName);
System\ComponentModel\Composition\ReflectionModel\ReflectionMethod.cs (1)
15ArgumentNullException.ThrowIfNull(method);
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (1)
335ArgumentNullException.ThrowIfNull(partType);
System\ComponentModel\Composition\ReflectionModel\ReflectionParameter.cs (1)
16ArgumentNullException.ThrowIfNull(parameter);
System\ComponentModel\Composition\ReflectionModel\ReflectionParameterImportDefinition.cs (1)
27ArgumentNullException.ThrowIfNull(importingLazyParameter);
System\ComponentModel\Composition\ReflectionModel\ReflectionType.cs (1)
14ArgumentNullException.ThrowIfNull(type);
System\Composition\Diagnostics\CompositionTrace.cs (11)
17ArgumentNullException.ThrowIfNull(definition); 29ArgumentNullException.ThrowIfNull(definition); 30ArgumentNullException.ThrowIfNull(exception); 43ArgumentNullException.ThrowIfNull(catalog); 44ArgumentNullException.ThrowIfNull(fileName); 45ArgumentNullException.ThrowIfNull(exception); 64ArgumentNullException.ThrowIfNull(type); 76ArgumentNullException.ThrowIfNull(type); 77ArgumentNullException.ThrowIfNull(member); 89ArgumentNullException.ThrowIfNull(type); 101ArgumentNullException.ThrowIfNull(item);
System.ComponentModel.Composition.Registration (32)
src\runtime\src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (12)
38ArgumentNullException.ThrowIfNull(type); 39ArgumentNullException.ThrowIfNull(member); 51ArgumentNullException.ThrowIfNull(type); 52ArgumentNullException.ThrowIfNull(member); 64ArgumentNullException.ThrowIfNull(type); 65ArgumentNullException.ThrowIfNull(member); 77ArgumentNullException.ThrowIfNull(type); 89ArgumentNullException.ThrowIfNull(type); 90ArgumentNullException.ThrowIfNull(member); 102ArgumentNullException.ThrowIfNull(type); 114ArgumentNullException.ThrowIfNull(parameter); 115ArgumentNullException.ThrowIfNull(constructor);
System\ComponentModel\Composition\Registration\PartBuilder.cs (9)
102ArgumentNullException.ThrowIfNull(interfaceFilter); 112ArgumentNullException.ThrowIfNull(propertyFilter); 120ArgumentNullException.ThrowIfNull(propertyFilter); 130ArgumentNullException.ThrowIfNull(propertyFilter); 138ArgumentNullException.ThrowIfNull(propertyFilter); 148ArgumentNullException.ThrowIfNull(propertyFilter); 156ArgumentNullException.ThrowIfNull(propertyFilter); 165ArgumentNullException.ThrowIfNull(propertyFilter); 173ArgumentNullException.ThrowIfNull(propertyFilter);
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (7)
44ArgumentNullException.ThrowIfNull(propertyFilter); 96ArgumentNullException.ThrowIfNull(constructorFilter); 150ArgumentNullException.ThrowIfNull(constructorFilter); 168ArgumentNullException.ThrowIfNull(propertyFilter); 184ArgumentNullException.ThrowIfNull(propertyFilter); 200ArgumentNullException.ThrowIfNull(propertyFilter); 216ArgumentNullException.ThrowIfNull(propertyFilter);
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (4)
43ArgumentNullException.ThrowIfNull(type); 61ArgumentNullException.ThrowIfNull(type); 71ArgumentNullException.ThrowIfNull(typeFilter); 81ArgumentNullException.ThrowIfNull(typeFilter);
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\AsyncOperation.cs (1)
67ArgumentNullException.ThrowIfNull(d);
System.ComponentModel.Primitives (17)
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (3)
21ArgumentNullException.ThrowIfNull(serializerType); 22ArgumentNullException.ThrowIfNull(baseSerializerType); 33ArgumentNullException.ThrowIfNull(baseSerializerType);
System\ComponentModel\DesignerAttribute.cs (7)
22ArgumentNullException.ThrowIfNull(designerTypeName); 34ArgumentNullException.ThrowIfNull(designerType); 46ArgumentNullException.ThrowIfNull(designerTypeName); 58ArgumentNullException.ThrowIfNull(designerTypeName); 59ArgumentNullException.ThrowIfNull(designerBaseType); 71ArgumentNullException.ThrowIfNull(designerType); 72ArgumentNullException.ThrowIfNull(designerBaseType);
System\ComponentModel\EditorAttribute.cs (5)
32ArgumentNullException.ThrowIfNull(typeName); 43ArgumentNullException.ThrowIfNull(typeName); 44ArgumentNullException.ThrowIfNull(baseType); 55ArgumentNullException.ThrowIfNull(type); 56ArgumentNullException.ThrowIfNull(baseType);
System\ComponentModel\EventHandlerList.cs (1)
74ArgumentNullException.ThrowIfNull(listToAddFrom);
System\ComponentModel\InvalidEnumArgumentException.cs (1)
53ArgumentNullException.ThrowIfNull(enumClass);
System.ComponentModel.TypeConverter (165)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (6)
505ArgumentNullException.ThrowIfNull(func); 506ArgumentNullException.ThrowIfNull(element); 527ArgumentNullException.ThrowIfNull(expandedName); 549ArgumentNullException.ThrowIfNull(func); 550ArgumentNullException.ThrowIfNull(element); 561ArgumentNullException.ThrowIfNull(expandedName);
System\ComponentModel\AttributeCollection.cs (5)
50ArgumentNullException.ThrowIfNull(_attributes[idx], nameof(attributes)); 63ArgumentNullException.ThrowIfNull(existing); 73ArgumentNullException.ThrowIfNull(newAttributes[idx], nameof(newAttributes)); 131ArgumentNullException.ThrowIfNull(attributeType); 245ArgumentNullException.ThrowIfNull(attributeType);
System\ComponentModel\AttributeProviderAttribute.cs (4)
18ArgumentNullException.ThrowIfNull(typeName); 28ArgumentNullException.ThrowIfNull(typeName); 29ArgumentNullException.ThrowIfNull(propertyName); 40ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\BaseNumberConverter.cs (1)
92ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\ComponentResourceManager.cs (4)
68ArgumentNullException.ThrowIfNull(value); 69ArgumentNullException.ThrowIfNull(objectName); 82ArgumentNullException.ThrowIfNull(value); 83ArgumentNullException.ThrowIfNull(objectName);
System\ComponentModel\Container.cs (1)
222ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\CultureInfoConverter.cs (1)
34ArgumentNullException.ThrowIfNull(culture);
System\ComponentModel\Design\DesignerOptionService.cs (4)
32ArgumentNullException.ThrowIfNull(parent); 33ArgumentNullException.ThrowIfNull(name); 50ArgumentNullException.ThrowIfNull(pageName); 51ArgumentNullException.ThrowIfNull(valueName);
System\ComponentModel\Design\DesignerVerbCollection.cs (2)
26ArgumentNullException.ThrowIfNull(value); 36ArgumentNullException.ThrowIfNull(value);
System\ComponentModel\Design\DesigntimeLicenseContext.cs (1)
35ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Design\HelpKeywordAttribute.cs (2)
64ArgumentNullException.ThrowIfNull(keyword); 74ArgumentNullException.ThrowIfNull(t);
System\ComponentModel\Design\Serialization\ContextStack.cs (3)
70ArgumentNullException.ThrowIfNull(type); 98ArgumentNullException.ThrowIfNull(context); 127ArgumentNullException.ThrowIfNull(context);
System\ComponentModel\Design\Serialization\DefaultSerializationProviderAttribute.cs (2)
21ArgumentNullException.ThrowIfNull(providerType); 31ArgumentNullException.ThrowIfNull(providerTypeName);
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (6)
76ArgumentNullException.ThrowIfNull(sourceOwner); 77ArgumentNullException.ThrowIfNull(sourceMember); 83ArgumentNullException.ThrowIfNull(sourceOwner); 84ArgumentNullException.ThrowIfNull(sourceMember); 182ArgumentNullException.ThrowIfNull(owner); 183ArgumentNullException.ThrowIfNull(member);
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (3)
22ArgumentNullException.ThrowIfNull(serializerType); 23ArgumentNullException.ThrowIfNull(baseSerializerType); 35ArgumentNullException.ThrowIfNull(baseSerializerType);
System\ComponentModel\Design\ServiceContainer.cs (5)
81ArgumentNullException.ThrowIfNull(serviceType); 82ArgumentNullException.ThrowIfNull(serviceInstance); 122ArgumentNullException.ThrowIfNull(serviceType); 123ArgumentNullException.ThrowIfNull(callback); 236ArgumentNullException.ThrowIfNull(serviceType);
System\ComponentModel\EnumConverter.cs (1)
124ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\InstallerTypeAttribute.cs (1)
22ArgumentNullException.ThrowIfNull(installerType);
System\ComponentModel\MaskedTextProvider.cs (5)
871ArgumentNullException.ThrowIfNull(input); 1243ArgumentNullException.ThrowIfNull(input); 1777ArgumentNullException.ThrowIfNull(input); 1812ArgumentNullException.ThrowIfNull(input); 1993ArgumentNullException.ThrowIfNull(input);
System\ComponentModel\MemberDescriptor.cs (9)
43ArgumentNullException.ThrowIfNull(name); 68ArgumentNullException.ThrowIfNull(descr); 89ArgumentNullException.ThrowIfNull(oldMemberDescriptor); 312ArgumentNullException.ThrowIfNull(attributeList); 403ArgumentNullException.ThrowIfNull(componentClass); 435ArgumentNullException.ThrowIfNull(type); 436ArgumentNullException.ThrowIfNull(instance); 449ArgumentNullException.ThrowIfNull(componentClass); 450ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\MultilineStringConverter.cs (1)
19ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\NestedContainer.cs (2)
23ArgumentNullException.ThrowIfNull(owner); 66ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\NullableConverter.cs (1)
102ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\PropertyDescriptor.cs (4)
170ArgumentNullException.ThrowIfNull(component); 171ArgumentNullException.ThrowIfNull(handler); 437ArgumentNullException.ThrowIfNull(component); 438ArgumentNullException.ThrowIfNull(handler);
System\ComponentModel\ProvidePropertyAttribute.cs (1)
21ArgumentNullException.ThrowIfNull(receiverType);
System\ComponentModel\ReflectPropertyDescriptor.cs (4)
501ArgumentNullException.ThrowIfNull(component); 502ArgumentNullException.ThrowIfNull(handler); 977ArgumentNullException.ThrowIfNull(component); 978ArgumentNullException.ThrowIfNull(handler);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (2)
222ArgumentNullException.ThrowIfNull(editorBaseType); 647ArgumentNullException.ThrowIfNull(instance);
System\ComponentModel\ToolboxItemAttribute.cs (2)
59ArgumentNullException.ThrowIfNull(toolboxItemTypeName); 69ArgumentNullException.ThrowIfNull(toolboxItemType);
System\ComponentModel\TypeConverter.cs (1)
115ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\TypeDescriptionProvider.cs (11)
75ArgumentNullException.ThrowIfNull(objectType); 149ArgumentNullException.ThrowIfNull(instance); 194ArgumentNullException.ThrowIfNull(instance); 234ArgumentNullException.ThrowIfNull(reflectionType); 268ArgumentNullException.ThrowIfNull(instance); 307ArgumentNullException.ThrowIfNull(objectType); 327ArgumentNullException.ThrowIfNull(instance); 358ArgumentNullException.ThrowIfNull(objectType); 393/// <exception cref="ArgumentNullException">If <paramref name="type"/> is null.</exception> 396ArgumentNullException.ThrowIfNull(type); 412ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\TypeDescriptor.cs (58)
201ArgumentNullException.ThrowIfNull(type); 202ArgumentNullException.ThrowIfNull(attributes); 223ArgumentNullException.ThrowIfNull(instance); 224ArgumentNullException.ThrowIfNull(attributes); 257ArgumentNullException.ThrowIfNull(provider); 258ArgumentNullException.ThrowIfNull(type); 283ArgumentNullException.ThrowIfNull(provider); 284ArgumentNullException.ThrowIfNull(instance); 317ArgumentNullException.ThrowIfNull(provider); 318ArgumentNullException.ThrowIfNull(type); 333ArgumentNullException.ThrowIfNull(provider); 334ArgumentNullException.ThrowIfNull(instance); 416ArgumentNullException.ThrowIfNull(primary); 417ArgumentNullException.ThrowIfNull(secondary); 492ArgumentNullException.ThrowIfNull(objectType); 496ArgumentNullException.ThrowIfNull(args); 618ArgumentNullException.ThrowIfNull(type); 619ArgumentNullException.ThrowIfNull(primary); 982ArgumentNullException.ThrowIfNull(type, typeName); 996ArgumentNullException.ThrowIfNull(type, typeName); 1079ArgumentNullException.ThrowIfNull(editorBaseType); 1092ArgumentNullException.ThrowIfNull(editorBaseType); 1117ArgumentNullException.ThrowIfNull(componentType); 1315ArgumentNullException.ThrowIfNull(component); 1354ArgumentNullException.ThrowIfNull(componentType); 1537ArgumentNullException.ThrowIfNull(type); 1551ArgumentNullException.ThrowIfNull(instance); 1561ArgumentNullException.ThrowIfNull(component); 1615ArgumentNullException.ThrowIfNull(type); 1627ArgumentNullException.ThrowIfNull(instance); 2618ArgumentNullException.ThrowIfNull(primary); 2619ArgumentNullException.ThrowIfNull(secondary); 2648ArgumentNullException.ThrowIfNull(primary); 2662ArgumentNullException.ThrowIfNull(provider); 2663ArgumentNullException.ThrowIfNull(type); 2679ArgumentNullException.ThrowIfNull(provider); 2680ArgumentNullException.ThrowIfNull(instance); 2697ArgumentNullException.ThrowIfNull(provider); 2698ArgumentNullException.ThrowIfNull(type); 2712ArgumentNullException.ThrowIfNull(provider); 2713ArgumentNullException.ThrowIfNull(instance); 2748ArgumentNullException.ThrowIfNull(infos); 2778ArgumentNullException.ThrowIfNull(objectType); 3155ArgumentNullException.ThrowIfNull(editorBaseType); 3252ArgumentNullException.ThrowIfNull(objectType); 3256ArgumentNullException.ThrowIfNull(args); 3273ArgumentNullException.ThrowIfNull(instance); 3285ArgumentNullException.ThrowIfNull(instance); 3297ArgumentNullException.ThrowIfNull(instance); 3310ArgumentNullException.ThrowIfNull(instance); 3327ArgumentNullException.ThrowIfNull(component); 3341ArgumentNullException.ThrowIfNull(objectType); 3348ArgumentNullException.ThrowIfNull(objectType); 3359ArgumentNullException.ThrowIfNull(objectType); 3375ArgumentNullException.ThrowIfNull(objectType); 3401ArgumentNullException.ThrowIfNull(type); 3589ArgumentNullException.ThrowIfNull(editorBaseType); 3983ArgumentNullException.ThrowIfNull(editorBaseType);
System\ComponentModel\TypeListConverter.cs (1)
70ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\UriTypeConverter.cs (1)
67ArgumentNullException.ThrowIfNull(destinationType);
System\ComponentModel\VersionConverter.cs (1)
68ArgumentNullException.ThrowIfNull(destinationType);
System\Drawing\ColorConverter.cs (1)
50ArgumentNullException.ThrowIfNull(destinationType);
System\Drawing\PointConverter.cs (2)
58ArgumentNullException.ThrowIfNull(destinationType); 90ArgumentNullException.ThrowIfNull(propertyValues);
System\Drawing\RectangleConverter.cs (2)
60ArgumentNullException.ThrowIfNull(destinationType); 97ArgumentNullException.ThrowIfNull(propertyValues);
System\Drawing\SizeConverter.cs (2)
58ArgumentNullException.ThrowIfNull(destinationType); 90ArgumentNullException.ThrowIfNull(propertyValues);
System\Drawing\SizeFConverter.cs (2)
58ArgumentNullException.ThrowIfNull(destinationType); 88ArgumentNullException.ThrowIfNull(propertyValues);
System.Composition.Convention (61)
src\runtime\src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (12)
38ArgumentNullException.ThrowIfNull(type); 39ArgumentNullException.ThrowIfNull(member); 51ArgumentNullException.ThrowIfNull(type); 52ArgumentNullException.ThrowIfNull(member); 64ArgumentNullException.ThrowIfNull(type); 65ArgumentNullException.ThrowIfNull(member); 77ArgumentNullException.ThrowIfNull(type); 89ArgumentNullException.ThrowIfNull(type); 90ArgumentNullException.ThrowIfNull(member); 102ArgumentNullException.ThrowIfNull(type); 114ArgumentNullException.ThrowIfNull(parameter); 115ArgumentNullException.ThrowIfNull(constructor);
System\Composition\Convention\ConventionBuilder.cs (6)
50ArgumentNullException.ThrowIfNull(type); 76ArgumentNullException.ThrowIfNull(type); 92ArgumentNullException.ThrowIfNull(typeFilter); 107ArgumentNullException.ThrowIfNull(typeFilter); 149ArgumentNullException.ThrowIfNull(member); 286ArgumentNullException.ThrowIfNull(parameter);
System\Composition\Convention\ExportConventionBuilder.cs (6)
43ArgumentNullException.ThrowIfNull(type); 56ArgumentNullException.ThrowIfNull(contractName); 73ArgumentNullException.ThrowIfNull(getContractNameFromPartType); 87ArgumentNullException.ThrowIfNull(name); 107ArgumentNullException.ThrowIfNull(name); 108ArgumentNullException.ThrowIfNull(getValueFromPartType);
System\Composition\Convention\ImportConventionBuilder.cs (5)
33ArgumentNullException.ThrowIfNull(contractName); 50ArgumentNullException.ThrowIfNull(getContractNameFromPartType); 95ArgumentNullException.ThrowIfNull(name); 115ArgumentNullException.ThrowIfNull(name); 116ArgumentNullException.ThrowIfNull(getConstraintValueFromPartType);
System\Composition\Convention\PartConventionBuilder.cs (23)
68ArgumentNullException.ThrowIfNull(exportConfiguration); 94ArgumentNullException.ThrowIfNull(exportConfiguration); 109ArgumentNullException.ThrowIfNull(constructorSelector); 124ArgumentNullException.ThrowIfNull(importConfiguration); 138ArgumentNullException.ThrowIfNull(interfaceFilter); 161ArgumentNullException.ThrowIfNull(interfaceFilter); 162ArgumentNullException.ThrowIfNull(exportConfiguration); 181ArgumentNullException.ThrowIfNull(propertyFilter); 195ArgumentNullException.ThrowIfNull(propertyFilter); 196ArgumentNullException.ThrowIfNull(exportConfiguration); 216ArgumentNullException.ThrowIfNull(propertyFilter); 231ArgumentNullException.ThrowIfNull(propertyFilter); 232ArgumentNullException.ThrowIfNull(exportConfiguration); 251ArgumentNullException.ThrowIfNull(propertyFilter); 265ArgumentNullException.ThrowIfNull(propertyFilter); 266ArgumentNullException.ThrowIfNull(importConfiguration); 286ArgumentNullException.ThrowIfNull(propertyFilter); 301ArgumentNullException.ThrowIfNull(propertyFilter); 302ArgumentNullException.ThrowIfNull(importConfiguration); 341ArgumentNullException.ThrowIfNull(sharingBoundary); 366ArgumentNullException.ThrowIfNull(name); 386ArgumentNullException.ThrowIfNull(name); 387ArgumentNullException.ThrowIfNull(getValueFromPartType);
System\Composition\Convention\PartConventionBuilderOfT.cs (9)
32ArgumentNullException.ThrowIfNull(methodSelector); 100ArgumentNullException.ThrowIfNull(propertySelector); 156ArgumentNullException.ThrowIfNull(constructorSelector); 211ArgumentNullException.ThrowIfNull(constructorSelector); 238ArgumentNullException.ThrowIfNull(propertySelector); 268ArgumentNullException.ThrowIfNull(propertySelector); 295ArgumentNullException.ThrowIfNull(propertySelector); 324ArgumentNullException.ThrowIfNull(propertySelector); 337ArgumentNullException.ThrowIfNull(methodSelector);
System.Composition.Hosting (18)
System\Composition\Hosting\CompositionHost.cs (1)
46ArgumentNullException.ThrowIfNull(providers);
System\Composition\Hosting\Core\CompositionDependency.cs (8)
42ArgumentNullException.ThrowIfNull(contract); 43ArgumentNullException.ThrowIfNull(target); 44ArgumentNullException.ThrowIfNull(site); 58ArgumentNullException.ThrowIfNull(contract); 59ArgumentNullException.ThrowIfNull(site); 74ArgumentNullException.ThrowIfNull(contract); 75ArgumentNullException.ThrowIfNull(targets); 76ArgumentNullException.ThrowIfNull(site);
System\Composition\Hosting\Core\CompositionOperation.cs (4)
33ArgumentNullException.ThrowIfNull(outermostLifetimeContext); 34ArgumentNullException.ThrowIfNull(compositionRootActivator); 51ArgumentNullException.ThrowIfNull(action); 65ArgumentNullException.ThrowIfNull(action);
System\Composition\Hosting\Core\DirectExportDescriptor.cs (2)
15ArgumentNullException.ThrowIfNull(activator); 16ArgumentNullException.ThrowIfNull(metadata);
System\Composition\Hosting\Util\Formatters.cs (3)
13ArgumentNullException.ThrowIfNull(items); 21ArgumentNullException.ThrowIfNull(type); 32ArgumentNullException.ThrowIfNull(closedGenericType);
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
143ArgumentNullException.ThrowIfNull(constraintName);
System.Composition.TypedParts (15)
System\Composition\CompositionContextExtensions.cs (3)
47ArgumentNullException.ThrowIfNull(exportProvider); 48ArgumentNullException.ThrowIfNull(objectWithLooseImports); 49ArgumentNullException.ThrowIfNull(conventions);
System\Composition\Hosting\ContainerConfiguration.cs (10)
52ArgumentNullException.ThrowIfNull(exportDescriptorProvider); 67ArgumentNullException.ThrowIfNull(conventions); 154ArgumentNullException.ThrowIfNull(partTypes); 203ArgumentNullException.ThrowIfNull(assemblies); 216ArgumentNullException.ThrowIfNull(exportedInstance); 231ArgumentNullException.ThrowIfNull(exportedInstance); 244ArgumentNullException.ThrowIfNull(contractType); 245ArgumentNullException.ThrowIfNull(exportedInstance); 260ArgumentNullException.ThrowIfNull(contractType); 261ArgumentNullException.ThrowIfNull(exportedInstance);
System\Composition\TypedParts\ActivationFeatures\OnImportsSatisfiedFeature.cs (1)
24ArgumentNullException.ThrowIfNull(attributeContext);
System\Composition\TypedParts\Util\DirectAttributeContext.cs (1)
25ArgumentNullException.ThrowIfNull(parameter);
System.Configuration.ConfigurationManager (12)
System\Configuration\ApplicationSettingsBase.cs (1)
59ArgumentNullException.ThrowIfNull(owner);
System\Configuration\AppSettingsReader.cs (2)
33ArgumentNullException.ThrowIfNull(key); 34ArgumentNullException.ThrowIfNull(type);
System\Configuration\CallbackValidator.cs (1)
20ArgumentNullException.ThrowIfNull(callback);
System\Configuration\ConfigurationElementCollection.cs (1)
34ArgumentNullException.ThrowIfNull(comparer);
System\Configuration\ConfigurationElementProperty.cs (1)
14ArgumentNullException.ThrowIfNull(validator);
System\Configuration\ConfigurationSectionCollection.cs (1)
66ArgumentNullException.ThrowIfNull(array);
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
70ArgumentNullException.ThrowIfNull(array);
System\Configuration\PositiveTimeSpanValidator.cs (1)
15ArgumentNullException.ThrowIfNull(value);
System\Configuration\PropertyInformationCollection.cs (1)
44ArgumentNullException.ThrowIfNull(array);
System\Configuration\ProtectedConfigurationProviderCollection.cs (1)
14ArgumentNullException.ThrowIfNull(provider);
System\Configuration\SettingsProviderCollection.cs (1)
12ArgumentNullException.ThrowIfNull(provider);
System.Console (10)
System\Console.cs (6)
91ArgumentNullException.ThrowIfNull(value); 131ArgumentNullException.ThrowIfNull(value); 506ArgumentNullException.ThrowIfNull(value); 708ArgumentNullException.ThrowIfNull(newIn); 719ArgumentNullException.ThrowIfNull(newOut); 739ArgumentNullException.ThrowIfNull(newError);
System\IO\SyncTextReader.cs (2)
120ArgumentNullException.ThrowIfNull(buffer); 132ArgumentNullException.ThrowIfNull(buffer);
System\TermInfo.cs (2)
62ArgumentNullException.ThrowIfNull(format); 63ArgumentNullException.ThrowIfNull(args);
System.Data.Common (53)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (5)
62internal static ArgumentNullException ArgumentNull(string parameter) 64ArgumentNullException e = new ArgumentNullException(parameter); 69internal static ArgumentNullException ArgumentNull(string parameter, string error) 71ArgumentNullException e = new ArgumentNullException(parameter, error); 311internal static ArgumentNullException CollectionNullValue(string parameter, Type collection, Type itemType)
System\Data\ColumnTypeConverter.cs (1)
73ArgumentNullException.ThrowIfNull(destinationType);
System\Data\Common\AdapterUtil.Common.cs (2)
558internal static ArgumentNullException UpdateRequiresNonNullDataSet(string parameter) 570internal static ArgumentNullException UpdateRequiresDataTable(string parameter)
System\Data\Common\DbDataReaderExtensions.cs (1)
57ArgumentNullException.ThrowIfNull(reader);
System\Data\ConstraintConverter.cs (1)
33ArgumentNullException.ThrowIfNull(destinationType);
System\Data\DataReaderExtensions.cs (26)
16ArgumentNullException.ThrowIfNull(reader); 23ArgumentNullException.ThrowIfNull(reader); 30ArgumentNullException.ThrowIfNull(reader); 37ArgumentNullException.ThrowIfNull(reader); 44ArgumentNullException.ThrowIfNull(reader); 52ArgumentNullException.ThrowIfNull(reader); 59ArgumentNullException.ThrowIfNull(reader); 66ArgumentNullException.ThrowIfNull(reader); 73ArgumentNullException.ThrowIfNull(reader); 80ArgumentNullException.ThrowIfNull(reader); 87ArgumentNullException.ThrowIfNull(reader); 94ArgumentNullException.ThrowIfNull(reader); 101ArgumentNullException.ThrowIfNull(reader); 108ArgumentNullException.ThrowIfNull(reader); 115ArgumentNullException.ThrowIfNull(reader); 122ArgumentNullException.ThrowIfNull(reader); 129ArgumentNullException.ThrowIfNull(reader); 136ArgumentNullException.ThrowIfNull(reader); 144ArgumentNullException.ThrowIfNull(reader); 152ArgumentNullException.ThrowIfNull(reader); 159ArgumentNullException.ThrowIfNull(reader); 166ArgumentNullException.ThrowIfNull(reader); 173ArgumentNullException.ThrowIfNull(reader); 180ArgumentNullException.ThrowIfNull(reader); 187ArgumentNullException.ThrowIfNull(reader); 194ArgumentNullException.ThrowIfNull(reader);
System\Data\DataSetUtil.cs (1)
23internal static ArgumentNullException ArgumentNull(string message)
System\Data\DataTableExtensions.cs (3)
35/// <exception cref="ArgumentNullException">if source is null</exception> 72/// <exception cref="ArgumentNullException">if source is null</exception> 73/// <exception cref="ArgumentNullException">if table is null</exception>
System\Data\DefaultValueTypeConverter.cs (1)
24ArgumentNullException.ThrowIfNull(destinationType);
System\Data\PrimaryKeyTypeConverter.cs (1)
25ArgumentNullException.ThrowIfNull(destinationType);
System\Data\RelationshipConverter.cs (1)
40ArgumentNullException.ThrowIfNull(destinationType);
System\Data\SQLTypes\SQLBytes.cs (2)
302ArgumentNullException.ThrowIfNull(buffer); 371ArgumentNullException.ThrowIfNull(buffer);
System\Data\SQLTypes\SQLChars.cs (4)
295ArgumentNullException.ThrowIfNull(buffer); 341ArgumentNullException.ThrowIfNull(buffer); 648ArgumentNullException.ThrowIfNull(buffer); 664ArgumentNullException.ThrowIfNull(buffer);
System\Data\SQLTypes\SQLDecimal.cs (2)
587ArgumentNullException.ThrowIfNull(bits); 994ArgumentNullException.ThrowIfNull(s);
System\Data\SQLTypes\SqlXml.cs (2)
397ArgumentNullException.ThrowIfNull(buffer); 433ArgumentNullException.ThrowIfNull(buffer);
System.Data.Odbc (5)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (5)
62internal static ArgumentNullException ArgumentNull(string parameter) 64ArgumentNullException e = new ArgumentNullException(parameter); 69internal static ArgumentNullException ArgumentNull(string parameter, string error) 71ArgumentNullException e = new ArgumentNullException(parameter, error); 311internal static ArgumentNullException CollectionNullValue(string parameter, Type collection, Type itemType)
System.Data.OleDb (6)
OleDbException.cs (1)
44ArgumentNullException.ThrowIfNull(si);
System\Data\Common\AdapterUtil.cs (5)
88internal static ArgumentNullException ArgumentNull(string parameter) 90ArgumentNullException e = new ArgumentNullException(parameter); 94internal static ArgumentNullException ArgumentNull(string parameter, string error) 96ArgumentNullException e = new ArgumentNullException(parameter, error); 453internal static ArgumentNullException CollectionNullValue(string parameter, Type collection, Type itemType)
System.Diagnostics.DiagnosticSource (14)
System\Diagnostics\Activity.cs (1)
563ArgumentNullException.ThrowIfNull(exception);
System\Diagnostics\ActivityContext.cs (1)
100ArgumentNullException.ThrowIfNull(traceParent);
System\Diagnostics\ActivitySource.cs (2)
386ArgumentNullException.ThrowIfNull(listener); 415ArgumentNullException.ThrowIfNull(listener);
System\Diagnostics\ActivitySourceFactory.cs (2)
23/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 34ArgumentNullException.ThrowIfNull(options);
System\Diagnostics\ActivityTagsCollection.cs (4)
39ArgumentNullException.ThrowIfNull(list); 68ArgumentNullException.ThrowIfNull(key); 141ArgumentNullException.ThrowIfNull(key); 215ArgumentNullException.ThrowIfNull(key);
System\Diagnostics\Metrics\InstrumentAdvice.cs (1)
41ArgumentNullException.ThrowIfNull(value);
System\Diagnostics\Metrics\Meter.cs (1)
32ArgumentNullException.ThrowIfNull(options);
System\Diagnostics\Metrics\MeterFactoryExtensions.cs (1)
24ArgumentNullException.ThrowIfNull(meterFactory);
System\Diagnostics\Metrics\TagList.netcore.cs (1)
160ArgumentNullException.ThrowIfNull(array);
System.Diagnostics.EventLog (13)
System\Diagnostics\EventLog.cs (1)
248ArgumentNullException.ThrowIfNull(sourceData);
System\Diagnostics\EventLogInternal.cs (2)
107ArgumentNullException.ThrowIfNull(logName); 1327ArgumentNullException.ThrowIfNull(instance);
System\Diagnostics\Reader\EventBookmark.cs (1)
26ArgumentNullException.ThrowIfNull(bookmarkXml);
System\Diagnostics\Reader\EventLogPropertySelector.cs (1)
18ArgumentNullException.ThrowIfNull(propertyQueries);
System\Diagnostics\Reader\EventLogReader.cs (2)
67ArgumentNullException.ThrowIfNull(eventQuery); 235ArgumentNullException.ThrowIfNull(bookmark);
System\Diagnostics\Reader\EventLogRecord.cs (1)
383ArgumentNullException.ThrowIfNull(propertySelector);
System\Diagnostics\Reader\EventLogSession.cs (4)
211ArgumentNullException.ThrowIfNull(logName); 223ArgumentNullException.ThrowIfNull(path); 224ArgumentNullException.ThrowIfNull(targetFilePath); 257ArgumentNullException.ThrowIfNull(logName);
System\Diagnostics\Reader\EventLogWatcher.cs (1)
57ArgumentNullException.ThrowIfNull(eventQuery);
System.Diagnostics.PerformanceCounter (23)
System\Diagnostics\CounterCreationDataCollection.cs (3)
44ArgumentNullException.ThrowIfNull(value); 54ArgumentNullException.ThrowIfNull(value); 90ArgumentNullException.ThrowIfNull(value);
System\Diagnostics\InstanceDataCollection.cs (2)
20ArgumentNullException.ThrowIfNull(counterName); 63ArgumentNullException.ThrowIfNull(instanceName);
System\Diagnostics\InstanceDataCollectionCollection.cs (1)
54ArgumentNullException.ThrowIfNull(counterName);
System\Diagnostics\PerformanceCounterCategory.cs (12)
46ArgumentNullException.ThrowIfNull(categoryName); 143ArgumentNullException.ThrowIfNull(counterName); 164ArgumentNullException.ThrowIfNull(counterName); 165ArgumentNullException.ThrowIfNull(categoryName); 243ArgumentNullException.ThrowIfNull(categoryName); 256ArgumentNullException.ThrowIfNull(counterName); 287ArgumentNullException.ThrowIfNull(help); 408ArgumentNullException.ThrowIfNull(categoryName); 457ArgumentNullException.ThrowIfNull(instanceName); 514ArgumentNullException.ThrowIfNull(instanceName); 538ArgumentNullException.ThrowIfNull(instanceName); 539ArgumentNullException.ThrowIfNull(categoryName);
System\Diagnostics\PerformanceData\CounterSet.cs (2)
129ArgumentNullException.ThrowIfNull(counterName); 175ArgumentNullException.ThrowIfNull(instanceName);
System\Diagnostics\PerformanceData\CounterSetInstance.cs (2)
22ArgumentNullException.ThrowIfNull(counterSetDefined); 23ArgumentNullException.ThrowIfNull(instanceName);
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
228ArgumentNullException.ThrowIfNull(counterName);
System.Diagnostics.Process (29)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
159ArgumentNullException.ThrowIfNull(startInfo);
src\runtime\src\libraries\Common\src\System\IO\StringParser.cs (1)
36ArgumentNullException.ThrowIfNull(buffer);
System\Diagnostics\Process.cs (2)
571ArgumentNullException.ThrowIfNull(value); 1565ArgumentNullException.ThrowIfNull(startInfo);
System\Diagnostics\Process.Scenarios.cs (15)
21/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> is <see langword="null"/>.</exception> 50ArgumentNullException.ThrowIfNull(startInfo); 68/// <exception cref="ArgumentNullException"><paramref name="fileName"/> is <see langword="null"/>.</exception> 96/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> is <see langword="null"/>.</exception> 105ArgumentNullException.ThrowIfNull(startInfo); 135/// <exception cref="ArgumentNullException"><paramref name="fileName"/> is <see langword="null"/>.</exception> 161/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> is <see langword="null"/>.</exception> 170ArgumentNullException.ThrowIfNull(startInfo); 197/// <exception cref="ArgumentNullException"><paramref name="fileName"/> is <see langword="null"/>.</exception> 225/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> is <see langword="null"/>.</exception> 236ArgumentNullException.ThrowIfNull(startInfo); 287/// <exception cref="ArgumentNullException"><paramref name="fileName"/> is <see langword="null"/>.</exception> 305/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> is <see langword="null"/>.</exception> 316ArgumentNullException.ThrowIfNull(startInfo); 353/// <exception cref="ArgumentNullException"><paramref name="fileName"/> is <see langword="null"/>.</exception>
System\Diagnostics\ProcessStartInfo.cs (2)
67ArgumentNullException.ThrowIfNull(fileName); 68ArgumentNullException.ThrowIfNull(arguments);
System\Diagnostics\ProcessTextOutput.cs (4)
18/// <exception cref="ArgumentNullException"> 23ArgumentNullException.ThrowIfNull(exitStatus); 24ArgumentNullException.ThrowIfNull(standardOutput); 25ArgumentNullException.ThrowIfNull(standardError);
System\Runtime\InteropServices\UnixProcessStartArguments.cs (3)
94/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> or <paramref name="callback"/> is <see langword="null"/>.</exception> 106ArgumentNullException.ThrowIfNull(startInfo); 107ArgumentNullException.ThrowIfNull(callback);
System\Runtime\InteropServices\WindowsProcessStartArguments.cs (1)
82/// <exception cref="ArgumentNullException"><paramref name="startInfo"/> or <paramref name="callback"/> is <see langword="null"/>.</exception>
System.Diagnostics.TextWriterTraceListener (2)
System\Diagnostics\TextWriterTraceListener.cs (2)
44ArgumentNullException.ThrowIfNull(stream); 67ArgumentNullException.ThrowIfNull(writer);
System.Diagnostics.TraceSource (11)
System\Diagnostics\CorrelationManager.cs (1)
32ArgumentNullException.ThrowIfNull(operationId);
System\Diagnostics\SourceFilter.cs (2)
22ArgumentNullException.ThrowIfNull(source); 36ArgumentNullException.ThrowIfNull(value, nameof(Source));
System\Diagnostics\SwitchAttribute.cs (2)
41ArgumentNullException.ThrowIfNull(value); 51ArgumentNullException.ThrowIfNull(assembly);
System\Diagnostics\SwitchLevelAttribute.cs (1)
24ArgumentNullException.ThrowIfNull(value);
System\Diagnostics\TraceListeners.cs (3)
88ArgumentNullException.ThrowIfNull(value); 101ArgumentNullException.ThrowIfNull(value); 151ArgumentNullException.ThrowIfNull(listener);
System\Diagnostics\TraceSource.cs (1)
560ArgumentNullException.ThrowIfNull(value, nameof(Switch));
System\Diagnostics\TraceUtils.cs (1)
18ArgumentNullException.ThrowIfNull(attributes);
System.DirectoryServices (104)
Interop\EnumVariant.cs (1)
21ArgumentNullException.ThrowIfNull(en);
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (1)
30ArgumentNullException.ThrowIfNull(context);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchedule.cs (2)
60ArgumentNullException.ThrowIfNull(schedule); 128ArgumentNullException.ThrowIfNull(days);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (3)
89ArgumentNullException.ThrowIfNull(context); 221ArgumentNullException.ThrowIfNull(commonName); 294ArgumentNullException.ThrowIfNull(commonName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (4)
51ArgumentNullException.ThrowIfNull(context); 67ArgumentNullException.ThrowIfNull(ldapDisplayName); 220ArgumentNullException.ThrowIfNull(context); 236ArgumentNullException.ThrowIfNull(ldapDisplayName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClassCollection.cs (10)
59ArgumentNullException.ThrowIfNull(value); 79ArgumentNullException.ThrowIfNull(schemaClass); 98ArgumentNullException.ThrowIfNull(schemaClasses); 116ArgumentNullException.ThrowIfNull(schemaClasses); 135ArgumentNullException.ThrowIfNull(schemaClasses); 154ArgumentNullException.ThrowIfNull(schemaClass); 175ArgumentNullException.ThrowIfNull(schemaClass); 194ArgumentNullException.ThrowIfNull(schemaClass); 220ArgumentNullException.ThrowIfNull(schemaClass); 325ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (4)
105ArgumentNullException.ThrowIfNull(context); 121ArgumentNullException.ThrowIfNull(ldapDisplayName); 274ArgumentNullException.ThrowIfNull(context); 291ArgumentNullException.ThrowIfNull(ldapDisplayName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaPropertyCollection.cs (9)
80ArgumentNullException.ThrowIfNull(schemaProperty); 99ArgumentNullException.ThrowIfNull(properties); 117ArgumentNullException.ThrowIfNull(properties); 137ArgumentNullException.ThrowIfNull(properties); 157ArgumentNullException.ThrowIfNull(schemaProperty); 178ArgumentNullException.ThrowIfNull(schemaProperty); 197ArgumentNullException.ThrowIfNull(schemaProperty); 237ArgumentNullException.ThrowIfNull(schemaProperty); 342ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (1)
1109ArgumentNullException.ThrowIfNull(context);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteCollection.cs (8)
45ArgumentNullException.ThrowIfNull(site); 58ArgumentNullException.ThrowIfNull(sites); 66ArgumentNullException.ThrowIfNull(sites); 75ArgumentNullException.ThrowIfNull(site); 102ArgumentNullException.ThrowIfNull(site); 124ArgumentNullException.ThrowIfNull(site); 137ArgumentNullException.ThrowIfNull(site); 230ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (5)
117ArgumentNullException.ThrowIfNull(context); 167ArgumentNullException.ThrowIfNull(context); 175ArgumentNullException.ThrowIfNull(partitionName); 193ArgumentNullException.ThrowIfNull(context); 201ArgumentNullException.ThrowIfNull(partitionName);
System\DirectoryServices\ActiveDirectory\ADAMInstanceCollection.cs (2)
24ArgumentNullException.ThrowIfNull(adamInstance); 39ArgumentNullException.ThrowIfNull(adamInstance);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (8)
110ArgumentNullException.ThrowIfNull(context); 376ArgumentNullException.ThrowIfNull(siteName); 427ArgumentNullException.ThrowIfNull(siteName); 475ArgumentNullException.ThrowIfNull(siteName); 518ArgumentNullException.ThrowIfNull(siteName); 852ArgumentNullException.ThrowIfNull(context); 861ArgumentNullException.ThrowIfNull(distinguishedName); 896ArgumentNullException.ThrowIfNull(objectClass);
System\DirectoryServices\ActiveDirectory\ApplicationPartitionCollection.cs (2)
24ArgumentNullException.ThrowIfNull(applicationPartition); 39ArgumentNullException.ThrowIfNull(applicationPartition);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (4)
164ArgumentNullException.ThrowIfNull(partitionName); 177ArgumentNullException.ThrowIfNull(siteName); 193ArgumentNullException.ThrowIfNull(partitionName); 206ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (2)
124ArgumentNullException.ThrowIfNull(name); 155ArgumentNullException.ThrowIfNull(name);
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (1)
81ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\Domain.cs (4)
421ArgumentNullException.ThrowIfNull(siteName); 437ArgumentNullException.ThrowIfNull(siteName); 453ArgumentNullException.ThrowIfNull(siteName); 472ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\DomainController.cs (9)
176ArgumentNullException.ThrowIfNull(context); 188ArgumentNullException.ThrowIfNull(context); 195ArgumentNullException.ThrowIfNull(siteName); 202ArgumentNullException.ThrowIfNull(context); 214ArgumentNullException.ThrowIfNull(context); 221ArgumentNullException.ThrowIfNull(siteName); 228ArgumentNullException.ThrowIfNull(context); 243ArgumentNullException.ThrowIfNull(context); 250ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\Forest.cs (4)
242ArgumentNullException.ThrowIfNull(siteName); 258ArgumentNullException.ThrowIfNull(siteName); 274ArgumentNullException.ThrowIfNull(siteName); 293ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (9)
91ArgumentNullException.ThrowIfNull(context); 103ArgumentNullException.ThrowIfNull(context); 110ArgumentNullException.ThrowIfNull(siteName); 117ArgumentNullException.ThrowIfNull(context); 129ArgumentNullException.ThrowIfNull(context); 136ArgumentNullException.ThrowIfNull(siteName); 143ArgumentNullException.ThrowIfNull(context); 158ArgumentNullException.ThrowIfNull(context); 165ArgumentNullException.ThrowIfNull(siteName);
System\DirectoryServices\ActiveDirectory\ReadOnlyStringCollection.cs (2)
31ArgumentNullException.ThrowIfNull(value); 46ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\ActiveDirectory\Utils.cs (4)
1879ArgumentNullException.ThrowIfNull(s1); 1880ArgumentNullException.ThrowIfNull(s2); 1886ArgumentNullException.ThrowIfNull(s1); 1887ArgumentNullException.ThrowIfNull(s2);
System\DirectoryServices\DirectoryEntry.cs (1)
231ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\PropertyValueCollection.cs (2)
139ArgumentNullException.ThrowIfNull(value); 151ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\SchemaNameCollection.cs (2)
71ArgumentNullException.ThrowIfNull(value); 83ArgumentNullException.ThrowIfNull(value);
System.DirectoryServices.Protocols (36)
System\DirectoryServices\Protocols\common\BerConverter.cs (2)
15ArgumentNullException.ThrowIfNull(format); 304ArgumentNullException.ThrowIfNull(format);
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (15)
38ArgumentNullException.ThrowIfNull(name); 39ArgumentNullException.ThrowIfNull(value); 47ArgumentNullException.ThrowIfNull(name); 48ArgumentNullException.ThrowIfNull(values); 144ArgumentNullException.ThrowIfNull(value); 162ArgumentNullException.ThrowIfNull(value); 174ArgumentNullException.ThrowIfNull(values); 206ArgumentNullException.ThrowIfNull(value); 215ArgumentNullException.ThrowIfNull(value); 255ArgumentNullException.ThrowIfNull(attributeName); 273ArgumentNullException.ThrowIfNull(attributeName); 306ArgumentNullException.ThrowIfNull(attributes); 321ArgumentNullException.ThrowIfNull(attributeCollection); 385ArgumentNullException.ThrowIfNull(attributes); 400ArgumentNullException.ThrowIfNull(attributeCollection);
System\DirectoryServices\Protocols\common\DirectoryControl.cs (9)
121ArgumentNullException.ThrowIfNull(type); 558ArgumentNullException.ThrowIfNull(serverName); 803ArgumentNullException.ThrowIfNull(sortKeys); 848ArgumentNullException.ThrowIfNull(value); 1167ArgumentNullException.ThrowIfNull(control); 1174ArgumentNullException.ThrowIfNull(controls); 1189ArgumentNullException.ThrowIfNull(controlCollection); 1206ArgumentNullException.ThrowIfNull(value); 1215ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\Protocols\common\DirectoryRequest.cs (5)
55ArgumentNullException.ThrowIfNull(objectClass); 84ArgumentNullException.ThrowIfNull(attributeName); 129ArgumentNullException.ThrowIfNull(assertion); 141ArgumentNullException.ThrowIfNull(attributeName); 142ArgumentNullException.ThrowIfNull(value);
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (5)
200ArgumentNullException.ThrowIfNull(request); 270ArgumentNullException.ThrowIfNull(request); 387ArgumentNullException.ThrowIfNull(asyncResult); 429ArgumentNullException.ThrowIfNull(asyncResult); 451ArgumentNullException.ThrowIfNull(asyncResult);
System.Drawing.Common (193)
System\Drawing\Bitmap.cs (8)
57ArgumentNullException.ThrowIfNull(stream); 77ArgumentNullException.ThrowIfNull(type); 78ArgumentNullException.ThrowIfNull(resource); 90ArgumentNullException.ThrowIfNull(g); 122ArgumentNullException.ThrowIfNull(original); 143ArgumentNullException.ThrowIfNull(bitmapName); 270ArgumentNullException.ThrowIfNull(bitmapData); 287ArgumentNullException.ThrowIfNull(bitmapdata);
System\Drawing\Drawing2D\GraphicsPath.cs (6)
278ArgumentNullException.ThrowIfNull(pen); 771ArgumentNullException.ThrowIfNull(addingPath); 785ArgumentNullException.ThrowIfNull(s); 786ArgumentNullException.ThrowIfNull(family); 810ArgumentNullException.ThrowIfNull(matrix); 851ArgumentNullException.ThrowIfNull(pen);
System\Drawing\Drawing2D\LinearGradientBrush.cs (5)
181ArgumentNullException.ThrowIfNull(value); 182ArgumentNullException.ThrowIfNull(value.Factors); 245ArgumentNullException.ThrowIfNull(value); 296ArgumentNullException.ThrowIfNull(value); 313ArgumentNullException.ThrowIfNull(matrix);
System\Drawing\Drawing2D\Matrix.cs (7)
53ArgumentNullException.ThrowIfNull(plgpts); 67ArgumentNullException.ThrowIfNull(plgpts); 184ArgumentNullException.ThrowIfNull(matrix); 260ArgumentNullException.ThrowIfNull(pts); 289ArgumentNullException.ThrowIfNull(pts); 318ArgumentNullException.ThrowIfNull(pts); 352ArgumentNullException.ThrowIfNull(pts);
System\Drawing\Drawing2D\PathGradientBrush.cs (7)
99ArgumentNullException.ThrowIfNull(path); 155ArgumentNullException.ThrowIfNull(value); 228ArgumentNullException.ThrowIfNull(value); 229ArgumentNullException.ThrowIfNull(value.Factors); 293ArgumentNullException.ThrowIfNull(value); 323ArgumentNullException.ThrowIfNull(value); 340ArgumentNullException.ThrowIfNull(matrix);
System\Drawing\Font.cs (5)
203ArgumentNullException.ThrowIfNull(graphics); 269ArgumentNullException.ThrowIfNull(logFont); 307ArgumentNullException.ThrowIfNull(graphics); 513ArgumentNullException.ThrowIfNull(family); 621ArgumentNullException.ThrowIfNull(lf);
System\Drawing\FontConverter.cs (1)
314ArgumentNullException.ThrowIfNull(propertyValues);
System\Drawing\FontFamily.cs (1)
281ArgumentNullException.ThrowIfNull(graphics);
System\Drawing\Graphics.cs (92)
130ArgumentNullException.ThrowIfNull(image); 520ArgumentNullException.ThrowIfNull(g); 539ArgumentNullException.ThrowIfNull(path); 546ArgumentNullException.ThrowIfNull(region); 561ArgumentNullException.ThrowIfNull(region); 574ArgumentNullException.ThrowIfNull(region); 626ArgumentNullException.ThrowIfNull(matrix); 651ArgumentNullException.ThrowIfNull(pen); 686ArgumentNullException.ThrowIfNull(pen); 744ArgumentNullException.ThrowIfNull(pen); 766ArgumentNullException.ThrowIfNull(pen); 791ArgumentNullException.ThrowIfNull(pen); 811ArgumentNullException.ThrowIfNull(pen); 837ArgumentNullException.ThrowIfNull(pen); 865ArgumentNullException.ThrowIfNull(pen); 890ArgumentNullException.ThrowIfNull(pen); 905ArgumentNullException.ThrowIfNull(pen); 906ArgumentNullException.ThrowIfNull(path); 925ArgumentNullException.ThrowIfNull(pen); 947ArgumentNullException.ThrowIfNull(pen); 983ArgumentNullException.ThrowIfNull(pen); 1010ArgumentNullException.ThrowIfNull(pen); 1032ArgumentNullException.ThrowIfNull(pen); 1065ArgumentNullException.ThrowIfNull(pen); 1093ArgumentNullException.ThrowIfNull(pen); 1124ArgumentNullException.ThrowIfNull(pen); 1149ArgumentNullException.ThrowIfNull(pen); 1175ArgumentNullException.ThrowIfNull(pen); 1223ArgumentNullException.ThrowIfNull(brush); 1250ArgumentNullException.ThrowIfNull(rects); 1262ArgumentNullException.ThrowIfNull(brush); 1284ArgumentNullException.ThrowIfNull(brush); 1314ArgumentNullException.ThrowIfNull(brush); 1353ArgumentNullException.ThrowIfNull(brush); 1377ArgumentNullException.ThrowIfNull(brush); 1426ArgumentNullException.ThrowIfNull(brush); 1456ArgumentNullException.ThrowIfNull(brush); 1497ArgumentNullException.ThrowIfNull(brush); 1524ArgumentNullException.ThrowIfNull(brush); 1560ArgumentNullException.ThrowIfNull(brush); 1584/// <exception cref="ArgumentNullException"> 1604/// <exception cref="ArgumentNullException"> 1629/// <exception cref="ArgumentNullException"> 1653/// <exception cref="ArgumentNullException"> 1673/// <exception cref="ArgumentNullException"> 1715/// <exception cref="ArgumentNullException"> 1736ArgumentNullException.ThrowIfNull(brush); 1743ArgumentNullException.ThrowIfNull(font); 1800ArgumentNullException.ThrowIfNull(font); 1884/// <exception cref="ArgumentNullException"><paramref name="font"/> is null.</exception> 1935/// <exception cref="ArgumentNullException"><paramref name="font"/> is <see langword="null"/>.</exception> 1954ArgumentNullException.ThrowIfNull(font); 2000ArgumentNullException.ThrowIfNull(image); 2010ArgumentNullException.ThrowIfNull(image); 2034ArgumentNullException.ThrowIfNull(image); 2057ArgumentNullException.ThrowIfNull(image); 2058ArgumentNullException.ThrowIfNull(destPoints); 2074ArgumentNullException.ThrowIfNull(image); 2075ArgumentNullException.ThrowIfNull(destPoints); 2091ArgumentNullException.ThrowIfNull(image); 2109ArgumentNullException.ThrowIfNull(image); 2130ArgumentNullException.ThrowIfNull(image); 2131ArgumentNullException.ThrowIfNull(destPoints); 2175ArgumentNullException.ThrowIfNull(image); 2176ArgumentNullException.ThrowIfNull(destPoints); 2228ArgumentNullException.ThrowIfNull(image); 2229ArgumentNullException.ThrowIfNull(destPoints); 2297ArgumentNullException.ThrowIfNull(image); 2373ArgumentNullException.ThrowIfNull(pen); 2401ArgumentNullException.ThrowIfNull(pen); 2402ArgumentNullException.ThrowIfNull(points); 2420ArgumentNullException.ThrowIfNull(pen); 2587ArgumentNullException.ThrowIfNull(pts); 2613ArgumentNullException.ThrowIfNull(pts); 2783ArgumentNullException.ThrowIfNull(pen); 2800ArgumentNullException.ThrowIfNull(pen); 2831ArgumentNullException.ThrowIfNull(pen); 2850ArgumentNullException.ThrowIfNull(brush); 2851ArgumentNullException.ThrowIfNull(path); 2867ArgumentNullException.ThrowIfNull(brush); 2868ArgumentNullException.ThrowIfNull(region); 2881ArgumentNullException.ThrowIfNull(icon); 2904ArgumentNullException.ThrowIfNull(icon); 2927ArgumentNullException.ThrowIfNull(icon); 3003ArgumentNullException.ThrowIfNull(destPoints); 3032ArgumentNullException.ThrowIfNull(destPoints); 3138ArgumentNullException.ThrowIfNull(destPoints); 3171ArgumentNullException.ThrowIfNull(destPoints); 3505ArgumentNullException.ThrowIfNull(container); 3515ArgumentNullException.ThrowIfNull(data); 3585/// <exception cref="ArgumentNullException"> 3601ArgumentNullException.ThrowIfNull(cachedBitmap);
System\Drawing\Icon.cs (8)
80ArgumentNullException.ThrowIfNull(original); 97ArgumentNullException.ThrowIfNull(resource); 117ArgumentNullException.ThrowIfNull(stream); 153ArgumentNullException.ThrowIfNull(filePath); 791/// <exception cref="ArgumentNullException"><paramref name="outputStream"/> was <see langword="null"/>.</exception> 794ArgumentNullException.ThrowIfNull(outputStream); 848/// <exception cref="ArgumentNullException"> 867ArgumentNullException.ThrowIfNull(filePath);
System\Drawing\Image.cs (7)
131ArgumentNullException.ThrowIfNull(stream); 228ArgumentNullException.ThrowIfNull(format); 247ArgumentNullException.ThrowIfNull(filename); 295ArgumentNullException.ThrowIfNull(format); 304ArgumentNullException.ThrowIfNull(stream); 305ArgumentNullException.ThrowIfNull(encoder); 365ArgumentNullException.ThrowIfNull(image);
System\Drawing\Imaging\CachedBitmap.cs (3)
40/// <exception cref="ArgumentNullException"> 45ArgumentNullException.ThrowIfNull(bitmap); 46ArgumentNullException.ThrowIfNull(graphics);
System\Drawing\Imaging\ImageAttributes.cs (2)
152ArgumentNullException.ThrowIfNull(newColorMatrix); 329ArgumentNullException.ThrowIfNull(map);
System\Drawing\Imaging\Metafile.cs (5)
344ArgumentNullException.ThrowIfNull(stream); 452ArgumentNullException.ThrowIfNull(stream); 476ArgumentNullException.ThrowIfNull(stream); 501ArgumentNullException.ThrowIfNull(stream); 603ArgumentNullException.ThrowIfNull(stream);
System\Drawing\Pen.cs (5)
69ArgumentNullException.ThrowIfNull(brush); 439ArgumentNullException.ThrowIfNull(value); 466ArgumentNullException.ThrowIfNull(matrix); 633ArgumentNullException.ThrowIfNull(value); 820ArgumentNullException.ThrowIfNull(value);
System\Drawing\Printing\MarginsConverter.cs (2)
67ArgumentNullException.ThrowIfNull(destinationType); 106ArgumentNullException.ThrowIfNull(propertyValues);
System\Drawing\Region.cs (20)
35ArgumentNullException.ThrowIfNull(path); 45ArgumentNullException.ThrowIfNull(rgnData); 116ArgumentNullException.ThrowIfNull(path); 123ArgumentNullException.ThrowIfNull(region); 135ArgumentNullException.ThrowIfNull(path); 142ArgumentNullException.ThrowIfNull(region); 154ArgumentNullException.ThrowIfNull(path); 161ArgumentNullException.ThrowIfNull(region); 173ArgumentNullException.ThrowIfNull(path); 180ArgumentNullException.ThrowIfNull(region); 192ArgumentNullException.ThrowIfNull(path); 199ArgumentNullException.ThrowIfNull(region); 210ArgumentNullException.ThrowIfNull(matrix); 218ArgumentNullException.ThrowIfNull(g); 227ArgumentNullException.ThrowIfNull(g); 236ArgumentNullException.ThrowIfNull(g); 245ArgumentNullException.ThrowIfNull(g); 253ArgumentNullException.ThrowIfNull(region); 254ArgumentNullException.ThrowIfNull(g); 334ArgumentNullException.ThrowIfNull(matrix);
System\Drawing\StringFormat.cs (3)
50ArgumentNullException.ThrowIfNull(format); 125ArgumentNullException.ThrowIfNull(ranges); 218ArgumentNullException.ThrowIfNull(tabStops);
System\Drawing\Text\PrivateFontCollection.cs (1)
51ArgumentNullException.ThrowIfNull(filename);
System\Drawing\TextureBrush.cs (5)
23ArgumentNullException.ThrowIfNull(image); 38ArgumentNullException.ThrowIfNull(image); 64ArgumentNullException.ThrowIfNull(image); 114ArgumentNullException.ThrowIfNull(value); 162ArgumentNullException.ThrowIfNull(matrix);
System.Formats.Asn1 (27)
System\Formats\Asn1\AsnDecoder.Enumerated.cs (3)
182/// <exception cref="ArgumentNullException"> 397/// <exception cref="ArgumentNullException"> 542/// <exception cref="ArgumentNullException">
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (3)
173/// <exception cref="ArgumentNullException"> 534/// <exception cref="ArgumentNullException"> 716/// <exception cref="ArgumentNullException">
System\Formats\Asn1\AsnWriter.cs (10)
225/// <exception cref="ArgumentNullException"> 234ArgumentNullException.ThrowIfNull(encodeCallback); 267/// <exception cref="ArgumentNullException"> 277ArgumentNullException.ThrowIfNull(encodeCallback); 304/// <exception cref="ArgumentNullException"> 314ArgumentNullException.ThrowIfNull(encodeCallback); 372/// <exception cref="ArgumentNullException"> 381ArgumentNullException.ThrowIfNull(other); 520/// <exception cref="ArgumentNullException"> 542ArgumentNullException.ThrowIfNull(destination);
System\Formats\Asn1\AsnWriter.Enumerated.cs (3)
14/// <exception cref="ArgumentNullException"> 35ArgumentNullException.ThrowIfNull(value); 46/// <exception cref="ArgumentNullException">
System\Formats\Asn1\AsnWriter.NamedBitList.cs (4)
32/// <exception cref="ArgumentNullException"> 37ArgumentNullException.ThrowIfNull(value); 85/// <exception cref="ArgumentNullException"> 96ArgumentNullException.ThrowIfNull(value);
System\Formats\Asn1\AsnWriter.Oid.cs (2)
29/// <exception cref="ArgumentNullException"> 34ArgumentNullException.ThrowIfNull(oidValue);
System\Formats\Asn1\AsnWriter.Text.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/></exception> 41ArgumentNullException.ThrowIfNull(value);
System.Formats.Cbor (4)
System\Formats\Cbor\Writer\CborWriter.String.cs (4)
19/// <exception cref="ArgumentNullException">The provided value cannot be <see langword="null" />.</exception> 27ArgumentNullException.ThrowIfNull(value); 101/// <exception cref="ArgumentNullException">The provided value cannot be <see langword="null" />.</exception> 110ArgumentNullException.ThrowIfNull(value);
System.Formats.Nrbf (7)
System\Formats\Nrbf\ArrayRecord.cs (1)
74ArgumentNullException.ThrowIfNull(expectedArrayType);
System\Formats\Nrbf\NrbfDecoder.cs (4)
51/// <exception cref="ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception> 58ArgumentNullException.ThrowIfNull(stream); 101/// <exception cref="ArgumentNullException"><paramref name="payload"/> is <see langword="null" />.</exception> 130ArgumentNullException.ThrowIfNull(payload);
System\Formats\Nrbf\SerializationRecord.cs (2)
55/// <exception cref="ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception> 58ArgumentNullException.ThrowIfNull(type);
System.Formats.Tar (56)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
29ArgumentNullException.ThrowIfNull(superStream);
System\Formats\Tar\GnuTarEntry.cs (1)
33/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception>
System\Formats\Tar\PaxGlobalExtendedAttributesTarEntry.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="globalExtendedAttributes"/> is <see langword="null"/>.</exception> 28ArgumentNullException.ThrowIfNull(globalExtendedAttributes);
System\Formats\Tar\PaxTarEntry.cs (3)
33/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception> 62/// <exception cref="ArgumentNullException"><paramref name="extendedAttributes"/> or <paramref name="entryName"/> is <see langword="null"/>.</exception> 69ArgumentNullException.ThrowIfNull(extendedAttributes);
System\Formats\Tar\PosixTarEntry.cs (4)
105/// <exception cref="ArgumentNullException">Cannot set a null group name.</exception> 112ArgumentNullException.ThrowIfNull(value); 122/// <exception cref="ArgumentNullException">Cannot set a null user name.</exception> 128ArgumentNullException.ThrowIfNull(value);
System\Formats\Tar\TarEntry.cs (3)
128/// <exception cref="ArgumentNullException">The specified value is <see langword="null"/>.</exception> 202/// <exception cref="ArgumentNullException"><paramref name="destinationFileName"/> is <see langword="null"/>.</exception> 233/// <exception cref="ArgumentNullException"><paramref name="destinationFileName"/> is <see langword="null"/>.</exception>
System\Formats\Tar\TarFile.cs (28)
30/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/> or <paramref name="destination"/> is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destination"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 60ArgumentNullException.ThrowIfNull(destination); 61ArgumentNullException.ThrowIfNull(options); 92/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/> or <paramref name="destination"/> is <see langword="null"/>.</exception> 114/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destination"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 128ArgumentNullException.ThrowIfNull(destination); 129ArgumentNullException.ThrowIfNull(options); 158/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/> or <paramref name="destinationFileName"/> is <see langword="null"/>.</exception> 176/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destinationFileName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 185ArgumentNullException.ThrowIfNull(options); 215/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/> or <paramref name="destinationFileName"/> is <see langword="null"/>.</exception> 235/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destinationFileName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 248ArgumentNullException.ThrowIfNull(options); 270/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="destinationDirectoryName"/> is <see langword="null"/>.</exception> 290/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 301ArgumentNullException.ThrowIfNull(source); 303ArgumentNullException.ThrowIfNull(options); 332/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="destinationDirectoryName"/> is <see langword="null"/>.</exception> 354/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 369ArgumentNullException.ThrowIfNull(source); 371ArgumentNullException.ThrowIfNull(options); 398/// <exception cref="ArgumentNullException"><paramref name="sourceFileName"/> or <paramref name="destinationDirectoryName"/> is <see langword="null"/>.</exception> 417/// <exception cref="ArgumentNullException"><paramref name="sourceFileName"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 429ArgumentNullException.ThrowIfNull(options); 461/// <exception cref="ArgumentNullException"><paramref name="sourceFileName"/> or <paramref name="destinationDirectoryName"/> is <see langword="null"/>.</exception> 482/// <exception cref="ArgumentNullException"><paramref name="sourceFileName"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 498ArgumentNullException.ThrowIfNull(options);
System\Formats\Tar\TarReader.cs (2)
31/// <exception cref="ArgumentNullException"><paramref name="archiveStream"/> is <see langword="null"/>.</exception> 34ArgumentNullException.ThrowIfNull(archiveStream);
System\Formats\Tar\TarWriter.cs (10)
29/// <exception cref="ArgumentNullException"><paramref name="archiveStream"/> is <see langword="null"/>.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="archiveStream"/> is <see langword="null"/>.</exception> 59/// <exception cref="ArgumentNullException"><paramref name="archiveStream"/> is <see langword="null"/>.</exception> 86/// <exception cref="ArgumentNullException"><paramref name="archiveStream"/> or <paramref name="options"/> is <see langword="null"/>.</exception> 90ArgumentNullException.ThrowIfNull(archiveStream); 91ArgumentNullException.ThrowIfNull(options); 238/// <exception cref="ArgumentNullException"><paramref name="entry"/> is <see langword="null"/>.</exception> 247ArgumentNullException.ThrowIfNull(entry); 286/// <exception cref="ArgumentNullException"><paramref name="entry"/> is <see langword="null"/>.</exception> 296ArgumentNullException.ThrowIfNull(entry);
System\Formats\Tar\UstarTarEntry.cs (1)
28/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception>
System\Formats\Tar\V7TarEntry.cs (1)
23/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception>
System.IO.Compression (77)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
29ArgumentNullException.ThrowIfNull(superStream);
System\IO\Compression\DeflateEncoder.cs (2)
43/// <exception cref="ArgumentNullException"><paramref name="options"/> is null.</exception> 89ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
25ArgumentNullException.ThrowIfNull(stream);
System\IO\Compression\DeflateZLib\DeflateStream.cs (7)
55/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="compressionOptions"/> is <see langword="null" />.</exception> 58ArgumentNullException.ThrowIfNull(stream); 59ArgumentNullException.ThrowIfNull(compressionOptions); 68ArgumentNullException.ThrowIfNull(stream); 69ArgumentNullException.ThrowIfNull(compressionOptions); 80ArgumentNullException.ThrowIfNull(stream); 108ArgumentNullException.ThrowIfNull(stream);
System\IO\Compression\GZipEncoder.cs (1)
40/// <exception cref="ArgumentNullException"><paramref name="options"/> is null.</exception>
System\IO\Compression\GZipStream.cs (3)
41/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="compressionOptions"/> is <see langword="null" />.</exception> 44ArgumentNullException.ThrowIfNull(stream); 45ArgumentNullException.ThrowIfNull(compressionOptions);
System\IO\Compression\WinZipAesStream.cs (2)
74ArgumentNullException.ThrowIfNull(baseStream); 94ArgumentNullException.ThrowIfNull(baseStream);
System\IO\Compression\ZipArchive.Async.cs (2)
62/// <exception cref="ArgumentNullException">The stream is null.</exception> 71ArgumentNullException.ThrowIfNull(stream);
System\IO\Compression\ZipArchive.cs (12)
46/// <exception cref="ArgumentNullException">The stream is null.</exception> 55/// <exception cref="ArgumentNullException">The stream is null.</exception> 66/// <exception cref="ArgumentNullException">The stream is null.</exception> 78/// <exception cref="ArgumentNullException">The stream is null.</exception> 127ArgumentNullException.ThrowIfNull(stream); 265/// <exception cref="ArgumentNullException">entryName is null.</exception> 279/// <exception cref="ArgumentNullException">entryName is null.</exception> 300/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception> 323/// <exception cref="ArgumentNullException"><paramref name="entryName"/> is <see langword="null"/>.</exception> 387/// <exception cref="ArgumentNullException">entryName is null.</exception> 395ArgumentNullException.ThrowIfNull(entryName); 1070ArgumentNullException.ThrowIfNull(stream);
System\IO\Compression\ZipArchiveEntry.cs (1)
324ArgumentNullException.ThrowIfNull(value, nameof(FullName));
System\IO\Compression\ZipCryptoStream.cs (3)
65ArgumentNullException.ThrowIfNull(baseStream); 77ArgumentNullException.ThrowIfNull(baseStream); 94ArgumentNullException.ThrowIfNull(baseStream);
System\IO\Compression\ZipCustomStreams.cs (1)
516ArgumentNullException.ThrowIfNull(baseStream);
System\IO\Compression\ZLibEncoder.cs (1)
40/// <exception cref="ArgumentNullException"><paramref name="options"/> is null.</exception>
System\IO\Compression\ZLibStream.cs (3)
54/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="compressionOptions"/> is <see langword="null" />.</exception> 57ArgumentNullException.ThrowIfNull(stream); 58ArgumentNullException.ThrowIfNull(compressionOptions);
System\IO\Compression\Zstandard\ZstandardDecoder.cs (9)
61/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 65ArgumentNullException.ThrowIfNull(dictionary); 84/// <exception cref="ArgumentNullException"><paramref name="decompressionOptions"/> is null.</exception> 88ArgumentNullException.ThrowIfNull(decompressionOptions); 116/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 121ArgumentNullException.ThrowIfNull(dictionary); 316/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 320ArgumentNullException.ThrowIfNull(dictionary); 416ArgumentNullException.ThrowIfNull(dictionary);
System\IO\Compression\Zstandard\ZstandardEncoder.cs (8)
58/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 107/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 112ArgumentNullException.ThrowIfNull(dictionary); 135/// <exception cref="ArgumentNullException"><paramref name="compressionOptions"/> is null.</exception> 140ArgumentNullException.ThrowIfNull(compressionOptions); 339/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 343ArgumentNullException.ThrowIfNull(dictionary); 484ArgumentNullException.ThrowIfNull(dictionary);
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (8)
18/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 43/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 62ArgumentNullException.ThrowIfNull(encoder); 218/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> 256/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> 296/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception>
System\IO\Compression\Zstandard\ZstandardStream.cs (5)
31ArgumentNullException.ThrowIfNull(stream); 61/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 82/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 91/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="dictionary"/> is null.</exception> 95ArgumentNullException.ThrowIfNull(dictionary);
System\IO\Compression\Zstandard\ZstandardStream.Decompress.cs (7)
25/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null"/>.</exception> 29ArgumentNullException.ThrowIfNull(decoder); 43/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="decompressionOptions"/> is <see langword="null"/>.</exception> 47ArgumentNullException.ThrowIfNull(decompressionOptions); 116/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> 289/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> 390/// <exception cref="ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception>
System.IO.Compression.Brotli (7)
System\IO\Compression\BrotliStream.cs (1)
31ArgumentNullException.ThrowIfNull(stream);
System\IO\Compression\dec\BrotliStream.Decompress.cs (2)
26/// <exception cref="System.ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> 114/// <exception cref="System.ArgumentNullException"><paramref name="asyncResult" /> is <see langword="null" />.</exception>
System\IO\Compression\enc\BrotliStream.Compress.cs (4)
19/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="stream"/> is <see langword="null" />.</exception> 38/// <exception cref="ArgumentNullException"><paramref name="stream"/> or <paramref name="compressionOptions"/> is <see langword="null" />.</exception> 41ArgumentNullException.ThrowIfNull(compressionOptions);
System.IO.Compression.ZipFile (99)
System\IO\Compression\ZipFile.Create.Async.cs (13)
19/// <exception cref="ArgumentNullException">archiveFileName is null.</exception> 44/// <exception cref="ArgumentNullException">path is null.</exception> 84/// <exception cref="ArgumentNullException">path is null.</exception> 199/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 244/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 293/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 360/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 388/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 419/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 441/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destinationArchiveFileName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 444ArgumentNullException.ThrowIfNull(options); 468/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destination"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 471ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFile.Create.cs (14)
17/// <exception cref="ArgumentNullException">archiveFileName is null.</exception> 39/// <exception cref="ArgumentNullException">path is null.</exception> 76/// <exception cref="ArgumentNullException">path is null.</exception> 186/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 228/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 274/// <exception cref="ArgumentNullException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is null.</exception> 337/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 363/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 391/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName" /> or <paramref name="destination" /> is <see langword="null" />.</exception> 410/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destinationArchiveFileName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 413ArgumentNullException.ThrowIfNull(options); 432/// <exception cref="ArgumentNullException"><paramref name="sourceDirectoryName"/>, <paramref name="destination"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 435ArgumentNullException.ThrowIfNull(options); 538ArgumentNullException.ThrowIfNull(destination);
System\IO\Compression\ZipFile.Extract.Async.cs (18)
24/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 59/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 95/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 152/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 199ArgumentNullException.ThrowIfNull(sourceArchiveFileName); 220/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 268ArgumentNullException.ThrowIfNull(sourceArchiveFileName); 292/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 324/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 364/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 405/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 426ArgumentNullException.ThrowIfNull(source); 461/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 482ArgumentNullException.ThrowIfNull(source); 506/// <exception cref="ArgumentNullException"><paramref name="sourceArchiveFileName"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 509ArgumentNullException.ThrowIfNull(options); 521/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 524ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFile.Extract.cs (18)
22/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 54/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 87/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 141/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 183ArgumentNullException.ThrowIfNull(sourceArchiveFileName); 203/// <exception cref="ArgumentNullException">sourceArchive or destinationDirectoryName is null.</exception> 246ArgumentNullException.ThrowIfNull(sourceArchiveFileName); 265/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 294/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 331/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 369/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 386ArgumentNullException.ThrowIfNull(source); 417/// <exception cref="ArgumentNullException"><paramref name="destinationDirectoryName" /> or <paramref name="source" /> is <see langword="null" />.</exception> 434ArgumentNullException.ThrowIfNull(source); 453/// <exception cref="ArgumentNullException"><paramref name="sourceArchiveFileName"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 456ArgumentNullException.ThrowIfNull(options); 467/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 470ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Async.cs (4)
28/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 57/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 89/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 120/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (6)
28/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 59/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 105/// <exception cref="ArgumentNullException">sourceFileName or entryName is null.</exception> 149ArgumentNullException.ThrowIfNull(destination); 150ArgumentNullException.ThrowIfNull(sourceFileName); 151ArgumentNullException.ThrowIfNull(entryName);
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.Async.cs (7)
21/// <exception cref="ArgumentNullException">destinationDirectoryName is null.</exception> 54/// <exception cref="ArgumentNullException">destinationDirectoryName is null.</exception> 77ArgumentNullException.ThrowIfNull(source); 78ArgumentNullException.ThrowIfNull(destinationDirectoryName); 91ArgumentNullException.ThrowIfNull(source); 92ArgumentNullException.ThrowIfNull(destinationDirectoryName); 93ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.cs (8)
19/// <exception cref="ArgumentNullException">destinationDirectoryName is null.</exception> 49/// <exception cref="ArgumentNullException">destinationDirectoryName is null.</exception> 68ArgumentNullException.ThrowIfNull(source); 69ArgumentNullException.ThrowIfNull(destinationDirectoryName); 83/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationDirectoryName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 86ArgumentNullException.ThrowIfNull(source); 87ArgumentNullException.ThrowIfNull(destinationDirectoryName); 88ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.Async.cs (3)
20/// <exception cref="ArgumentNullException">destinationFileName is null.</exception> 49/// <exception cref="ArgumentNullException">destinationFileName is null.</exception> 83ArgumentNullException.ThrowIfNull(options);
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (8)
17/// <exception cref="ArgumentNullException">destinationFileName is null.</exception> 45/// <exception cref="ArgumentNullException">destinationFileName is null.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="source"/>, <paramref name="destinationFileName"/>, or <paramref name="options"/> is <see langword="null"/>.</exception> 78ArgumentNullException.ThrowIfNull(options); 135ArgumentNullException.ThrowIfNull(source); 136ArgumentNullException.ThrowIfNull(destinationFileName); 186ArgumentNullException.ThrowIfNull(source); 187ArgumentNullException.ThrowIfNull(destinationDirectoryName);
System.IO.FileSystem.AccessControl (33)
System\IO\FileSystemAclExtensions.cs (19)
15ArgumentNullException.ThrowIfNull(directoryInfo); 22ArgumentNullException.ThrowIfNull(directoryInfo); 29ArgumentNullException.ThrowIfNull(directorySecurity); 37ArgumentNullException.ThrowIfNull(fileInfo); 44ArgumentNullException.ThrowIfNull(fileInfo); 51ArgumentNullException.ThrowIfNull(fileInfo); 52ArgumentNullException.ThrowIfNull(fileSecurity); 63/// <exception cref="ArgumentNullException"><paramref name="fileStream" /> is <see langword="null" />.</exception> 67ArgumentNullException.ThrowIfNull(fileStream); 83/// <exception cref="ArgumentNullException"><paramref name="fileStream" /> or <paramref name="fileSecurity" /> is <see langword="null" />.</exception> 87ArgumentNullException.ThrowIfNull(fileStream); 88ArgumentNullException.ThrowIfNull(fileSecurity); 102/// <exception cref="ArgumentNullException"><paramref name="directoryInfo" /> or <paramref name="directorySecurity" /> is <see langword="null" />.</exception> 108ArgumentNullException.ThrowIfNull(directoryInfo); 109ArgumentNullException.ThrowIfNull(directorySecurity); 126/// <exception cref="ArgumentNullException"><paramref name="fileInfo" /> is <see langword="null" />.</exception> 136ArgumentNullException.ThrowIfNull(fileInfo); 198/// <exception cref="ArgumentNullException"><paramref name="directorySecurity" /> or <paramref name="path" /> is <see langword="null" />.</exception> 205ArgumentNullException.ThrowIfNull(directorySecurity);
System\Security\AccessControl\DirectoryObjectSecurity.cs (12)
23ArgumentNullException.ThrowIfNull(securityDescriptor); 523ArgumentNullException.ThrowIfNull(rule); 541ArgumentNullException.ThrowIfNull(rule); 557ArgumentNullException.ThrowIfNull(rule); 573ArgumentNullException.ThrowIfNull(rule); 594ArgumentNullException.ThrowIfNull(rule); 615ArgumentNullException.ThrowIfNull(rule); 636ArgumentNullException.ThrowIfNull(rule); 652ArgumentNullException.ThrowIfNull(rule); 668ArgumentNullException.ThrowIfNull(rule); 684ArgumentNullException.ThrowIfNull(rule); 700ArgumentNullException.ThrowIfNull(rule);
System\Security\AccessControl\FileSystemSecurity.cs (2)
167ArgumentNullException.ThrowIfNull(rule); 210ArgumentNullException.ThrowIfNull(rule);
System.IO.FileSystem.DriveInfo (1)
System\IO\DriveInfo.cs (1)
14ArgumentNullException.ThrowIfNull(driveName);
System.IO.FileSystem.Watcher (3)
System\IO\FileSystemEventArgs.cs (1)
20ArgumentNullException.ThrowIfNull(directory);
System\IO\FileSystemWatcher.cs (2)
98ArgumentNullException.ThrowIfNull(filter); 361ArgumentNullException.ThrowIfNull(path);
System.IO.Hashing (52)
System\IO\Hashing\Adler32.cs (2)
109/// <exception cref="ArgumentNullException"> 114ArgumentNullException.ThrowIfNull(source);
System\IO\Hashing\Crc32.cs (15)
50/// <exception cref="ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(parameterSet); 121/// <exception cref="ArgumentNullException"> 126ArgumentNullException.ThrowIfNull(source); 137/// <exception cref="ArgumentNullException"> 142ArgumentNullException.ThrowIfNull(parameterSet); 143ArgumentNullException.ThrowIfNull(source); 162/// <exception cref="ArgumentNullException"> 167ArgumentNullException.ThrowIfNull(parameterSet); 210/// <exception cref="ArgumentNullException"> 219ArgumentNullException.ThrowIfNull(parameterSet); 264/// <exception cref="ArgumentNullException"> 269ArgumentNullException.ThrowIfNull(parameterSet); 303/// <exception cref="ArgumentNullException"> 309ArgumentNullException.ThrowIfNull(parameterSet);
System\IO\Hashing\Crc64.cs (15)
59/// <exception cref="ArgumentNullException"> 65ArgumentNullException.ThrowIfNull(parameterSet); 130/// <exception cref="ArgumentNullException"> 135ArgumentNullException.ThrowIfNull(source); 154/// <exception cref="ArgumentNullException"> 159ArgumentNullException.ThrowIfNull(parameterSet); 160ArgumentNullException.ThrowIfNull(source); 171/// <exception cref="ArgumentNullException"> 176ArgumentNullException.ThrowIfNull(parameterSet); 219/// <exception cref="ArgumentNullException"> 228ArgumentNullException.ThrowIfNull(parameterSet); 273/// <exception cref="ArgumentNullException"> 278ArgumentNullException.ThrowIfNull(parameterSet); 312/// <exception cref="ArgumentNullException"> 318ArgumentNullException.ThrowIfNull(parameterSet);
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (6)
82/// <exception cref="ArgumentNullException"> 87ArgumentNullException.ThrowIfNull(source); 97/// <exception cref="ArgumentNullException"> 103ArgumentNullException.ThrowIfNull(stream); 121/// <exception cref="ArgumentNullException"> 126ArgumentNullException.ThrowIfNull(stream);
System\IO\Hashing\XxHash128.cs (3)
54/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 61/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 64ArgumentNullException.ThrowIfNull(source);
System\IO\Hashing\XxHash3.cs (3)
53/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 60/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 63ArgumentNullException.ThrowIfNull(source);
System\IO\Hashing\XxHash32.cs (4)
159/// <exception cref="ArgumentNullException"> 164ArgumentNullException.ThrowIfNull(source); 175/// <exception cref="ArgumentNullException"> 180ArgumentNullException.ThrowIfNull(source);
System\IO\Hashing\XxHash64.cs (4)
159/// <exception cref="ArgumentNullException"> 164ArgumentNullException.ThrowIfNull(source); 175/// <exception cref="ArgumentNullException"> 180ArgumentNullException.ThrowIfNull(source);
System.IO.IsolatedStorage (8)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (7)
76ArgumentNullException.ThrowIfNull(file); 93ArgumentNullException.ThrowIfNull(path); 102ArgumentNullException.ThrowIfNull(path); 111ArgumentNullException.ThrowIfNull(dir); 146ArgumentNullException.ThrowIfNull(dir); 169ArgumentNullException.ThrowIfNull(searchPattern); 193ArgumentNullException.ThrowIfNull(searchPattern);
System\IO\IsolatedStorage\IsolatedStorageFileStream.cs (1)
86ArgumentNullException.ThrowIfNull(path);
System.IO.MemoryMappedFiles (4)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (4)
109ArgumentNullException.ThrowIfNull(path); 198/// <exception cref="ArgumentNullException"><paramref name="fileHandle"/> is <see langword="null" />.</exception> 212ArgumentNullException.ThrowIfNull(fileHandle); 241ArgumentNullException.ThrowIfNull(fileStream);
System.IO.Packaging (84)
System\IO\Packaging\ContentType.cs (2)
69/// <exception cref="ArgumentNullException">If the contentType parameter is null</exception> 75ArgumentNullException.ThrowIfNull(contentType);
System\IO\Packaging\InternalRelationshipCollection.cs (3)
325catch (ArgumentNullException argNullEx) 388ArgumentNullException.ThrowIfNull(targetUri); 389ArgumentNullException.ThrowIfNull(relationshipType);
System\IO\Packaging\Package.cs (24)
91/// <exception cref="ArgumentNullException">If path parameter is null</exception> 106/// <exception cref="ArgumentNullException">If path parameter is null</exception> 122/// <exception cref="ArgumentNullException">If path parameter is null</exception> 142/// <exception cref="ArgumentNullException">If stream parameter is null</exception> 158/// <exception cref="ArgumentNullException">If stream parameter is null</exception> 183/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 184/// <exception cref="ArgumentNullException">If contentType parameter is null</exception> 205/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 206/// <exception cref="ArgumentNullException">If contentType parameter is null</exception> 256/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 280/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 305/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 573/// <exception cref="ArgumentNullException">If parameter "targetUri" is null</exception> 574/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 595/// <exception cref="ArgumentNullException">If parameter "targetUri" is null</exception> 596/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 619/// <exception cref="ArgumentNullException">If parameter "id" is null</exception> 658/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 682/// <exception cref="ArgumentNullException">If parameter "id" is null</exception> 704/// <exception cref="ArgumentNullException">If parameter "id" is null</exception> 848/// <exception cref="ArgumentNullException">If path parameter is null</exception> 857ArgumentNullException.ThrowIfNull(path); 911/// <exception cref="ArgumentNullException">If stream parameter is null</exception> 918ArgumentNullException.ThrowIfNull(stream);
System\IO\Packaging\PackagePart.cs (16)
37/// <exception cref="ArgumentNullException">If parameter "package" is null</exception> 38/// <exception cref="ArgumentNullException">If parameter "partUri" is null</exception> 64/// <exception cref="ArgumentNullException">If parameter "package" is null</exception> 65/// <exception cref="ArgumentNullException">If parameter "partUri" is null</exception> 92/// <exception cref="ArgumentNullException">If parameter "package" is null</exception> 93/// <exception cref="ArgumentNullException">If parameter "partUri" is null</exception> 101ArgumentNullException.ThrowIfNull(package); 102ArgumentNullException.ThrowIfNull(partUri); 371/// <exception cref="ArgumentNullException">If parameter "targetUri" is null</exception> 372/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 395/// <exception cref="ArgumentNullException">If parameter "targetUri" is null</exception> 396/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 420/// <exception cref="ArgumentNullException">If parameter "id" is null</exception> 462/// <exception cref="ArgumentNullException">If parameter "relationshipType" is null</exception> 487/// <exception cref="ArgumentNullException">If parameter "id" is null</exception> 510/// <exception cref="ArgumentNullException">If parameter "id" is null</exception>
System\IO\Packaging\PackageRelationship.cs (4)
115ArgumentNullException.ThrowIfNull(package); 116ArgumentNullException.ThrowIfNull(targetUri); 117ArgumentNullException.ThrowIfNull(relationshipType); 118ArgumentNullException.ThrowIfNull(id);
System\IO\Packaging\PackageRelationshipSelector.cs (6)
24/// <exception cref="ArgumentNullException">If sourceUri is null</exception> 25/// <exception cref="ArgumentNullException">If selectionCriteria is null</exception> 33ArgumentNullException.ThrowIfNull(sourceUri); 34ArgumentNullException.ThrowIfNull(selectionCriteria); 108/// <exception cref="ArgumentNullException">If package parameter is null</exception> 111ArgumentNullException.ThrowIfNull(package);
System\IO\Packaging\PackUriHelper.cs (18)
31/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 39ArgumentNullException.ThrowIfNull(partUri); 74/// <exception cref="ArgumentNullException">If either sourcePartUri or targetUri parameter is null</exception> 79ArgumentNullException.ThrowIfNull(sourcePartUri); 80ArgumentNullException.ThrowIfNull(targetUri); 101/// <exception cref="ArgumentNullException">If either the sourcePartUri or targetPartUri parameter is null</exception> 105ArgumentNullException.ThrowIfNull(sourcePartUri); 106ArgumentNullException.ThrowIfNull(targetPartUri); 119/// <exception cref="ArgumentNullException">If partUri is null</exception> 123ArgumentNullException.ThrowIfNull(partUri); 163/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 168ArgumentNullException.ThrowIfNull(partUri); 185/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 190ArgumentNullException.ThrowIfNull(partUri); 236/// <exception cref="ArgumentNullException">If relationshipPartUri parameter is null</exception> 243ArgumentNullException.ThrowIfNull(relationshipPartUri); 329/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 373ArgumentNullException.ThrowIfNull(partUri);
System\IO\Packaging\PackUriHelper.PackUriScheme.cs (5)
29/// <exception cref="ArgumentNullException">If packageUri parameter is null</exception> 46/// <exception cref="ArgumentNullException">If packageUri parameter is null</exception> 66/// <exception cref="ArgumentNullException">If packageUri parameter is null</exception> 127/// <exception cref="ArgumentNullException">If packUri parameter is null</exception> 150/// <exception cref="ArgumentNullException">If packUri parameter is null</exception>
System\IO\Packaging\ZipPackage.cs (3)
32/// <exception cref="ArgumentNullException">If partUri parameter is null</exception> 33/// <exception cref="ArgumentNullException">If contentType parameter is null</exception> 106/// <exception cref="ArgumentNullException">If partUri parameter is null</exception>
System\IO\Packaging\ZipPackagePartPiece.cs (3)
27ArgumentNullException.ThrowIfNull(zipArchiveEntry); 153ArgumentNullException.ThrowIfNull(zipArchiveEntry); 154ArgumentNullException.ThrowIfNull(prefixName);
System.IO.Pipelines (2)
src\runtime\src\libraries\Common\src\System\IO\StreamHelpers.CopyValidation.cs (1)
12ArgumentNullException.ThrowIfNull(destination);
System\IO\Pipelines\ThrowHelper.cs (1)
19private static ArgumentNullException CreateArgumentNullException(ExceptionArgument argument) => new ArgumentNullException(argument.ToString());
System.IO.Pipes (7)
System\IO\Pipes\AnonymousPipeClientStream.cs (2)
27ArgumentNullException.ThrowIfNull(pipeHandleAsString); 54ArgumentNullException.ThrowIfNull(safePipeHandle);
System\IO\Pipes\AnonymousPipeServerStream.cs (2)
40ArgumentNullException.ThrowIfNull(serverSafePipeHandle); 41ArgumentNullException.ThrowIfNull(clientSafePipeHandle);
System\IO\Pipes\NamedPipeClientStream.cs (2)
62ArgumentNullException.ThrowIfNull(serverName); 102ArgumentNullException.ThrowIfNull(safePipeHandle);
System\IO\Pipes\NamedPipeServerStream.cs (1)
136ArgumentNullException.ThrowIfNull(safePipeHandle);
System.IO.Ports (2)
System\IO\Ports\SerialStream.cs (1)
93ArgumentNullException.ThrowIfNull(array);
System\IO\Ports\SerialStream.Unix.cs (1)
600ArgumentNullException.ThrowIfNull(portName);
System.Linq (52)
System\Linq\Chunk.cs (1)
30/// <exception cref="ArgumentNullException">
System\Linq\Distinct.cs (2)
34/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 48/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\ElementAt.cs (2)
41/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\First.cs (2)
41/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception>
System\Linq\FullJoin.cs (2)
26/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 164/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\GroupJoin.cs (4)
24/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\Index.cs (1)
14/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\Intersect.cs (2)
34/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception>
System\Linq\Join.cs (3)
23/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 127/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 288/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\Last.cs (2)
41/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception>
System\Linq\LeftJoin.cs (3)
23/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 126/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 288/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\Lookup.cs (3)
286ArgumentNullException.ThrowIfNull(array); 308ArgumentNullException.ThrowIfNull(item); 334ArgumentNullException.ThrowIfNull(array);
System\Linq\Max.cs (3)
318/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 423/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 437/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\Min.cs (3)
297/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 402/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 416/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\OrderBy.cs (4)
17/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 36/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 62/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 81/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
System\Linq\RightJoin.cs (3)
23/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 125/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 286/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\Sequence.cs (3)
20/// <exception cref="ArgumentNullException"><paramref name="start"/> is <see langword="null"/>.</exception> 21/// <exception cref="ArgumentNullException"><paramref name="endInclusive"/> is <see langword="null"/>.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="step"/> is <see langword="null"/>.</exception>
System\Linq\Single.cs (2)
40/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception>
System\Linq\Take.cs (1)
30/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
System\Linq\ToCollection.cs (4)
80/// <exception cref="ArgumentNullException"><paramref name="source"/> is a null reference.</exception> 93/// <exception cref="ArgumentNullException"><paramref name="source"/> is a null reference.</exception> 115/// <exception cref="ArgumentNullException"><paramref name="source"/> is a null reference.</exception> 128/// <exception cref="ArgumentNullException"><paramref name="source"/> is a null reference.</exception>
System\Linq\Union.cs (2)
36/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception> 52/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception>
System.Linq.AsyncEnumerable (789)
System\Linq\AggregateAsync.cs (28)
19/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 20/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 27ArgumentNullException.ThrowIfNull(source); 28ArgumentNullException.ThrowIfNull(func); 60/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 61/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 68ArgumentNullException.ThrowIfNull(source); 69ArgumentNullException.ThrowIfNull(func); 103/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 104/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 111ArgumentNullException.ThrowIfNull(source); 112ArgumentNullException.ThrowIfNull(func); 140/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 141/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 147ArgumentNullException.ThrowIfNull(source); 148ArgumentNullException.ThrowIfNull(func); 182/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 183/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 184/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 192ArgumentNullException.ThrowIfNull(source); 193ArgumentNullException.ThrowIfNull(func); 194ArgumentNullException.ThrowIfNull(resultSelector); 229/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 230/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 231/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 239ArgumentNullException.ThrowIfNull(source); 240ArgumentNullException.ThrowIfNull(func); 241ArgumentNullException.ThrowIfNull(resultSelector);
System\Linq\AggregateBy.cs (28)
30/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="keyComparer"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 41ArgumentNullException.ThrowIfNull(source); 42ArgumentNullException.ThrowIfNull(keySelector); 43ArgumentNullException.ThrowIfNull(func); 101/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 102/// <exception cref="ArgumentNullException"><paramref name="keyComparer"/> is <see langword="null"/>.</exception> 103/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 112ArgumentNullException.ThrowIfNull(source); 113ArgumentNullException.ThrowIfNull(keySelector); 114ArgumentNullException.ThrowIfNull(func); 167/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 168/// <exception cref="ArgumentNullException"><paramref name="keyComparer"/> is <see langword="null"/>.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="seedSelector"/> is <see langword="null"/>.</exception> 170/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 178ArgumentNullException.ThrowIfNull(source); 179ArgumentNullException.ThrowIfNull(keySelector); 180ArgumentNullException.ThrowIfNull(seedSelector); 181ArgumentNullException.ThrowIfNull(func); 239/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 240/// <exception cref="ArgumentNullException"><paramref name="keyComparer"/> is <see langword="null"/>.</exception> 241/// <exception cref="ArgumentNullException"><paramref name="seedSelector"/> is <see langword="null"/>.</exception> 242/// <exception cref="ArgumentNullException"><paramref name="func"/> is <see langword="null"/>.</exception> 250ArgumentNullException.ThrowIfNull(source); 251ArgumentNullException.ThrowIfNull(keySelector); 252ArgumentNullException.ThrowIfNull(seedSelector); 253ArgumentNullException.ThrowIfNull(func);
System\Linq\AllAsync.cs (8)
22/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 23/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 29ArgumentNullException.ThrowIfNull(source); 30ArgumentNullException.ThrowIfNull(predicate); 59/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 60/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 67ArgumentNullException.ThrowIfNull(source); 68ArgumentNullException.ThrowIfNull(predicate);
System\Linq\AnyAsync.cs (10)
18/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 23ArgumentNullException.ThrowIfNull(source); 46/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 47/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 53ArgumentNullException.ThrowIfNull(source); 54ArgumentNullException.ThrowIfNull(predicate); 83/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 84/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 90ArgumentNullException.ThrowIfNull(source); 91ArgumentNullException.ThrowIfNull(predicate);
System\Linq\Append.cs (2)
17/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 22ArgumentNullException.ThrowIfNull(source);
System\Linq\AverageAsync.cs (20)
17/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 24ArgumentNullException.ThrowIfNull(source); 52/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 59ArgumentNullException.ThrowIfNull(source); 87/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 92ArgumentNullException.ThrowIfNull(source); 120/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 125ArgumentNullException.ThrowIfNull(source); 153/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 158ArgumentNullException.ThrowIfNull(source); 186/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 192ArgumentNullException.ThrowIfNull(source); 218/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 224ArgumentNullException.ThrowIfNull(source); 250/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 255ArgumentNullException.ThrowIfNull(source); 281/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 286ArgumentNullException.ThrowIfNull(source); 312/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 317ArgumentNullException.ThrowIfNull(source);
System\Linq\Cast.cs (1)
22ArgumentNullException.ThrowIfNull(source);
System\Linq\Chunk.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 30ArgumentNullException.ThrowIfNull(source);
System\Linq\Concat.cs (4)
17/// <exception cref="ArgumentNullException"><paramref name="first"/> is <see langword="null"/>.</exception> 18/// <exception cref="ArgumentNullException"><paramref name="second"/> is <see langword="null"/>.</exception> 22ArgumentNullException.ThrowIfNull(first); 23ArgumentNullException.ThrowIfNull(second);
System\Linq\ContainsAsync.cs (2)
20/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 27ArgumentNullException.ThrowIfNull(source);
System\Linq\CountAsync.cs (16)
18/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 24ArgumentNullException.ThrowIfNull(source); 50/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 57ArgumentNullException.ThrowIfNull(source); 58ArgumentNullException.ThrowIfNull(predicate); 85/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 92ArgumentNullException.ThrowIfNull(source); 93ArgumentNullException.ThrowIfNull(predicate); 120/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 125ArgumentNullException.ThrowIfNull(source); 151/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 157ArgumentNullException.ThrowIfNull(source); 158ArgumentNullException.ThrowIfNull(predicate); 185/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 191ArgumentNullException.ThrowIfNull(source); 192ArgumentNullException.ThrowIfNull(predicate);
System\Linq\CountBy.cs (8)
21/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 28ArgumentNullException.ThrowIfNull(source); 29ArgumentNullException.ThrowIfNull(keySelector); 72/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 79ArgumentNullException.ThrowIfNull(source); 80ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\DefaultIfEmpty.cs (3)
19/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 36ArgumentNullException.ThrowIfNull(source);
System\Linq\Distinct.cs (2)
17/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 22ArgumentNullException.ThrowIfNull(source);
System\Linq\DistinctBy.cs (10)
20/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 32ArgumentNullException.ThrowIfNull(source); 33ArgumentNullException.ThrowIfNull(keySelector); 70/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 76/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 82ArgumentNullException.ThrowIfNull(source); 83ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\ElementAtAsync.cs (10)
18/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 25ArgumentNullException.ThrowIfNull(source); 39/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 45ArgumentNullException.ThrowIfNull(source); 55/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 62/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 74ArgumentNullException.ThrowIfNull(source); 84/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 90/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 101ArgumentNullException.ThrowIfNull(source);
System\Linq\Empty.cs (2)
38ArgumentNullException.ThrowIfNull(keySelector); 44ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\Except.cs (4)
19/// <exception cref="ArgumentNullException"><paramref name="first"/> is <see langword="null"/>.</exception> 20/// <exception cref="ArgumentNullException"><paramref name="second"/> is <see langword="null"/>.</exception> 26ArgumentNullException.ThrowIfNull(first); 27ArgumentNullException.ThrowIfNull(second);
System\Linq\ExceptBy.cs (12)
23/// <exception cref="ArgumentNullException"><paramref name="first"/> is <see langword="null"/>.</exception> 24/// <exception cref="ArgumentNullException"><paramref name="second"/> is <see langword="null"/>.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 32ArgumentNullException.ThrowIfNull(first); 33ArgumentNullException.ThrowIfNull(second); 34ArgumentNullException.ThrowIfNull(keySelector); 83/// <exception cref="ArgumentNullException"><paramref name="first"/> is <see langword="null"/>.</exception> 84/// <exception cref="ArgumentNullException"><paramref name="second"/> is <see langword="null"/>.</exception> 85/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 92ArgumentNullException.ThrowIfNull(first); 93ArgumentNullException.ThrowIfNull(second); 94ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\FirstAsync.cs (25)
18/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 24ArgumentNullException.ThrowIfNull(source); 49/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 50/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 60ArgumentNullException.ThrowIfNull(source); 61ArgumentNullException.ThrowIfNull(predicate); 88/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 89/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 99ArgumentNullException.ThrowIfNull(source); 100ArgumentNullException.ThrowIfNull(predicate); 127/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 139/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 145ArgumentNullException.ThrowIfNull(source); 169/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 170/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 186/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 187/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 201/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 202/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 209ArgumentNullException.ThrowIfNull(source); 210ArgumentNullException.ThrowIfNull(predicate); 238/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 239/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 246ArgumentNullException.ThrowIfNull(source); 247ArgumentNullException.ThrowIfNull(predicate);
System\Linq\FullJoin.cs (28)
25/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 38ArgumentNullException.ThrowIfNull(outer); 39ArgumentNullException.ThrowIfNull(inner); 40ArgumentNullException.ThrowIfNull(outerKeySelector); 41ArgumentNullException.ThrowIfNull(innerKeySelector); 42ArgumentNullException.ThrowIfNull(resultSelector); 144/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 145/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 146/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 147/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 148/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 157ArgumentNullException.ThrowIfNull(outer); 158ArgumentNullException.ThrowIfNull(inner); 159ArgumentNullException.ThrowIfNull(outerKeySelector); 160ArgumentNullException.ThrowIfNull(innerKeySelector); 161ArgumentNullException.ThrowIfNull(resultSelector); 262/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 263/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 264/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 265/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 286/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 287/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 288/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 289/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception>
System\Linq\GroupBy.cs (48)
25/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 32ArgumentNullException.ThrowIfNull(source); 33ArgumentNullException.ThrowIfNull(keySelector); 62/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 63/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 69ArgumentNullException.ThrowIfNull(source); 70ArgumentNullException.ThrowIfNull(keySelector); 105/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 106/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 107/// <exception cref="ArgumentNullException"><paramref name="elementSelector"/> is <see langword="null"/>.</exception> 114ArgumentNullException.ThrowIfNull(source); 115ArgumentNullException.ThrowIfNull(keySelector); 116ArgumentNullException.ThrowIfNull(elementSelector); 152/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 153/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 154/// <exception cref="ArgumentNullException"><paramref name="elementSelector"/> is <see langword="null"/>.</exception> 161ArgumentNullException.ThrowIfNull(source); 162ArgumentNullException.ThrowIfNull(keySelector); 163ArgumentNullException.ThrowIfNull(elementSelector); 198/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 199/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 200/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 207ArgumentNullException.ThrowIfNull(source); 208ArgumentNullException.ThrowIfNull(keySelector); 209ArgumentNullException.ThrowIfNull(resultSelector); 247/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 248/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 249/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 256ArgumentNullException.ThrowIfNull(source); 257ArgumentNullException.ThrowIfNull(keySelector); 258ArgumentNullException.ThrowIfNull(resultSelector); 297/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 298/// <exception cref="ArgumentNullException"><paramref name="keySelector" /> is <see langword="null" />.</exception> 299/// <exception cref="ArgumentNullException"><paramref name="elementSelector" /> is <see langword="null" />.</exception> 300/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 308ArgumentNullException.ThrowIfNull(source); 309ArgumentNullException.ThrowIfNull(keySelector); 310ArgumentNullException.ThrowIfNull(elementSelector); 311ArgumentNullException.ThrowIfNull(resultSelector); 351/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 352/// <exception cref="ArgumentNullException"><paramref name="keySelector" /> is <see langword="null" />.</exception> 353/// <exception cref="ArgumentNullException"><paramref name="elementSelector" /> is <see langword="null" />.</exception> 354/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 362ArgumentNullException.ThrowIfNull(source); 363ArgumentNullException.ThrowIfNull(keySelector); 364ArgumentNullException.ThrowIfNull(elementSelector); 365ArgumentNullException.ThrowIfNull(resultSelector);
System\Linq\GroupJoin.cs (36)
27/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 30/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 38ArgumentNullException.ThrowIfNull(outer); 39ArgumentNullException.ThrowIfNull(inner); 40ArgumentNullException.ThrowIfNull(outerKeySelector); 41ArgumentNullException.ThrowIfNull(innerKeySelector); 83/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 84/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 85/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 86/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 94ArgumentNullException.ThrowIfNull(outer); 95ArgumentNullException.ThrowIfNull(inner); 96ArgumentNullException.ThrowIfNull(outerKeySelector); 97ArgumentNullException.ThrowIfNull(innerKeySelector); 146/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 147/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 148/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 149/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 150/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 159ArgumentNullException.ThrowIfNull(outer); 160ArgumentNullException.ThrowIfNull(inner); 161ArgumentNullException.ThrowIfNull(outerKeySelector); 162ArgumentNullException.ThrowIfNull(innerKeySelector); 163ArgumentNullException.ThrowIfNull(resultSelector); 211/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 212/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 213/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 214/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 215/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 224ArgumentNullException.ThrowIfNull(outer); 225ArgumentNullException.ThrowIfNull(inner); 226ArgumentNullException.ThrowIfNull(outerKeySelector); 227ArgumentNullException.ThrowIfNull(innerKeySelector); 228ArgumentNullException.ThrowIfNull(resultSelector);
System\Linq\Index.cs (2)
17/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 21ArgumentNullException.ThrowIfNull(source);
System\Linq\Intersect.cs (4)
19/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 20/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 26ArgumentNullException.ThrowIfNull(first); 27ArgumentNullException.ThrowIfNull(second);
System\Linq\IntersectBy.cs (14)
21/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 30/// <exception cref="ArgumentNullException"><paramref name="keySelector" /> is <see langword="null" />.</exception> 37ArgumentNullException.ThrowIfNull(first); 38ArgumentNullException.ThrowIfNull(second); 39ArgumentNullException.ThrowIfNull(keySelector); 86/// <exception cref="ArgumentNullException"><paramref name="first" /> or <paramref name="second" /> is <see langword="null" />.</exception> 93/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 94/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 95/// <exception cref="ArgumentNullException"><paramref name="keySelector" /> is <see langword="null" />.</exception> 102ArgumentNullException.ThrowIfNull(first); 103ArgumentNullException.ThrowIfNull(second); 104ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\Join.cs (36)
28/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 30/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 41ArgumentNullException.ThrowIfNull(outer); 42ArgumentNullException.ThrowIfNull(inner); 43ArgumentNullException.ThrowIfNull(outerKeySelector); 44ArgumentNullException.ThrowIfNull(innerKeySelector); 45ArgumentNullException.ThrowIfNull(resultSelector); 101/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 102/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 103/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 104/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 105/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 114ArgumentNullException.ThrowIfNull(outer); 115ArgumentNullException.ThrowIfNull(inner); 116ArgumentNullException.ThrowIfNull(outerKeySelector); 117ArgumentNullException.ThrowIfNull(innerKeySelector); 118ArgumentNullException.ThrowIfNull(resultSelector); 173/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 174/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 175/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 176/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 184ArgumentNullException.ThrowIfNull(outer); 185ArgumentNullException.ThrowIfNull(inner); 186ArgumentNullException.ThrowIfNull(outerKeySelector); 187ArgumentNullException.ThrowIfNull(innerKeySelector); 240/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 241/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 242/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 243/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 251ArgumentNullException.ThrowIfNull(outer); 252ArgumentNullException.ThrowIfNull(inner); 253ArgumentNullException.ThrowIfNull(outerKeySelector); 254ArgumentNullException.ThrowIfNull(innerKeySelector);
System\Linq\LastAsync.cs (25)
17/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 23ArgumentNullException.ThrowIfNull(source); 55/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 66ArgumentNullException.ThrowIfNull(source); 67ArgumentNullException.ThrowIfNull(predicate); 109/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 110/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception> 120ArgumentNullException.ThrowIfNull(source); 121ArgumentNullException.ThrowIfNull(predicate); 165/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 177/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 183ArgumentNullException.ThrowIfNull(source); 212/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 213/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 226/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 227/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 241/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 242/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 249ArgumentNullException.ThrowIfNull(source); 250ArgumentNullException.ThrowIfNull(predicate); 294/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 295/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 302ArgumentNullException.ThrowIfNull(source); 303ArgumentNullException.ThrowIfNull(predicate);
System\Linq\LeftJoin.cs (36)
25/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 38ArgumentNullException.ThrowIfNull(outer); 39ArgumentNullException.ThrowIfNull(inner); 40ArgumentNullException.ThrowIfNull(outerKeySelector); 41ArgumentNullException.ThrowIfNull(innerKeySelector); 42ArgumentNullException.ThrowIfNull(resultSelector); 96/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 97/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 98/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 99/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 100/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 109ArgumentNullException.ThrowIfNull(outer); 110ArgumentNullException.ThrowIfNull(inner); 111ArgumentNullException.ThrowIfNull(outerKeySelector); 112ArgumentNullException.ThrowIfNull(innerKeySelector); 113ArgumentNullException.ThrowIfNull(resultSelector); 166/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 167/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 168/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 177ArgumentNullException.ThrowIfNull(outer); 178ArgumentNullException.ThrowIfNull(inner); 179ArgumentNullException.ThrowIfNull(outerKeySelector); 180ArgumentNullException.ThrowIfNull(innerKeySelector); 231/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 232/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 233/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 234/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 242ArgumentNullException.ThrowIfNull(outer); 243ArgumentNullException.ThrowIfNull(inner); 244ArgumentNullException.ThrowIfNull(outerKeySelector); 245ArgumentNullException.ThrowIfNull(innerKeySelector);
System\Linq\MaxAsync.cs (2)
18/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 29ArgumentNullException.ThrowIfNull(source);
System\Linq\MaxByAsync.cs (6)
20/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 31ArgumentNullException.ThrowIfNull(source); 32ArgumentNullException.ThrowIfNull(keySelector); 130/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 141ArgumentNullException.ThrowIfNull(source); 142ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\MinAsync.cs (2)
18/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 29ArgumentNullException.ThrowIfNull(source);
System\Linq\MinByAsync.cs (6)
20/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 31ArgumentNullException.ThrowIfNull(source); 32ArgumentNullException.ThrowIfNull(keySelector); 130/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 141ArgumentNullException.ThrowIfNull(source); 142ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\OfType.cs (1)
22ArgumentNullException.ThrowIfNull(source);
System\Linq\OrderBy.cs (30)
18/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 31/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 32/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 38ArgumentNullException.ThrowIfNull(source); 39ArgumentNullException.ThrowIfNull(keySelector); 53/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 54/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 60ArgumentNullException.ThrowIfNull(source); 61ArgumentNullException.ThrowIfNull(keySelector); 73/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 86/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 93ArgumentNullException.ThrowIfNull(source); 94ArgumentNullException.ThrowIfNull(keySelector); 108/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 109/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 115ArgumentNullException.ThrowIfNull(source); 116ArgumentNullException.ThrowIfNull(keySelector); 130/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 131/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 137ArgumentNullException.ThrowIfNull(source); 149/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 150/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 156ArgumentNullException.ThrowIfNull(source); 168/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 175ArgumentNullException.ThrowIfNull(source); 187/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 188/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 194ArgumentNullException.ThrowIfNull(source);
System\Linq\Prepend.cs (2)
15/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 20ArgumentNullException.ThrowIfNull(source);
System\Linq\Reverse.cs (2)
16/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 20ArgumentNullException.ThrowIfNull(source);
System\Linq\RightJoin.cs (36)
25/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 28/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 38ArgumentNullException.ThrowIfNull(outer); 39ArgumentNullException.ThrowIfNull(inner); 40ArgumentNullException.ThrowIfNull(outerKeySelector); 41ArgumentNullException.ThrowIfNull(innerKeySelector); 42ArgumentNullException.ThrowIfNull(resultSelector); 97/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 98/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 99/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 100/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 101/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 110ArgumentNullException.ThrowIfNull(outer); 111ArgumentNullException.ThrowIfNull(inner); 112ArgumentNullException.ThrowIfNull(outerKeySelector); 113ArgumentNullException.ThrowIfNull(innerKeySelector); 114ArgumentNullException.ThrowIfNull(resultSelector); 167/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 168/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 170/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 178ArgumentNullException.ThrowIfNull(outer); 179ArgumentNullException.ThrowIfNull(inner); 180ArgumentNullException.ThrowIfNull(outerKeySelector); 181ArgumentNullException.ThrowIfNull(innerKeySelector); 233/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 234/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 235/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 236/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 244ArgumentNullException.ThrowIfNull(outer); 245ArgumentNullException.ThrowIfNull(inner); 246ArgumentNullException.ThrowIfNull(outerKeySelector); 247ArgumentNullException.ThrowIfNull(innerKeySelector);
System\Linq\Select.cs (16)
22/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 23/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 28ArgumentNullException.ThrowIfNull(source); 29ArgumentNullException.ThrowIfNull(selector); 56/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 62ArgumentNullException.ThrowIfNull(source); 63ArgumentNullException.ThrowIfNull(selector); 93/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 94/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 99ArgumentNullException.ThrowIfNull(source); 100ArgumentNullException.ThrowIfNull(selector); 131/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 132/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 137ArgumentNullException.ThrowIfNull(source); 138ArgumentNullException.ThrowIfNull(selector);
System\Linq\SelectMany.cs (66)
25/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 31ArgumentNullException.ThrowIfNull(source); 32ArgumentNullException.ThrowIfNull(selector); 65/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 66/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 71ArgumentNullException.ThrowIfNull(source); 72ArgumentNullException.ThrowIfNull(selector); 105/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 106/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 111ArgumentNullException.ThrowIfNull(source); 112ArgumentNullException.ThrowIfNull(selector); 146/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 147/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 152ArgumentNullException.ThrowIfNull(source); 153ArgumentNullException.ThrowIfNull(selector); 188/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 189/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 194ArgumentNullException.ThrowIfNull(source); 195ArgumentNullException.ThrowIfNull(selector); 230/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 231/// <exception cref="ArgumentNullException"><paramref name="selector"/> is <see langword="null"/>.</exception> 236ArgumentNullException.ThrowIfNull(source); 237ArgumentNullException.ThrowIfNull(selector); 277/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 278/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 279/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 285ArgumentNullException.ThrowIfNull(source); 286ArgumentNullException.ThrowIfNull(collectionSelector); 287ArgumentNullException.ThrowIfNull(resultSelector); 327/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 328/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 329/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 335ArgumentNullException.ThrowIfNull(source); 336ArgumentNullException.ThrowIfNull(collectionSelector); 337ArgumentNullException.ThrowIfNull(resultSelector); 377/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 378/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 379/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 385ArgumentNullException.ThrowIfNull(source); 386ArgumentNullException.ThrowIfNull(collectionSelector); 387ArgumentNullException.ThrowIfNull(resultSelector); 427/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 428/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 429/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 435ArgumentNullException.ThrowIfNull(source); 436ArgumentNullException.ThrowIfNull(collectionSelector); 437ArgumentNullException.ThrowIfNull(resultSelector); 476/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 477/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 478/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 484ArgumentNullException.ThrowIfNull(source); 485ArgumentNullException.ThrowIfNull(collectionSelector); 486ArgumentNullException.ThrowIfNull(resultSelector); 526/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 527/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 528/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 534ArgumentNullException.ThrowIfNull(source); 535ArgumentNullException.ThrowIfNull(collectionSelector); 536ArgumentNullException.ThrowIfNull(resultSelector); 576/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 577/// <exception cref="ArgumentNullException"><paramref name="collectionSelector"/> is <see langword="null"/>.</exception> 578/// <exception cref="ArgumentNullException"><paramref name="resultSelector"/> is <see langword="null"/>.</exception> 584ArgumentNullException.ThrowIfNull(source); 585ArgumentNullException.ThrowIfNull(collectionSelector); 586ArgumentNullException.ThrowIfNull(resultSelector);
System\Linq\Sequence.cs (3)
20/// <exception cref="ArgumentNullException"><paramref name="start"/> is <see langword="null"/>.</exception> 21/// <exception cref="ArgumentNullException"><paramref name="endInclusive"/> is <see langword="null"/>.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="step"/> is <see langword="null"/>.</exception>
System\Linq\SequenceEqualAsync.cs (2)
28ArgumentNullException.ThrowIfNull(first); 29ArgumentNullException.ThrowIfNull(second);
System\Linq\Shuffle.cs (1)
25ArgumentNullException.ThrowIfNull(source);
System\Linq\SingleAsync.cs (25)
20/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 27ArgumentNullException.ThrowIfNull(source); 60/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 61/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 70ArgumentNullException.ThrowIfNull(source); 71ArgumentNullException.ThrowIfNull(predicate); 113/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 114/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 123ArgumentNullException.ThrowIfNull(source); 124ArgumentNullException.ThrowIfNull(predicate); 168/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 181/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 188ArgumentNullException.ThrowIfNull(source); 227/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 228/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 249/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 250/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 265/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 266/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 274ArgumentNullException.ThrowIfNull(source); 275ArgumentNullException.ThrowIfNull(predicate); 315/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 316/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 324ArgumentNullException.ThrowIfNull(source); 325ArgumentNullException.ThrowIfNull(predicate);
System\Linq\Skip.cs (2)
17/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 22ArgumentNullException.ThrowIfNull(source);
System\Linq\SkipLast.cs (2)
21/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 26ArgumentNullException.ThrowIfNull(source);
System\Linq\SkipWhile.cs (16)
25/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 31ArgumentNullException.ThrowIfNull(source); 32ArgumentNullException.ThrowIfNull(predicate); 74/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 80ArgumentNullException.ThrowIfNull(source); 81ArgumentNullException.ThrowIfNull(predicate); 127/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 128/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 133ArgumentNullException.ThrowIfNull(source); 134ArgumentNullException.ThrowIfNull(predicate); 181/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 182/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 187ArgumentNullException.ThrowIfNull(source); 188ArgumentNullException.ThrowIfNull(predicate);
System\Linq\SumAsync.cs (20)
17/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 23ArgumentNullException.ThrowIfNull(source); 43/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 49ArgumentNullException.ThrowIfNull(source); 69/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 74ArgumentNullException.ThrowIfNull(source); 94/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 99ArgumentNullException.ThrowIfNull(source); 119/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 124ArgumentNullException.ThrowIfNull(source); 144/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 150ArgumentNullException.ThrowIfNull(source); 173/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 179ArgumentNullException.ThrowIfNull(source); 202/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 207ArgumentNullException.ThrowIfNull(source); 230/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 235ArgumentNullException.ThrowIfNull(source); 258/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 263ArgumentNullException.ThrowIfNull(source);
System\Linq\Take.cs (4)
22/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 27ArgumentNullException.ThrowIfNull(source); 59/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 64ArgumentNullException.ThrowIfNull(source);
System\Linq\TakeLast.cs (1)
19ArgumentNullException.ThrowIfNull(source);
System\Linq\TakeWhile.cs (16)
21/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 27ArgumentNullException.ThrowIfNull(source); 28ArgumentNullException.ThrowIfNull(predicate); 58/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 59/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 64ArgumentNullException.ThrowIfNull(source); 65ArgumentNullException.ThrowIfNull(predicate); 99/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 100/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 105ArgumentNullException.ThrowIfNull(source); 106ArgumentNullException.ThrowIfNull(predicate); 141/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 142/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 147ArgumentNullException.ThrowIfNull(source); 148ArgumentNullException.ThrowIfNull(predicate);
System\Linq\ToArrayAsync.cs (2)
18/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 23ArgumentNullException.ThrowIfNull(source);
System\Linq\ToAsyncEnumerable.cs (2)
14/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 22ArgumentNullException.ThrowIfNull(source);
System\Linq\ToDictionaryAsync.cs (23)
22/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 29ArgumentNullException.ThrowIfNull(source); 56/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 74/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 82ArgumentNullException.ThrowIfNull(source); 83ArgumentNullException.ThrowIfNull(keySelector); 112/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 113/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 121ArgumentNullException.ThrowIfNull(source); 122ArgumentNullException.ThrowIfNull(keySelector); 154/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 155/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 156/// <exception cref="ArgumentNullException"><paramref name="elementSelector"/> is <see langword="null"/>.</exception> 165ArgumentNullException.ThrowIfNull(source); 166ArgumentNullException.ThrowIfNull(keySelector); 167ArgumentNullException.ThrowIfNull(elementSelector); 200/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 201/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 202/// <exception cref="ArgumentNullException"><paramref name="elementSelector"/> is <see langword="null"/>.</exception> 211ArgumentNullException.ThrowIfNull(source); 212ArgumentNullException.ThrowIfNull(keySelector); 213ArgumentNullException.ThrowIfNull(elementSelector);
System\Linq\ToHashSetAsync.cs (2)
19/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 25ArgumentNullException.ThrowIfNull(source);
System\Linq\ToListAsync.cs (2)
18/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 23ArgumentNullException.ThrowIfNull(source);
System\Linq\ToLookupAsync.cs (19)
26/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 27/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 34ArgumentNullException.ThrowIfNull(source); 35ArgumentNullException.ThrowIfNull(keySelector); 74/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 82ArgumentNullException.ThrowIfNull(source); 83ArgumentNullException.ThrowIfNull(keySelector); 125/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 126/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 134ArgumentNullException.ThrowIfNull(source); 135ArgumentNullException.ThrowIfNull(keySelector); 136ArgumentNullException.ThrowIfNull(elementSelector); 178/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 179/// <exception cref="ArgumentNullException"><paramref name="keySelector"/> is <see langword="null"/>.</exception> 187ArgumentNullException.ThrowIfNull(source); 188ArgumentNullException.ThrowIfNull(keySelector); 189ArgumentNullException.ThrowIfNull(elementSelector); 240ArgumentNullException.ThrowIfNull(array);
System\Linq\Union.cs (4)
19/// <exception cref="ArgumentNullException"><paramref name="first"/> is <see langword="null"/>.</exception> 20/// <exception cref="ArgumentNullException"><paramref name="second"/> is <see langword="null"/>.</exception> 26ArgumentNullException.ThrowIfNull(first); 27ArgumentNullException.ThrowIfNull(second);
System\Linq\UnionBy.cs (10)
21/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 22/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 29ArgumentNullException.ThrowIfNull(first); 30ArgumentNullException.ThrowIfNull(second); 31ArgumentNullException.ThrowIfNull(keySelector); 72/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 80ArgumentNullException.ThrowIfNull(first); 81ArgumentNullException.ThrowIfNull(second); 82ArgumentNullException.ThrowIfNull(keySelector);
System\Linq\Where.cs (16)
18/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 19/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 24ArgumentNullException.ThrowIfNull(source); 25ArgumentNullException.ThrowIfNull(predicate); 51/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 52/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 57ArgumentNullException.ThrowIfNull(source); 58ArgumentNullException.ThrowIfNull(predicate); 90/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 91/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 96ArgumentNullException.ThrowIfNull(source); 97ArgumentNullException.ThrowIfNull(predicate); 130/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 131/// <exception cref="ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception> 136ArgumentNullException.ThrowIfNull(source); 137ArgumentNullException.ThrowIfNull(predicate);
System\Linq\Zip.cs (22)
24/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 25/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 26/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 32ArgumentNullException.ThrowIfNull(first); 33ArgumentNullException.ThrowIfNull(second); 34ArgumentNullException.ThrowIfNull(resultSelector); 68/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 69/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 70/// <exception cref="ArgumentNullException"><paramref name="resultSelector" /> is <see langword="null" />.</exception> 76ArgumentNullException.ThrowIfNull(first); 77ArgumentNullException.ThrowIfNull(second); 78ArgumentNullException.ThrowIfNull(resultSelector); 107/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 108/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 113ArgumentNullException.ThrowIfNull(first); 114ArgumentNullException.ThrowIfNull(second); 144/// <exception cref="ArgumentNullException"><paramref name="first" /> is <see langword="null" />.</exception> 145/// <exception cref="ArgumentNullException"><paramref name="second" /> is <see langword="null" />.</exception> 146/// <exception cref="ArgumentNullException"><paramref name="third" /> is <see langword="null" />.</exception> 152ArgumentNullException.ThrowIfNull(first); 153ArgumentNullException.ThrowIfNull(second); 154ArgumentNullException.ThrowIfNull(third);
System.Linq.Expressions (288)
System\Dynamic\BinaryOperationBinder.cs (3)
64ArgumentNullException.ThrowIfNull(target); 65ArgumentNullException.ThrowIfNull(args); 69ArgumentNullException.ThrowIfNull(arg0, nameof(args));
System\Dynamic\BindingRestrictions.cs (6)
43ArgumentNullException.ThrowIfNull(restrictions); 65ArgumentNullException.ThrowIfNull(expression); 66ArgumentNullException.ThrowIfNull(type); 96ArgumentNullException.ThrowIfNull(expression); 112ArgumentNullException.ThrowIfNull(expression); 347ArgumentNullException.ThrowIfNull(node);
System\Dynamic\CallInfo.cs (1)
51ArgumentNullException.ThrowIfNull(argNames);
System\Dynamic\ConvertBinder.cs (2)
23ArgumentNullException.ThrowIfNull(type); 65ArgumentNullException.ThrowIfNull(target);
System\Dynamic\CreateInstanceBinder.cs (2)
22ArgumentNullException.ThrowIfNull(callInfo); 64ArgumentNullException.ThrowIfNull(target);
System\Dynamic\DeleteIndexBinder.cs (2)
22ArgumentNullException.ThrowIfNull(callInfo); 44ArgumentNullException.ThrowIfNull(target);
System\Dynamic\DeleteMemberBinder.cs (2)
23ArgumentNullException.ThrowIfNull(name); 70ArgumentNullException.ThrowIfNull(target);
System\Dynamic\DynamicMetaObject.cs (17)
28ArgumentNullException.ThrowIfNull(expression); 29ArgumentNullException.ThrowIfNull(restrictions); 109ArgumentNullException.ThrowIfNull(binder); 120ArgumentNullException.ThrowIfNull(binder); 132ArgumentNullException.ThrowIfNull(binder); 143ArgumentNullException.ThrowIfNull(binder); 155ArgumentNullException.ThrowIfNull(binder); 168ArgumentNullException.ThrowIfNull(binder); 180ArgumentNullException.ThrowIfNull(binder); 192ArgumentNullException.ThrowIfNull(binder); 204ArgumentNullException.ThrowIfNull(binder); 216ArgumentNullException.ThrowIfNull(binder); 227ArgumentNullException.ThrowIfNull(binder); 239ArgumentNullException.ThrowIfNull(binder); 256ArgumentNullException.ThrowIfNull(objects); 262ArgumentNullException.ThrowIfNull(mo, nameof(objects)); 283ArgumentNullException.ThrowIfNull(expression);
System\Dynamic\DynamicMetaObjectBinder.cs (4)
52ArgumentNullException.ThrowIfNull(args); 53ArgumentNullException.ThrowIfNull(parameters); 54ArgumentNullException.ThrowIfNull(returnLabel); 184ArgumentNullException.ThrowIfNull(target);
System\Dynamic\ExpandoObject.cs (14)
303ArgumentNullException.ThrowIfNull(key); 331ArgumentNullException.ThrowIfNull(collection); 399ArgumentNullException.ThrowIfNull(array); 470ArgumentNullException.ThrowIfNull(collection); 549ArgumentNullException.ThrowIfNull(array); 633ArgumentNullException.ThrowIfNull(key); 646ArgumentNullException.ThrowIfNull(key); 655ArgumentNullException.ThrowIfNull(key); 715ArgumentNullException.ThrowIfNull(array); 828ArgumentNullException.ThrowIfNull(binder); 840ArgumentNullException.ThrowIfNull(binder); 852ArgumentNullException.ThrowIfNull(binder); 853ArgumentNullException.ThrowIfNull(value); 881ArgumentNullException.ThrowIfNull(binder);
System\Dynamic\GetIndexBinder.cs (2)
22ArgumentNullException.ThrowIfNull(callInfo); 44ArgumentNullException.ThrowIfNull(target);
System\Dynamic\GetMemberBinder.cs (2)
23ArgumentNullException.ThrowIfNull(name); 70ArgumentNullException.ThrowIfNull(target);
System\Dynamic\InvokeBinder.cs (2)
22ArgumentNullException.ThrowIfNull(callInfo); 64ArgumentNullException.ThrowIfNull(target);
System\Dynamic\InvokeMemberBinder.cs (3)
24ArgumentNullException.ThrowIfNull(name); 25ArgumentNullException.ThrowIfNull(callInfo); 60ArgumentNullException.ThrowIfNull(target);
System\Dynamic\SetIndexBinder.cs (4)
22ArgumentNullException.ThrowIfNull(callInfo); 44ArgumentNullException.ThrowIfNull(target); 45ArgumentNullException.ThrowIfNull(args); 51ArgumentNullException.ThrowIfNull(value, nameof(args));
System\Dynamic\SetMemberBinder.cs (4)
23ArgumentNullException.ThrowIfNull(name); 52ArgumentNullException.ThrowIfNull(target); 53ArgumentNullException.ThrowIfNull(args); 57ArgumentNullException.ThrowIfNull(arg0, nameof(args));
System\Dynamic\UnaryOperationBinder.cs (1)
75ArgumentNullException.ThrowIfNull(target);
System\Dynamic\Utils\ContractUtils.cs (5)
62/// <exception cref="ArgumentNullException"> 89ArgumentNullException.ThrowIfNull(collection, paramName); 105/// <exception cref="ArgumentNullException"> 111ArgumentNullException.ThrowIfNull(array, arrayName); 133/// <exception cref="ArgumentNullException">Array is <c>null</c>.</exception>
System\Dynamic\Utils\ListArgumentProvider.cs (1)
90ArgumentNullException.ThrowIfNull(array);
System\Linq\Expressions\BlockExpression.cs (6)
763ArgumentNullException.ThrowIfNull(array); 903ArgumentNullException.ThrowIfNull(expressions); 927ArgumentNullException.ThrowIfNull(expressions); 973ArgumentNullException.ThrowIfNull(expressions); 1001ArgumentNullException.ThrowIfNull(type); 1002ArgumentNullException.ThrowIfNull(expressions);
System\Linq\Expressions\CatchBlock.cs (3)
95ArgumentNullException.ThrowIfNull(variable); 122ArgumentNullException.ThrowIfNull(variable); 137ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\Compiler\AssemblyGen.cs (2)
44ArgumentNullException.ThrowIfNull(name); 45ArgumentNullException.ThrowIfNull(parent);
System\Linq\Expressions\ConditionalExpression.cs (1)
170ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\ConstantExpression.cs (1)
97ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\DebugInfoExpression.cs (2)
158ArgumentNullException.ThrowIfNull(document); 175ArgumentNullException.ThrowIfNull(document);
System\Linq\Expressions\DefaultExpression.cs (1)
66ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\DynamicExpression.cs (18)
866ArgumentNullException.ThrowIfNull(delegateType); 867ArgumentNullException.ThrowIfNull(binder); 893ArgumentNullException.ThrowIfNull(delegateType); 894ArgumentNullException.ThrowIfNull(binder); 923ArgumentNullException.ThrowIfNull(delegateType); 924ArgumentNullException.ThrowIfNull(binder); 956ArgumentNullException.ThrowIfNull(delegateType); 957ArgumentNullException.ThrowIfNull(binder); 992ArgumentNullException.ThrowIfNull(delegateType); 993ArgumentNullException.ThrowIfNull(binder); 1061ArgumentNullException.ThrowIfNull(binder); 1097ArgumentNullException.ThrowIfNull(binder); 1138ArgumentNullException.ThrowIfNull(binder); 1184ArgumentNullException.ThrowIfNull(binder); 1231ArgumentNullException.ThrowIfNull(arguments); 1232ArgumentNullException.ThrowIfNull(returnType); 1242ArgumentNullException.ThrowIfNull(binder); 1277ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\ElementInit.cs (2)
91ArgumentNullException.ThrowIfNull(addMethod); 92ArgumentNullException.ThrowIfNull(arguments);
System\Linq\Expressions\Expression.cs (1)
250ArgumentNullException.ThrowIfNull(expression, paramName);
System\Linq\Expressions\Expression.DebuggerProxy.cs (26)
18ArgumentNullException.ThrowIfNull(node); 40ArgumentNullException.ThrowIfNull(node); 59ArgumentNullException.ThrowIfNull(node); 75ArgumentNullException.ThrowIfNull(node); 94ArgumentNullException.ThrowIfNull(node); 111ArgumentNullException.ThrowIfNull(node); 133ArgumentNullException.ThrowIfNull(node); 149ArgumentNullException.ThrowIfNull(node); 168ArgumentNullException.ThrowIfNull(node); 187ArgumentNullException.ThrowIfNull(node); 205ArgumentNullException.ThrowIfNull(node); 223ArgumentNullException.ThrowIfNull(node); 244ArgumentNullException.ThrowIfNull(node); 262ArgumentNullException.ThrowIfNull(node); 281ArgumentNullException.ThrowIfNull(node); 299ArgumentNullException.ThrowIfNull(node); 317ArgumentNullException.ThrowIfNull(node); 336ArgumentNullException.ThrowIfNull(node); 353ArgumentNullException.ThrowIfNull(node); 372ArgumentNullException.ThrowIfNull(node); 390ArgumentNullException.ThrowIfNull(node); 407ArgumentNullException.ThrowIfNull(node); 421ArgumentNullException.ThrowIfNull(node); 441ArgumentNullException.ThrowIfNull(node); 461ArgumentNullException.ThrowIfNull(node); 479ArgumentNullException.ThrowIfNull(node);
System\Linq\Expressions\ExpressionVisitor.cs (4)
45ArgumentNullException.ThrowIfNull(nodes); 93ArgumentNullException.ThrowIfNull(nodes); 94ArgumentNullException.ThrowIfNull(elementVisitor); 155ArgumentNullException.ThrowIfNull(nodes);
System\Linq\Expressions\GotoExpression.cs (1)
341ArgumentNullException.ThrowIfNull(target, targetParameter);
System\Linq\Expressions\IndexExpression.cs (3)
216ArgumentNullException.ThrowIfNull(propertyName); 381ArgumentNullException.ThrowIfNull(indexer, paramName); 460ArgumentNullException.ThrowIfNull(arguments);
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
91ArgumentNullException.ThrowIfNull(list);
System\Linq\Expressions\InvocationExpression.cs (8)
412/// <exception cref="ArgumentNullException"> 448/// <exception cref="ArgumentNullException"> 489/// <exception cref="ArgumentNullException"> 533/// <exception cref="ArgumentNullException"> 582/// <exception cref="ArgumentNullException"> 635/// <exception cref="ArgumentNullException"> 678/// <exception cref="ArgumentNullException"> 705/// <exception cref="ArgumentNullException">
System\Linq\Expressions\LabelTarget.cs (1)
80ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\LambdaExpression.cs (3)
854ArgumentNullException.ThrowIfNull(body); 866ArgumentNullException.ThrowIfNull(param, "parameter"); 916ArgumentNullException.ThrowIfNull(delegateType);
System\Linq\Expressions\ListInitExpression.cs (6)
124ArgumentNullException.ThrowIfNull(newExpression); 125ArgumentNullException.ThrowIfNull(initializers); 166ArgumentNullException.ThrowIfNull(newExpression); 167ArgumentNullException.ThrowIfNull(initializers); 208ArgumentNullException.ThrowIfNull(newExpression); 209ArgumentNullException.ThrowIfNull(initializers);
System\Linq\Expressions\MemberAssignment.cs (3)
61ArgumentNullException.ThrowIfNull(member); 81ArgumentNullException.ThrowIfNull(propertyAccessor); 82ArgumentNullException.ThrowIfNull(expression);
System\Linq\Expressions\MemberExpression.cs (10)
129ArgumentNullException.ThrowIfNull(field); 157ArgumentNullException.ThrowIfNull(fieldName); 181ArgumentNullException.ThrowIfNull(type); 182ArgumentNullException.ThrowIfNull(fieldName); 209ArgumentNullException.ThrowIfNull(propertyName); 232ArgumentNullException.ThrowIfNull(type); 233ArgumentNullException.ThrowIfNull(propertyName); 252ArgumentNullException.ThrowIfNull(property); 302ArgumentNullException.ThrowIfNull(propertyAccessor); 388ArgumentNullException.ThrowIfNull(member);
System\Linq\Expressions\MemberInitExpression.cs (4)
142/// <exception cref="ArgumentNullException"> 154/// <exception cref="ArgumentNullException"> 159ArgumentNullException.ThrowIfNull(newExpression); 160ArgumentNullException.ThrowIfNull(bindings);
System\Linq\Expressions\MemberListBinding.cs (8)
63/// <exception cref="ArgumentNullException"> 76/// <exception cref="ArgumentNullException"> 82ArgumentNullException.ThrowIfNull(member); 83ArgumentNullException.ThrowIfNull(initializers); 95/// <exception cref="ArgumentNullException"> 109/// <exception cref="ArgumentNullException"> 116ArgumentNullException.ThrowIfNull(propertyAccessor); 117ArgumentNullException.ThrowIfNull(initializers);
System\Linq\Expressions\MemberMemberBinding.cs (4)
81ArgumentNullException.ThrowIfNull(member); 82ArgumentNullException.ThrowIfNull(bindings); 119ArgumentNullException.ThrowIfNull(propertyAccessor); 158ArgumentNullException.ThrowIfNull(b, nameof(bindings));
System\Linq\Expressions\MethodCallExpression.cs (48)
838/// <exception cref="ArgumentNullException"> 844ArgumentNullException.ThrowIfNull(method); 857/// <exception cref="ArgumentNullException"> 861ArgumentNullException.ThrowIfNull(method); 862ArgumentNullException.ThrowIfNull(arg0); 878/// <exception cref="ArgumentNullException"> 882ArgumentNullException.ThrowIfNull(method); 883ArgumentNullException.ThrowIfNull(arg0); 884ArgumentNullException.ThrowIfNull(arg1); 902/// <exception cref="ArgumentNullException"> 906ArgumentNullException.ThrowIfNull(method); 907ArgumentNullException.ThrowIfNull(arg0); 908ArgumentNullException.ThrowIfNull(arg1); 909ArgumentNullException.ThrowIfNull(arg2); 929/// <exception cref="ArgumentNullException"> 933ArgumentNullException.ThrowIfNull(method); 934ArgumentNullException.ThrowIfNull(arg0); 935ArgumentNullException.ThrowIfNull(arg1); 936ArgumentNullException.ThrowIfNull(arg2); 937ArgumentNullException.ThrowIfNull(arg3); 959/// <exception cref="ArgumentNullException"> 964ArgumentNullException.ThrowIfNull(method); 965ArgumentNullException.ThrowIfNull(arg0); 966ArgumentNullException.ThrowIfNull(arg1); 967ArgumentNullException.ThrowIfNull(arg2); 968ArgumentNullException.ThrowIfNull(arg3); 969ArgumentNullException.ThrowIfNull(arg4); 1014ArgumentNullException.ThrowIfNull(method); 1051ArgumentNullException.ThrowIfNull(method); 1052ArgumentNullException.ThrowIfNull(arg0); 1078ArgumentNullException.ThrowIfNull(method); 1079ArgumentNullException.ThrowIfNull(arg0); 1080ArgumentNullException.ThrowIfNull(arg1); 1108ArgumentNullException.ThrowIfNull(method); 1109ArgumentNullException.ThrowIfNull(arg0); 1110ArgumentNullException.ThrowIfNull(arg1); 1111ArgumentNullException.ThrowIfNull(arg2); 1137/// <exception cref="ArgumentNullException"> 1144ArgumentNullException.ThrowIfNull(instance); 1145ArgumentNullException.ThrowIfNull(methodName); 1161/// <exception cref="ArgumentNullException"> 1172ArgumentNullException.ThrowIfNull(type); 1173ArgumentNullException.ThrowIfNull(methodName); 1185/// <exception cref="ArgumentNullException"> 1218ArgumentNullException.ThrowIfNull(method); 1355ArgumentNullException.ThrowIfNull(arg, nameof(arguments)); 1405/// <exception cref="ArgumentNullException"> 1412ArgumentNullException.ThrowIfNull(indexes);
System\Linq\Expressions\NewArrayExpression.cs (5)
68ArgumentNullException.ThrowIfNull(expressions); 137ArgumentNullException.ThrowIfNull(type); 138ArgumentNullException.ThrowIfNull(initializers); 210ArgumentNullException.ThrowIfNull(type); 211ArgumentNullException.ThrowIfNull(bounds);
System\Linq\Expressions\NewExpression.cs (4)
138ArgumentNullException.ThrowIfNull(constructor); 139ArgumentNullException.ThrowIfNull(constructor.DeclaringType, nameof(constructor)); 164ArgumentNullException.ThrowIfNull(constructor); 200ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\ParameterExpression.cs (1)
202ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\RuntimeVariablesExpression.cs (1)
91ArgumentNullException.ThrowIfNull(variables);
System\Linq\Expressions\SwitchExpression.cs (2)
221ArgumentNullException.ThrowIfNull(c, nameof(cases)); 256ArgumentNullException.ThrowIfNull(c, nameof(cases));
System\Linq\Expressions\SymbolDocumentInfo.cs (1)
16ArgumentNullException.ThrowIfNull(fileName);
System\Linq\Expressions\TypeBinaryExpression.cs (2)
194ArgumentNullException.ThrowIfNull(type); 209ArgumentNullException.ThrowIfNull(type);
System\Linq\Expressions\UnaryExpression.cs (22)
302/// <exception cref="ArgumentNullException">Thrown when <paramref name="operand"/> is null.</exception> 317/// <exception cref="ArgumentNullException">Thrown when <paramref name="operand"/> is null.</exception> 455/// <exception cref="ArgumentNullException">Thrown when <paramref name="expression"/> is null.</exception> 468/// <exception cref="ArgumentNullException">Thrown when <paramref name="expression"/> is null.</exception> 490/// <exception cref="ArgumentNullException">Thrown when <paramref name="expression"/> is null.</exception> 503/// <exception cref="ArgumentNullException">Thrown when <paramref name="expression"/> is null.</exception> 523/// <exception cref="ArgumentNullException">Thrown when <paramref name="expression"/> is null.</exception> 534/// <exception cref="ArgumentNullException"> 557/// <exception cref="ArgumentNullException"> 569/// <exception cref="ArgumentNullException"> 688/// <exception cref="ArgumentNullException"> 693ArgumentNullException.ThrowIfNull(type); 712ArgumentNullException.ThrowIfNull(type); 726/// <exception cref="ArgumentNullException"> 739/// <exception cref="ArgumentNullException"> 748ArgumentNullException.ThrowIfNull(type); 766/// <exception cref="ArgumentNullException"> 779/// <exception cref="ArgumentNullException"> 788ArgumentNullException.ThrowIfNull(type); 808/// <exception cref="ArgumentNullException"> 831/// <exception cref="ArgumentNullException"> 882ArgumentNullException.ThrowIfNull(type);
System\Runtime\CompilerServices\CallSite.cs (3)
89ArgumentNullException.ThrowIfNull(delegateType); 90ArgumentNullException.ThrowIfNull(binder); 218ArgumentNullException.ThrowIfNull(binder);
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
47ArgumentNullException.ThrowIfNull(transformFlags);
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (2)
50ArgumentNullException.ThrowIfNull(collection); 353ArgumentNullException.ThrowIfNull(array);
System.Linq.Parallel (384)
System\Linq\ParallelEnumerable.cs (384)
97/// <exception cref="System.ArgumentNullException"> 102ArgumentNullException.ThrowIfNull(source); 119/// <exception cref="System.ArgumentNullException"> 124ArgumentNullException.ThrowIfNull(source); 140/// <exception cref="System.ArgumentNullException"> 151ArgumentNullException.ThrowIfNull(source); 180/// <exception cref="System.ArgumentNullException"> 191ArgumentNullException.ThrowIfNull(source); 212/// <exception cref="System.ArgumentNullException"> 217ArgumentNullException.ThrowIfNull(source); 231/// <exception cref="System.ArgumentNullException"> 236ArgumentNullException.ThrowIfNull(source); 258/// <exception cref="System.ArgumentNullException"> 263ArgumentNullException.ThrowIfNull(source); 284/// <exception cref="System.ArgumentNullException"> 295ArgumentNullException.ThrowIfNull(source); 315/// <exception cref="System.ArgumentNullException"> 323ArgumentNullException.ThrowIfNull(source); 340/// <exception cref="System.ArgumentNullException"> 351ArgumentNullException.ThrowIfNull(source); 373/// <exception cref="System.ArgumentNullException"> 384ArgumentNullException.ThrowIfNull(source); 486/// <exception cref="System.ArgumentNullException"> 497ArgumentNullException.ThrowIfNull(source); 498ArgumentNullException.ThrowIfNull(action); 524/// <exception cref="System.ArgumentNullException"> 529ArgumentNullException.ThrowIfNull(source); 530ArgumentNullException.ThrowIfNull(predicate); 542/// <exception cref="System.ArgumentNullException"> 547ArgumentNullException.ThrowIfNull(source); 548ArgumentNullException.ThrowIfNull(predicate); 567/// <exception cref="System.ArgumentNullException"> 573ArgumentNullException.ThrowIfNull(source); 574ArgumentNullException.ThrowIfNull(selector); 588/// <exception cref="System.ArgumentNullException"> 594ArgumentNullException.ThrowIfNull(source); 595ArgumentNullException.ThrowIfNull(selector); 618/// <exception cref="System.ArgumentNullException"> 624ArgumentNullException.ThrowIfNull(first); 625ArgumentNullException.ThrowIfNull(second); 626ArgumentNullException.ThrowIfNull(resultSelector); 678/// <exception cref="System.ArgumentNullException"> 738/// <exception cref="System.ArgumentNullException"> 747ArgumentNullException.ThrowIfNull(outer); 748ArgumentNullException.ThrowIfNull(inner); 749ArgumentNullException.ThrowIfNull(outerKeySelector); 750ArgumentNullException.ThrowIfNull(innerKeySelector); 751ArgumentNullException.ThrowIfNull(resultSelector); 810/// <exception cref="System.ArgumentNullException"> 872/// <exception cref="System.ArgumentNullException"> 881ArgumentNullException.ThrowIfNull(outer); 882ArgumentNullException.ThrowIfNull(inner); 883ArgumentNullException.ThrowIfNull(outerKeySelector); 884ArgumentNullException.ThrowIfNull(innerKeySelector); 885ArgumentNullException.ThrowIfNull(resultSelector); 938/// <exception cref="System.ArgumentNullException"> 944ArgumentNullException.ThrowIfNull(source); 945ArgumentNullException.ThrowIfNull(selector); 961/// <exception cref="System.ArgumentNullException"> 967ArgumentNullException.ThrowIfNull(source); 968ArgumentNullException.ThrowIfNull(selector); 989/// <exception cref="System.ArgumentNullException"> 997ArgumentNullException.ThrowIfNull(source); 998ArgumentNullException.ThrowIfNull(collectionSelector); 999ArgumentNullException.ThrowIfNull(resultSelector); 1025/// <exception cref="System.ArgumentNullException"> 1033ArgumentNullException.ThrowIfNull(source); 1034ArgumentNullException.ThrowIfNull(collectionSelector); 1035ArgumentNullException.ThrowIfNull(resultSelector); 1061/// <exception cref="System.ArgumentNullException"> 1067ArgumentNullException.ThrowIfNull(source); 1068ArgumentNullException.ThrowIfNull(keySelector); 1089/// <exception cref="System.ArgumentNullException"> 1095ArgumentNullException.ThrowIfNull(source); 1096ArgumentNullException.ThrowIfNull(keySelector); 1116/// <exception cref="System.ArgumentNullException"> 1122ArgumentNullException.ThrowIfNull(source); 1123ArgumentNullException.ThrowIfNull(keySelector); 1143/// <exception cref="System.ArgumentNullException"> 1149ArgumentNullException.ThrowIfNull(source); 1150ArgumentNullException.ThrowIfNull(keySelector); 1172/// <exception cref="System.ArgumentNullException"> 1179ArgumentNullException.ThrowIfNull(source); 1180ArgumentNullException.ThrowIfNull(keySelector); 1202/// <exception cref="System.ArgumentNullException"> 1210ArgumentNullException.ThrowIfNull(source); 1211ArgumentNullException.ThrowIfNull(keySelector); 1232/// <exception cref="System.ArgumentNullException"> 1240ArgumentNullException.ThrowIfNull(source); 1241ArgumentNullException.ThrowIfNull(keySelector); 1263/// <exception cref="System.ArgumentNullException"> 1271ArgumentNullException.ThrowIfNull(source); 1272ArgumentNullException.ThrowIfNull(keySelector); 1292/// <exception cref="System.ArgumentNullException"> 1312/// <exception cref="System.ArgumentNullException"> 1318ArgumentNullException.ThrowIfNull(source); 1319ArgumentNullException.ThrowIfNull(keySelector); 1338/// <exception cref="System.ArgumentNullException"> 1364/// <exception cref="System.ArgumentNullException"> 1371ArgumentNullException.ThrowIfNull(source); 1372ArgumentNullException.ThrowIfNull(keySelector); 1373ArgumentNullException.ThrowIfNull(elementSelector); 1403/// <exception cref="System.ArgumentNullException"> 1411ArgumentNullException.ThrowIfNull(resultSelector); 1431/// <exception cref="System.ArgumentNullException"> 1438ArgumentNullException.ThrowIfNull(resultSelector); 1461/// <exception cref="System.ArgumentNullException"> 1468ArgumentNullException.ThrowIfNull(resultSelector); 1492/// <exception cref="System.ArgumentNullException"> 1499ArgumentNullException.ThrowIfNull(resultSelector); 1599/// <exception cref="System.ArgumentNullException"> 1620ArgumentNullException.ThrowIfNull(source); 1621ArgumentNullException.ThrowIfNull(func); 1650/// <exception cref="System.ArgumentNullException"> 1668ArgumentNullException.ThrowIfNull(source); 1669ArgumentNullException.ThrowIfNull(func); 1690/// <exception cref="System.ArgumentNullException"> 1703ArgumentNullException.ThrowIfNull(source); 1704ArgumentNullException.ThrowIfNull(func); 1705ArgumentNullException.ThrowIfNull(resultSelector); 1745/// <exception cref="System.ArgumentNullException"> 1759ArgumentNullException.ThrowIfNull(source); 1760ArgumentNullException.ThrowIfNull(updateAccumulatorFunc); 1761ArgumentNullException.ThrowIfNull(combineAccumulatorsFunc); 1762ArgumentNullException.ThrowIfNull(resultSelector); 1798/// <exception cref="System.ArgumentNullException"> 1815ArgumentNullException.ThrowIfNull(source); 1816ArgumentNullException.ThrowIfNull(seedFactory); 1817ArgumentNullException.ThrowIfNull(updateAccumulatorFunc); 1818ArgumentNullException.ThrowIfNull(combineAccumulatorsFunc); 1819ArgumentNullException.ThrowIfNull(resultSelector); 1837/// <exception cref="System.ArgumentNullException"> 1850ArgumentNullException.ThrowIfNull(source); 1879/// <exception cref="System.ArgumentNullException"> 1892ArgumentNullException.ThrowIfNull(source); 1893ArgumentNullException.ThrowIfNull(predicate); 1908/// <exception cref="System.ArgumentNullException"> 1921ArgumentNullException.ThrowIfNull(source); 1946/// <exception cref="System.ArgumentNullException"> 1959ArgumentNullException.ThrowIfNull(source); 1960ArgumentNullException.ThrowIfNull(predicate); 1975/// <exception cref="System.ArgumentNullException"> 1988ArgumentNullException.ThrowIfNull(source); 1998/// <exception cref="System.ArgumentNullException"> 2011ArgumentNullException.ThrowIfNull(source); 2021/// <exception cref="System.ArgumentNullException"> 2034ArgumentNullException.ThrowIfNull(source); 2044/// <exception cref="System.ArgumentNullException"> 2057ArgumentNullException.ThrowIfNull(source); 2067/// <exception cref="System.ArgumentNullException"> 2078ArgumentNullException.ThrowIfNull(source); 2088/// <exception cref="System.ArgumentNullException"> 2099ArgumentNullException.ThrowIfNull(source); 2109/// <exception cref="System.ArgumentNullException"> 2120ArgumentNullException.ThrowIfNull(source); 2130/// <exception cref="System.ArgumentNullException"> 2141ArgumentNullException.ThrowIfNull(source); 2151/// <exception cref="System.ArgumentNullException"> 2164ArgumentNullException.ThrowIfNull(source); 2174/// <exception cref="System.ArgumentNullException"> 2187ArgumentNullException.ThrowIfNull(source); 2199/// <exception cref="System.ArgumentNullException"> 2223/// <exception cref="System.ArgumentNullException"> 2247/// <exception cref="System.ArgumentNullException"> 2271/// <exception cref="System.ArgumentNullException"> 2295/// <exception cref="System.ArgumentNullException"> 2317/// <exception cref="System.ArgumentNullException"> 2339/// <exception cref="System.ArgumentNullException"> 2361/// <exception cref="System.ArgumentNullException"> 2383/// <exception cref="System.ArgumentNullException"> 2407/// <exception cref="System.ArgumentNullException"> 2442/// <exception cref="System.ArgumentNullException"> 2456ArgumentNullException.ThrowIfNull(source); 2466/// <exception cref="System.ArgumentNullException"> 2477ArgumentNullException.ThrowIfNull(source); 2487/// <exception cref="System.ArgumentNullException"> 2501ArgumentNullException.ThrowIfNull(source); 2511/// <exception cref="System.ArgumentNullException"> 2522ArgumentNullException.ThrowIfNull(source); 2532/// <exception cref="System.ArgumentNullException"> 2546ArgumentNullException.ThrowIfNull(source); 2556/// <exception cref="System.ArgumentNullException"> 2567ArgumentNullException.ThrowIfNull(source); 2577/// <exception cref="System.ArgumentNullException"> 2591ArgumentNullException.ThrowIfNull(source); 2601/// <exception cref="System.ArgumentNullException"> 2612ArgumentNullException.ThrowIfNull(source); 2622/// <exception cref="System.ArgumentNullException"> 2636ArgumentNullException.ThrowIfNull(source); 2646/// <exception cref="System.ArgumentNullException"> 2657ArgumentNullException.ThrowIfNull(source); 2668/// <exception cref="System.ArgumentNullException"> 2682ArgumentNullException.ThrowIfNull(source); 2695/// <exception cref="System.ArgumentNullException"> 2720/// <exception cref="System.ArgumentNullException"> 2742/// <exception cref="System.ArgumentNullException"> 2767/// <exception cref="System.ArgumentNullException"> 2789/// <exception cref="System.ArgumentNullException"> 2814/// <exception cref="System.ArgumentNullException"> 2836/// <exception cref="System.ArgumentNullException"> 2861/// <exception cref="System.ArgumentNullException"> 2883/// <exception cref="System.ArgumentNullException"> 2908/// <exception cref="System.ArgumentNullException"> 2931/// <exception cref="System.ArgumentNullException"> 2957/// <exception cref="System.ArgumentNullException"> 2971ArgumentNullException.ThrowIfNull(source); 2981/// <exception cref="System.ArgumentNullException"> 2992ArgumentNullException.ThrowIfNull(source); 3002/// <exception cref="System.ArgumentNullException"> 3016ArgumentNullException.ThrowIfNull(source); 3026/// <exception cref="System.ArgumentNullException"> 3037ArgumentNullException.ThrowIfNull(source); 3047/// <exception cref="System.ArgumentNullException"> 3061ArgumentNullException.ThrowIfNull(source); 3071/// <exception cref="System.ArgumentNullException"> 3082ArgumentNullException.ThrowIfNull(source); 3092/// <exception cref="System.ArgumentNullException"> 3106ArgumentNullException.ThrowIfNull(source); 3116/// <exception cref="System.ArgumentNullException"> 3127ArgumentNullException.ThrowIfNull(source); 3137/// <exception cref="System.ArgumentNullException"> 3151ArgumentNullException.ThrowIfNull(source); 3161/// <exception cref="System.ArgumentNullException"> 3172ArgumentNullException.ThrowIfNull(source); 3182/// <exception cref="System.ArgumentNullException"> 3196ArgumentNullException.ThrowIfNull(source); 3209/// <exception cref="System.ArgumentNullException"> 3234/// <exception cref="System.ArgumentNullException"> 3256/// <exception cref="System.ArgumentNullException"> 3281/// <exception cref="System.ArgumentNullException"> 3303/// <exception cref="System.ArgumentNullException"> 3328/// <exception cref="System.ArgumentNullException"> 3350/// <exception cref="System.ArgumentNullException"> 3375/// <exception cref="System.ArgumentNullException"> 3397/// <exception cref="System.ArgumentNullException"> 3422/// <exception cref="System.ArgumentNullException"> 3445/// <exception cref="System.ArgumentNullException"> 3471/// <exception cref="System.ArgumentNullException"> 3487ArgumentNullException.ThrowIfNull(source); 3497/// <exception cref="System.ArgumentNullException"> 3510ArgumentNullException.ThrowIfNull(source); 3520/// <exception cref="System.ArgumentNullException"> 3536ArgumentNullException.ThrowIfNull(source); 3546/// <exception cref="System.ArgumentNullException"> 3559ArgumentNullException.ThrowIfNull(source); 3569/// <exception cref="System.ArgumentNullException"> 3583ArgumentNullException.ThrowIfNull(source); 3593/// <exception cref="System.ArgumentNullException"> 3604ArgumentNullException.ThrowIfNull(source); 3614/// <exception cref="System.ArgumentNullException"> 3628ArgumentNullException.ThrowIfNull(source); 3636/// <exception cref="System.ArgumentNullException"> 3649ArgumentNullException.ThrowIfNull(source); 3659/// <exception cref="System.ArgumentNullException"> 3673ArgumentNullException.ThrowIfNull(source); 3683/// <exception cref="System.ArgumentNullException"> 3694ArgumentNullException.ThrowIfNull(source); 3707/// <exception cref="System.ArgumentNullException"> 3734/// <exception cref="System.ArgumentNullException"> 3758/// <exception cref="System.ArgumentNullException"> 3785/// <exception cref="System.ArgumentNullException"> 3809/// <exception cref="System.ArgumentNullException"> 3834/// <exception cref="System.ArgumentNullException"> 3856/// <exception cref="System.ArgumentNullException"> 3881/// <exception cref="System.ArgumentNullException"> 3903/// <exception cref="System.ArgumentNullException"> 3928/// <exception cref="System.ArgumentNullException"> 3955/// <exception cref="System.ArgumentNullException"> 3966ArgumentNullException.ThrowIfNull(source); 3967ArgumentNullException.ThrowIfNull(predicate); 3978/// <exception cref="System.ArgumentNullException"> 3989ArgumentNullException.ThrowIfNull(source); 4007/// <exception cref="System.ArgumentNullException"> 4018ArgumentNullException.ThrowIfNull(source); 4019ArgumentNullException.ThrowIfNull(predicate); 4038/// <exception cref="System.ArgumentNullException"> 4063/// <exception cref="System.ArgumentNullException"> 4074ArgumentNullException.ThrowIfNull(source); 4098/// <exception cref="System.ArgumentNullException"> 4103ArgumentNullException.ThrowIfNull(source); 4130/// <exception cref="System.ArgumentNullException"> 4135ArgumentNullException.ThrowIfNull(source); 4136ArgumentNullException.ThrowIfNull(predicate); 4155/// <exception cref="System.ArgumentNullException"> 4160ArgumentNullException.ThrowIfNull(source); 4161ArgumentNullException.ThrowIfNull(predicate); 4180/// <exception cref="System.ArgumentNullException"> 4185ArgumentNullException.ThrowIfNull(source); 4212/// <exception cref="System.ArgumentNullException"> 4217ArgumentNullException.ThrowIfNull(source); 4218ArgumentNullException.ThrowIfNull(predicate); 4239/// <exception cref="System.ArgumentNullException"> 4244ArgumentNullException.ThrowIfNull(source); 4245ArgumentNullException.ThrowIfNull(predicate); 4265/// <exception cref="System.ArgumentNullException"> 4270ArgumentNullException.ThrowIfNull(first); 4271ArgumentNullException.ThrowIfNull(second); 4312/// <exception cref="System.ArgumentNullException"> 4323ArgumentNullException.ThrowIfNull(first); 4324ArgumentNullException.ThrowIfNull(second); 4362/// <exception cref="System.ArgumentNullException"> 4373ArgumentNullException.ThrowIfNull(first); 4374ArgumentNullException.ThrowIfNull(second); 4468/// <exception cref="System.ArgumentNullException"> 4485/// <exception cref="System.ArgumentNullException"> 4491ArgumentNullException.ThrowIfNull(source); 4507/// <exception cref="System.ArgumentNullException"> 4546/// <exception cref="System.ArgumentNullException"> 4552ArgumentNullException.ThrowIfNull(first); 4553ArgumentNullException.ThrowIfNull(second); 4597/// <exception cref="System.ArgumentNullException"> 4641/// <exception cref="System.ArgumentNullException"> 4647ArgumentNullException.ThrowIfNull(first); 4648ArgumentNullException.ThrowIfNull(second); 4694/// <exception cref="System.ArgumentNullException"> 4737/// <exception cref="System.ArgumentNullException"> 4743ArgumentNullException.ThrowIfNull(first); 4744ArgumentNullException.ThrowIfNull(second); 4788/// <exception cref="System.ArgumentNullException"> 4807/// <exception cref="System.ArgumentNullException"> 4818ArgumentNullException.ThrowIfNull(source); 4839/// <exception cref="System.ArgumentNullException"> 4850ArgumentNullException.ThrowIfNull(source); 4916/// <exception cref="System.ArgumentNullException"> 4945/// <exception cref="System.ArgumentNullException"> 4961ArgumentNullException.ThrowIfNull(source); 4962ArgumentNullException.ThrowIfNull(keySelector); 5007/// <exception cref="System.ArgumentNullException"> 5042/// <exception cref="System.ArgumentNullException"> 5058ArgumentNullException.ThrowIfNull(source); 5059ArgumentNullException.ThrowIfNull(keySelector); 5060ArgumentNullException.ThrowIfNull(elementSelector); 5103/// <exception cref="System.ArgumentNullException"> 5128/// <exception cref="System.ArgumentNullException"> 5140ArgumentNullException.ThrowIfNull(source); 5141ArgumentNullException.ThrowIfNull(keySelector); 5182/// <exception cref="System.ArgumentNullException"> 5214/// <exception cref="System.ArgumentNullException"> 5226ArgumentNullException.ThrowIfNull(source); 5227ArgumentNullException.ThrowIfNull(keySelector); 5228ArgumentNullException.ThrowIfNull(elementSelector); 5267/// <exception cref="System.ArgumentNullException"> 5272ArgumentNullException.ThrowIfNull(source); 5289/// <exception cref="System.ArgumentNullException"> 5294ArgumentNullException.ThrowIfNull(source); 5307/// <exception cref="System.ArgumentNullException"> 5312ArgumentNullException.ThrowIfNull(source); 5383/// <exception cref="System.ArgumentNullException"> 5397ArgumentNullException.ThrowIfNull(source); 5426/// <exception cref="System.ArgumentNullException"> 5440ArgumentNullException.ThrowIfNull(source); 5441ArgumentNullException.ThrowIfNull(predicate); 5468/// <exception cref="System.ArgumentNullException"> 5479ArgumentNullException.ThrowIfNull(source); 5514/// <exception cref="System.ArgumentNullException"> 5525ArgumentNullException.ThrowIfNull(source); 5526ArgumentNullException.ThrowIfNull(predicate); 5559/// <exception cref="System.ArgumentNullException"> 5573ArgumentNullException.ThrowIfNull(source); 5602/// <exception cref="System.ArgumentNullException"> 5616ArgumentNullException.ThrowIfNull(source); 5617ArgumentNullException.ThrowIfNull(predicate); 5646/// <exception cref="System.ArgumentNullException"> 5657ArgumentNullException.ThrowIfNull(source); 5688/// <exception cref="System.ArgumentNullException"> 5699ArgumentNullException.ThrowIfNull(source); 5700ArgumentNullException.ThrowIfNull(predicate); 5733/// <exception cref="System.ArgumentNullException"> 5747ArgumentNullException.ThrowIfNull(source); 5762/// <exception cref="System.ArgumentNullException"> 5776ArgumentNullException.ThrowIfNull(source); 5777ArgumentNullException.ThrowIfNull(predicate); 5792/// <exception cref="System.ArgumentNullException"> 5803ArgumentNullException.ThrowIfNull(source); 5822/// <exception cref="System.ArgumentNullException"> 5833ArgumentNullException.ThrowIfNull(source); 5834ArgumentNullException.ThrowIfNull(predicate); 5853/// <exception cref="System.ArgumentNullException"> 5871/// <exception cref="System.ArgumentNullException"> 5876ArgumentNullException.ThrowIfNull(source); 5894/// <exception cref="System.ArgumentNullException"> 5908ArgumentNullException.ThrowIfNull(source); 5937/// <exception cref="System.ArgumentNullException"> 5948ArgumentNullException.ThrowIfNull(source);
System.Linq.Queryable (391)
System\Linq\EnumerableQuery.cs (4)
65ArgumentNullException.ThrowIfNull(expression); 75ArgumentNullException.ThrowIfNull(expression); 86ArgumentNullException.ThrowIfNull(expression); 93ArgumentNullException.ThrowIfNull(expression);
System\Linq\Queryable.cs (387)
22ArgumentNullException.ThrowIfNull(source); 31ArgumentNullException.ThrowIfNull(source); 50ArgumentNullException.ThrowIfNull(source); 51ArgumentNullException.ThrowIfNull(predicate); 63ArgumentNullException.ThrowIfNull(source); 64ArgumentNullException.ThrowIfNull(predicate); 76ArgumentNullException.ThrowIfNull(source); 88ArgumentNullException.ThrowIfNull(source); 100ArgumentNullException.ThrowIfNull(source); 101ArgumentNullException.ThrowIfNull(selector); 113ArgumentNullException.ThrowIfNull(source); 114ArgumentNullException.ThrowIfNull(selector); 126ArgumentNullException.ThrowIfNull(source); 127ArgumentNullException.ThrowIfNull(selector); 139ArgumentNullException.ThrowIfNull(source); 140ArgumentNullException.ThrowIfNull(selector); 152ArgumentNullException.ThrowIfNull(source); 153ArgumentNullException.ThrowIfNull(collectionSelector); 154ArgumentNullException.ThrowIfNull(resultSelector); 166ArgumentNullException.ThrowIfNull(source); 167ArgumentNullException.ThrowIfNull(collectionSelector); 168ArgumentNullException.ThrowIfNull(resultSelector); 196/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 283ArgumentNullException.ThrowIfNull(outer); 284ArgumentNullException.ThrowIfNull(inner); 285ArgumentNullException.ThrowIfNull(outerKeySelector); 286ArgumentNullException.ThrowIfNull(innerKeySelector); 287ArgumentNullException.ThrowIfNull(resultSelector); 310/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 398ArgumentNullException.ThrowIfNull(outer); 399ArgumentNullException.ThrowIfNull(inner); 400ArgumentNullException.ThrowIfNull(outerKeySelector); 401ArgumentNullException.ThrowIfNull(innerKeySelector); 402ArgumentNullException.ThrowIfNull(resultSelector); 424/// <exception cref="ArgumentNullException"><paramref name="outer" /> is <see langword="null" />.</exception> 425/// <exception cref="ArgumentNullException"><paramref name="inner" /> is <see langword="null" />.</exception> 426/// <exception cref="ArgumentNullException"><paramref name="outerKeySelector" /> is <see langword="null" />.</exception> 427/// <exception cref="ArgumentNullException"><paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 431ArgumentNullException.ThrowIfNull(outer); 432ArgumentNullException.ThrowIfNull(inner); 433ArgumentNullException.ThrowIfNull(outerKeySelector); 434ArgumentNullException.ThrowIfNull(innerKeySelector); 455/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 459ArgumentNullException.ThrowIfNull(outer); 460ArgumentNullException.ThrowIfNull(inner); 461ArgumentNullException.ThrowIfNull(outerKeySelector); 462ArgumentNullException.ThrowIfNull(innerKeySelector); 474ArgumentNullException.ThrowIfNull(outer); 475ArgumentNullException.ThrowIfNull(inner); 476ArgumentNullException.ThrowIfNull(outerKeySelector); 477ArgumentNullException.ThrowIfNull(innerKeySelector); 478ArgumentNullException.ThrowIfNull(resultSelector); 490ArgumentNullException.ThrowIfNull(outer); 491ArgumentNullException.ThrowIfNull(inner); 492ArgumentNullException.ThrowIfNull(outerKeySelector); 493ArgumentNullException.ThrowIfNull(innerKeySelector); 494ArgumentNullException.ThrowIfNull(resultSelector); 516/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 604ArgumentNullException.ThrowIfNull(outer); 605ArgumentNullException.ThrowIfNull(inner); 606ArgumentNullException.ThrowIfNull(outerKeySelector); 607ArgumentNullException.ThrowIfNull(innerKeySelector); 608ArgumentNullException.ThrowIfNull(resultSelector); 631/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 719ArgumentNullException.ThrowIfNull(outer); 720ArgumentNullException.ThrowIfNull(inner); 721ArgumentNullException.ThrowIfNull(outerKeySelector); 722ArgumentNullException.ThrowIfNull(innerKeySelector); 723ArgumentNullException.ThrowIfNull(resultSelector); 744/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 748ArgumentNullException.ThrowIfNull(outer); 749ArgumentNullException.ThrowIfNull(inner); 750ArgumentNullException.ThrowIfNull(outerKeySelector); 751ArgumentNullException.ThrowIfNull(innerKeySelector); 766/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 787ArgumentNullException.ThrowIfNull(source); 803/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 824ArgumentNullException.ThrowIfNull(source); 836ArgumentNullException.ThrowIfNull(source); 837ArgumentNullException.ThrowIfNull(keySelector); 849ArgumentNullException.ThrowIfNull(source); 850ArgumentNullException.ThrowIfNull(keySelector); 865/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 886ArgumentNullException.ThrowIfNull(source); 902/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 923ArgumentNullException.ThrowIfNull(source); 935ArgumentNullException.ThrowIfNull(source); 936ArgumentNullException.ThrowIfNull(keySelector); 948ArgumentNullException.ThrowIfNull(source); 949ArgumentNullException.ThrowIfNull(keySelector); 971/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 1058ArgumentNullException.ThrowIfNull(outer); 1059ArgumentNullException.ThrowIfNull(inner); 1060ArgumentNullException.ThrowIfNull(outerKeySelector); 1061ArgumentNullException.ThrowIfNull(innerKeySelector); 1062ArgumentNullException.ThrowIfNull(resultSelector); 1085/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 1172ArgumentNullException.ThrowIfNull(outer); 1173ArgumentNullException.ThrowIfNull(inner); 1174ArgumentNullException.ThrowIfNull(outerKeySelector); 1175ArgumentNullException.ThrowIfNull(innerKeySelector); 1176ArgumentNullException.ThrowIfNull(resultSelector); 1197/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 1201ArgumentNullException.ThrowIfNull(outer); 1202ArgumentNullException.ThrowIfNull(inner); 1203ArgumentNullException.ThrowIfNull(outerKeySelector); 1204ArgumentNullException.ThrowIfNull(innerKeySelector); 1229/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" />.</exception> 1253ArgumentNullException.ThrowIfNull(outer); 1254ArgumentNullException.ThrowIfNull(inner); 1255ArgumentNullException.ThrowIfNull(outerKeySelector); 1256ArgumentNullException.ThrowIfNull(innerKeySelector); 1257ArgumentNullException.ThrowIfNull(resultSelector); 1280/// <exception cref="ArgumentNullException"><paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> is <see langword="null" />.</exception> 1284ArgumentNullException.ThrowIfNull(outer); 1285ArgumentNullException.ThrowIfNull(inner); 1286ArgumentNullException.ThrowIfNull(outerKeySelector); 1287ArgumentNullException.ThrowIfNull(innerKeySelector); 1299ArgumentNullException.ThrowIfNull(source); 1300ArgumentNullException.ThrowIfNull(keySelector); 1312ArgumentNullException.ThrowIfNull(source); 1313ArgumentNullException.ThrowIfNull(keySelector); 1325ArgumentNullException.ThrowIfNull(source); 1326ArgumentNullException.ThrowIfNull(keySelector); 1338ArgumentNullException.ThrowIfNull(source); 1339ArgumentNullException.ThrowIfNull(keySelector); 1351ArgumentNullException.ThrowIfNull(source); 1364/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 1369ArgumentNullException.ThrowIfNull(source); 1381ArgumentNullException.ThrowIfNull(source); 1382ArgumentNullException.ThrowIfNull(predicate); 1394ArgumentNullException.ThrowIfNull(source); 1395ArgumentNullException.ThrowIfNull(predicate); 1407ArgumentNullException.ThrowIfNull(source); 1419ArgumentNullException.ThrowIfNull(source); 1420ArgumentNullException.ThrowIfNull(predicate); 1432ArgumentNullException.ThrowIfNull(source); 1433ArgumentNullException.ThrowIfNull(predicate); 1445ArgumentNullException.ThrowIfNull(source); 1446ArgumentNullException.ThrowIfNull(keySelector); 1458ArgumentNullException.ThrowIfNull(source); 1459ArgumentNullException.ThrowIfNull(keySelector); 1460ArgumentNullException.ThrowIfNull(elementSelector); 1472ArgumentNullException.ThrowIfNull(source); 1473ArgumentNullException.ThrowIfNull(keySelector); 1485ArgumentNullException.ThrowIfNull(source); 1486ArgumentNullException.ThrowIfNull(keySelector); 1487ArgumentNullException.ThrowIfNull(elementSelector); 1499ArgumentNullException.ThrowIfNull(source); 1500ArgumentNullException.ThrowIfNull(keySelector); 1501ArgumentNullException.ThrowIfNull(elementSelector); 1502ArgumentNullException.ThrowIfNull(resultSelector); 1514ArgumentNullException.ThrowIfNull(source); 1515ArgumentNullException.ThrowIfNull(keySelector); 1516ArgumentNullException.ThrowIfNull(resultSelector); 1528ArgumentNullException.ThrowIfNull(source); 1529ArgumentNullException.ThrowIfNull(keySelector); 1530ArgumentNullException.ThrowIfNull(resultSelector); 1542ArgumentNullException.ThrowIfNull(source); 1543ArgumentNullException.ThrowIfNull(keySelector); 1544ArgumentNullException.ThrowIfNull(elementSelector); 1545ArgumentNullException.ThrowIfNull(resultSelector); 1557ArgumentNullException.ThrowIfNull(source); 1569ArgumentNullException.ThrowIfNull(source); 1584/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 1588ArgumentNullException.ThrowIfNull(source); 1589ArgumentNullException.ThrowIfNull(keySelector); 1605/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 1609ArgumentNullException.ThrowIfNull(source); 1610ArgumentNullException.ThrowIfNull(keySelector); 1624/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 1633ArgumentNullException.ThrowIfNull(source); 1645ArgumentNullException.ThrowIfNull(source1); 1646ArgumentNullException.ThrowIfNull(source2); 1658ArgumentNullException.ThrowIfNull(source1); 1659ArgumentNullException.ThrowIfNull(source2); 1671ArgumentNullException.ThrowIfNull(source1); 1672ArgumentNullException.ThrowIfNull(source2); 1673ArgumentNullException.ThrowIfNull(resultSelector); 1695ArgumentNullException.ThrowIfNull(source1); 1696ArgumentNullException.ThrowIfNull(source2); 1697ArgumentNullException.ThrowIfNull(source3); 1709ArgumentNullException.ThrowIfNull(source1); 1710ArgumentNullException.ThrowIfNull(source2); 1722ArgumentNullException.ThrowIfNull(source1); 1723ArgumentNullException.ThrowIfNull(source2); 1741/// <exception cref="ArgumentNullException"><paramref name="source1" /> or <paramref name="source2" /> is <see langword="null" />.</exception> 1745ArgumentNullException.ThrowIfNull(source1); 1746ArgumentNullException.ThrowIfNull(source2); 1747ArgumentNullException.ThrowIfNull(keySelector); 1764/// <exception cref="ArgumentNullException"><paramref name="source1" /> or <paramref name="source2" /> is <see langword="null" />.</exception> 1768ArgumentNullException.ThrowIfNull(source1); 1769ArgumentNullException.ThrowIfNull(source2); 1770ArgumentNullException.ThrowIfNull(keySelector); 1786/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 1790ArgumentNullException.ThrowIfNull(source); 1802ArgumentNullException.ThrowIfNull(source1); 1803ArgumentNullException.ThrowIfNull(source2); 1815ArgumentNullException.ThrowIfNull(source1); 1816ArgumentNullException.ThrowIfNull(source2); 1834/// <exception cref="ArgumentNullException"><paramref name="source1" /> or <paramref name="source2" /> is <see langword="null" />.</exception> 1838ArgumentNullException.ThrowIfNull(source1); 1839ArgumentNullException.ThrowIfNull(source2); 1840ArgumentNullException.ThrowIfNull(keySelector); 1859/// <exception cref="ArgumentNullException"><paramref name="source1" /> or <paramref name="source2" /> is <see langword="null" />.</exception> 1863ArgumentNullException.ThrowIfNull(source1); 1864ArgumentNullException.ThrowIfNull(source2); 1865ArgumentNullException.ThrowIfNull(keySelector); 1880ArgumentNullException.ThrowIfNull(source1); 1881ArgumentNullException.ThrowIfNull(source2); 1893ArgumentNullException.ThrowIfNull(source1); 1894ArgumentNullException.ThrowIfNull(source2); 1917ArgumentNullException.ThrowIfNull(source1); 1918ArgumentNullException.ThrowIfNull(source2); 1919ArgumentNullException.ThrowIfNull(keySelector); 1943ArgumentNullException.ThrowIfNull(source1); 1944ArgumentNullException.ThrowIfNull(source2); 1945ArgumentNullException.ThrowIfNull(keySelector); 1960ArgumentNullException.ThrowIfNull(source); 1972ArgumentNullException.ThrowIfNull(source); 1973ArgumentNullException.ThrowIfNull(predicate); 1985ArgumentNullException.ThrowIfNull(source); 1999/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2003ArgumentNullException.ThrowIfNull(source); 2015ArgumentNullException.ThrowIfNull(source); 2016ArgumentNullException.ThrowIfNull(predicate); 2031/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception> 2035ArgumentNullException.ThrowIfNull(source); 2036ArgumentNullException.ThrowIfNull(predicate); 2048ArgumentNullException.ThrowIfNull(source); 2060ArgumentNullException.ThrowIfNull(source); 2061ArgumentNullException.ThrowIfNull(predicate); 2073ArgumentNullException.ThrowIfNull(source); 2087/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2091ArgumentNullException.ThrowIfNull(source); 2103ArgumentNullException.ThrowIfNull(source); 2104ArgumentNullException.ThrowIfNull(predicate); 2119/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception> 2123ArgumentNullException.ThrowIfNull(source); 2124ArgumentNullException.ThrowIfNull(predicate); 2137ArgumentNullException.ThrowIfNull(source); 2149ArgumentNullException.ThrowIfNull(source); 2150ArgumentNullException.ThrowIfNull(predicate); 2162ArgumentNullException.ThrowIfNull(source); 2176/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2181ArgumentNullException.ThrowIfNull(source); 2193ArgumentNullException.ThrowIfNull(source); 2194ArgumentNullException.ThrowIfNull(predicate); 2209/// <exception cref="ArgumentNullException"><paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception> 2214ArgumentNullException.ThrowIfNull(source); 2215ArgumentNullException.ThrowIfNull(predicate); 2227ArgumentNullException.ThrowIfNull(source); 2243/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2249ArgumentNullException.ThrowIfNull(source); 2264ArgumentNullException.ThrowIfNull(source); 2277/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2282ArgumentNullException.ThrowIfNull(source); 2294ArgumentNullException.ThrowIfNull(source); 2306ArgumentNullException.ThrowIfNull(source); 2318ArgumentNullException.ThrowIfNull(source); 2330ArgumentNullException.ThrowIfNull(source); 2342ArgumentNullException.ThrowIfNull(source); 2354ArgumentNullException.ThrowIfNull(source1); 2355ArgumentNullException.ThrowIfNull(source2); 2367ArgumentNullException.ThrowIfNull(source1); 2368ArgumentNullException.ThrowIfNull(source2); 2388ArgumentNullException.ThrowIfNull(source); 2400ArgumentNullException.ThrowIfNull(source); 2412ArgumentNullException.ThrowIfNull(source); 2413ArgumentNullException.ThrowIfNull(predicate); 2425ArgumentNullException.ThrowIfNull(source); 2426ArgumentNullException.ThrowIfNull(predicate); 2438ArgumentNullException.ThrowIfNull(source); 2450ArgumentNullException.ThrowIfNull(source); 2451ArgumentNullException.ThrowIfNull(predicate); 2467/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2471ArgumentNullException.ThrowIfNull(source); 2472ArgumentNullException.ThrowIfNull(keySelector); 2484ArgumentNullException.ThrowIfNull(source); 2496ArgumentNullException.ThrowIfNull(source); 2497ArgumentNullException.ThrowIfNull(predicate); 2509ArgumentNullException.ThrowIfNull(source); 2523/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2528ArgumentNullException.ThrowIfNull(source); 2541ArgumentNullException.ThrowIfNull(source); 2542ArgumentNullException.ThrowIfNull(selector); 2557/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2562ArgumentNullException.ThrowIfNull(source); 2563ArgumentNullException.ThrowIfNull(keySelector); 2580/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2588ArgumentNullException.ThrowIfNull(source); 2589ArgumentNullException.ThrowIfNull(keySelector); 2607/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2612ArgumentNullException.ThrowIfNull(source); 2613ArgumentNullException.ThrowIfNull(keySelector); 2627ArgumentNullException.ThrowIfNull(source); 2641/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2645ArgumentNullException.ThrowIfNull(source); 2658ArgumentNullException.ThrowIfNull(source); 2659ArgumentNullException.ThrowIfNull(selector); 2674/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2679ArgumentNullException.ThrowIfNull(source); 2680ArgumentNullException.ThrowIfNull(keySelector); 2697/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2705ArgumentNullException.ThrowIfNull(source); 2706ArgumentNullException.ThrowIfNull(keySelector); 2724/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception> 2729ArgumentNullException.ThrowIfNull(source); 2730ArgumentNullException.ThrowIfNull(keySelector); 2744ArgumentNullException.ThrowIfNull(source); 2756ArgumentNullException.ThrowIfNull(source); 2768ArgumentNullException.ThrowIfNull(source); 2780ArgumentNullException.ThrowIfNull(source); 2792ArgumentNullException.ThrowIfNull(source); 2804ArgumentNullException.ThrowIfNull(source); 2816ArgumentNullException.ThrowIfNull(source); 2828ArgumentNullException.ThrowIfNull(source); 2840ArgumentNullException.ThrowIfNull(source); 2852ArgumentNullException.ThrowIfNull(source); 2864ArgumentNullException.ThrowIfNull(source); 2865ArgumentNullException.ThrowIfNull(selector); 2877ArgumentNullException.ThrowIfNull(source); 2878ArgumentNullException.ThrowIfNull(selector); 2890ArgumentNullException.ThrowIfNull(source); 2891ArgumentNullException.ThrowIfNull(selector); 2903ArgumentNullException.ThrowIfNull(source); 2904ArgumentNullException.ThrowIfNull(selector); 2916ArgumentNullException.ThrowIfNull(source); 2917ArgumentNullException.ThrowIfNull(selector); 2929ArgumentNullException.ThrowIfNull(source); 2930ArgumentNullException.ThrowIfNull(selector); 2942ArgumentNullException.ThrowIfNull(source); 2943ArgumentNullException.ThrowIfNull(selector); 2955ArgumentNullException.ThrowIfNull(source); 2956ArgumentNullException.ThrowIfNull(selector); 2968ArgumentNullException.ThrowIfNull(source); 2969ArgumentNullException.ThrowIfNull(selector); 2981ArgumentNullException.ThrowIfNull(source); 2982ArgumentNullException.ThrowIfNull(selector); 2994ArgumentNullException.ThrowIfNull(source); 3006ArgumentNullException.ThrowIfNull(source); 3018ArgumentNullException.ThrowIfNull(source); 3030ArgumentNullException.ThrowIfNull(source); 3042ArgumentNullException.ThrowIfNull(source); 3054ArgumentNullException.ThrowIfNull(source); 3066ArgumentNullException.ThrowIfNull(source); 3078ArgumentNullException.ThrowIfNull(source); 3090ArgumentNullException.ThrowIfNull(source); 3102ArgumentNullException.ThrowIfNull(source); 3114ArgumentNullException.ThrowIfNull(source); 3115ArgumentNullException.ThrowIfNull(selector); 3127ArgumentNullException.ThrowIfNull(source); 3128ArgumentNullException.ThrowIfNull(selector); 3140ArgumentNullException.ThrowIfNull(source); 3141ArgumentNullException.ThrowIfNull(selector); 3153ArgumentNullException.ThrowIfNull(source); 3154ArgumentNullException.ThrowIfNull(selector); 3166ArgumentNullException.ThrowIfNull(source); 3167ArgumentNullException.ThrowIfNull(selector); 3179ArgumentNullException.ThrowIfNull(source); 3180ArgumentNullException.ThrowIfNull(selector); 3192ArgumentNullException.ThrowIfNull(source); 3193ArgumentNullException.ThrowIfNull(selector); 3205ArgumentNullException.ThrowIfNull(source); 3206ArgumentNullException.ThrowIfNull(selector); 3218ArgumentNullException.ThrowIfNull(source); 3219ArgumentNullException.ThrowIfNull(selector); 3231ArgumentNullException.ThrowIfNull(source); 3232ArgumentNullException.ThrowIfNull(selector); 3244ArgumentNullException.ThrowIfNull(source); 3245ArgumentNullException.ThrowIfNull(func); 3257ArgumentNullException.ThrowIfNull(source); 3258ArgumentNullException.ThrowIfNull(func); 3270ArgumentNullException.ThrowIfNull(source); 3271ArgumentNullException.ThrowIfNull(func); 3272ArgumentNullException.ThrowIfNull(selector); 3300ArgumentNullException.ThrowIfNull(source); 3301ArgumentNullException.ThrowIfNull(keySelector); 3302ArgumentNullException.ThrowIfNull(func); 3330ArgumentNullException.ThrowIfNull(source); 3331ArgumentNullException.ThrowIfNull(keySelector); 3332ArgumentNullException.ThrowIfNull(seedSelector); 3333ArgumentNullException.ThrowIfNull(func); 3345ArgumentNullException.ThrowIfNull(source); 3358ArgumentNullException.ThrowIfNull(source); 3370ArgumentNullException.ThrowIfNull(source); 3382ArgumentNullException.ThrowIfNull(source);
System.Management (3)
System\Management\ManagementPath.cs (1)
1107ArgumentNullException.ThrowIfNull(destinationType);
System\Management\ManagementQuery.cs (1)
3217ArgumentNullException.ThrowIfNull(destinationType);
System\Management\ManagementScope.cs (1)
1516ArgumentNullException.ThrowIfNull(destinationType);
System.Memory (17)
System\Text\EncodingExtensions.cs (16)
36ArgumentNullException.ThrowIfNull(encoding); 37ArgumentNullException.ThrowIfNull(writer); 72ArgumentNullException.ThrowIfNull(encoding); 73ArgumentNullException.ThrowIfNull(writer); 102ArgumentNullException.ThrowIfNull(encoding); 144ArgumentNullException.ThrowIfNull(encoding); 227ArgumentNullException.ThrowIfNull(encoding); 228ArgumentNullException.ThrowIfNull(writer); 263ArgumentNullException.ThrowIfNull(encoding); 264ArgumentNullException.ThrowIfNull(writer); 293ArgumentNullException.ThrowIfNull(encoding); 335ArgumentNullException.ThrowIfNull(encoding); 416ArgumentNullException.ThrowIfNull(encoder); 417ArgumentNullException.ThrowIfNull(writer); 509ArgumentNullException.ThrowIfNull(decoder); 510ArgumentNullException.ThrowIfNull(writer);
System\ThrowHelper.cs (1)
30private static ArgumentNullException CreateArgumentNullException(ExceptionArgument argument) { return new ArgumentNullException(argument.ToString()); }
System.Memory.Data (5)
System\BinaryData.cs (5)
142ArgumentNullException.ThrowIfNull(data); 238ArgumentNullException.ThrowIfNull(stream); 266ArgumentNullException.ThrowIfNull(stream); 326ArgumentNullException.ThrowIfNull(path); 352ArgumentNullException.ThrowIfNull(path);
System.Net.Http (54)
System\Net\Http\BrotliCompressedContent.cs (3)
33ArgumentNullException.ThrowIfNull(content); 49ArgumentNullException.ThrowIfNull(content); 50ArgumentNullException.ThrowIfNull(compressionOptions);
System\Net\Http\ByteArrayContent.cs (2)
19ArgumentNullException.ThrowIfNull(content); 27ArgumentNullException.ThrowIfNull(content);
System\Net\Http\DelegatingHandler.cs (3)
28ArgumentNullException.ThrowIfNull(value); 47ArgumentNullException.ThrowIfNull(request); 55ArgumentNullException.ThrowIfNull(request);
System\Net\Http\FormUrlEncodedContent.cs (1)
28ArgumentNullException.ThrowIfNull(nameValueCollection);
System\Net\Http\GZipCompressedContent.cs (3)
30ArgumentNullException.ThrowIfNull(content); 46ArgumentNullException.ThrowIfNull(content); 47ArgumentNullException.ThrowIfNull(compressionOptions);
System\Net\Http\Headers\HttpHeaders.cs (2)
110ArgumentNullException.ThrowIfNull(values); 200ArgumentNullException.ThrowIfNull(values);
System\Net\Http\Headers\HttpHeaderValueCollection.cs (2)
83ArgumentNullException.ThrowIfNull(array); 183ArgumentNullException.ThrowIfNull(item);
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
150/// <exception cref="ArgumentNullException"><paramref name="input"/> is a <see langword="null"/> reference.</exception>
System\Net\Http\Headers\ObjectCollection.cs (2)
14ArgumentNullException.ThrowIfNull(item); 198ArgumentNullException.ThrowIfNull(collection);
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
25ArgumentNullException.ThrowIfNull(product);
System\Net\Http\Headers\RangeConditionHeaderValue.cs (1)
26ArgumentNullException.ThrowIfNull(entityTag);
System\Net\Http\HttpClient.cs (3)
44ArgumentNullException.ThrowIfNull(value); 58ArgumentNullException.ThrowIfNull(value); 575ArgumentNullException.ThrowIfNull(request);
System\Net\Http\HttpClientHandler.cs (3)
135ArgumentNullException.ThrowIfNull(value); 359ArgumentNullException.ThrowIfNull(request); 366ArgumentNullException.ThrowIfNull(request);
System\Net\Http\HttpContent.cs (2)
323ArgumentNullException.ThrowIfNull(stream); 353ArgumentNullException.ThrowIfNull(stream);
System\Net\Http\HttpMessageInvoker.cs (3)
23ArgumentNullException.ThrowIfNull(handler); 37ArgumentNullException.ThrowIfNull(request); 69ArgumentNullException.ThrowIfNull(request);
System\Net\Http\HttpRequestMessage.cs (3)
45ArgumentNullException.ThrowIfNull(value); 100ArgumentNullException.ThrowIfNull(value); 186ArgumentNullException.ThrowIfNull(method);
System\Net\Http\HttpResponseMessage.cs (1)
31ArgumentNullException.ThrowIfNull(value);
System\Net\Http\MessageProcessingHandler.cs (2)
33ArgumentNullException.ThrowIfNull(request); 45ArgumentNullException.ThrowIfNull(request);
System\Net\Http\Metrics\HttpMetricsEnrichmentContext.cs (2)
73ArgumentNullException.ThrowIfNull(request); 74ArgumentNullException.ThrowIfNull(callback);
System\Net\Http\MultipartContent.cs (1)
100ArgumentNullException.ThrowIfNull(content);
System\Net\Http\MultipartFormDataContent.cs (3)
28ArgumentNullException.ThrowIfNull(content); 37ArgumentNullException.ThrowIfNull(content); 45ArgumentNullException.ThrowIfNull(content);
System\Net\Http\SocketsHttpHandler\HttpConnectionResponseContent.cs (2)
39ArgumentNullException.ThrowIfNull(stream); 53ArgumentNullException.ThrowIfNull(stream);
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
648ArgumentNullException.ThrowIfNull(request); 678ArgumentNullException.ThrowIfNull(request);
System\Net\Http\StreamContent.cs (2)
22ArgumentNullException.ThrowIfNull(content); 30ArgumentNullException.ThrowIfNull(content);
System\Net\Http\StringContent.cs (1)
92ArgumentNullException.ThrowIfNull(content);
System\Net\Http\ZstandardCompressedContent.cs (3)
50ArgumentNullException.ThrowIfNull(content); 81ArgumentNullException.ThrowIfNull(content); 82ArgumentNullException.ThrowIfNull(compressionOptions);
System.Net.Http.Json (50)
System\Net\Http\Json\HttpClientJsonExtensions.cs (1)
41ArgumentNullException.ThrowIfNull(client);
System\Net\Http\Json\HttpClientJsonExtensions.Delete.cs (12)
30/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 45/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 60/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 75/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 90/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 103/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 116/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 129/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 141/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 155/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 169/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 183/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception>
System\Net\Http\Json\HttpClientJsonExtensions.Get.AsyncEnumerable.cs (7)
28/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 48/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 68/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 86/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 103/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 121/// <exception cref="ArgumentNullException">The <paramref name="client"/> is <see langword="null"/>.</exception> 149ArgumentNullException.ThrowIfNull(client);
System\Net\Http\Json\HttpClientJsonExtensions.Patch.cs (10)
24/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 29ArgumentNullException.ThrowIfNull(client); 45/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 50ArgumentNullException.ThrowIfNull(client); 65/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 80/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 96/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 99ArgumentNullException.ThrowIfNull(client); 115/// <exception cref="ArgumentNullException">The <paramref name="client"/> is null.</exception> 118ArgumentNullException.ThrowIfNull(client);
System\Net\Http\Json\HttpClientJsonExtensions.Post.cs (4)
18ArgumentNullException.ThrowIfNull(client); 28ArgumentNullException.ThrowIfNull(client); 46ArgumentNullException.ThrowIfNull(client); 54ArgumentNullException.ThrowIfNull(client);
System\Net\Http\Json\HttpClientJsonExtensions.Put.cs (4)
18ArgumentNullException.ThrowIfNull(client); 28ArgumentNullException.ThrowIfNull(client); 46ArgumentNullException.ThrowIfNull(client); 54ArgumentNullException.ThrowIfNull(client);
System\Net\Http\Json\HttpContentJsonExtensions.AsyncEnumerable.cs (5)
25/// <exception cref="ArgumentNullException"> 45/// <exception cref="ArgumentNullException"> 55ArgumentNullException.ThrowIfNull(content); 69/// <exception cref="ArgumentNullException"> 77ArgumentNullException.ThrowIfNull(content);
System\Net\Http\Json\HttpContentJsonExtensions.cs (4)
32ArgumentNullException.ThrowIfNull(content); 63ArgumentNullException.ThrowIfNull(content); 104ArgumentNullException.ThrowIfNull(content); 111ArgumentNullException.ThrowIfNull(content);
System\Net\Http\Json\JsonContent.cs (3)
68ArgumentNullException.ThrowIfNull(inputType); 84ArgumentNullException.ThrowIfNull(jsonTypeInfo); 98ArgumentNullException.ThrowIfNull(jsonTypeInfo);
System.Net.Http.WinHttpHandler (4)
src\runtime\src\libraries\Common\src\System\IO\StreamHelpers.CopyValidation.cs (1)
12ArgumentNullException.ThrowIfNull(destination);
System\Net\Http\WinHttpHandler.cs (1)
595ArgumentNullException.ThrowIfNull(request);
System\Net\Http\WinHttpRequestStream.cs (1)
100ArgumentNullException.ThrowIfNull(buffer);
System\Net\Http\WinHttpResponseStream.cs (1)
174ArgumentNullException.ThrowIfNull(buffer);
System.Net.HttpListener (17)
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
115ArgumentNullException.ThrowIfNull(buffer);
System\Net\HttpListener.cs (4)
64ArgumentNullException.ThrowIfNull(value); 86ArgumentNullException.ThrowIfNull(value); 109ArgumentNullException.ThrowIfNull(uriPrefix); 223ArgumentNullException.ThrowIfNull(uriPrefix);
System\Net\HttpListenerPrefixCollection.cs (2)
41ArgumentNullException.ThrowIfNull(array); 57ArgumentNullException.ThrowIfNull(array);
System\Net\HttpListenerResponse.cs (3)
156ArgumentNullException.ThrowIfNull(value); 187ArgumentNullException.ThrowIfNull(cookie); 252ArgumentNullException.ThrowIfNull(cookie);
System\Net\HttpResponseStream.cs (1)
70ArgumentNullException.ThrowIfNull(asyncResult);
System\Net\Managed\ChunkedInputStream.cs (1)
154ArgumentNullException.ThrowIfNull(asyncResult);
System\Net\Managed\HttpListener.Managed.cs (1)
305ArgumentNullException.ThrowIfNull(asyncResult);
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
352ArgumentNullException.ThrowIfNull(asyncResult);
System\Net\Managed\HttpListenerResponse.Managed.cs (2)
64ArgumentNullException.ThrowIfNull(value); 116ArgumentNullException.ThrowIfNull(responseEntity);
System\Net\Managed\HttpRequestStream.Managed.cs (1)
166ArgumentNullException.ThrowIfNull(asyncResult);
System.Net.Mail (39)
System\Net\DelegatedStream.cs (1)
17ArgumentNullException.ThrowIfNull(stream);
System\Net\Mail\AlternateViewCollection.cs (2)
48ArgumentNullException.ThrowIfNull(item); 55ArgumentNullException.ThrowIfNull(item);
System\Net\Mail\Attachment.cs (2)
87ArgumentNullException.ThrowIfNull(content); 123ArgumentNullException.ThrowIfNull(content);
System\Net\Mail\AttachmentCollection.cs (2)
48ArgumentNullException.ThrowIfNull(item); 55ArgumentNullException.ThrowIfNull(item);
System\Net\Mail\LinkedResourceCollection.cs (2)
47ArgumentNullException.ThrowIfNull(item); 54ArgumentNullException.ThrowIfNull(item);
System\Net\Mail\MailAddressCollection.cs (2)
28ArgumentNullException.ThrowIfNull(item); 35ArgumentNullException.ThrowIfNull(item);
System\Net\Mail\MailMessage.cs (3)
63ArgumentNullException.ThrowIfNull(from); 64ArgumentNullException.ThrowIfNull(to); 78ArgumentNullException.ThrowIfNull(value);
System\Net\Mail\MailPriority.cs (2)
87ArgumentNullException.ThrowIfNull(value); 235ArgumentNullException.ThrowIfNull(value);
System\Net\Mail\MailWriter.cs (1)
27ArgumentNullException.ThrowIfNull(headers);
System\Net\Mail\SmtpAuthenticationManager.cs (1)
21ArgumentNullException.ThrowIfNull(module);
System\Net\Mail\SmtpClient.cs (1)
448ArgumentNullException.ThrowIfNull(message);
System\Net\Mail\SmtpFailedRecipientsException.cs (2)
43ArgumentNullException.ThrowIfNull(innerExceptions); 53ArgumentNullException.ThrowIfNull(innerExceptions);
System\Net\Mail\SmtpTransport.cs (3)
32ArgumentNullException.ThrowIfNull(authenticationModules); 114ArgumentNullException.ThrowIfNull(sender); 115ArgumentNullException.ThrowIfNull(recipients);
System\Net\Mime\BaseWriter.cs (3)
29ArgumentNullException.ThrowIfNull(stream); 44ArgumentNullException.ThrowIfNull(name); 45ArgumentNullException.ThrowIfNull(value);
System\Net\Mime\ContentDisposition.cs (1)
59ArgumentNullException.ThrowIfNull(disposition);
System\Net\Mime\MediaTypeMap.cs (4)
776/// <exception cref="ArgumentNullException"><paramref name="pathOrExtension"/> is <see langword="null"/>.</exception> 779ArgumentNullException.ThrowIfNull(pathOrExtension); 833/// <exception cref="ArgumentNullException"><paramref name="mediaType"/> is <see langword="null"/>.</exception> 836ArgumentNullException.ThrowIfNull(mediaType);
System\Net\Mime\MimeBasePart.cs (2)
114ArgumentNullException.ThrowIfNull(value); 172ArgumentNullException.ThrowIfNull(value);
System\Net\Mime\MimePart.cs (3)
106ArgumentNullException.ThrowIfNull(stream); 121ArgumentNullException.ThrowIfNull(stream); 136ArgumentNullException.ThrowIfNull(stream);
System\Net\Mime\MimeWriter.cs (2)
23ArgumentNullException.ThrowIfNull(boundary); 30ArgumentNullException.ThrowIfNull(headers);
System.Net.NameResolution (54)
System\Net\Dns.cs (12)
44ArgumentNullException.ThrowIfNull(address); 71ArgumentNullException.ThrowIfNull(hostNameOrAddress); 156ArgumentNullException.ThrowIfNull(address); 183ArgumentNullException.ThrowIfNull(asyncResult); 201ArgumentNullException.ThrowIfNull(hostNameOrAddress); 259ArgumentNullException.ThrowIfNull(asyncResult); 267ArgumentNullException.ThrowIfNull(hostName); 286ArgumentNullException.ThrowIfNull(asyncResult); 296ArgumentNullException.ThrowIfNull(address); 309ArgumentNullException.ThrowIfNull(address); 320ArgumentNullException.ThrowIfNull(hostName); 672ArgumentNullException.ThrowIfNull(hostName);
System\Net\Dns.Resolve.cs (18)
26/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 44/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 77/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 90/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 104/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 117/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 131/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 144/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 158/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 171/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 185/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 198/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 211/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 224/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 238/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 250/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 264/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
System\Net\DnsResolver.cs (22)
42/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 45ArgumentNullException.ThrowIfNull(options); 71/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 104/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 121/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 138/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 155/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 172/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 189/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 193ArgumentNullException.ThrowIfNull(address); 205/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 223/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 240/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 256/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 272/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 288/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 304/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 320/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception> 336/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 340ArgumentNullException.ThrowIfNull(address); 351/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
System\Net\DnsResolverOptions.cs (2)
18/// <exception cref="ArgumentNullException">The value being set is <see langword="null"/>.</exception> 24ArgumentNullException.ThrowIfNull(value);
System.Net.NetworkInformation (1)
src\runtime\src\libraries\Common\src\System\IO\StringParser.cs (1)
36ArgumentNullException.ThrowIfNull(buffer);
System.Net.Ping (18)
System\Net\NetworkInformation\Ping.cs (18)
48ArgumentNullException.ThrowIfNull(buffer); 62ArgumentNullException.ThrowIfNull(address); 183/// <exception cref="ArgumentNullException"><paramref name="hostNameOrAddress"/> is <see langword="null"/> or is an empty string ("").</exception> 207/// <exception cref="ArgumentNullException"><paramref name="hostNameOrAddress"/> is <see langword="null"/> or is an empty string ("").</exception> 228/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 251/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 280/// <exception cref="ArgumentNullException"><paramref name="hostNameOrAddress"/> is <see langword="null"/> or is an empty string ("").</exception> 281/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 310/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 311/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 344/// <exception cref="ArgumentNullException"><paramref name="hostNameOrAddress"/> is <see langword="null"/> or is an empty string ("").</exception> 345/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 389/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 390/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 440/// <exception cref="ArgumentNullException"><paramref name="address"/> is <see langword="null"/>.</exception> 441/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 472/// <exception cref="ArgumentNullException"><paramref name="hostNameOrAddress"/> is <see langword="null"/> or is an empty string ("").</exception> 473/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception>
System.Net.Primitives (30)
System\Net\CookieCollection.cs (2)
69ArgumentNullException.ThrowIfNull(cookie); 84ArgumentNullException.ThrowIfNull(cookies);
System\Net\CookieContainer.cs (10)
183ArgumentNullException.ThrowIfNull(cookie); 537ArgumentNullException.ThrowIfNull(cookies); 547ArgumentNullException.ThrowIfNull(uri); 548ArgumentNullException.ThrowIfNull(cookie); 558ArgumentNullException.ThrowIfNull(uri); 559ArgumentNullException.ThrowIfNull(cookies); 641ArgumentNullException.ThrowIfNull(uri); 827ArgumentNullException.ThrowIfNull(uri); 863ArgumentNullException.ThrowIfNull(uri); 864ArgumentNullException.ThrowIfNull(cookieHeader);
System\Net\CredentialCache.cs (6)
26ArgumentNullException.ThrowIfNull(uriPrefix); 27ArgumentNullException.ThrowIfNull(authType); 51ArgumentNullException.ThrowIfNull(authenticationType); 129ArgumentNullException.ThrowIfNull(uriPrefix); 130ArgumentNullException.ThrowIfNull(authType); 148ArgumentNullException.ThrowIfNull(authenticationType);
System\Net\IPAddress.cs (2)
287ArgumentNullException.ThrowIfNull(ipString); 568ArgumentNullException.ThrowIfNull(address);
System\Net\IPEndPoint.cs (4)
53ArgumentNullException.ThrowIfNull(address); 72ArgumentNullException.ThrowIfNull(value); 164ArgumentNullException.ThrowIfNull(s); 188ArgumentNullException.ThrowIfNull(socketAddress);
System\Net\IPNetwork.cs (6)
41/// <exception cref="ArgumentNullException">The specified <paramref name="baseAddress"/> is <see langword="null"/>.</exception> 46ArgumentNullException.ThrowIfNull(baseAddress); 65/// <exception cref="ArgumentNullException">The specified <paramref name="address"/> is <see langword="null"/>.</exception> 68ArgumentNullException.ThrowIfNull(address); 116/// <exception cref="ArgumentNullException">The specified string is <see langword="null"/>.</exception> 120ArgumentNullException.ThrowIfNull(s);
System.Net.Requests (19)
System\Net\AuthenticationManager.cs (3)
26ArgumentNullException.ThrowIfNull(authenticationModule); 31ArgumentNullException.ThrowIfNull(authenticationModule); 36ArgumentNullException.ThrowIfNull(authenticationScheme);
System\Net\FtpWebRequest.cs (4)
324ArgumentNullException.ThrowIfNull(value); 682ArgumentNullException.ThrowIfNull(asyncResult); 803ArgumentNullException.ThrowIfNull(asyncResult); 1537ArgumentNullException.ThrowIfNull(value);
System\Net\HttpWebRequest.cs (4)
378ArgumentNullException.ThrowIfNull(value); 804ArgumentNullException.ThrowIfNull(value); 1520ArgumentNullException.ThrowIfNull(rangeSpecifier); 1547ArgumentNullException.ThrowIfNull(rangeSpecifier);
System\Net\ServicePoint\ServicePointManager.cs (1)
109ArgumentNullException.ThrowIfNull(address);
System\Net\WebRequest.cs (7)
154ArgumentNullException.ThrowIfNull(requestUriString); 172ArgumentNullException.ThrowIfNull(requestUri); 191ArgumentNullException.ThrowIfNull(requestUri); 199ArgumentNullException.ThrowIfNull(requestUriString); 207ArgumentNullException.ThrowIfNull(requestUri); 235ArgumentNullException.ThrowIfNull(prefix); 236ArgumentNullException.ThrowIfNull(creator);
System.Net.Security (18)
System\Net\Security\CipherSuitesPolicy.cs (1)
21ArgumentNullException.ThrowIfNull(allowedCipherSuites);
System\Net\Security\NegotiateAuthentication.cs (2)
42ArgumentNullException.ThrowIfNull(clientOptions); 59ArgumentNullException.ThrowIfNull(serverOptions);
System\Net\Security\NegotiateStream.cs (2)
645ArgumentNullException.ThrowIfNull(credential); 646ArgumentNullException.ThrowIfNull(servicePrincipalName);
System\Net\Security\SslStream.cs (4)
339ArgumentNullException.ThrowIfNull(sslClientAuthenticationOptions); 373ArgumentNullException.ThrowIfNull(sslServerAuthenticationOptions); 401ArgumentNullException.ThrowIfNull(sslClientAuthenticationOptions); 440ArgumentNullException.ThrowIfNull(sslServerAuthenticationOptions);
System\Net\Security\TlsContext.cs (4)
125/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 128ArgumentNullException.ThrowIfNull(options); 152/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 164ArgumentNullException.ThrowIfNull(options);
System\Net\Security\TlsSession.cs (2)
608/// <exception cref="ArgumentNullException">Thrown when <paramref name="context"/> is null.</exception> 621ArgumentNullException.ThrowIfNull(context);
System\Net\Security\TlsSocketSession.cs (1)
29ArgumentNullException.ThrowIfNull(socket);
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (1)
57ArgumentNullException.ThrowIfNull(customChannelBinding);
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
17ArgumentNullException.ThrowIfNull(items);
System.Net.ServerSentEvents (2)
System\Net\ServerSentEvents\SseParser.cs (2)
21/// <exception cref="ArgumentNullException"><paramref name="sseStream"/> is null.</exception> 34/// <exception cref="ArgumentNullException"><paramref name="sseStream"/> or <paramref name="itemParser"/> is null.</exception>
System.Net.Sockets (87)
src\runtime\src\libraries\Common\src\System\Net\RangeValidationHelpers.cs (1)
19ArgumentNullException.ThrowIfNull(segment.Array, nameof(segment));
System\Net\Sockets\MulticastOption.cs (8)
17ArgumentNullException.ThrowIfNull(group); 18ArgumentNullException.ThrowIfNull(mcint); 26ArgumentNullException.ThrowIfNull(group); 38ArgumentNullException.ThrowIfNull(group); 51ArgumentNullException.ThrowIfNull(value); 91ArgumentNullException.ThrowIfNull(group); 104ArgumentNullException.ThrowIfNull(group); 116ArgumentNullException.ThrowIfNull(value);
System\Net\Sockets\NetworkStream.cs (3)
47ArgumentNullException.ThrowIfNull(socket); 473ArgumentNullException.ThrowIfNull(asyncResult); 536ArgumentNullException.ThrowIfNull(asyncResult);
System\Net\Sockets\SendPacketsElement.cs (3)
30ArgumentNullException.ThrowIfNull(filepath); 50ArgumentNullException.ThrowIfNull(fileStream); 76ArgumentNullException.ThrowIfNull(buffer);
System\Net\Sockets\Socket.cs (40)
105/// <exception cref="ArgumentNullException"><paramref name="handle"/> is null.</exception> 240ArgumentNullException.ThrowIfNull(handle); 795ArgumentNullException.ThrowIfNull(localEP); 837ArgumentNullException.ThrowIfNull(remoteEP); 881ArgumentNullException.ThrowIfNull(address); 906ArgumentNullException.ThrowIfNull(host); 937ArgumentNullException.ThrowIfNull(addresses); 1144ArgumentNullException.ThrowIfNull(buffers); 1357ArgumentNullException.ThrowIfNull(remoteEP); 1415/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 1432/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 1440ArgumentNullException.ThrowIfNull(remoteEP); 1475/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 1483ArgumentNullException.ThrowIfNull(socketAddress); 1638ArgumentNullException.ThrowIfNull(buffers); 1744/// <exception cref="ArgumentNullException">The <see cref="EndPoint"/> remoteEP is null.</exception> 1756ArgumentNullException.ThrowIfNull(remoteEP); 1921/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 1936/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 2019/// <exception cref="ArgumentNullException"><c>remoteEP</c> is <see langword="null" />.</exception> 2027ArgumentNullException.ThrowIfNull(receivedAddress); 2123ArgumentNullException.ThrowIfNull(optionValue); 2393/// <exception cref="ArgumentNullException">The <paramref name="checkRead"/>, <paramref name="checkWrite"/>, or <paramref name="checkError"/> parameter is <see langword="null"/> or empty.</exception> 2435/// <exception cref="ArgumentNullException">The <paramref name="checkRead"/>, <paramref name="checkWrite"/>, or <paramref name="checkError"/> parameter is <see langword="null"/> or empty.</exception> 2587ArgumentNullException.ThrowIfNull(remoteEP); 2697ArgumentNullException.ThrowIfNull(endPoint); 2737ArgumentNullException.ThrowIfNull(endPoint); 2846ArgumentNullException.ThrowIfNull(e); 2898ArgumentNullException.ThrowIfNull(e); 2903ArgumentNullException.ThrowIfNull(e.RemoteEndPoint, "remoteEP"); 2997ArgumentNullException.ThrowIfNull(e); 3046ArgumentNullException.ThrowIfNull(e); 3058ArgumentNullException.ThrowIfNull(e); 3083ArgumentNullException.ThrowIfNull(e); 3108ArgumentNullException.ThrowIfNull(e); 3165ArgumentNullException.ThrowIfNull(e); 3212ArgumentNullException.ThrowIfNull(e); 3237ArgumentNullException.ThrowIfNull(e); 3270ArgumentNullException.ThrowIfNull(e); 3971ArgumentNullException.ThrowIfNull(remoteEndPoint, remoteEndPointArgumentName);
System\Net\Sockets\Socket.Tasks.cs (8)
143ArgumentNullException.ThrowIfNull(addresses); 218ArgumentNullException.ThrowIfNull(host); 415ArgumentNullException.ThrowIfNull(receivedAddress); 644ArgumentNullException.ThrowIfNull(remoteEP); 674ArgumentNullException.ThrowIfNull(socketAddress); 793ArgumentNullException.ThrowIfNull(buffer); 801ArgumentNullException.ThrowIfNull(buffer.Array, nameof(buffer.Array)); 815ArgumentNullException.ThrowIfNull(buffers);
System\Net\Sockets\TCPClient.cs (5)
47ArgumentNullException.ThrowIfNull(localEP); 59ArgumentNullException.ThrowIfNull(hostname); 127ArgumentNullException.ThrowIfNull(hostname); 146ArgumentNullException.ThrowIfNull(address); 163ArgumentNullException.ThrowIfNull(remoteEP);
System\Net\Sockets\TCPListener.cs (2)
27ArgumentNullException.ThrowIfNull(localEP); 38ArgumentNullException.ThrowIfNull(localaddr);
System\Net\Sockets\UDPClient.cs (13)
85ArgumentNullException.ThrowIfNull(localEP); 322ArgumentNullException.ThrowIfNull(datagram); 402ArgumentNullException.ThrowIfNull(multicastAddr); 446ArgumentNullException.ThrowIfNull(multicastAddr); 466ArgumentNullException.ThrowIfNull(multicastAddr); 487ArgumentNullException.ThrowIfNull(multicastAddr); 515ArgumentNullException.ThrowIfNull(multicastAddr); 673ArgumentNullException.ThrowIfNull(hostname); 697ArgumentNullException.ThrowIfNull(hostname); 812ArgumentNullException.ThrowIfNull(addr); 829ArgumentNullException.ThrowIfNull(endPoint); 865ArgumentNullException.ThrowIfNull(dgram); 945ArgumentNullException.ThrowIfNull(dgram);
System\Net\Sockets\UdpReceiveResult.cs (2)
23ArgumentNullException.ThrowIfNull(buffer); 24ArgumentNullException.ThrowIfNull(remoteEndPoint);
System\Net\Sockets\UnixDomainSocketEndPoint.cs (2)
24/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 33ArgumentNullException.ThrowIfNull(path);
System.Net.WebClient (31)
System\Net\WebClient.cs (31)
147ArgumentNullException.ThrowIfNull(value); 284ArgumentNullException.ThrowIfNull(address); 324ArgumentNullException.ThrowIfNull(address); 325ArgumentNullException.ThrowIfNull(fileName); 363ArgumentNullException.ThrowIfNull(address); 396ArgumentNullException.ThrowIfNull(address); 434ArgumentNullException.ThrowIfNull(address); 435ArgumentNullException.ThrowIfNull(data); 558ArgumentNullException.ThrowIfNull(address); 559ArgumentNullException.ThrowIfNull(fileName); 629ArgumentNullException.ThrowIfNull(address); 630ArgumentNullException.ThrowIfNull(data); 666ArgumentNullException.ThrowIfNull(address); 667ArgumentNullException.ThrowIfNull(data); 690ArgumentNullException.ThrowIfNull(address); 780ArgumentNullException.ThrowIfNull(address); 800ArgumentNullException.ThrowIfNull(address); 1195ArgumentNullException.ThrowIfNull(address); 1233ArgumentNullException.ThrowIfNull(address); 1292ArgumentNullException.ThrowIfNull(address); 1318ArgumentNullException.ThrowIfNull(address); 1344ArgumentNullException.ThrowIfNull(address); 1345ArgumentNullException.ThrowIfNull(fileName); 1370ArgumentNullException.ThrowIfNull(address); 1371ArgumentNullException.ThrowIfNull(data); 1419ArgumentNullException.ThrowIfNull(address); 1420ArgumentNullException.ThrowIfNull(data); 1458ArgumentNullException.ThrowIfNull(address); 1459ArgumentNullException.ThrowIfNull(fileName); 1495ArgumentNullException.ThrowIfNull(address); 1496ArgumentNullException.ThrowIfNull(data);
System.Net.WebProxy (4)
System\Net\WebProxy.cs (4)
269/// <exception cref="ArgumentNullException">The <paramref name="destination"/> parameter is <see langword="null"/>.</exception> 272ArgumentNullException.ThrowIfNull(destination); 403/// <exception cref="ArgumentNullException">The <paramref name="host"/> parameter is <see langword="null"/>.</exception> 406ArgumentNullException.ThrowIfNull(host);
System.Net.WebSockets (9)
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
115ArgumentNullException.ThrowIfNull(buffer);
System\Net\WebSockets\WebSocket.cs (4)
134ArgumentNullException.ThrowIfNull(stream); 161ArgumentNullException.ThrowIfNull(stream); 162ArgumentNullException.ThrowIfNull(options); 188ArgumentNullException.ThrowIfNull(innerStream);
System\Net\WebSockets\WebSocketStream.cs (4)
37ArgumentNullException.ThrowIfNull(webSocket); 53ArgumentNullException.ThrowIfNull(webSocket); 73ArgumentNullException.ThrowIfNull(webSocket); 88ArgumentNullException.ThrowIfNull(webSocket);
System.Net.WebSockets.Client (2)
src\runtime\src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
115ArgumentNullException.ThrowIfNull(buffer);
System\Net\WebSockets\ClientWebSocket.cs (1)
92ArgumentNullException.ThrowIfNull(uri);
System.ObjectModel (15)
System\Collections\CollectionHelpers.cs (1)
12ArgumentNullException.ThrowIfNull(array);
System\Collections\Generic\DebugView.cs (1)
14ArgumentNullException.ThrowIfNull(collection);
System\Collections\ObjectModel\KeyedCollection.cs (4)
74ArgumentNullException.ThrowIfNull(key); 94ArgumentNullException.ThrowIfNull(key); 134ArgumentNullException.ThrowIfNull(key); 290ArgumentNullException.ThrowIfNull(collection);
System\Collections\ObjectModel\ObservableCollection.cs (2)
46/// <exception cref="ArgumentNullException"> collection is a null reference </exception> 60/// <exception cref="ArgumentNullException"> list is a null reference </exception>
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (3)
117ArgumentNullException.ThrowIfNull(changedItems); 194ArgumentNullException.ThrowIfNull(newItems); 195ArgumentNullException.ThrowIfNull(oldItems);
System\ComponentModel\TypeConverterAttribute.cs (2)
37ArgumentNullException.ThrowIfNull(type); 49ArgumentNullException.ThrowIfNull(typeName);
System\ComponentModel\TypeDescriptionProviderAttribute.cs (2)
16ArgumentNullException.ThrowIfNull(typeName); 26ArgumentNullException.ThrowIfNull(type);
System.Private.CoreLib (1659)
Internal\Reflection\Augments\ReflectionAugments.cs (11)
99ArgumentNullException.ThrowIfNull(assemblyRef); 260ArgumentNullException.ThrowIfNull(type); 261ArgumentNullException.ThrowIfNull(method); 288ArgumentNullException.ThrowIfNull(type); 289ArgumentNullException.ThrowIfNull(target); 290ArgumentNullException.ThrowIfNull(method); 313ArgumentNullException.ThrowIfNull(type); 314ArgumentNullException.ThrowIfNull(target); 317ArgumentNullException.ThrowIfNull(method); 402ArgumentNullException.ThrowIfNull(target); 403ArgumentNullException.ThrowIfNull(flds);
Internal\Reflection\Extensions\NonPortable\CustomAttributeInheritanceRules.cs (1)
75ArgumentNullException.ThrowIfNull(element);
Internal\Reflection\Extensions\NonPortable\CustomAttributeSearcher.cs (2)
37ArgumentNullException.ThrowIfNull(element); 42ArgumentNullException.ThrowIfNull(optionalAttributeTypeFilter, "type");
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (5)
49ArgumentNullException.ThrowIfNull(key); 58ArgumentNullException.ThrowIfNull(key); 71ArgumentNullException.ThrowIfNull(key); 85ArgumentNullException.ThrowIfNull(key); 103ArgumentNullException.ThrowIfNull(key);
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtable.cs (2)
371ArgumentNullException.ThrowIfNull(value); 600ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\Common\src\System\IO\StringParser.cs (1)
36ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToAsyncResult.cs (8)
24/// <exception cref="ArgumentNullException"><paramref name="task"/> is null.</exception> 37ArgumentNullException.ThrowIfNull(task); 47/// <exception cref="ArgumentNullException"><paramref name="asyncResult"/> is null.</exception> 57/// <exception cref="ArgumentNullException"><paramref name="asyncResult"/> is null.</exception> 66/// <exception cref="ArgumentNullException"><paramref name="asyncResult"/> is null.</exception> 70ArgumentNullException.ThrowIfNull(asyncResult); 84/// <exception cref="ArgumentNullException"><paramref name="asyncResult"/> is null.</exception> 92ArgumentNullException.ThrowIfNull(asyncResult);
src\runtime\src\libraries\Common\src\System\TimeProvider.cs (2)
138/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 162ArgumentNullException.ThrowIfNull(callback);
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (4)
40ArgumentNullException.ThrowIfNull(result, argName); 82ArgumentNullException.ThrowIfNull(functionHandle); 188ArgumentNullException.ThrowIfNull(assembly); 264ArgumentNullException.ThrowIfNull(functionHandle);
src\runtime\src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (12)
54/// <exception cref="ArgumentNullException">The <paramref name="innerException"/> argument 59ArgumentNullException.ThrowIfNull(innerException); 69/// <exception cref="ArgumentNullException">The <paramref name="innerExceptions"/> argument 83/// <exception cref="ArgumentNullException">The <paramref name="innerExceptions"/> argument 98/// <exception cref="ArgumentNullException">The <paramref name="innerExceptions"/> argument 113/// <exception cref="ArgumentNullException">The <paramref name="innerExceptions"/> argument 145/// <exception cref="ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument 163/// <exception cref="ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument 186/// <exception cref="ArgumentNullException">The <paramref name="info"/> argument is null.</exception> 205/// <exception cref="ArgumentNullException">The <paramref name="info"/> argument is null.</exception> 260/// <exception cref="ArgumentNullException">The <paramref name="predicate"/> argument is 264ArgumentNullException.ThrowIfNull(predicate);
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppContext.cs (3)
41ArgumentNullException.ThrowIfNull(name); 81/// <exception cref="ArgumentNullException">If <paramref name="name"/> is <see langword="null"/></exception> 84ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (7)
118ArgumentNullException.ThrowIfNull(friendlyName); 129ArgumentNullException.ThrowIfNull(assemblyFile); 186ArgumentNullException.ThrowIfNull(domain); 286ArgumentNullException.ThrowIfNull(principal); 298ArgumentNullException.ThrowIfNull(assemblyName); 306ArgumentNullException.ThrowIfNull(assemblyName); 321ArgumentNullException.ThrowIfNull(assemblyName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (2)
16ArgumentNullException.ThrowIfNull(version); 17ArgumentNullException.ThrowIfNull(publicKeyToken);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArgumentException.cs (4)
102/// <exception cref="ArgumentNullException"><paramref name="argument"/> is null.</exception> 115/// <exception cref="ArgumentNullException"><paramref name="argument"/> is null.</exception> 128ArgumentNullException.ThrowIfNull(argument, paramName); 135ArgumentNullException.ThrowIfNull(argument, paramName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArgumentNullException.cs (3)
51/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 72/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary> 85/// <summary>Throws an <see cref="ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (21)
76ArgumentNullException.ThrowIfNull(elementType); 90ArgumentNullException.ThrowIfNull(elementType); 106ArgumentNullException.ThrowIfNull(elementType); 122ArgumentNullException.ThrowIfNull(elementType); 123ArgumentNullException.ThrowIfNull(lengths); 147ArgumentNullException.ThrowIfNull(elementType); 148ArgumentNullException.ThrowIfNull(lengths); 149ArgumentNullException.ThrowIfNull(lowerBounds); 176ArgumentNullException.ThrowIfNull(lengths); 198/// <exception cref="ArgumentNullException"><paramref name="arrayType"/> is null.</exception> 208ArgumentNullException.ThrowIfNull(arrayType); 230/// <exception cref="ArgumentNullException"><para><paramref name="arrayType"/> is null.</para> 245ArgumentNullException.ThrowIfNull(arrayType); 246ArgumentNullException.ThrowIfNull(lengths); 277/// <exception cref="ArgumentNullException"><para><paramref name="arrayType"/> is null.</para> 297ArgumentNullException.ThrowIfNull(arrayType); 298ArgumentNullException.ThrowIfNull(lengths); 299ArgumentNullException.ThrowIfNull(lowerBounds); 439ArgumentNullException.ThrowIfNull(sourceArray); 440ArgumentNullException.ThrowIfNull(destinationArray); 663/// <exception cref="ArgumentNullException"><paramref name="array"/> is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (17)
430/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 455/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 493/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 531/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 569/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 604/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 634/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 664/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 694/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 731/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 756/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 784/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 812/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 840/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 896/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 913/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 928/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
222ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffer.cs (3)
20ArgumentNullException.ThrowIfNull(src); 21ArgumentNullException.ThrowIfNull(dst); 59ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ConfigurableArrayPool.cs (1)
119ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (1)
26ArgumentNullException.ThrowIfNull(writer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (21)
53ArgumentNullException.ThrowIfNull(c); 144ArgumentNullException.ThrowIfNull(list); 295ArgumentNullException.ThrowIfNull(list); 305ArgumentNullException.ThrowIfNull(list); 406ArgumentNullException.ThrowIfNull(c); 487ArgumentNullException.ThrowIfNull(list); 496ArgumentNullException.ThrowIfNull(list); 591ArgumentNullException.ThrowIfNull(c); 649ArgumentNullException.ThrowIfNull(list); 658ArgumentNullException.ThrowIfNull(list); 683ArgumentNullException.ThrowIfNull(type); 819ArgumentNullException.ThrowIfNull(array); 892ArgumentNullException.ThrowIfNull(c); 1004ArgumentNullException.ThrowIfNull(c); 1061ArgumentNullException.ThrowIfNull(type); 2201ArgumentNullException.ThrowIfNull(c); 2278ArgumentNullException.ThrowIfNull(array); 2292ArgumentNullException.ThrowIfNull(array); 2399ArgumentNullException.ThrowIfNull(c); 2534ArgumentNullException.ThrowIfNull(type); 2645ArgumentNullException.ThrowIfNull(arrayList);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (15)
81ArgumentNullException.ThrowIfNull(info); 108ArgumentNullException.ThrowIfNull(info); 132/// <exception cref="ArgumentNullException"><paramref name="bytes"/> is null.</exception> 144ArgumentNullException.ThrowIfNull(bytes); 187/// <exception cref="ArgumentNullException"><paramref name="values"/> is null.</exception> 193ArgumentNullException.ThrowIfNull(values); 293/// <exception cref="ArgumentNullException"><paramref name="values"/> is null.</exception> 305ArgumentNullException.ThrowIfNull(values); 355/// <exception cref="ArgumentNullException"><paramref name="bits"/> is null.</exception> 358ArgumentNullException.ThrowIfNull(bits); 456/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 467/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 478/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 497ArgumentNullException.ThrowIfNull(value); 758ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Comparer.cs (3)
25ArgumentNullException.ThrowIfNull(culture); 32ArgumentNullException.ThrowIfNull(info); 41ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\CompatibleComparer.cs (1)
49ArgumentNullException.ThrowIfNull(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (45)
96/// <exception cref="ArgumentNullException"><paramref name="collection"/> is a null reference (Nothing in Visual Basic).</exception> 117/// <exception cref="ArgumentNullException"><paramref name="collection"/> is a null reference (Nothing in Visual Basic).</exception> 121ArgumentNullException.ThrowIfNull(collection); 138/// <exception cref="ArgumentNullException"><paramref name="collection"/> is a null reference (Nothing in Visual Basic).</exception> 144ArgumentNullException.ThrowIfNull(collection); 365/// <exception cref="ArgumentNullException"><paramref name="key"/> is null reference (Nothing in Visual Basic).</exception> 382/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference (Nothing in Visual Basic).</exception> 395/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference (Nothing in Visual Basic).</exception> 418/// <exception cref="ArgumentNullException"> 516/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference (Nothing in Visual Basic).</exception> 605/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference.</exception> 632/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference.</exception> 744/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in Visual Basic).</exception> 753ArgumentNullException.ThrowIfNull(array); 1059/// <exception cref="ArgumentNullException"> 1173/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1175/// <exception cref="ArgumentNullException"><paramref name="valueFactory"/> is a null reference 1214/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1216/// <exception cref="ArgumentNullException"><paramref name="valueFactory"/> is a null reference 1255/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1291/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1293/// <exception cref="ArgumentNullException"><paramref name="addValueFactory"/> is a null reference 1295/// <exception cref="ArgumentNullException"><paramref name="updateValueFactory"/> is a null reference 1366/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1368/// <exception cref="ArgumentNullException"><paramref name="addValueFactory"/> is a null reference 1370/// <exception cref="ArgumentNullException"><paramref name="updateValueFactory"/> is a null reference 1439/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1441/// <exception cref="ArgumentNullException"><paramref name="updateValueFactory"/> is a null reference 1538/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1563/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1595/// <exception cref="ArgumentNullException">The <paramref name="keyValuePair"/> of <paramref 1635/// <exception cref="ArgumentNullException">The Key property of <paramref 1664/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1701/// <exception cref="ArgumentNullException"> <paramref name="key"/> is a null reference 1752/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1783/// <exception cref="ArgumentNullException"><paramref name="key"/> is a null reference 1856/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference 1867ArgumentNullException.ThrowIfNull(array); 2351/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2362/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2370/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2522/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2537/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2571/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 2583/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (3)
77/// <exception cref="ArgumentNullException">The <paramref name="collection"/> argument is null.</exception> 119/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in 429/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\IProducerConsumerCollection.cs (1)
30/// <exception cref="ArgumentNullException"><paramref name="array"/> is a null reference (Nothing in
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs (1)
23ArgumentNullException.ThrowIfNull(collection);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (6)
64/// <exception cref="ArgumentNullException"><paramref name="list"/> is null.</exception> 75/// <exception cref="ArgumentNullException"><paramref name="set"/> is null.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="dictionary"/> is null.</exception> 95/// <exception cref="ArgumentNullException">The <paramref name="list"/> is null.</exception> 121/// <exception cref="ArgumentNullException">The <paramref name="list"/> is null.</exception> 162/// <exception cref="ArgumentNullException">The <paramref name="list"/> is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Comparer.cs (1)
18ArgumentNullException.ThrowIfNull(comparison);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (7)
710/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 750/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 775/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 793/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 859/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 871/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 946/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (4)
27/// <exception cref="ArgumentNullException">The <paramref name="equals"/> delegate was null.</exception> 30ArgumentNullException.ThrowIfNull(equals); 43/// <exception cref="ArgumentNullException">The <paramref name="keySelector"/> delegate was null.</exception> 46ArgumentNullException.ThrowIfNull(keySelector);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ICollectionDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(collection);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IReadOnlySet.cs (6)
23/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 30/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 37/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 44/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 51/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception> 58/// <exception cref="ArgumentNullException">other is <see langword="null" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (3)
49ArgumentNullException.ThrowIfNull(collection); 97ArgumentNullException.ThrowIfNull(array); 123ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\QueueDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(queue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (13)
350ArgumentNullException.ThrowIfNull(d); 360ArgumentNullException.ThrowIfNull(d); 479ArgumentNullException.ThrowIfNull(key); 574ArgumentNullException.ThrowIfNull(array); 628ArgumentNullException.ThrowIfNull(key); 832ArgumentNullException.ThrowIfNull(key); 970ArgumentNullException.ThrowIfNull(key); 1018ArgumentNullException.ThrowIfNull(table); 1027ArgumentNullException.ThrowIfNull(info); 1191ArgumentNullException.ThrowIfNull(array); 1226ArgumentNullException.ThrowIfNull(array); 1309ArgumentNullException.ThrowIfNull(key); 1503ArgumentNullException.ThrowIfNull(hashtable);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (8)
32ArgumentNullException.ThrowIfNull(key); 48ArgumentNullException.ThrowIfNull(key); 99ArgumentNullException.ThrowIfNull(key); 136ArgumentNullException.ThrowIfNull(key); 150ArgumentNullException.ThrowIfNull(array); 179ArgumentNullException.ThrowIfNull(key); 305ArgumentNullException.ThrowIfNull(array); 406ArgumentNullException.ThrowIfNull(list);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
12ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (4)
26ArgumentNullException.ThrowIfNull(dictionary); 112ArgumentNullException.ThrowIfNull(key); 253ArgumentNullException.ThrowIfNull(collection); 309ArgumentNullException.ThrowIfNull(collection);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
23ArgumentNullException.ThrowIfNull(set);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (20)
169ArgumentNullException.ThrowIfNull(targetType); 230ArgumentNullException.ThrowIfNull(conversionType); 492ArgumentNullException.ThrowIfNull(value); 2314ArgumentNullException.ThrowIfNull(inArray); 2321ArgumentNullException.ThrowIfNull(inArray); 2333ArgumentNullException.ThrowIfNull(inArray); 2377ArgumentNullException.ThrowIfNull(inArray); 2378ArgumentNullException.ThrowIfNull(outArray); 2555ArgumentNullException.ThrowIfNull(inArray); 2566/// <exception cref="ArgumentNullException"><paramref name="s"/> is <code>null</code>.</exception> 2640/// <exception cref="ArgumentNullException">Passed string <paramref name="source"/> is null.</exception> 2643ArgumentNullException.ThrowIfNull(source); 2762/// <exception cref="ArgumentNullException"><paramref name="inArray"/> is <code>null</code>.</exception> 2766ArgumentNullException.ThrowIfNull(inArray); 2778/// <exception cref="ArgumentNullException"><paramref name="inArray"/> is <code>null</code>.</exception> 2784ArgumentNullException.ThrowIfNull(inArray); 2857/// <exception cref="ArgumentNullException"><paramref name="inArray"/> is <code>null</code>.</exception> 2861ArgumentNullException.ThrowIfNull(inArray); 2873/// <exception cref="ArgumentNullException"><paramref name="inArray"/> is <code>null</code>.</exception> 2879ArgumentNullException.ThrowIfNull(inArray);
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (7)
245/// <exception cref="ArgumentNullException"> 288ArgumentNullException.ThrowIfNull(calendar); 355ArgumentNullException.ThrowIfNull(calendar); 501/// <exception cref="ArgumentNullException"> 541ArgumentNullException.ThrowIfNull(calendar); 696/// <exception cref="ArgumentNullException"> 760/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (3)
177ArgumentNullException.ThrowIfNull(calendar); 628ArgumentNullException.ThrowIfNull(info); 636ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
201ArgumentNullException.ThrowIfNull(info); 210ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (4)
456ArgumentNullException.ThrowIfNull(match); 643ArgumentNullException.ThrowIfNull(index, nameof(indexes)); 795ArgumentNullException.ThrowIfNull(match); 837ArgumentNullException.ThrowIfNull(match);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (6)
520ArgumentNullException.ThrowIfNull(predicate); 540ArgumentNullException.ThrowIfNull(collection); 541ArgumentNullException.ThrowIfNull(predicate); 567ArgumentNullException.ThrowIfNull(predicate); 586ArgumentNullException.ThrowIfNull(collection); 587ArgumentNullException.ThrowIfNull(predicate);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (1)
26ArgumentNullException.ThrowIfNull(provider);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisplayAttribute.cs (1)
38ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerTypeProxyAttribute.cs (2)
16ArgumentNullException.ThrowIfNull(type); 37ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerVisualizerAttribute.cs (6)
35ArgumentNullException.ThrowIfNull(visualizerObjectSource); 44ArgumentNullException.ThrowIfNull(visualizer); 53ArgumentNullException.ThrowIfNull(visualizer); 54ArgumentNullException.ThrowIfNull(visualizerObjectSource); 64ArgumentNullException.ThrowIfNull(visualizer); 83ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (5)
83ArgumentNullException.ThrowIfNull(e); 93ArgumentNullException.ThrowIfNull(e); 104ArgumentNullException.ThrowIfNull(e); 117ArgumentNullException.ThrowIfNull(e); 140ArgumentNullException.ThrowIfNull(frames);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\DiagnosticCounter.cs (4)
28ArgumentNullException.ThrowIfNull(Name); 29ArgumentNullException.ThrowIfNull(EventSource); 83ArgumentNullException.ThrowIfNull(DisplayName); 94ArgumentNullException.ThrowIfNull(DisplayUnits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventListener.cs (2)
186ArgumentNullException.ThrowIfNull(eventSource); 204ArgumentNullException.ThrowIfNull(eventSource);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (4)
357ArgumentNullException.ThrowIfNull(eventSourceType); 443ArgumentNullException.ThrowIfNull(eventSourceType); 491ArgumentNullException.ThrowIfNull(eventSource); 1759ArgumentNullException.ThrowIfNull(eventSourceType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\IncrementingPollingCounter.cs (1)
32ArgumentNullException.ThrowIfNull(totalValueProvider);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\PollingCounter.cs (1)
31ArgumentNullException.ThrowIfNull(metricProvider);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (3)
32ArgumentNullException.ThrowIfNull(key); 71ArgumentNullException.ThrowIfNull(key); 112ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventTypes.cs (5)
86ArgumentNullException.ThrowIfNull(name); 122ArgumentNullException.ThrowIfNull(defaultName); 176ArgumentNullException.ThrowIfNull(paramInfos); 191ArgumentNullException.ThrowIfNull(types); 206ArgumentNullException.ThrowIfNull(typeInfos);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingTypeInfo.cs (3)
26ArgumentNullException.ThrowIfNull(dataType); 41ArgumentNullException.ThrowIfNull(dataType); 42ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (24)
82/// <exception cref="ArgumentNullException"><paramref name="enumType"/> or <paramref name="value"/> is <see langword="null"/>.</exception> 89ArgumentNullException.ThrowIfNull(enumType); 246/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is null.</exception> 250ArgumentNullException.ThrowIfNull(enumType); 279/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is null.</exception> 283ArgumentNullException.ThrowIfNull(enumType); 301/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is null.</exception> 309ArgumentNullException.ThrowIfNull(enumType); 330/// <exception cref="ArgumentNullException"><paramref name="enumType" /> is null.</exception> 334ArgumentNullException.ThrowIfNull(enumType); 401ArgumentNullException.ThrowIfNull(flag); 513/// <exception cref="ArgumentNullException"><paramref name="enumType"/> or <paramref name="value"/> is <see langword="null"/>.</exception> 521ArgumentNullException.ThrowIfNull(enumType); 543/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is <see langword="null"/>.</exception> 555/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is <see langword="null"/>.</exception> 571/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is <see langword="null"/>.</exception> 596/// <exception cref="ArgumentNullException"><paramref name="enumType"/> is <see langword="null"/>.</exception> 612/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 635/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 1619/// <exception cref="ArgumentNullException">The <paramref name="enumType"/>, <paramref name="value"/>, or <paramref name="format"/> parameter is null.</exception> 1627ArgumentNullException.ThrowIfNull(value); 1628ArgumentNullException.ThrowIfNull(format); 2128ArgumentNullException.ThrowIfNull(enumType); 2196ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.cs (3)
67ArgumentNullException.ThrowIfNull(variable); 77ArgumentNullException.ThrowIfNull(variable); 139ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
47ArgumentNullException.ThrowIfNull(info); 106ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\FormattableString.cs (2)
61ArgumentNullException.ThrowIfNull(formattable); 80ArgumentNullException.ThrowIfNull(formattable);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Calendar.cs (1)
63ArgumentNullException.ThrowIfNull(calendar);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (5)
66ArgumentNullException.ThrowIfNull(assembly); 84ArgumentNullException.ThrowIfNull(name); 85ArgumentNullException.ThrowIfNull(assembly); 114ArgumentNullException.ThrowIfNull(name); 126ArgumentNullException.ThrowIfNull(text);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
702ArgumentNullException.ThrowIfNull(source);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Invariant.cs (1)
14ArgumentNullException.ThrowIfNull(source);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (1)
359ArgumentNullException.ThrowIfNull(source);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (11)
164ArgumentNullException.ThrowIfNull(name); 225ArgumentNullException.ThrowIfNull(textAndCompareCultureName); 369ArgumentNullException.ThrowIfNull(value); 389ArgumentNullException.ThrowIfNull(value); 716ArgumentNullException.ThrowIfNull(value); 743ArgumentNullException.ThrowIfNull(value); 920ArgumentNullException.ThrowIfNull(ci); 1026ArgumentNullException.ThrowIfNull(name); 1063ArgumentNullException.ThrowIfNull(name); 1064ArgumentNullException.ThrowIfNull(altName); 1102ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (22)
354ArgumentNullException.ThrowIfNull(value); 384ArgumentNullException.ThrowIfNull(value); 469ArgumentNullException.ThrowIfNull(eraName); 603ArgumentNullException.ThrowIfNull(value); 689ArgumentNullException.ThrowIfNull(value); 710ArgumentNullException.ThrowIfNull(value); 744ArgumentNullException.ThrowIfNull(value); 786ArgumentNullException.ThrowIfNull(value); 806ArgumentNullException.ThrowIfNull(value); 840ArgumentNullException.ThrowIfNull(value); 876ArgumentNullException.ThrowIfNull(value); 988ArgumentNullException.ThrowIfNull(value); 1022ArgumentNullException.ThrowIfNull(value); 1062ArgumentNullException.ThrowIfNull(value); 1087ArgumentNullException.ThrowIfNull(value); 1107ArgumentNullException.ThrowIfNull(value); 1129ArgumentNullException.ThrowIfNull(value); 1150ArgumentNullException.ThrowIfNull(value); 1543ArgumentNullException.ThrowIfNull(dtfi); 1593ArgumentNullException.ThrowIfNull(patterns); 1656ArgumentNullException.ThrowIfNull(value); 1677ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\GlobalizationExtensions.cs (1)
10ArgumentNullException.ThrowIfNull(compareInfo);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (4)
62ArgumentNullException.ThrowIfNull(unicode); 69ArgumentNullException.ThrowIfNull(unicode); 138ArgumentNullException.ThrowIfNull(ascii); 145ArgumentNullException.ThrowIfNull(ascii);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (16)
123ArgumentNullException.ThrowIfNull(nativeDig); 325ArgumentNullException.ThrowIfNull(value); 340ArgumentNullException.ThrowIfNull(value); 355ArgumentNullException.ThrowIfNull(value); 370ArgumentNullException.ThrowIfNull(value); 390ArgumentNullException.ThrowIfNull(value); 434ArgumentNullException.ThrowIfNull(value); 519ArgumentNullException.ThrowIfNull(value); 541ArgumentNullException.ThrowIfNull(value); 601ArgumentNullException.ThrowIfNull(value); 636ArgumentNullException.ThrowIfNull(value); 658ArgumentNullException.ThrowIfNull(value); 718ArgumentNullException.ThrowIfNull(value); 738ArgumentNullException.ThrowIfNull(value); 759ArgumentNullException.ThrowIfNull(value); 805ArgumentNullException.ThrowIfNull(nfi);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
28ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortKey.cs (2)
48ArgumentNullException.ThrowIfNull(sortkey1); 49ArgumentNullException.ThrowIfNull(sortkey2);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (5)
61ArgumentNullException.ThrowIfNull(value); 107/// <exception cref="ArgumentNullException"><paramref name="str"/> is null.</exception> 122/// <exception cref="ArgumentNullException"><paramref name="str"/> is null.</exception> 139/// <exception cref="ArgumentNullException"><paramref name="str"/> is null.</exception> 153/// <exception cref="ArgumentNullException"><paramref name="str"/> is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (7)
89ArgumentNullException.ThrowIfNull(textInfo); 122ArgumentNullException.ThrowIfNull(value); 166ArgumentNullException.ThrowIfNull(str); 172ArgumentNullException.ThrowIfNull(str); 495ArgumentNullException.ThrowIfNull(str); 501ArgumentNullException.ThrowIfNull(str); 619ArgumentNullException.ThrowIfNull(str);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (1)
541ArgumentNullException.Throw(argumentName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (5)
126ArgumentNullException.ThrowIfNull(d); 269ArgumentNullException.ThrowIfNull(g); 336ArgumentNullException.ThrowIfNull(input); 412ArgumentNullException.ThrowIfNull(input); 413ArgumentNullException.ThrowIfNull(format);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
83ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BinaryReader.cs (4)
41ArgumentNullException.ThrowIfNull(input); 42ArgumentNullException.ThrowIfNull(encoding); 296ArgumentNullException.ThrowIfNull(buffer); 415ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BinaryWriter.cs (6)
47ArgumentNullException.ThrowIfNull(output); 48ArgumentNullException.ThrowIfNull(encoding); 158ArgumentNullException.ThrowIfNull(buffer); 219ArgumentNullException.ThrowIfNull(chars); 231ArgumentNullException.ThrowIfNull(chars); 348ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Directory.cs (5)
202ArgumentNullException.ThrowIfNull(path); 203ArgumentNullException.ThrowIfNull(searchPattern); 204ArgumentNullException.ThrowIfNull(enumerationOptions); 252ArgumentNullException.ThrowIfNull(path); 300/// <exception cref="ArgumentNullException"><paramref name="path"/> or <paramref name="pathToTarget"/> is <see langword="null"/>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (4)
18ArgumentNullException.ThrowIfNull(path); 76ArgumentNullException.ThrowIfNull(path); 191ArgumentNullException.ThrowIfNull(searchPattern); 192ArgumentNullException.ThrowIfNull(enumerationOptions);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerable.cs (2)
29ArgumentNullException.ThrowIfNull(directory); 30ArgumentNullException.ThrowIfNull(transform);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
33ArgumentNullException.ThrowIfNull(directory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (57)
83ArgumentNullException.ThrowIfNull(path); 222/// <exception cref="ArgumentNullException"> 236ArgumentNullException.ThrowIfNull(fileHandle); 254/// <exception cref="ArgumentNullException"> 268ArgumentNullException.ThrowIfNull(fileHandle); 285/// <exception cref="ArgumentNullException"> 293ArgumentNullException.ThrowIfNull(fileHandle); 310/// <exception cref="ArgumentNullException"> 318ArgumentNullException.ThrowIfNull(fileHandle); 335/// <exception cref="ArgumentNullException"> 349ArgumentNullException.ThrowIfNull(fileHandle); 366/// <exception cref="ArgumentNullException"> 380ArgumentNullException.ThrowIfNull(fileHandle); 397/// <exception cref="ArgumentNullException"> 405ArgumentNullException.ThrowIfNull(fileHandle); 422/// <exception cref="ArgumentNullException"> 430ArgumentNullException.ThrowIfNull(fileHandle); 447/// <exception cref="ArgumentNullException"> 461ArgumentNullException.ThrowIfNull(fileHandle); 478/// <exception cref="ArgumentNullException"> 492ArgumentNullException.ThrowIfNull(fileHandle); 509/// <exception cref="ArgumentNullException"> 517ArgumentNullException.ThrowIfNull(fileHandle); 534/// <exception cref="ArgumentNullException"> 542ArgumentNullException.ThrowIfNull(fileHandle); 558/// <exception cref="ArgumentNullException"> 566ArgumentNullException.ThrowIfNull(fileHandle); 582/// <exception cref="ArgumentNullException"> 594ArgumentNullException.ThrowIfNull(fileHandle); 669/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 701/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 703/// <exception cref="ArgumentNullException"><paramref name="encoding"/> is <see langword="null"/>.</exception> 765ArgumentNullException.ThrowIfNull(bytes); 775/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 800/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 801/// <exception cref="ArgumentNullException"><paramref name="bytes"/> is null.</exception> 814ArgumentNullException.ThrowIfNull(bytes); 825/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 853/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 854/// <exception cref="ArgumentNullException"><paramref name="bytes"/> is null.</exception> 859ArgumentNullException.ThrowIfNull(bytes); 872/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 956ArgumentNullException.ThrowIfNull(contents); 982/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 1014/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception> 1016/// <exception cref="ArgumentNullException"><paramref name="encoding"/> is <see langword="null"/>.</exception> 1044ArgumentNullException.ThrowIfNull(contents); 1053ArgumentNullException.ThrowIfNull(sourceFileName); 1054ArgumentNullException.ThrowIfNull(destinationFileName); 1093ArgumentNullException.ThrowIfNull(path); 1100ArgumentNullException.ThrowIfNull(path); 1291ArgumentNullException.ThrowIfNull(bytes); 1303/// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> 1362ArgumentNullException.ThrowIfNull(contents); 1449/// <exception cref="ArgumentNullException"><paramref name="path"/> or <paramref name="pathToTarget"/> is <see langword="null"/>.</exception> 1472/// <exception cref="ArgumentNullException"><paramref name="path"/> or <paramref name="pathToTarget"/> is <see langword="null"/>.</exception> 1509ArgumentNullException.ThrowIfNull(encoding);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (2)
206ArgumentNullException.ThrowIfNull(destinationFileName); 243/// <exception cref="ArgumentNullException"><paramref name="pathToTarget"/> is <see langword="null"/>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (3)
171ArgumentNullException.ThrowIfNull(options); 550ArgumentNullException.ThrowIfNull(asyncResult); 573ArgumentNullException.ThrowIfNull(asyncResult);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.cs (1)
152/// <exception cref="ArgumentNullException"><paramref name="pathToTarget"/> is <see langword="null"/>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (3)
61ArgumentNullException.ThrowIfNull(buffer); 81ArgumentNullException.ThrowIfNull(buffer); 742ArgumentNullException.ThrowIfNull(stream);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (17)
301/// <exception cref="ArgumentNullException"> 306ArgumentNullException.ThrowIfNull(path); 346ArgumentNullException.ThrowIfNull(path1); 347ArgumentNullException.ThrowIfNull(path2); 354ArgumentNullException.ThrowIfNull(path1); 355ArgumentNullException.ThrowIfNull(path2); 356ArgumentNullException.ThrowIfNull(path3); 363ArgumentNullException.ThrowIfNull(path1); 364ArgumentNullException.ThrowIfNull(path2); 365ArgumentNullException.ThrowIfNull(path3); 366ArgumentNullException.ThrowIfNull(path4); 373ArgumentNullException.ThrowIfNull(paths); 392ArgumentNullException.ThrowIfNull(paths[i], nameof(paths)); 531ArgumentNullException.ThrowIfNull(paths); 853/// <exception cref="ArgumentNullException">Thrown if <paramref name="relativeTo"/> or <paramref name="path"/> is <c>null</c> or an empty string.</exception> 861ArgumentNullException.ThrowIfNull(relativeTo); 862ArgumentNullException.ThrowIfNull(path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (2)
38ArgumentNullException.ThrowIfNull(path); 39ArgumentNullException.ThrowIfNull(basePath);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.cs (1)
60(e is ArgumentException && e is not ArgumentNullException);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (6)
364/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 833/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception> 933ArgumentNullException.ThrowIfNull(stream); 944/// <exception cref="ArgumentNullException"><paramref name="buffer"/> was null.</exception> 985/// <exception cref="ArgumentNullException"><paramref name="destination"/> was null.</exception> 991ArgumentNullException.ThrowIfNull(destination);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (5)
244ArgumentNullException.ThrowIfNull(options); 378ArgumentNullException.ThrowIfNull(buffer); 457ArgumentNullException.ThrowIfNull(buffer); 1077ArgumentNullException.ThrowIfNull(buffer); 1298ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (6)
200ArgumentNullException.ThrowIfNull(options); 401ArgumentNullException.ThrowIfNull(buffer); 586ArgumentNullException.Throw(format is null ? nameof(format) : nameof(arg)); // same as base logic 653ArgumentNullException.ThrowIfNull(arg); 752ArgumentNullException.ThrowIfNull(buffer); 892ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringReader.cs (3)
88ArgumentNullException.ThrowIfNull(buffer); 289ArgumentNullException.ThrowIfNull(buffer); 307ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringStream.cs (5)
42/// <exception cref="ArgumentNullException"><paramref name="text"/> or <paramref name="encoding"/> is <see langword="null"/>.</exception> 45ArgumentNullException.ThrowIfNull(text); 46ArgumentNullException.ThrowIfNull(encoding); 58/// <exception cref="ArgumentNullException"><paramref name="encoding"/> is <see langword="null"/>.</exception> 61ArgumentNullException.ThrowIfNull(encoding);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringWriter.cs (2)
38ArgumentNullException.ThrowIfNull(sb); 88ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextReader.cs (6)
72ArgumentNullException.ThrowIfNull(buffer); 262ArgumentNullException.ThrowIfNull(buffer); 292ArgumentNullException.ThrowIfNull(buffer); 328ArgumentNullException.ThrowIfNull(reader); 392ArgumentNullException.ThrowIfNull(buffer); 405ArgumentNullException.ThrowIfNull(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (3)
21/// <exception cref="ArgumentNullException"><paramref name="writers"/> is <see langword="null"/> or it contains a <see langword="null"/>.</exception> 36ArgumentNullException.ThrowIfNull(writers); 52ArgumentNullException.ThrowIfNull(writer, nameof(writers));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
176ArgumentNullException.ThrowIfNull(buffer); 884ArgumentNullException.ThrowIfNull(writer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (3)
42ArgumentNullException.ThrowIfNull(buffer); 315ArgumentNullException.ThrowIfNull(array); 541ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (2)
83ArgumentNullException.ThrowIfNull(buffer); 154ArgumentNullException.ThrowIfNull(pointer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStreamWrapper.cs (2)
115ArgumentNullException.ThrowIfNull(stream); 133ArgumentNullException.ThrowIfNull(destination);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IParsable.cs (1)
17/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Lazy.cs (4)
233/// <exception cref="ArgumentNullException"><paramref name="valueFactory"/> is a null 274/// <exception cref="ArgumentNullException"><paramref name="valueFactory"/> is 289/// <exception cref="ArgumentNullException"><paramref name="valueFactory"/> is 301ArgumentNullException.ThrowIfNull(valueFactory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (27)
158/// <exception cref="ArgumentNullException"><paramref name="text"/> is null.</exception> 2180/// <summary>Throws an <see cref="ArgumentNullException"/> for <paramref name="lowInclusive"/> or <paramref name="highInclusive"/> being null.</summary> 4181/// <exception cref="ArgumentNullException"> 4203/// <exception cref="ArgumentNullException"> 4228/// <exception cref="ArgumentNullException"> 4251/// <exception cref="ArgumentNullException"> 4273/// <exception cref="ArgumentNullException"> 4299/// <exception cref="ArgumentNullException"> 4367/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception> 4446/// <exception cref="ArgumentNullException"><paramref name="comparison"/> is null.</exception> 4825/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception> 4851/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception> 4875/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception> 4900/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception> 5619/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null"/>.</exception> 5720/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 5724ArgumentNullException.ThrowIfNull(format); 5742/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 5746ArgumentNullException.ThrowIfNull(format); 5766/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 5770ArgumentNullException.ThrowIfNull(format); 5785/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 5786/// <exception cref="ArgumentNullException"><paramref name="args"/> is null.</exception> 5790ArgumentNullException.ThrowIfNull(format); 5791ArgumentNullException.ThrowIfNull(args); 5805/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 5809ArgumentNullException.ThrowIfNull(format);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Net\WebUtility.cs (3)
50ArgumentNullException.ThrowIfNull(output); 179ArgumentNullException.ThrowIfNull(output); 591ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Nullable.cs (1)
105ArgumentNullException.ThrowIfNull(nullableType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (4)
272ArgumentNullException.ThrowIfNull(value); 299ArgumentNullException.ThrowIfNull(value); 411ArgumentNullException.ThrowIfNull(value); 426ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
281/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
410ArgumentNullException.ThrowIfNull(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (2)
66ArgumentNullException.ThrowIfNull(version); 129ArgumentNullException.ThrowIfNull(platform);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Progress.cs (2)
47/// <exception cref="ArgumentNullException">The <paramref name="handler"/> is null (<see langword="Nothing" /> in Visual Basic).</exception> 50ArgumentNullException.ThrowIfNull(handler);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (5)
169/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 587/// <exception cref="ArgumentNullException"><paramref name="choices" /> is <see langword="null" />.</exception> 597ArgumentNullException.ThrowIfNull(choices); 630/// <exception cref="ArgumentNullException"><paramref name="values" /> is <see langword="null" />.</exception> 637ArgumentNullException.ThrowIfNull(values);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (3)
259ArgumentNullException.ThrowIfNull(rawAssembly); 274ArgumentNullException.ThrowIfNull(path); 377ArgumentNullException.ThrowIfNull(assemblyFile);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyFileVersionAttribute.cs (1)
11ArgumentNullException.ThrowIfNull(version);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (2)
289ArgumentNullException.ThrowIfNull(reference); 290ArgumentNullException.ThrowIfNull(definition);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (4)
15ArgumentNullException.ThrowIfNull(target); 22ArgumentNullException.ThrowIfNull(target); 29ArgumentNullException.ThrowIfNull(target); 36ArgumentNullException.ThrowIfNull(target);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeNamedArgument.cs (2)
18ArgumentNullException.ThrowIfNull(memberInfo); 33ArgumentNullException.ThrowIfNull(memberInfo);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (2)
20ArgumentNullException.ThrowIfNull(argumentType); 28ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\AssemblyBuilder.cs (3)
40ArgumentNullException.ThrowIfNull(con); 41ArgumentNullException.ThrowIfNull(binaryAttribute); 50ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorBuilder.cs (3)
35ArgumentNullException.ThrowIfNull(con); 36ArgumentNullException.ThrowIfNull(binaryAttribute); 45ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\EventBuilder.cs (3)
24ArgumentNullException.ThrowIfNull(con); 25ArgumentNullException.ThrowIfNull(binaryAttribute); 34ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldBuilder.cs (3)
19ArgumentNullException.ThrowIfNull(con); 20ArgumentNullException.ThrowIfNull(binaryAttribute); 29ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\GenericTypeParameterBuilder.cs (1)
23ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ILGenerator.cs (4)
102ArgumentNullException.ThrowIfNull(excType); 149ArgumentNullException.ThrowIfNull(fld); 208/// <exception cref="ArgumentNullException"><paramref name="document"/> is <see langword="null"/>.</exception> 220ArgumentNullException.ThrowIfNull(document);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\LocalBuilder.cs (2)
20/// <exception cref="ArgumentNullException">The <paramref name="name"/> is null.</exception> 25ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilder.cs (4)
24ArgumentNullException.ThrowIfNull(names); 53ArgumentNullException.ThrowIfNull(con); 54ArgumentNullException.ThrowIfNull(binaryAttribute); 68ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ModuleBuilder.cs (6)
37/// <exception cref="ArgumentNullException"><paramref name="url"/> is <see langword="null"/>.</exception> 49/// <exception cref="ArgumentNullException"><paramref name="url"/> is <see langword="null"/>.</exception> 161ArgumentNullException.ThrowIfNull(arrayClass); 172ArgumentNullException.ThrowIfNull(con); 173ArgumentNullException.ThrowIfNull(binaryAttribute); 182ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ParameterBuilder.cs (3)
22ArgumentNullException.ThrowIfNull(con); 23ArgumentNullException.ThrowIfNull(binaryAttribute); 30ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\PropertyBuilder.cs (3)
24ArgumentNullException.ThrowIfNull(con); 25ArgumentNullException.ThrowIfNull(binaryAttribute); 34ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
217ArgumentNullException.ThrowIfNull(baseType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilder.cs (9)
31ArgumentNullException.ThrowIfNull(interfaceType); 80ArgumentNullException.ThrowIfNull(type); 90ArgumentNullException.ThrowIfNull(names); 101ArgumentNullException.ThrowIfNull(data); 146ArgumentNullException.ThrowIfNull(methodInfoBody); 147ArgumentNullException.ThrowIfNull(methodInfoDeclaration); 276ArgumentNullException.ThrowIfNull(con); 277ArgumentNullException.ThrowIfNull(binaryAttribute); 286ArgumentNullException.ThrowIfNull(customBuilder);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (2)
38ArgumentNullException.ThrowIfNull(typeArguments); 42ArgumentNullException.ThrowIfNull(t, nameof(typeArguments));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\IntrospectionExtensions.cs (1)
14ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (4)
41ArgumentNullException.ThrowIfNull(name); 51ArgumentNullException.ThrowIfNull(name); 52ArgumentNullException.ThrowIfNull(types); 56ArgumentNullException.ThrowIfNull(types[i], nameof(types));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (8)
66/// <exception cref="ArgumentNullException">If the parameterInfo parameter is null</exception> 70ArgumentNullException.ThrowIfNull(parameterInfo); 189/// <exception cref="ArgumentNullException">If the propertyInfo parameter is null</exception> 193ArgumentNullException.ThrowIfNull(propertyInfo); 242/// <exception cref="ArgumentNullException">If the eventInfo parameter is null</exception> 246ArgumentNullException.ThrowIfNull(eventInfo); 257/// <exception cref="ArgumentNullException">If the fieldInfo parameter is null</exception> 261ArgumentNullException.ThrowIfNull(fieldInfo);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (2)
37ArgumentNullException.ThrowIfNull(attributeType); 47ArgumentNullException.ThrowIfNull(attributeType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
25ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ReflectionContext.cs (1)
16ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeReflectionExtensions.cs (11)
20ArgumentNullException.ThrowIfNull(type); 30ArgumentNullException.ThrowIfNull(type); 40ArgumentNullException.ThrowIfNull(type); 50ArgumentNullException.ThrowIfNull(type); 60ArgumentNullException.ThrowIfNull(type); 70ArgumentNullException.ThrowIfNull(type); 80ArgumentNullException.ThrowIfNull(type); 90ArgumentNullException.ThrowIfNull(type); 98ArgumentNullException.ThrowIfNull(method); 106ArgumentNullException.ThrowIfNull(typeInfo); 114ArgumentNullException.ThrowIfNull(del);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureConstructedGenericType.cs (1)
22ArgumentNullException.ThrowIfNull(typeArguments[i], nameof(typeArguments));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
36ArgumentNullException.ThrowIfNull(delegatingType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\NeutralResourcesLanguageAttribute.cs (2)
14ArgumentNullException.ThrowIfNull(cultureName); 22ArgumentNullException.ThrowIfNull(cultureName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceManager.cs (12)
172ArgumentNullException.ThrowIfNull(baseName); 173ArgumentNullException.ThrowIfNull(resourceDir); 188ArgumentNullException.ThrowIfNull(baseName); 189ArgumentNullException.ThrowIfNull(assembly); 204ArgumentNullException.ThrowIfNull(baseName); 205ArgumentNullException.ThrowIfNull(assembly); 222ArgumentNullException.ThrowIfNull(resourceSource); 394ArgumentNullException.ThrowIfNull(culture); 528ArgumentNullException.ThrowIfNull(a); 597ArgumentNullException.ThrowIfNull(name); 663ArgumentNullException.ThrowIfNull(name); 743ArgumentNullException.ThrowIfNull(rm);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (1)
123ArgumentNullException.ThrowIfNull(resourceName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
121ArgumentNullException.ThrowIfNull(stream);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceSet.cs (2)
64ArgumentNullException.ThrowIfNull(reader); 202ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
265ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\SatelliteContractVersionAttribute.cs (1)
17ArgumentNullException.ThrowIfNull(version);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilder.cs (2)
37/// <exception cref="ArgumentNullException">The <paramref name="stateMachine"/> argument was null (<see langword="Nothing" /> in Visual Basic).</exception> 116/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (2)
39/// <exception cref="ArgumentNullException">The <paramref name="stateMachine"/> argument was null (<see langword="Nothing" /> in Visual Basic).</exception> 689/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (3)
36/// <exception cref="ArgumentNullException">The <paramref name="stateMachine"/> argument was null (<see langword="Nothing" /> in Visual Basic).</exception> 44/// <exception cref="ArgumentNullException">The <paramref name="stateMachine"/> argument was null (<see langword="Nothing" /> in Visual Basic).</exception> 109/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (12)
52/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 66/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 91/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 115/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 142/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 160/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 208/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 227/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="valueFactory"/> are <see langword="null"/>.</exception> 236ArgumentNullException.ThrowIfNull(valueFactory); 259/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="valueFactory"/> are <see langword="null"/>.</exception> 269ArgumentNullException.ThrowIfNull(valueFactory); 305ArgumentNullException.ThrowIfNull(createValueCallback);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FormattableStringFactory.cs (2)
19ArgumentNullException.ThrowIfNull(format); 20ArgumentNullException.ThrowIfNull(arguments);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\INotifyCompletion.cs (2)
20/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 31/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeHelpers.cs (2)
74ArgumentNullException.ThrowIfNull(code); 75ArgumentNullException.ThrowIfNull(backoutCode);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (10)
43/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 53/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 171/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 176ArgumentNullException.ThrowIfNull(continuation); 337/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 347/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 435/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 445/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 517/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 527/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (1)
41ArgumentNullException.ThrowIfNull(transformNames);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (4)
55/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 63/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 72/// <exception cref="ArgumentNullException">The <paramref name="continuation"/> argument is null (<see langword="Nothing" /> in Visual Basic).</exception> 75ArgumentNullException.ThrowIfNull(continuation);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs (6)
32ArgumentNullException.ThrowIfNull(source); 64/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument was null.</exception> 70ArgumentNullException.ThrowIfNull(source); 83/// <exception cref="ArgumentNullException">The <paramref name="source"/> or <paramref name="stackTrace"/> argument was null.</exception> 97ArgumentNullException.ThrowIfNull(source); 98ArgumentNullException.ThrowIfNull(stackTrace);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionHandling.cs (3)
24/// <exception cref="ArgumentNullException"><paramref name="handler" /> is null.</exception> 38ArgumentNullException.ThrowIfNull(handler); 62ArgumentNullException.ThrowIfNull(exception);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (6)
807ArgumentNullException.ThrowIfNull(instance); 998ArgumentNullException.ThrowIfNull(wrapper); 1579ArgumentNullException.ThrowIfNull(instance); 1603ArgumentNullException.ThrowIfNull(instance); 1634/// If the object cannot be created and <code>null</code> is returned, the call to <see cref="GetOrCreateObjectForComInstance(nint, CreateObjectFlags)"/> will throw a <see cref="ArgumentNullException"/>. 1648/// If the object cannot be created and <code>null</code> is returned, the call to <see cref="GetOrCreateObjectForComInstance(nint, CreateObjectFlags, object)"/> will throw a <see cref="ArgumentNullException"/>.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Java\JavaMarshal.Unsupported.cs (2)
32/// <exception cref="ArgumentNullException"><paramref name="markCrossReferences"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="obj"/> is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (30)
45ArgumentNullException.ThrowIfNull(ptr); 63ArgumentNullException.ThrowIfNull(ptr); 82ArgumentNullException.ThrowIfNull(ptr); 92ArgumentNullException.ThrowIfNull(structure); 99ArgumentNullException.ThrowIfNull(structure); 108ArgumentNullException.ThrowIfNull(t); 135ArgumentNullException.ThrowIfNull(pUnk); 146ArgumentNullException.ThrowIfNull(pUnk); 153ArgumentNullException.ThrowIfNull(pUnk); 166ArgumentNullException.ThrowIfNull(arr); 175ArgumentNullException.ThrowIfNull(arr); 226ArgumentNullException.ThrowIfNull(source); 228ArgumentNullException.ThrowIfNull(destination); 276ArgumentNullException.ThrowIfNull(destination); 278ArgumentNullException.ThrowIfNull(source); 520ArgumentNullException.ThrowIfNull(m); 529ArgumentNullException.ThrowIfNull(c); 556ArgumentNullException.ThrowIfNull(structureType); 584ArgumentNullException.ThrowIfNull(ptr); 585ArgumentNullException.ThrowIfNull(structure); 592ArgumentNullException.ThrowIfNull(ptr); 595ArgumentNullException.ThrowIfNull(boxedStructure, nameof(structure)); 631ArgumentNullException.ThrowIfNull(m); 1153ArgumentNullException.ThrowIfNull(type); 1171ArgumentNullException.ThrowIfNull(type); 1196ArgumentNullException.ThrowIfNull(t); 1198ArgumentNullException.ThrowIfNull(ptr); 1221ArgumentNullException.ThrowIfNull(ptr); 1244ArgumentNullException.ThrowIfNull(d); 1338ArgumentNullException.ThrowIfNull(ptr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.NoCom.cs (2)
201ArgumentNullException.ThrowIfNull(o); 208ArgumentNullException.ThrowIfNull(t);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
161ArgumentNullException.ThrowIfNull(progID);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeLibrary.cs (19)
37/// <exception cref="ArgumentNullException">If libraryPath is null</exception> 42ArgumentNullException.ThrowIfNull(libraryPath); 53/// <exception cref="ArgumentNullException">If libraryPath is null</exception> 56ArgumentNullException.ThrowIfNull(libraryPath); 80/// <exception cref="ArgumentNullException">If libraryPath or assembly is null</exception> 86ArgumentNullException.ThrowIfNull(libraryName); 87ArgumentNullException.ThrowIfNull(assembly); 117/// <exception cref="ArgumentNullException">If libraryPath or assembly is null</exception> 121ArgumentNullException.ThrowIfNull(libraryName); 122ArgumentNullException.ThrowIfNull(assembly); 154/// <exception cref="ArgumentNullException">If handle or name is null</exception> 158ArgumentNullException.ThrowIfNull(handle); 159ArgumentNullException.ThrowIfNull(name); 171/// <exception cref="ArgumentNullException">If handle or name is null</exception> 174ArgumentNullException.ThrowIfNull(handle); 175ArgumentNullException.ThrowIfNull(name); 199/// <exception cref="ArgumentNullException">If assembly or resolver is null</exception> 203ArgumentNullException.ThrowIfNull(assembly); 204ArgumentNullException.ThrowIfNull(resolver);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (4)
618/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception> 635/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception> 647/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception> 665/// <exception cref="ArgumentNullException"><paramref name="s" /> is <c>null</c>.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PosixSignalRegistration.cs (2)
23/// <exception cref="ArgumentNullException"><paramref name="handler"/> is <see langword="null"/>.</exception> 40ArgumentNullException.ThrowIfNull(handler);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeBuffer.cs (2)
215ArgumentNullException.ThrowIfNull(array); 303ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (6)
307ArgumentNullException.ThrowIfNull(assemblyPath); 326/// <exception cref="ArgumentNullException"><paramref name="locationOverride"/> is <see langword="null"/>.</exception> 330ArgumentNullException.ThrowIfNull(locationOverride); 376ArgumentNullException.ThrowIfNull(assemblyPath); 394ArgumentNullException.ThrowIfNull(nativeImagePath); 423ArgumentNullException.ThrowIfNull(assembly);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (9)
32ArgumentNullException.ThrowIfNull(type); 33ArgumentNullException.ThrowIfNull(converter); 61ArgumentNullException.ThrowIfNull(value); 72ArgumentNullException.ThrowIfNull(value); 84ArgumentNullException.ThrowIfNull(type); 135ArgumentNullException.ThrowIfNull(name); 136ArgumentNullException.ThrowIfNull(type); 285ArgumentNullException.ThrowIfNull(name); 337ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
98ArgumentNullException.ThrowIfNull(version);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\TargetFrameworkAttribute.cs (1)
18ArgumentNullException.ThrowIfNull(frameworkName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValuesDebugView.cs (1)
14ArgumentNullException.ThrowIfNull(values);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (2)
35ArgumentNullException.ThrowIfNull(value, nameof(values)); 46ArgumentNullException.ThrowIfNull(value, nameof(values));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
28ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (10)
36ArgumentNullException.ThrowIfNull(tag); 46ArgumentNullException.ThrowIfNull(tag); 65ArgumentNullException.ThrowIfNull(value, nameof(Tag)); 193ArgumentNullException.ThrowIfNull(name); 194ArgumentNullException.ThrowIfNull(value); 207ArgumentNullException.ThrowIfNull(child); 471ArgumentNullException.ThrowIfNull(name); 502ArgumentNullException.ThrowIfNull(tag); 521ArgumentNullException.ThrowIfNull(tag); 544ArgumentNullException.ThrowIfNull(xml);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (5)
433ArgumentNullException.ThrowIfNull(value); 474ArgumentNullException.ThrowIfNull(value); 1039ArgumentNullException.ThrowIfNull(value); 1047ArgumentNullException.ThrowIfNull(value); 1097ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (6)
101ArgumentNullException.ThrowIfNull(value); 214ArgumentNullException.Throw(nameof(value)); 273ArgumentNullException.Throw(nameof(value)); 403ArgumentNullException.ThrowIfNull(str); 422ArgumentNullException.ThrowIfNull(destination); 762ArgumentNullException.ThrowIfNull(s);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (21)
90ArgumentNullException.ThrowIfNull(args); 164ArgumentNullException.ThrowIfNull(values); 402ArgumentNullException.ThrowIfNull(values); 497ArgumentNullException.Throw(format is null ? nameof(format) : nameof(args)); 535ArgumentNullException.Throw(format is null ? nameof(format) : nameof(args)); 556ArgumentNullException.ThrowIfNull(format); 573/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 577ArgumentNullException.ThrowIfNull(format); 593/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 597ArgumentNullException.ThrowIfNull(format); 615/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 619ArgumentNullException.ThrowIfNull(format); 632/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 633/// <exception cref="ArgumentNullException"><paramref name="args"/> is null.</exception> 637ArgumentNullException.ThrowIfNull(format); 638ArgumentNullException.ThrowIfNull(args); 650/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 654ArgumentNullException.ThrowIfNull(format); 716ArgumentNullException.ThrowIfNull(value); 796ArgumentNullException.ThrowIfNull(value); 1554ArgumentNullException.ThrowIfNull(replacementText);
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (4)
48ArgumentNullException.ThrowIfNull(culture); 55ArgumentNullException.ThrowIfNull(culture); 197ArgumentNullException.ThrowIfNull(obj); 268ArgumentNullException.ThrowIfNull(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringNormalizationExtensions.cs (2)
32ArgumentNullException.ThrowIfNull(strInput); 66ArgumentNullException.ThrowIfNull(strInput);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\CompositeFormat.cs (2)
71/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 75ArgumentNullException.ThrowIfNull(format);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (8)
37ArgumentNullException.ThrowIfNull(value); 100ArgumentNullException.ThrowIfNull(bytes); 162ArgumentNullException.ThrowIfNull(bytes); 163ArgumentNullException.ThrowIfNull(chars); 223ArgumentNullException.ThrowIfNull(bytes); 224ArgumentNullException.ThrowIfNull(chars); 274ArgumentNullException.ThrowIfNull(bytes); 275ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (10)
52ArgumentNullException.ThrowIfNull(bytes); 68ArgumentNullException.ThrowIfNull(bytes); 90ArgumentNullException.ThrowIfNull(bytes); 91ArgumentNullException.ThrowIfNull(chars); 119ArgumentNullException.ThrowIfNull(bytes); 120ArgumentNullException.ThrowIfNull(chars); 140ArgumentNullException.ThrowIfNull(bytes); 141ArgumentNullException.ThrowIfNull(chars); 172ArgumentNullException.ThrowIfNull(bytes); 173ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderReplacementFallback.cs (1)
23ArgumentNullException.ThrowIfNull(replacement);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (8)
37ArgumentNullException.ThrowIfNull(value); 97ArgumentNullException.ThrowIfNull(chars); 159ArgumentNullException.ThrowIfNull(chars); 160ArgumentNullException.ThrowIfNull(bytes); 220ArgumentNullException.ThrowIfNull(chars); 221ArgumentNullException.ThrowIfNull(bytes); 273ArgumentNullException.ThrowIfNull(chars); 274ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (10)
47ArgumentNullException.ThrowIfNull(chars); 67ArgumentNullException.ThrowIfNull(chars); 80ArgumentNullException.ThrowIfNull(chars); 81ArgumentNullException.ThrowIfNull(bytes); 108ArgumentNullException.ThrowIfNull(chars); 109ArgumentNullException.ThrowIfNull(bytes); 126ArgumentNullException.ThrowIfNull(chars); 127ArgumentNullException.ThrowIfNull(bytes); 158ArgumentNullException.ThrowIfNull(chars); 159ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
23ArgumentNullException.ThrowIfNull(replacement);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (24)
174ArgumentNullException.ThrowIfNull(bytes); 187ArgumentNullException.ThrowIfNull(srcEncoding); 188ArgumentNullException.ThrowIfNull(dstEncoding); 189ArgumentNullException.ThrowIfNull(bytes); 479ArgumentNullException.ThrowIfNull(value); 493ArgumentNullException.ThrowIfNull(value); 527ArgumentNullException.ThrowIfNull(chars); 552ArgumentNullException.ThrowIfNull(s); 573ArgumentNullException.ThrowIfNull(chars); 594ArgumentNullException.ThrowIfNull(chars); 626ArgumentNullException.ThrowIfNull(s); 640ArgumentNullException.ThrowIfNull(s); 696ArgumentNullException.ThrowIfNull(chars); 697ArgumentNullException.ThrowIfNull(bytes); 759ArgumentNullException.ThrowIfNull(bytes); 774ArgumentNullException.ThrowIfNull(bytes); 796ArgumentNullException.ThrowIfNull(bytes); 845ArgumentNullException.ThrowIfNull(bytes); 846ArgumentNullException.ThrowIfNull(chars); 906ArgumentNullException.ThrowIfNull(bytes); 1000ArgumentNullException.ThrowIfNull(bytes); 1081ArgumentNullException.ThrowIfNull(innerStream); 1082ArgumentNullException.ThrowIfNull(innerStreamEncoding); 1083ArgumentNullException.ThrowIfNull(outerStreamEncoding);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncodingInfo.cs (3)
20ArgumentNullException.ThrowIfNull(provider); 21ArgumentNullException.ThrowIfNull(name); 22ArgumentNullException.ThrowIfNull(displayName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncodingProvider.cs (1)
48ArgumentNullException.ThrowIfNull(provider);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncodingTable.cs (1)
33ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
1004ArgumentNullException.ThrowIfNull(s);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (26)
170ArgumentNullException.ThrowIfNull(info); 227ArgumentNullException.ThrowIfNull(info); 393/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception> 410ArgumentNullException.ThrowIfNull(source); 756ArgumentNullException.Throw(nameof(value)); 802ArgumentNullException.Throw(nameof(value)); 838ArgumentNullException.Throw(nameof(value)); 897ArgumentNullException.ThrowIfNull(destination); 1412ArgumentNullException.Throw(nameof(value)); 1502ArgumentNullException.Throw(format is null ? nameof(format) : nameof(args)); 1515/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1548ArgumentNullException.Throw(format is null ? nameof(format) : nameof(args)); 1562/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1571ArgumentNullException.ThrowIfNull(format); 1850/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1854ArgumentNullException.ThrowIfNull(format); 1870/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1874ArgumentNullException.ThrowIfNull(format); 1892/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1896ArgumentNullException.ThrowIfNull(format); 1909/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1910/// <exception cref="ArgumentNullException"><paramref name="args"/> is null.</exception> 1914ArgumentNullException.ThrowIfNull(format); 1915ArgumentNullException.ThrowIfNull(args); 1927/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception> 1931ArgumentNullException.ThrowIfNull(format);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (15)
87ArgumentNullException.ThrowIfNull(chars); 127ArgumentNullException.ThrowIfNull(chars); 143ArgumentNullException.ThrowIfNull(s); 144ArgumentNullException.ThrowIfNull(bytes); 181ArgumentNullException.ThrowIfNull(chars); 182ArgumentNullException.ThrowIfNull(bytes); 215ArgumentNullException.ThrowIfNull(chars); 216ArgumentNullException.ThrowIfNull(bytes); 234ArgumentNullException.ThrowIfNull(bytes); 258ArgumentNullException.ThrowIfNull(bytes); 273ArgumentNullException.ThrowIfNull(bytes); 274ArgumentNullException.ThrowIfNull(chars); 307ArgumentNullException.ThrowIfNull(bytes); 308ArgumentNullException.ThrowIfNull(chars); 326ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (15)
95ArgumentNullException.ThrowIfNull(chars); 135ArgumentNullException.ThrowIfNull(chars); 151ArgumentNullException.ThrowIfNull(s); 152ArgumentNullException.ThrowIfNull(bytes); 189ArgumentNullException.ThrowIfNull(chars); 190ArgumentNullException.ThrowIfNull(bytes); 223ArgumentNullException.ThrowIfNull(chars); 224ArgumentNullException.ThrowIfNull(bytes); 242ArgumentNullException.ThrowIfNull(bytes); 266ArgumentNullException.ThrowIfNull(bytes); 281ArgumentNullException.ThrowIfNull(bytes); 282ArgumentNullException.ThrowIfNull(chars); 315ArgumentNullException.ThrowIfNull(bytes); 316ArgumentNullException.ThrowIfNull(chars); 334ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (15)
131ArgumentNullException.ThrowIfNull(chars); 171ArgumentNullException.ThrowIfNull(chars); 187ArgumentNullException.ThrowIfNull(s); 188ArgumentNullException.ThrowIfNull(bytes); 225ArgumentNullException.ThrowIfNull(chars); 226ArgumentNullException.ThrowIfNull(bytes); 259ArgumentNullException.ThrowIfNull(chars); 260ArgumentNullException.ThrowIfNull(bytes); 278ArgumentNullException.ThrowIfNull(bytes); 302ArgumentNullException.ThrowIfNull(bytes); 317ArgumentNullException.ThrowIfNull(bytes); 318ArgumentNullException.ThrowIfNull(chars); 351ArgumentNullException.ThrowIfNull(bytes); 352ArgumentNullException.ThrowIfNull(chars); 370ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\ValueStringBuilder.AppendFormat.cs (1)
16ArgumentNullException.ThrowIfNull(format);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (10)
132/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 156/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 159ArgumentNullException.ThrowIfNull(callback); 186/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 199/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 225/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 249/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 261/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 284/// <exception cref="ArgumentNullException"><paramref name="callback"/> is null.</exception> 289ArgumentNullException.ThrowIfNull(callback);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (4)
152/// <exception cref="ArgumentNullException"><paramref name="timeProvider"/> is null.</exception> 161ArgumentNullException.ThrowIfNull(timeProvider); 862/// <exception cref="ArgumentNullException"><paramref name="tokens"/> is null.</exception> 865ArgumentNullException.ThrowIfNull(tokens);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CompressedStack.cs (1)
39ArgumentNullException.ThrowIfNull(compressedStack);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Condition.cs (1)
128ArgumentNullException.ThrowIfNull(@lock);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Monitor.cs (4)
103ArgumentNullException.ThrowIfNull(obj); 142ArgumentNullException.ThrowIfNull(obj); 150ArgumentNullException.ThrowIfNull(obj); 157ArgumentNullException.ThrowIfNull(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (2)
117ArgumentNullException.ThrowIfNull(nativeOverlappedPtr); 125ArgumentNullException.ThrowIfNull(nativeOverlappedPtr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
48/// <exception cref="ArgumentNullException"><paramref name="timeProvider"/> is null</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (2)
517ArgumentNullException.ThrowIfNull(waitObject); 518ArgumentNullException.ThrowIfNull(callBack);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PreAllocatedOverlapped.PlatformNotSupported.cs (2)
11ArgumentNullException.ThrowIfNull(callback); 18ArgumentNullException.ThrowIfNull(callback);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\SpinWait.cs (4)
255/// <exception cref="ArgumentNullException">The <paramref name="condition"/> argument is null.</exception> 275/// <exception cref="ArgumentNullException">The <paramref name="condition"/> argument is null.</exception> 300/// <exception cref="ArgumentNullException">The <paramref name="condition"/> argument is null.</exception> 310ArgumentNullException.ThrowIfNull(condition);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\SynchronizationContext.cs (1)
50ArgumentNullException.ThrowIfNull(waitHandles);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
102ArgumentNullException.ThrowIfNull(taskScheduler);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task_T.cs (30)
562ArgumentNullException.ThrowIfNull(timeProvider); 582ArgumentNullException.ThrowIfNull(timeProvider); 624/// <exception cref="ArgumentNullException"> 647/// <exception cref="ArgumentNullException"> 672/// <exception cref="ArgumentNullException"> 675/// <exception cref="ArgumentNullException"> 704/// <exception cref="ArgumentNullException"> 741/// <exception cref="ArgumentNullException"> 748/// <exception cref="ArgumentNullException"> 805/// <exception cref="ArgumentNullException"> 829/// <exception cref="ArgumentNullException"> 855/// <exception cref="ArgumentNullException"> 858/// <exception cref="ArgumentNullException"> 888/// <exception cref="ArgumentNullException"> 926/// <exception cref="ArgumentNullException"> 933/// <exception cref="ArgumentNullException"> 993/// <exception cref="ArgumentNullException"> 1019/// <exception cref="ArgumentNullException"> 1049/// <exception cref="ArgumentNullException"> 1052/// <exception cref="ArgumentNullException"> 1090/// <exception cref="ArgumentNullException"> 1137/// <exception cref="ArgumentNullException"> 1144/// <exception cref="ArgumentNullException"> 1207/// <exception cref="ArgumentNullException"> 1234/// <exception cref="ArgumentNullException"> 1266/// <exception cref="ArgumentNullException"> 1269/// <exception cref="ArgumentNullException"> 1309/// <exception cref="ArgumentNullException"> 1358/// <exception cref="ArgumentNullException"> 1365/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (85)
499/// <exception cref="ArgumentNullException">The <paramref name="action"/> argument is null.</exception> 511/// <exception cref="ArgumentNullException">The <paramref name="action"/> argument is null.</exception> 528/// <exception cref="ArgumentNullException"> 549/// <exception cref="ArgumentNullException"> 569/// <exception cref="ArgumentNullException"> 583/// <exception cref="ArgumentNullException"> 603/// <exception cref="ArgumentNullException"> 625/// <exception cref="ArgumentNullException"> 1079/// <exception cref="ArgumentNullException"> 1172/// <exception cref="ArgumentNullException">The <paramref name="scheduler"/> parameter 2960/// <exception cref="ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception> 2963ArgumentNullException.ThrowIfNull(timeProvider); 2979/// <exception cref="ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception> 2982ArgumentNullException.ThrowIfNull(timeProvider); 3822/// <exception cref="ArgumentNullException"> 3844/// <exception cref="ArgumentNullException"> 3868/// <exception cref="ArgumentNullException"> 3871/// <exception cref="ArgumentNullException"> 3900/// <exception cref="ArgumentNullException"> 3937/// <exception cref="ArgumentNullException"> 3944/// <exception cref="ArgumentNullException"> 4000/// <exception cref="ArgumentNullException"> 4023/// <exception cref="ArgumentNullException"> 4048/// <exception cref="ArgumentNullException"> 4051/// <exception cref="ArgumentNullException"> 4081/// <exception cref="ArgumentNullException"> 4119/// <exception cref="ArgumentNullException"> 4126/// <exception cref="ArgumentNullException"> 4185/// <exception cref="ArgumentNullException"> 4211/// <exception cref="ArgumentNullException"> 4241/// <exception cref="ArgumentNullException"> 4244/// <exception cref="ArgumentNullException"> 4276/// <exception cref="ArgumentNullException"> 4316/// <exception cref="ArgumentNullException"> 4323/// <exception cref="ArgumentNullException"> 4385/// <exception cref="ArgumentNullException"> 4412/// <exception cref="ArgumentNullException"> 4443/// <exception cref="ArgumentNullException"> 4446/// <exception cref="ArgumentNullException"> 4479/// <exception cref="ArgumentNullException"> 4520/// <exception cref="ArgumentNullException"> 4527/// <exception cref="ArgumentNullException"> 4878/// <exception cref="ArgumentNullException"> 4881/// <exception cref="ArgumentNullException"> 4907/// <exception cref="ArgumentNullException"> 4935/// <exception cref="ArgumentNullException"> 4980/// <exception cref="ArgumentNullException"> 5015/// <exception cref="ArgumentNullException"> 5057/// <exception cref="ArgumentNullException"> 5089/// <exception cref="ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> 5339/// <exception cref="ArgumentNullException"> 5367/// <exception cref="ArgumentNullException"> 5402/// <exception cref="ArgumentNullException"> 5431/// <exception cref="ArgumentNullException"> 5464/// <exception cref="ArgumentNullException"> 5689/// <exception cref="ArgumentNullException"> 5704/// <exception cref="ArgumentNullException"> 5721/// <exception cref="ArgumentNullException"> 5736/// <exception cref="ArgumentNullException"> 5754/// <exception cref="ArgumentNullException"> 5769/// <exception cref="ArgumentNullException"> 5800/// <exception cref="ArgumentNullException"> 5816/// <exception cref="ArgumentNullException"> 5860/// <exception cref="ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception> 5891/// <exception cref="ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception> 5894ArgumentNullException.ThrowIfNull(timeProvider); 6090/// <exception cref="ArgumentNullException"> 6156/// <exception cref="ArgumentNullException"> 6413/// <exception cref="ArgumentNullException"> 6496/// <exception cref="ArgumentNullException"> 6686/// <exception cref="ArgumentNullException"> 6694ArgumentNullException.ThrowIfNull(tasks); 6761/// <exception cref="ArgumentNullException"> 6775/// <exception cref="ArgumentNullException"> 6780ArgumentNullException.ThrowIfNull(task1); 6781ArgumentNullException.ThrowIfNull(task2); 6878/// <exception cref="ArgumentNullException"> 6972/// <exception cref="ArgumentNullException"> 6980ArgumentNullException.ThrowIfNull(tasks); 7010/// <exception cref="ArgumentNullException"> 7026/// <exception cref="ArgumentNullException"> 7044/// <exception cref="ArgumentNullException"><paramref name="tasks"/> is null.</exception> 7048ArgumentNullException.ThrowIfNull(tasks); 7067ArgumentNullException.ThrowIfNull(tasks); 7149ArgumentNullException.ThrowIfNull(tasks);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource_T.cs (7)
80/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> 97/// <exception cref="ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> 124/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> 152/// <exception cref="ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> 295/// <exception cref="ArgumentNullException"><paramref name="completedTask"/> is <see langword="null"/>.</exception> 318/// <exception cref="ArgumentNullException"><paramref name="completedTask"/> is <see langword="null"/>.</exception> 326ArgumentNullException.ThrowIfNull(completedTask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource.cs (7)
80/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> 97/// <exception cref="ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> 124/// <exception cref="ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> 152/// <exception cref="ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> 293/// <exception cref="ArgumentNullException"><paramref name="completedTask"/> is <see langword="null"/>.</exception> 316/// <exception cref="ArgumentNullException"><paramref name="completedTask"/> is <see langword="null"/>.</exception> 324ArgumentNullException.ThrowIfNull(completedTask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs (2)
14ArgumentNullException.ThrowIfNull(task); 30ArgumentNullException.ThrowIfNull(task);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (69)
247/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 271/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 300/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 334/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 337/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 368/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 394/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 425/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 461/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 464/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 555/// <exception cref="ArgumentNullException">The exception that is thrown when the 557/// <exception cref="ArgumentNullException">The exception that is thrown when the 576/// <exception cref="ArgumentNullException">The exception that is thrown when the 578/// <exception cref="ArgumentNullException">The exception that is thrown when the 607/// <exception cref="ArgumentNullException">The exception that is thrown when the 609/// <exception cref="ArgumentNullException">The exception that is thrown when the 611/// <exception cref="ArgumentNullException">The exception that is thrown when the 707/// <exception cref="ArgumentNullException">The exception that is thrown when the 709/// <exception cref="ArgumentNullException">The exception that is thrown when the 733/// <exception cref="ArgumentNullException">The exception that is thrown when the 735/// <exception cref="ArgumentNullException">The exception that is thrown when the 818/// <exception cref="ArgumentNullException">The exception that is thrown when the 820/// <exception cref="ArgumentNullException">The exception that is thrown when the 849/// <exception cref="ArgumentNullException">The exception that is thrown when the 851/// <exception cref="ArgumentNullException">The exception that is thrown when the 939/// <exception cref="ArgumentNullException">The exception that is thrown when the 941/// <exception cref="ArgumentNullException">The exception that is thrown when the 974/// <exception cref="ArgumentNullException">The exception that is thrown when the 976/// <exception cref="ArgumentNullException">The exception that is thrown when the 1068/// <exception cref="ArgumentNullException">The exception that is thrown when the 1070/// <exception cref="ArgumentNullException">The exception that is thrown when the 1107/// <exception cref="ArgumentNullException">The exception that is thrown when the 1109/// <exception cref="ArgumentNullException">The exception that is thrown when the 1343/// <exception cref="ArgumentNullException">The exception that is thrown when the 1345/// <exception cref="ArgumentNullException">The exception that is thrown when the 1368/// <exception cref="ArgumentNullException">The exception that is thrown when the 1370/// <exception cref="ArgumentNullException">The exception that is thrown when the 1397/// <exception cref="ArgumentNullException">The exception that is thrown when the 1399/// <exception cref="ArgumentNullException">The exception that is thrown when the 1436/// <exception cref="ArgumentNullException">The exception that is thrown when the 1438/// <exception cref="ArgumentNullException">The exception that is thrown when the 1440/// <exception cref="ArgumentNullException">The exception that is thrown when the 1474/// <exception cref="ArgumentNullException">The exception that is thrown when the 1476/// <exception cref="ArgumentNullException">The exception that is thrown when the 1500/// <exception cref="ArgumentNullException">The exception that is thrown when the 1502/// <exception cref="ArgumentNullException">The exception that is thrown when the 1531/// <exception cref="ArgumentNullException">The exception that is thrown when the 1533/// <exception cref="ArgumentNullException">The exception that is thrown when the 1572/// <exception cref="ArgumentNullException">The exception that is thrown when the 1574/// <exception cref="ArgumentNullException">The exception that is thrown when the 1576/// <exception cref="ArgumentNullException">The exception that is thrown when the 1713/// <exception cref="ArgumentNullException">The exception that is thrown when the 1715/// <exception cref="ArgumentNullException">The exception that is thrown when the 1738/// <exception cref="ArgumentNullException">The exception that is thrown when the 1740/// <exception cref="ArgumentNullException">The exception that is thrown when the 1767/// <exception cref="ArgumentNullException">The exception that is thrown when the 1769/// <exception cref="ArgumentNullException">The exception that is thrown when the 1806/// <exception cref="ArgumentNullException">The exception that is thrown when the 1808/// <exception cref="ArgumentNullException">The exception that is thrown when the 1810/// <exception cref="ArgumentNullException">The exception that is thrown when the 1844/// <exception cref="ArgumentNullException">The exception that is thrown when the 1846/// <exception cref="ArgumentNullException">The exception that is thrown when the 1870/// <exception cref="ArgumentNullException">The exception that is thrown when the 1872/// <exception cref="ArgumentNullException">The exception that is thrown when the 1901/// <exception cref="ArgumentNullException">The exception that is thrown when the 1903/// <exception cref="ArgumentNullException">The exception that is thrown when the 1942/// <exception cref="ArgumentNullException">The exception that is thrown when the 1944/// <exception cref="ArgumentNullException">The exception that is thrown when the 1946/// <exception cref="ArgumentNullException">The exception that is thrown when the
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (172)
267/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref name="action"/> 289/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref name="action"/> 316/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 349/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 352/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 383/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 409/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 439/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 474/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 477/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 510/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 538/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 570/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 607/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 610/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 644/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 674/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 708/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 747/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 750/// <exception cref="ArgumentNullException">The exception that is thrown when the <paramref 786/// <exception cref="ArgumentNullException">The exception that is thrown when the 788/// <exception cref="ArgumentNullException">The exception that is thrown when the 809/// <exception cref="ArgumentNullException">The exception that is thrown when the 811/// <exception cref="ArgumentNullException">The exception that is thrown when the 838/// <exception cref="ArgumentNullException">The exception that is thrown when the 840/// <exception cref="ArgumentNullException">The exception that is thrown when the 842/// <exception cref="ArgumentNullException">The exception that is thrown when the 866/// <exception cref="ArgumentNullException">The exception that is thrown when the 868/// <exception cref="ArgumentNullException">The exception that is thrown when the 893/// <exception cref="ArgumentNullException">The exception that is thrown when the 895/// <exception cref="ArgumentNullException">The exception that is thrown when the 925/// <exception cref="ArgumentNullException">The exception that is thrown when the 927/// <exception cref="ArgumentNullException">The exception that is thrown when the 958/// <exception cref="ArgumentNullException">The exception that is thrown when the 960/// <exception cref="ArgumentNullException">The exception that is thrown when the 995/// <exception cref="ArgumentNullException">The exception that is thrown when the 997/// <exception cref="ArgumentNullException">The exception that is thrown when the 1031/// <exception cref="ArgumentNullException">The exception that is thrown when the 1033/// <exception cref="ArgumentNullException">The exception that is thrown when the 1072/// <exception cref="ArgumentNullException">The exception that is thrown when the 1074/// <exception cref="ArgumentNullException">The exception that is thrown when the 1112/// <exception cref="ArgumentNullException">The exception that is thrown when the 1114/// <exception cref="ArgumentNullException">The exception that is thrown when the 1147/// <exception cref="ArgumentNullException">The exception that is thrown when the 1149/// <exception cref="ArgumentNullException">The exception that is thrown when the 1172/// <exception cref="ArgumentNullException">The exception that is thrown when the 1174/// <exception cref="ArgumentNullException">The exception that is thrown when the 1202/// <exception cref="ArgumentNullException">The exception that is thrown when the 1204/// <exception cref="ArgumentNullException">The exception that is thrown when the 1206/// <exception cref="ArgumentNullException">The exception that is thrown when the 1230/// <exception cref="ArgumentNullException">The exception that is thrown when the 1232/// <exception cref="ArgumentNullException">The exception that is thrown when the 1259/// <exception cref="ArgumentNullException">The exception that is thrown when the 1261/// <exception cref="ArgumentNullException">The exception that is thrown when the 1293/// <exception cref="ArgumentNullException">The exception that is thrown when the 1295/// <exception cref="ArgumentNullException">The exception that is thrown when the 1326/// <exception cref="ArgumentNullException">The exception that is thrown when the 1328/// <exception cref="ArgumentNullException">The exception that is thrown when the 1363/// <exception cref="ArgumentNullException">The exception that is thrown when the 1365/// <exception cref="ArgumentNullException">The exception that is thrown when the 1399/// <exception cref="ArgumentNullException">The exception that is thrown when the 1401/// <exception cref="ArgumentNullException">The exception that is thrown when the 1441/// <exception cref="ArgumentNullException">The exception that is thrown when the 1443/// <exception cref="ArgumentNullException">The exception that is thrown when the 1482/// <exception cref="ArgumentNullException">The exception that is thrown when the 1484/// <exception cref="ArgumentNullException">The exception that is thrown when the 1690/// <exception cref="ArgumentNullException">The exception that is thrown when the 1692/// <exception cref="ArgumentNullException">The exception that is thrown when the 1700ArgumentNullException.ThrowIfNull(continuationAction); 1715/// <exception cref="ArgumentNullException">The exception that is thrown when the 1717/// <exception cref="ArgumentNullException">The exception that is thrown when the 1728ArgumentNullException.ThrowIfNull(continuationAction); 1744/// <exception cref="ArgumentNullException">The exception that is thrown when the 1746/// <exception cref="ArgumentNullException">The exception that is thrown when the 1762ArgumentNullException.ThrowIfNull(continuationAction); 1783/// <exception cref="ArgumentNullException">The exception that is thrown when the 1785/// <exception cref="ArgumentNullException">The exception that is thrown when the 1787/// <exception cref="ArgumentNullException">The exception that is thrown when the 1807ArgumentNullException.ThrowIfNull(continuationAction); 1821/// <exception cref="ArgumentNullException">The exception that is thrown when the 1823/// <exception cref="ArgumentNullException">The exception that is thrown when the 1831ArgumentNullException.ThrowIfNull(continuationAction); 1848/// <exception cref="ArgumentNullException">The exception that is thrown when the 1850/// <exception cref="ArgumentNullException">The exception that is thrown when the 1862ArgumentNullException.ThrowIfNull(continuationAction); 1879/// <exception cref="ArgumentNullException">The exception that is thrown when the 1881/// <exception cref="ArgumentNullException">The exception that is thrown when the 1898ArgumentNullException.ThrowIfNull(continuationAction); 1920/// <exception cref="ArgumentNullException">The exception that is thrown when the 1922/// <exception cref="ArgumentNullException">The exception that is thrown when the 1924/// <exception cref="ArgumentNullException">The exception that is thrown when the 1944ArgumentNullException.ThrowIfNull(continuationAction); 1961/// <exception cref="ArgumentNullException">The exception that is thrown when the 1963/// <exception cref="ArgumentNullException">The exception that is thrown when the 1971ArgumentNullException.ThrowIfNull(continuationFunction); 1991/// <exception cref="ArgumentNullException">The exception that is thrown when the 1993/// <exception cref="ArgumentNullException">The exception that is thrown when the 2004ArgumentNullException.ThrowIfNull(continuationFunction); 2024/// <exception cref="ArgumentNullException">The exception that is thrown when the 2026/// <exception cref="ArgumentNullException">The exception that is thrown when the 2042ArgumentNullException.ThrowIfNull(continuationFunction); 2067/// <exception cref="ArgumentNullException">The exception that is thrown when the 2069/// <exception cref="ArgumentNullException">The exception that is thrown when the 2071/// <exception cref="ArgumentNullException">The exception that is thrown when the 2091ArgumentNullException.ThrowIfNull(continuationFunction); 2110/// <exception cref="ArgumentNullException">The exception that is thrown when the 2112/// <exception cref="ArgumentNullException">The exception that is thrown when the 2120ArgumentNullException.ThrowIfNull(continuationFunction); 2140/// <exception cref="ArgumentNullException">The exception that is thrown when the 2142/// <exception cref="ArgumentNullException">The exception that is thrown when the 2154ArgumentNullException.ThrowIfNull(continuationFunction); 2175/// <exception cref="ArgumentNullException">The exception that is thrown when the 2177/// <exception cref="ArgumentNullException">The exception that is thrown when the 2194ArgumentNullException.ThrowIfNull(continuationFunction); 2220/// <exception cref="ArgumentNullException">The exception that is thrown when the 2222/// <exception cref="ArgumentNullException">The exception that is thrown when the 2224/// <exception cref="ArgumentNullException">The exception that is thrown when the 2244ArgumentNullException.ThrowIfNull(continuationFunction); 2406/// <exception cref="ArgumentNullException">The exception that is thrown when the 2408/// <exception cref="ArgumentNullException">The exception that is thrown when the 2416ArgumentNullException.ThrowIfNull(continuationAction); 2431/// <exception cref="ArgumentNullException">The exception that is thrown when the 2433/// <exception cref="ArgumentNullException">The exception that is thrown when the 2444ArgumentNullException.ThrowIfNull(continuationAction); 2460/// <exception cref="ArgumentNullException">The exception that is thrown when the 2462/// <exception cref="ArgumentNullException">The exception that is thrown when the 2478ArgumentNullException.ThrowIfNull(continuationAction); 2499/// <exception cref="ArgumentNullException">The exception that is thrown when the 2501/// <exception cref="ArgumentNullException">The exception that is thrown when the 2503/// <exception cref="ArgumentNullException">The exception that is thrown when the 2523ArgumentNullException.ThrowIfNull(continuationAction); 2541/// <exception cref="ArgumentNullException">The exception that is thrown when the 2543/// <exception cref="ArgumentNullException">The exception that is thrown when the 2551ArgumentNullException.ThrowIfNull(continuationFunction); 2570/// <exception cref="ArgumentNullException">The exception that is thrown when the 2572/// <exception cref="ArgumentNullException">The exception that is thrown when the 2583ArgumentNullException.ThrowIfNull(continuationFunction); 2603/// <exception cref="ArgumentNullException">The exception that is thrown when the 2605/// <exception cref="ArgumentNullException">The exception that is thrown when the 2621ArgumentNullException.ThrowIfNull(continuationFunction); 2646/// <exception cref="ArgumentNullException">The exception that is thrown when the 2648/// <exception cref="ArgumentNullException">The exception that is thrown when the 2650/// <exception cref="ArgumentNullException">The exception that is thrown when the 2670ArgumentNullException.ThrowIfNull(continuationFunction); 2688/// <exception cref="ArgumentNullException">The exception that is thrown when the 2690/// <exception cref="ArgumentNullException">The exception that is thrown when the 2698ArgumentNullException.ThrowIfNull(continuationFunction); 2718/// <exception cref="ArgumentNullException">The exception that is thrown when the 2720/// <exception cref="ArgumentNullException">The exception that is thrown when the 2732ArgumentNullException.ThrowIfNull(continuationFunction); 2753/// <exception cref="ArgumentNullException">The exception that is thrown when the 2755/// <exception cref="ArgumentNullException">The exception that is thrown when the 2772ArgumentNullException.ThrowIfNull(continuationFunction); 2798/// <exception cref="ArgumentNullException">The exception that is thrown when the 2800/// <exception cref="ArgumentNullException">The exception that is thrown when the 2802/// <exception cref="ArgumentNullException">The exception that is thrown when the 2822ArgumentNullException.ThrowIfNull(continuationFunction); 2837/// <exception cref="ArgumentNullException">The exception that is thrown when the 2839/// <exception cref="ArgumentNullException">The exception that is thrown when the 2847ArgumentNullException.ThrowIfNull(continuationAction); 2863/// <exception cref="ArgumentNullException">The exception that is thrown when the 2865/// <exception cref="ArgumentNullException">The exception that is thrown when the 2877ArgumentNullException.ThrowIfNull(continuationAction); 2894/// <exception cref="ArgumentNullException">The exception that is thrown when the 2896/// <exception cref="ArgumentNullException">The exception that is thrown when the 2913ArgumentNullException.ThrowIfNull(continuationAction); 2935/// <exception cref="ArgumentNullException">The exception that is thrown when the 2937/// <exception cref="ArgumentNullException">The exception that is thrown when the 2939/// <exception cref="ArgumentNullException">The exception that is thrown when the 2959ArgumentNullException.ThrowIfNull(continuationAction); 2968ArgumentNullException.ThrowIfNull(tasks); 2987ArgumentNullException.ThrowIfNull(tasks);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (3)
58/// <exception cref="ArgumentNullException">The <paramref name="task"/> argument is null.</exception> 97/// <exception cref="ArgumentNullException">The <paramref name="task"/> argument is 208/// <exception cref="ArgumentNullException">The <paramref name="task"/> argument is null.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (6)
134ArgumentNullException.ThrowIfNull(start); 143ArgumentNullException.ThrowIfNull(start); 154ArgumentNullException.ThrowIfNull(start); 163ArgumentNullException.ThrowIfNull(start); 277ArgumentNullException.ThrowIfNull(value); 715ArgumentNullException.ThrowIfNull(slot);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (4)
93/// <exception cref="ArgumentNullException"> 98ArgumentNullException.ThrowIfNull(valueFactory); 112/// <exception cref="ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(valueFactory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.PlatformNotSupported.cs (5)
20ArgumentNullException.ThrowIfNull(handle); 31ArgumentNullException.ThrowIfNull(callback); 43ArgumentNullException.ThrowIfNull(preAllocated); 51ArgumentNullException.ThrowIfNull(overlapped); 59ArgumentNullException.ThrowIfNull(overlapped);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (3)
100ArgumentNullException.ThrowIfNull(queue); 897ArgumentNullException.ThrowIfNull(callback); 951ArgumentNullException.ThrowIfNull(notifyObject);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (3)
293ArgumentNullException.ThrowIfNull(waitHandles); 451ArgumentNullException.ThrowIfNull(toSignal); 452ArgumentNullException.ThrowIfNull(toWaitOn);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandleExtensions.cs (2)
17ArgumentNullException.ThrowIfNull(waitHandle); 29ArgumentNullException.ThrowIfNull(waitHandle);
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (6)
725ArgumentNullException.ThrowIfNull(s, ExceptionArgument.input); 739ArgumentNullException.ThrowIfNull(input, ExceptionArgument.input); 740ArgumentNullException.ThrowIfNull(format, ExceptionArgument.format); 754ArgumentNullException.ThrowIfNull(input, ExceptionArgument.input); 755ArgumentNullException.ThrowIfNull(format, ExceptionArgument.format); 767ArgumentNullException.ThrowIfNull(input, ExceptionArgument.input);
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (2)
265ArgumentNullException.ThrowIfNull(info); 278ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (9)
551ArgumentNullException.ThrowIfNull(id); 597ArgumentNullException.ThrowIfNull(destinationTimeZone); 617ArgumentNullException.ThrowIfNull(destinationTimeZone); 643ArgumentNullException.ThrowIfNull(sourceTimeZone); 644ArgumentNullException.ThrowIfNull(destinationTimeZone); 747ArgumentNullException.ThrowIfNull(source); 825ArgumentNullException.ThrowIfNull(other); 1024ArgumentNullException.ThrowIfNull(info); 1037ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.TransitionTime.cs (2)
131ArgumentNullException.ThrowIfNull(info); 143ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (27)
189ArgumentNullException.ThrowIfNull(types); 193ArgumentNullException.ThrowIfNull(types[i], nameof(types)); 267/// <exception cref="ArgumentNullException"><paramref name="member"/> is <see langword="null"/>.</exception> 274ArgumentNullException.ThrowIfNull(member); 300ArgumentNullException.ThrowIfNull(name); 335ArgumentNullException.ThrowIfNull(name); 336ArgumentNullException.ThrowIfNull(types); 340ArgumentNullException.ThrowIfNull(types[i], nameof(types)); 379ArgumentNullException.ThrowIfNull(name); 381ArgumentNullException.ThrowIfNull(types); 384ArgumentNullException.ThrowIfNull(types[i], nameof(types)); 416ArgumentNullException.ThrowIfNull(name); 426ArgumentNullException.ThrowIfNull(name); 443ArgumentNullException.ThrowIfNull(name); 444ArgumentNullException.ThrowIfNull(types); 475ArgumentNullException.ThrowIfNull(o); 482ArgumentNullException.ThrowIfNull(args); 668/// <exception cref="ArgumentNullException"> 674ArgumentNullException.ThrowIfNull(returnType); 679ArgumentNullException.ThrowIfNull(paramType, nameof(parameterTypes)); 685ArgumentNullException.ThrowIfNull(callConv, nameof(callingConventions)); 789/// <exception cref="ArgumentNullException"> 795ArgumentNullException.ThrowIfNull(type); 800ArgumentNullException.ThrowIfNull(modReq, nameof(requiredCustomModifiers)); 803ArgumentNullException.ThrowIfNull(modOpt, nameof(optionalCustomModifiers)); 815ArgumentNullException.ThrowIfNull(genericTypeDefinition); 816ArgumentNullException.ThrowIfNull(typeArguments);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.Enum.cs (2)
22ArgumentNullException.ThrowIfNull(value); 68ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (1)
149ArgumentNullException.ThrowIfNull(filter);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
82ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UnitySerializationHolder.cs (1)
36ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
286ArgumentNullException.ThrowIfNull(input);
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (2)
59ArgumentNullException.ThrowIfNull(info); 71ArgumentNullException.ThrowIfNull(info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (2)
43ArgumentNullException.ThrowIfNull(info); 70ArgumentNullException.ThrowIfNull(info);
System\ActivatorImplementation.cs (2)
22ArgumentNullException.ThrowIfNull(type); 55ArgumentNullException.ThrowIfNull(type);
System\Diagnostics\DiagnosticMethodInfo.NativeAot.cs (2)
22ArgumentNullException.ThrowIfNull(@delegate); 28ArgumentNullException.ThrowIfNull(frame);
System\GC.NativeAot.cs (6)
84ArgumentNullException.ThrowIfNull(obj); 106/// <exception cref="ArgumentNullException">The target of the weak reference 115ArgumentNullException.ThrowIfNull(obj, nameof(wo)); 320ArgumentNullException.ThrowIfNull(callback); 484ArgumentNullException.ThrowIfNull(obj); 491ArgumentNullException.ThrowIfNull(obj);
System\Reflection\Assembly.NativeAot.cs (2)
72ArgumentNullException.ThrowIfNull(assemblyString); 87ArgumentNullException.ThrowIfNull(partialName);
System\Reflection\Metadata\AssemblyExtensions.cs (1)
22ArgumentNullException.ThrowIfNull(assembly);
System\Reflection\MethodInvoker.cs (1)
32ArgumentNullException.ThrowIfNull(method);
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.cs (2)
116ArgumentNullException.ThrowIfNull(resourceName); 127ArgumentNullException.ThrowIfNull(name);
System\Reflection\Runtime\EventInfos\NativeFormat\NativeFormatRuntimeEventInfo.cs (1)
106ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (1)
94ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (18)
35ArgumentNullException.ThrowIfNull(attributeType); 42ArgumentNullException.ThrowIfNull(attributeType); 58ArgumentNullException.ThrowIfNull(attributeType); 65ArgumentNullException.ThrowIfNull(attributeType); 81ArgumentNullException.ThrowIfNull(attributeType); 88ArgumentNullException.ThrowIfNull(attributeType); 104ArgumentNullException.ThrowIfNull(attributeType); 111ArgumentNullException.ThrowIfNull(attributeType); 127ArgumentNullException.ThrowIfNull(attributeType); 134ArgumentNullException.ThrowIfNull(attributeType); 150ArgumentNullException.ThrowIfNull(attributeType); 157ArgumentNullException.ThrowIfNull(attributeType); 173ArgumentNullException.ThrowIfNull(attributeType); 180ArgumentNullException.ThrowIfNull(attributeType); 196ArgumentNullException.ThrowIfNull(attributeType); 203ArgumentNullException.ThrowIfNull(attributeType); 219ArgumentNullException.ThrowIfNull(attributeType); 226ArgumentNullException.ThrowIfNull(attributeType);
System\Reflection\Runtime\General\ThunkedApis.cs (2)
39ArgumentNullException.ThrowIfNull(name, nameof(type)); 180ArgumentNullException.ThrowIfNull(name, "fullname" /* Yep, CoreCLR names this different than the ref assembly */);
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
71ArgumentNullException.ThrowIfNull(delegateType);
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (2)
126ArgumentNullException.ThrowIfNull(typeArguments); 200ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (1)
120ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (1)
105ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (1)
59ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (1)
86ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.cs (1)
57ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
62ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.cs (1)
79ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\TypeInfos\RuntimeTypeDefinitionTypeInfo.cs (1)
20ArgumentNullException.ThrowIfNull(other);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.BindingFlags.cs (1)
167ArgumentNullException.ThrowIfNull(name);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (3)
192ArgumentNullException.ThrowIfNull(interfaceType); 435ArgumentNullException.ThrowIfNull(paramType, nameof(parameterTypes)); 461ArgumentNullException.ThrowIfNull(typeArguments);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (3)
18ArgumentNullException.ThrowIfNull(name); 24ArgumentNullException.ThrowIfNull(name); 119ArgumentNullException.ThrowIfNull(member);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (2)
97ArgumentNullException.ThrowIfNull(name); 127ArgumentNullException.ThrowIfNull(providedArgs);
System\Reflection\TypeNameResolver.NativeAot.cs (1)
44ArgumentNullException.ThrowIfNull(typeName);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
373/// <exception cref="ArgumentNullException">The specified type handle is <c>null</c>.</exception>
System\Runtime\InteropServices\Marshal.NativeAot.cs (5)
35ArgumentNullException.ThrowIfNull(t); 92ArgumentNullException.ThrowIfNull(ptr); 93ArgumentNullException.ThrowIfNull(structuretype); 119ArgumentNullException.ThrowIfNull(structure); 120ArgumentNullException.ThrowIfNull(ptr);
System\Runtime\InteropServices\PInvokeMarshal.cs (3)
349ArgumentNullException.ThrowIfNull(newBuffer); 435ArgumentNullException.ThrowIfNull(pNative); 461ArgumentNullException.ThrowIfNull(managedArray);
System\Runtime\Loader\AssemblyLoadContext.NativeAot.cs (1)
46ArgumentNullException.ThrowIfNull(assemblyPath);
System\RuntimeType.NativeAot.cs (2)
91ArgumentNullException.ThrowIfNull(value); 140ArgumentNullException.ThrowIfNull(value);
System\String.Intern.cs (2)
14ArgumentNullException.ThrowIfNull(str); 21ArgumentNullException.ThrowIfNull(str);
System\Threading\ObjectHeader.NativeAot.cs (3)
290ArgumentNullException.ThrowIfNull(obj); 350ArgumentNullException.ThrowIfNull(obj); 547ArgumentNullException.ThrowIfNull(obj);
System.Private.CoreLib.Generators (1)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
System.Private.DataContractSerialization (177)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
45ArgumentNullException.ThrowIfNull(type);
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (2)
44ArgumentNullException.ThrowIfNull(value); 54ArgumentNullException.ThrowIfNull(value);
System\Runtime\Serialization\DataContractSerializer.cs (1)
124ArgumentNullException.ThrowIfNull(type);
System\Runtime\Serialization\DataContractSet.cs (1)
37ArgumentNullException.ThrowIfNull(dataContractSet);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
248ArgumentNullException.ThrowIfNull(stream); 301ArgumentNullException.ThrowIfNull(stream); 594ArgumentNullException.ThrowIfNull(type);
System\Runtime\Serialization\Json\DateTimeFormat.cs (2)
37ArgumentNullException.ThrowIfNull(formatString); 38ArgumentNullException.ThrowIfNull(formatProvider);
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
41ArgumentNullException.ThrowIfNull(encoding);
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (1)
24ArgumentNullException.ThrowIfNull(buffer);
System\Runtime\Serialization\Json\XmlJsonReader.cs (5)
719ArgumentNullException.ThrowIfNull(buffer); 741ArgumentNullException.ThrowIfNull(chars); 777ArgumentNullException.ThrowIfNull(buffer); 800ArgumentNullException.ThrowIfNull(stream); 818ArgumentNullException.ThrowIfNull(array);
System\Runtime\Serialization\Json\XmlJsonWriter.cs (15)
95ArgumentNullException.ThrowIfNull(indentChars); 219ArgumentNullException.ThrowIfNull(ns); 238ArgumentNullException.ThrowIfNull(stream); 239ArgumentNullException.ThrowIfNull(encoding); 358ArgumentNullException.ThrowIfNull(buffer); 374ArgumentNullException.ThrowIfNull(buffer); 400ArgumentNullException.ThrowIfNull(buffer); 672ArgumentNullException.ThrowIfNull(localName); 689ArgumentNullException.ThrowIfNull(buffer); 745ArgumentNullException.ThrowIfNull(localName); 829ArgumentNullException.ThrowIfNull(localName); 1021ArgumentNullException.ThrowIfNull(value); 1029ArgumentNullException.ThrowIfNull(value); 1056ArgumentNullException.ThrowIfNull(ws); 1371ArgumentNullException.ThrowIfNull(value);
System\Runtime\Serialization\XmlObjectSerializer.cs (15)
35ArgumentNullException.ThrowIfNull(stream); 46ArgumentNullException.ThrowIfNull(writer); 55ArgumentNullException.ThrowIfNull(writer); 64ArgumentNullException.ThrowIfNull(writer); 73ArgumentNullException.ThrowIfNull(writer); 96ArgumentNullException.ThrowIfNull(writer); 164ArgumentNullException.ThrowIfNull(writer); 184ArgumentNullException.ThrowIfNull(writer); 206ArgumentNullException.ThrowIfNull(writer); 272ArgumentNullException.ThrowIfNull(stream); 281ArgumentNullException.ThrowIfNull(reader); 297ArgumentNullException.ThrowIfNull(reader); 310ArgumentNullException.ThrowIfNull(reader); 352ArgumentNullException.ThrowIfNull(reader); 372ArgumentNullException.ThrowIfNull(reader);
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
21ArgumentNullException.ThrowIfNull(reader);
System\Runtime\Serialization\XmlSerializableServices.cs (4)
14ArgumentNullException.ThrowIfNull(xmlReader); 57ArgumentNullException.ThrowIfNull(xmlWriter); 68ArgumentNullException.ThrowIfNull(schemas); 69ArgumentNullException.ThrowIfNull(typeQName);
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
20ArgumentNullException.ThrowIfNull(writer);
System\Runtime\Serialization\XPathQueryGenerator.cs (2)
34ArgumentNullException.ThrowIfNull(type); 35ArgumentNullException.ThrowIfNull(pathToMember);
System\Runtime\Serialization\XsdDataContractExporter.cs (9)
106ArgumentNullException.ThrowIfNull(assemblies); 138ArgumentNullException.ThrowIfNull(types); 167ArgumentNullException.ThrowIfNull(type); 191ArgumentNullException.ThrowIfNull(type); 210ArgumentNullException.ThrowIfNull(type); 229ArgumentNullException.ThrowIfNull(type); 309ArgumentNullException.ThrowIfNull(assemblies); 347ArgumentNullException.ThrowIfNull(types); 382ArgumentNullException.ThrowIfNull(type);
System\Text\Base64Encoding.cs (9)
51ArgumentNullException.ThrowIfNull(chars); 103ArgumentNullException.ThrowIfNull(chars); 112ArgumentNullException.ThrowIfNull(bytes); 176ArgumentNullException.ThrowIfNull(chars); 185ArgumentNullException.ThrowIfNull(bytes); 259ArgumentNullException.ThrowIfNull(bytes); 268ArgumentNullException.ThrowIfNull(chars); 343ArgumentNullException.ThrowIfNull(bytes); 352ArgumentNullException.ThrowIfNull(chars);
System\Text\BinHexEncoding.cs (4)
26ArgumentNullException.ThrowIfNull(chars); 33ArgumentNullException.ThrowIfNull(bytes); 65ArgumentNullException.ThrowIfNull(bytes); 73ArgumentNullException.ThrowIfNull(chars);
System\Xml\UniqueId.cs (5)
68ArgumentNullException.ThrowIfNull(guid); 83ArgumentNullException.ThrowIfNull(value); 96ArgumentNullException.ThrowIfNull(chars); 200ArgumentNullException.ThrowIfNull(chars); 282ArgumentNullException.ThrowIfNull(buffer);
System\Xml\XmlBaseReader.cs (18)
112ArgumentNullException.ThrowIfNull(quotas); 511ArgumentNullException.ThrowIfNull(name); 559ArgumentNullException.ThrowIfNull(localName); 586ArgumentNullException.ThrowIfNull(localName); 967ArgumentNullException.ThrowIfNull(localName); 974ArgumentNullException.ThrowIfNull(localName); 980ArgumentNullException.ThrowIfNull(namespaceUri); 987ArgumentNullException.ThrowIfNull(namespaceUri); 1038ArgumentNullException.ThrowIfNull(localName); 1039ArgumentNullException.ThrowIfNull(namespaceUri); 1046ArgumentNullException.ThrowIfNull(localNames); 1047ArgumentNullException.ThrowIfNull(namespaceUri); 1087ArgumentNullException.ThrowIfNull(localNames); 1088ArgumentNullException.ThrowIfNull(namespaceUri); 1128ArgumentNullException.ThrowIfNull(chars); 1156ArgumentNullException.ThrowIfNull(buffer); 1344ArgumentNullException.ThrowIfNull(buffer); 1380ArgumentNullException.ThrowIfNull(buffer);
System\Xml\XmlBaseWriter.cs (14)
152ArgumentNullException.ThrowIfNull(ns); 176ArgumentNullException.ThrowIfNull(ns); 497ArgumentNullException.ThrowIfNull(localName); 805ArgumentNullException.ThrowIfNull(ns); 845ArgumentNullException.ThrowIfNull(localName); 963ArgumentNullException.ThrowIfNull(whitespace); 1001ArgumentNullException.ThrowIfNull(value); 1024ArgumentNullException.ThrowIfNull(chars); 1076ArgumentNullException.ThrowIfNull(chars); 1146ArgumentNullException.ThrowIfNull(value); 1171ArgumentNullException.ThrowIfNull(value); 1389ArgumentNullException.ThrowIfNull(value); 1439ArgumentNullException.ThrowIfNull(buffer); 1627ArgumentNullException.ThrowIfNull(stream);
System\Xml\XmlBinaryReader.cs (3)
46ArgumentNullException.ThrowIfNull(buffer); 65ArgumentNullException.ThrowIfNull(stream); 1227ArgumentNullException.ThrowIfNull(array);
System\Xml\XmlBinaryReaderSession.cs (3)
27ArgumentNullException.ThrowIfNull(value); 74ArgumentNullException.ThrowIfNull(value); 107ArgumentNullException.ThrowIfNull(value);
System\Xml\XmlBinaryWriter.cs (2)
1157ArgumentNullException.ThrowIfNull(stream); 1277ArgumentNullException.ThrowIfNull(array);
System\Xml\XmlBinaryWriterSession.cs (1)
30ArgumentNullException.ThrowIfNull(value);
System\Xml\XmlCanonicalWriter.cs (21)
59ArgumentNullException.ThrowIfNull(stream); 137ArgumentNullException.ThrowIfNull(value); 176ArgumentNullException.ThrowIfNull(prefix); 177ArgumentNullException.ThrowIfNull(localName); 207ArgumentNullException.ThrowIfNull(prefixBuffer); 215ArgumentNullException.ThrowIfNull(localNameBuffer); 333ArgumentNullException.ThrowIfNull(prefix); 334ArgumentNullException.ThrowIfNull(localName); 359ArgumentNullException.ThrowIfNull(prefix); 360ArgumentNullException.ThrowIfNull(ns); 383ArgumentNullException.ThrowIfNull(prefixBuffer); 391ArgumentNullException.ThrowIfNull(nsBuffer); 417ArgumentNullException.ThrowIfNull(prefix); 418ArgumentNullException.ThrowIfNull(localName); 434ArgumentNullException.ThrowIfNull(prefixBuffer); 442ArgumentNullException.ThrowIfNull(localNameBuffer); 485ArgumentNullException.ThrowIfNull(value); 504ArgumentNullException.ThrowIfNull(chars); 560ArgumentNullException.ThrowIfNull(chars); 579ArgumentNullException.ThrowIfNull(value); 597ArgumentNullException.ThrowIfNull(chars);
System\Xml\XmlDictionary.cs (1)
80ArgumentNullException.ThrowIfNull(value);
System\Xml\XmlDictionaryReader.cs (15)
24ArgumentNullException.ThrowIfNull(reader); 31ArgumentNullException.ThrowIfNull(buffer); 90ArgumentNullException.ThrowIfNull(buffer); 126ArgumentNullException.ThrowIfNull(encoding); 149ArgumentNullException.ThrowIfNull(encoding); 227ArgumentNullException.ThrowIfNull(localName); 234ArgumentNullException.ThrowIfNull(namespaceUri); 241ArgumentNullException.ThrowIfNull(namespaceUri); 291ArgumentNullException.ThrowIfNull(localNames); 292ArgumentNullException.ThrowIfNull(namespaceUri); 314ArgumentNullException.ThrowIfNull(localNames); 315ArgumentNullException.ThrowIfNull(namespaceUri); 611ArgumentNullException.ThrowIfNull(strings); 631ArgumentNullException.ThrowIfNull(strings); 1007ArgumentNullException.ThrowIfNull(array);
System\Xml\XmlDictionaryReaderQuotas.cs (1)
67ArgumentNullException.ThrowIfNull(quotas);
System\Xml\XmlDictionaryString.cs (4)
26ArgumentNullException.ThrowIfNull(dictionary); 27ArgumentNullException.ThrowIfNull(value); 105ArgumentNullException.ThrowIfNull(value); 129ArgumentNullException.ThrowIfNull(value);
System\Xml\XmlDictionaryWriter.cs (8)
72ArgumentNullException.ThrowIfNull(writer); 110ArgumentNullException.ThrowIfNull(namespaceUri); 162ArgumentNullException.ThrowIfNull(localName); 176ArgumentNullException.ThrowIfNull(value); 193ArgumentNullException.ThrowIfNull(value); 385ArgumentNullException.ThrowIfNull(reader); 438ArgumentNullException.ThrowIfNull(array); 839ArgumentNullException.ThrowIfNull(namespaceUri);
System\Xml\XmlUTF8TextReader.cs (2)
558ArgumentNullException.ThrowIfNull(buffer); 574ArgumentNullException.ThrowIfNull(stream);
System\Xml\XmlUTF8TextWriter.cs (2)
22ArgumentNullException.ThrowIfNull(stream); 23ArgumentNullException.ThrowIfNull(encoding);
System.Private.Reflection.Execution (5)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (5)
49ArgumentNullException.ThrowIfNull(key); 58ArgumentNullException.ThrowIfNull(key); 71ArgumentNullException.ThrowIfNull(key); 85ArgumentNullException.ThrowIfNull(key); 103ArgumentNullException.ThrowIfNull(key);
System.Private.TypeLoader (5)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (5)
49ArgumentNullException.ThrowIfNull(key); 58ArgumentNullException.ThrowIfNull(key); 71ArgumentNullException.ThrowIfNull(key); 85ArgumentNullException.ThrowIfNull(key); 103ArgumentNullException.ThrowIfNull(key);
System.Private.Uri (17)
System\Uri.cs (10)
426ArgumentNullException.ThrowIfNull(uriString); 439ArgumentNullException.ThrowIfNull(uriString); 453ArgumentNullException.ThrowIfNull(baseUri); 466ArgumentNullException.ThrowIfNull(uriString); 478ArgumentNullException.ThrowIfNull(uriString); 492ArgumentNullException.ThrowIfNull(baseUri); 593ArgumentNullException.ThrowIfNull(baseUri); 594ArgumentNullException.ThrowIfNull(relativeUri); 1854ArgumentNullException.ThrowIfNull(uri); 4697ArgumentNullException.ThrowIfNull(toUri);
System\UriBuilder.cs (1)
44ArgumentNullException.ThrowIfNull(uri);
System\UriExt.cs (2)
492ArgumentNullException.ThrowIfNull(stringToUnescape); 838ArgumentNullException.ThrowIfNull(uri);
System\UriHelper.cs (1)
199ArgumentNullException.ThrowIfNull(stringToEscape);
System\UriScheme.cs (3)
168ArgumentNullException.ThrowIfNull(uriParser); 169ArgumentNullException.ThrowIfNull(schemeName); 188ArgumentNullException.ThrowIfNull(schemeName);
System.Private.Windows.Core (15)
System\ArgumentValidation.cs (1)
10ArgumentNullException.ThrowIfNull(argument, paramName);
System\IO\StreamExtensions.cs (1)
17ArgumentNullException.ThrowIfNull(stream);
System\Private\Windows\Ole\DataObjectCore.cs (2)
13/// <exception cref="ArgumentNullException"><paramref name="data"/> or <paramref name="format"/> is null.</exception> 21ArgumentNullException.ThrowIfNull(data);
System\Private\Windows\Ole\DataStore.cs (2)
108ArgumentNullException.ThrowIfNull(format); 120ArgumentNullException.ThrowIfNull(data);
System\Private\Windows\Ole\DragDropHelper.cs (5)
134ArgumentNullException.ThrowIfNull(dataObject); 195ArgumentNullException.ThrowIfNull(dataObject); 243ArgumentNullException.ThrowIfNull(e); 259ArgumentNullException.ThrowIfNull(dataObject); 340ArgumentNullException.ThrowIfNull(dataObject);
System\Private\Windows\Ole\TypeBinder.cs (1)
104ArgumentNullException.ThrowIfNull(typeName);
System\Value.cs (2)
552ArgumentNullException.ThrowIfNull(array, nameof(segment)); 571ArgumentNullException.ThrowIfNull(array, nameof(segment));
Windows\Win32\System\Com\ComHelpers.cs (1)
299/// <exception cref="ArgumentNullException"><paramref name="unknown"/> is <see langword="null"/>.</exception>
System.Private.Windows.Core.TestUtilities (7)
BinarySerialization.cs (3)
113/// <exception cref="ArgumentNullException">Thrown when the specified object is <see langword="null"/>.</exception> 120ArgumentNullException.ThrowIfNull(@object); 142/// <exception cref="ArgumentNullException">Thrown when the specified stream is <see langword="null"/>.</exception>
CustomConverter.cs (2)
15ArgumentNullException.ThrowIfNull(type); 16ArgumentNullException.ThrowIfNull(converter);
TestAccessor.cs (2)
94ArgumentNullException.ThrowIfNull(args); 95ArgumentNullException.ThrowIfNull(binder);
System.Private.Windows.GdiPlus (1)
System\Drawing\CoreImageExtensions.cs (1)
15ArgumentNullException.ThrowIfNull(stream);
System.Private.Xml (395)
System\Xml\Base64Decoder.cs (2)
42ArgumentNullException.ThrowIfNull(chars); 61ArgumentNullException.ThrowIfNull(str);
System\Xml\Base64Encoder.cs (1)
27ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Base64EncoderAsync.cs (1)
16ArgumentNullException.ThrowIfNull(buffer);
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
656ArgumentNullException.ThrowIfNull(name); 706ArgumentNullException.ThrowIfNull(name);
System\Xml\BinHexDecoder.cs (2)
42ArgumentNullException.ThrowIfNull(chars); 63ArgumentNullException.ThrowIfNull(str);
System\Xml\BinHexEncoder.cs (1)
12ArgumentNullException.ThrowIfNull(buffer);
System\Xml\BinHexEncoderAsync.cs (1)
12ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Cache\XPathDocumentIterator.cs (2)
65ArgumentNullException.ThrowIfNull(namespaceURI); 178ArgumentNullException.ThrowIfNull(namespaceURI);
System\Xml\Core\ReadContentAsBinaryHelper.cs (4)
65ArgumentNullException.ThrowIfNull(buffer); 108ArgumentNullException.ThrowIfNull(buffer); 151ArgumentNullException.ThrowIfNull(buffer); 194ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (4)
15ArgumentNullException.ThrowIfNull(buffer); 59ArgumentNullException.ThrowIfNull(buffer); 103ArgumentNullException.ThrowIfNull(buffer); 147ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlCharCheckingReader.cs (2)
481ArgumentNullException.ThrowIfNull(buffer); 529ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
307ArgumentNullException.ThrowIfNull(buffer); 361ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlCharCheckingWriter.cs (1)
265ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlCharCheckingWriterAsync.cs (1)
212ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlRawWriter.cs (1)
185ArgumentNullException.ThrowIfNull(value);
System\Xml\Core\XmlReader.cs (9)
935ArgumentNullException.ThrowIfNull(namespaceURI); 996ArgumentNullException.ThrowIfNull(namespaceURI); 1063ArgumentNullException.ThrowIfNull(namespaceURI); 1089ArgumentNullException.ThrowIfNull(str); 1097ArgumentNullException.ThrowIfNull(str); 1413ArgumentNullException.ThrowIfNull(namespaceURI); 1634ArgumentNullException.ThrowIfNull(input); 1664ArgumentNullException.ThrowIfNull(input); 1703ArgumentNullException.ThrowIfNull(input);
System\Xml\Core\XmlReaderSettings.cs (3)
345ArgumentNullException.ThrowIfNull(input); 368ArgumentNullException.ThrowIfNull(input); 391ArgumentNullException.ThrowIfNull(reader);
System\Xml\Core\XmlSubtreeReader.cs (1)
1582ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlTextEncoder.cs (2)
112ArgumentNullException.ThrowIfNull(array); 438ArgumentNullException.ThrowIfNull(array);
System\Xml\Core\XmlTextReaderImpl.cs (5)
1594ArgumentNullException.ThrowIfNull(buffer); 1641ArgumentNullException.ThrowIfNull(buffer); 1687ArgumentNullException.ThrowIfNull(buffer); 1734ArgumentNullException.ThrowIfNull(buffer); 1794ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
390ArgumentNullException.ThrowIfNull(buffer); 446ArgumentNullException.ThrowIfNull(buffer); 511ArgumentNullException.ThrowIfNull(buffer); 567ArgumentNullException.ThrowIfNull(buffer); 619ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlValidatingReader.cs (2)
33ArgumentNullException.ThrowIfNull(xmlFragment); 41ArgumentNullException.ThrowIfNull(xmlFragment);
System\Xml\Core\XmlWellFormedWriter.cs (4)
1060ArgumentNullException.ThrowIfNull(buffer); 1086ArgumentNullException.ThrowIfNull(buffer); 1138ArgumentNullException.ThrowIfNull(buffer); 1228ArgumentNullException.ThrowIfNull(ns);
System\Xml\Core\XmlWellFormedWriterAsync.cs (3)
1001ArgumentNullException.ThrowIfNull(buffer); 1027ArgumentNullException.ThrowIfNull(buffer); 1079ArgumentNullException.ThrowIfNull(buffer);
System\Xml\Core\XmlWriter.cs (9)
245ArgumentNullException.ThrowIfNull(value); 315ArgumentNullException.ThrowIfNull(reader); 360ArgumentNullException.ThrowIfNull(reader); 424ArgumentNullException.ThrowIfNull(navigator); 615ArgumentNullException.ThrowIfNull(outputFileName); 643ArgumentNullException.ThrowIfNull(output); 662ArgumentNullException.ThrowIfNull(output); 681ArgumentNullException.ThrowIfNull(output); 691ArgumentNullException.ThrowIfNull(output);
System\Xml\Core\XmlWriterAsync.cs (3)
233ArgumentNullException.ThrowIfNull(reader); 282ArgumentNullException.ThrowIfNull(reader); 421ArgumentNullException.ThrowIfNull(navigator);
System\Xml\Core\XmlWriterSettings.cs (6)
125ArgumentNullException.ThrowIfNull(value); 149ArgumentNullException.ThrowIfNull(value); 334ArgumentNullException.ThrowIfNull(outputFileName); 362ArgumentNullException.ThrowIfNull(output); 437ArgumentNullException.ThrowIfNull(output); 483ArgumentNullException.ThrowIfNull(output);
System\Xml\Dom\DocumentXPathNavigator.cs (3)
43ArgumentNullException.ThrowIfNull(value); 1599ArgumentNullException.ThrowIfNull(lastSiblingToReplace); 1650ArgumentNullException.ThrowIfNull(lastSiblingToDelete);
System\Xml\Dom\XmlDocument.cs (1)
728ArgumentNullException.ThrowIfNull(target);
System\Xml\Dom\XmlNodeReader.cs (1)
1145ArgumentNullException.ThrowIfNull(node);
System\Xml\NameTable.cs (2)
56ArgumentNullException.ThrowIfNull(key); 117ArgumentNullException.ThrowIfNull(value);
System\Xml\Resolvers\XmlPreloadedResolver.cs (11)
227ArgumentNullException.ThrowIfNull(absoluteUri); 264ArgumentNullException.ThrowIfNull(absoluteUri); 281ArgumentNullException.ThrowIfNull(uri); 282ArgumentNullException.ThrowIfNull(value); 289ArgumentNullException.ThrowIfNull(uri); 290ArgumentNullException.ThrowIfNull(value); 301ArgumentNullException.ThrowIfNull(uri); 302ArgumentNullException.ThrowIfNull(value); 323ArgumentNullException.ThrowIfNull(uri); 324ArgumentNullException.ThrowIfNull(value); 340ArgumentNullException.ThrowIfNull(uri);
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
18ArgumentNullException.ThrowIfNull(absoluteUri);
System\Xml\Schema\DataTypeImplementation.cs (4)
570ArgumentNullException.ThrowIfNull(value); 1016ArgumentNullException.ThrowIfNull(value); 1279ArgumentNullException.ThrowIfNull(value); 3740ArgumentNullException.ThrowIfNull(nsmgr);
System\Xml\Schema\Inference\Infer.cs (1)
177ArgumentNullException.ThrowIfNull(instanceDocument);
System\Xml\Schema\Preprocessor.cs (1)
2057catch (ArgumentNullException)
System\Xml\Schema\XmlAtomicValue.cs (13)
83ArgumentNullException.ThrowIfNull(xmlType); 92ArgumentNullException.ThrowIfNull(xmlType); 101ArgumentNullException.ThrowIfNull(xmlType); 110ArgumentNullException.ThrowIfNull(xmlType); 119ArgumentNullException.ThrowIfNull(xmlType); 128ArgumentNullException.ThrowIfNull(xmlType); 129ArgumentNullException.ThrowIfNull(value); 137ArgumentNullException.ThrowIfNull(xmlType); 138ArgumentNullException.ThrowIfNull(value); 151ArgumentNullException.ThrowIfNull(xmlType); 152ArgumentNullException.ThrowIfNull(value); 160ArgumentNullException.ThrowIfNull(xmlType); 161ArgumentNullException.ThrowIfNull(value);
System\Xml\Schema\XmlSchema.cs (8)
53ArgumentNullException.ThrowIfNull(reader); 59ArgumentNullException.ThrowIfNull(stream); 65ArgumentNullException.ThrowIfNull(reader); 98ArgumentNullException.ThrowIfNull(stream); 108ArgumentNullException.ThrowIfNull(writer); 116ArgumentNullException.ThrowIfNull(writer); 126ArgumentNullException.ThrowIfNull(writer); 138ArgumentNullException.ThrowIfNull(writer);
System\Xml\Schema\XmlSchemaCollection.cs (7)
47ArgumentNullException.ThrowIfNull(nametable); 128ArgumentNullException.ThrowIfNull(reader); 164ArgumentNullException.ThrowIfNull(schema); 177ArgumentNullException.ThrowIfNull(schema); 204ArgumentNullException.ThrowIfNull(schema); 229ArgumentNullException.ThrowIfNull(array); 241ArgumentNullException.ThrowIfNull(array);
System\Xml\Schema\XmlSchemaDataType.cs (5)
30ArgumentNullException.ThrowIfNull(value); 31ArgumentNullException.ThrowIfNull(targetType); 38ArgumentNullException.ThrowIfNull(value); 39ArgumentNullException.ThrowIfNull(targetType); 40ArgumentNullException.ThrowIfNull(namespaceResolver);
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
191ArgumentNullException.ThrowIfNull(array); 244ArgumentNullException.ThrowIfNull(array);
System\Xml\Schema\XmlSchemaSet.cs (10)
77ArgumentNullException.ThrowIfNull(nameTable); 255ArgumentNullException.ThrowIfNull(schemaDocument); 287ArgumentNullException.ThrowIfNull(schemas); 367ArgumentNullException.ThrowIfNull(schema); 387ArgumentNullException.ThrowIfNull(schemaToRemove); 463ArgumentNullException.ThrowIfNull(schema); 565ArgumentNullException.ThrowIfNull(schema); 654ArgumentNullException.ThrowIfNull(schemas); 783ArgumentNullException.ThrowIfNull(reader); 1009ArgumentNullException.ThrowIfNull(schema);
System\Xml\Schema\XmlSchemaType.cs (2)
34ArgumentNullException.ThrowIfNull(qualifiedName); 65ArgumentNullException.ThrowIfNull(qualifiedName);
System\Xml\Schema\XmlSchemaValidator.cs (17)
164ArgumentNullException.ThrowIfNull(nameTable); 165ArgumentNullException.ThrowIfNull(schemas); 166ArgumentNullException.ThrowIfNull(namespaceResolver); 321ArgumentNullException.ThrowIfNull(schema); 379ArgumentNullException.ThrowIfNull(partialValidationType); 398ArgumentNullException.ThrowIfNull(localName); 399ArgumentNullException.ThrowIfNull(namespaceUri); 481ArgumentNullException.ThrowIfNull(attributeValue); 488ArgumentNullException.ThrowIfNull(attributeValue); 495ArgumentNullException.ThrowIfNull(localName); 496ArgumentNullException.ThrowIfNull(namespaceUri); 703ArgumentNullException.ThrowIfNull(defaultAttributes); 725ArgumentNullException.ThrowIfNull(elementValue); 732ArgumentNullException.ThrowIfNull(elementValue); 804ArgumentNullException.ThrowIfNull(elementValue); 811ArgumentNullException.ThrowIfNull(elementValue); 873ArgumentNullException.ThrowIfNull(typedValue);
System\Xml\Schema\XmlValueConverter.cs (103)
897ArgumentNullException.ThrowIfNull(value); 904ArgumentNullException.ThrowIfNull(value); 922ArgumentNullException.ThrowIfNull(value); 929ArgumentNullException.ThrowIfNull(value); 947ArgumentNullException.ThrowIfNull(value); 954ArgumentNullException.ThrowIfNull(value); 994ArgumentNullException.ThrowIfNull(value); 1014ArgumentNullException.ThrowIfNull(destinationType); 1029ArgumentNullException.ThrowIfNull(destinationType); 1044ArgumentNullException.ThrowIfNull(destinationType); 1059ArgumentNullException.ThrowIfNull(value); 1060ArgumentNullException.ThrowIfNull(destinationType); 1075ArgumentNullException.ThrowIfNull(value); 1076ArgumentNullException.ThrowIfNull(destinationType); 1163ArgumentNullException.ThrowIfNull(value); 1170ArgumentNullException.ThrowIfNull(value); 1207ArgumentNullException.ThrowIfNull(value); 1214ArgumentNullException.ThrowIfNull(value); 1243ArgumentNullException.ThrowIfNull(value); 1262ArgumentNullException.ThrowIfNull(destinationType); 1276ArgumentNullException.ThrowIfNull(value); 1277ArgumentNullException.ThrowIfNull(destinationType); 1291ArgumentNullException.ThrowIfNull(value); 1292ArgumentNullException.ThrowIfNull(destinationType); 1340ArgumentNullException.ThrowIfNull(value); 1356ArgumentNullException.ThrowIfNull(value); 1379ArgumentNullException.ThrowIfNull(value); 1396ArgumentNullException.ThrowIfNull(value); 1475ArgumentNullException.ThrowIfNull(value); 1494ArgumentNullException.ThrowIfNull(destinationType); 1508ArgumentNullException.ThrowIfNull(value); 1509ArgumentNullException.ThrowIfNull(destinationType); 1523ArgumentNullException.ThrowIfNull(value); 1524ArgumentNullException.ThrowIfNull(destinationType); 1566ArgumentNullException.ThrowIfNull(value); 1572ArgumentNullException.ThrowIfNull(value); 1636ArgumentNullException.ThrowIfNull(value); 1654ArgumentNullException.ThrowIfNull(destinationType); 1667ArgumentNullException.ThrowIfNull(value); 1668ArgumentNullException.ThrowIfNull(destinationType); 1681ArgumentNullException.ThrowIfNull(value); 1682ArgumentNullException.ThrowIfNull(destinationType); 1721ArgumentNullException.ThrowIfNull(value); 1763ArgumentNullException.ThrowIfNull(value); 1764ArgumentNullException.ThrowIfNull(destinationType); 1801ArgumentNullException.ThrowIfNull(value); 1802ArgumentNullException.ThrowIfNull(destinationType); 1950ArgumentNullException.ThrowIfNull(value); 1967ArgumentNullException.ThrowIfNull(value); 1968ArgumentNullException.ThrowIfNull(destinationType); 1980ArgumentNullException.ThrowIfNull(value); 1981ArgumentNullException.ThrowIfNull(destinationType); 2028ArgumentNullException.ThrowIfNull(value); 2034ArgumentNullException.ThrowIfNull(value); 2050ArgumentNullException.ThrowIfNull(value); 2056ArgumentNullException.ThrowIfNull(value); 2071ArgumentNullException.ThrowIfNull(value); 2078ArgumentNullException.ThrowIfNull(value); 2093ArgumentNullException.ThrowIfNull(value); 2099ArgumentNullException.ThrowIfNull(value); 2115ArgumentNullException.ThrowIfNull(value); 2121ArgumentNullException.ThrowIfNull(value); 2137ArgumentNullException.ThrowIfNull(value); 2143ArgumentNullException.ThrowIfNull(value); 2159ArgumentNullException.ThrowIfNull(value); 2165ArgumentNullException.ThrowIfNull(value); 2181ArgumentNullException.ThrowIfNull(value); 2187ArgumentNullException.ThrowIfNull(value); 2235ArgumentNullException.ThrowIfNull(value); 2270ArgumentNullException.ThrowIfNull(destinationType); 2280ArgumentNullException.ThrowIfNull(destinationType); 2290ArgumentNullException.ThrowIfNull(destinationType); 2300ArgumentNullException.ThrowIfNull(destinationType); 2310ArgumentNullException.ThrowIfNull(destinationType); 2320ArgumentNullException.ThrowIfNull(destinationType); 2330ArgumentNullException.ThrowIfNull(value); 2331ArgumentNullException.ThrowIfNull(destinationType); 2361ArgumentNullException.ThrowIfNull(value); 2362ArgumentNullException.ThrowIfNull(destinationType); 2546ArgumentNullException.ThrowIfNull(value); 2562ArgumentNullException.ThrowIfNull(value); 2577ArgumentNullException.ThrowIfNull(value); 2593ArgumentNullException.ThrowIfNull(value); 2609ArgumentNullException.ThrowIfNull(value); 2625ArgumentNullException.ThrowIfNull(value); 2641ArgumentNullException.ThrowIfNull(value); 2657ArgumentNullException.ThrowIfNull(value); 2680ArgumentNullException.ThrowIfNull(destinationType); 2690ArgumentNullException.ThrowIfNull(destinationType); 2700ArgumentNullException.ThrowIfNull(destinationType); 2710ArgumentNullException.ThrowIfNull(destinationType); 2720ArgumentNullException.ThrowIfNull(destinationType); 2730ArgumentNullException.ThrowIfNull(destinationType); 2740ArgumentNullException.ThrowIfNull(value); 2741ArgumentNullException.ThrowIfNull(destinationType); 2751ArgumentNullException.ThrowIfNull(value); 2752ArgumentNullException.ThrowIfNull(destinationType); 2876ArgumentNullException.ThrowIfNull(value); 2877ArgumentNullException.ThrowIfNull(destinationType); 2932ArgumentNullException.ThrowIfNull(value); 2933ArgumentNullException.ThrowIfNull(destinationType); 3174ArgumentNullException.ThrowIfNull(value); 3175ArgumentNullException.ThrowIfNull(destinationType);
System\Xml\Serialization\CodeIdentifier.cs (3)
29ArgumentNullException.ThrowIfNull(identifier); 54ArgumentNullException.ThrowIfNull(identifier); 79ArgumentNullException.ThrowIfNull(identifier);
System\Xml\Serialization\SoapReflectionImporter.cs (5)
50ArgumentNullException.ThrowIfNull(provider); 101ArgumentNullException.ThrowIfNull(members); 108ArgumentNullException.ThrowIfNull(members); 115ArgumentNullException.ThrowIfNull(members); 122ArgumentNullException.ThrowIfNull(members);
System\Xml\Serialization\TypeExtensions.cs (1)
19ArgumentNullException.ThrowIfNull(targetType);
System\Xml\Serialization\XmlAttributes.cs (1)
79ArgumentNullException.ThrowIfNull(provider);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
174ArgumentNullException.ThrowIfNull(type); 494ArgumentNullException.ThrowIfNull(provider.MethodName, nameof(provider.MethodName));
System\Xml\Serialization\XmlReflectionMember.cs (2)
39ArgumentNullException.ThrowIfNull(value); 52ArgumentNullException.ThrowIfNull(value);
System\Xml\Serialization\XmlSerializer.cs (7)
199ArgumentNullException.ThrowIfNull(xmlTypeMapping); 218ArgumentNullException.ThrowIfNull(type); 278ArgumentNullException.ThrowIfNull(type); 321ArgumentNullException.ThrowIfNull(xmlMapping); 674ArgumentNullException.ThrowIfNull(mappings); 675ArgumentNullException.ThrowIfNull(stream); 778ArgumentNullException.ThrowIfNull(type);
System\Xml\XmlConvert.cs (13)
301ArgumentNullException.ThrowIfNull(inArray); 448ArgumentNullException.ThrowIfNull(name); 495ArgumentNullException.ThrowIfNull(content); 505ArgumentNullException.ThrowIfNull(publicId); 521ArgumentNullException.ThrowIfNull(content); 780ArgumentNullException.ThrowIfNull(s); 956ArgumentNullException.ThrowIfNull(s); 1003ArgumentNullException.ThrowIfNull(s); 1055ArgumentNullException.ThrowIfNull(str); 1082catch (ArgumentNullException) { } 1240ArgumentNullException.ThrowIfNull(s); 1249ArgumentNullException.ThrowIfNull(s); 1256ArgumentNullException.ThrowIfNull(s);
System\Xml\XmlNamespacemanager.cs (4)
123ArgumentNullException.ThrowIfNull(prefix); 124ArgumentNullException.ThrowIfNull(uri); 190ArgumentNullException.ThrowIfNull(prefix); 191ArgumentNullException.ThrowIfNull(uri);
System\Xml\XmlResolver.cs (1)
81ArgumentNullException.ThrowIfNull(absoluteUri);
System\Xml\XPath\Internal\XPathAxisIterator.cs (2)
32ArgumentNullException.ThrowIfNull(name); 33ArgumentNullException.ThrowIfNull(namespaceURI);
System\Xml\XPath\XPathDocument.cs (5)
54ArgumentNullException.ThrowIfNull(nameTable); 71ArgumentNullException.ThrowIfNull(reader); 81ArgumentNullException.ThrowIfNull(textReader); 100ArgumentNullException.ThrowIfNull(stream); 154ArgumentNullException.ThrowIfNull(reader);
System\Xml\XPath\XPathNavigator.cs (14)
110ArgumentNullException.ThrowIfNull(typedValue); 566ArgumentNullException.ThrowIfNull(writer); 1300ArgumentNullException.ThrowIfNull(newNode); 1316ArgumentNullException.ThrowIfNull(newNode); 1420ArgumentNullException.ThrowIfNull(value); 1453ArgumentNullException.ThrowIfNull(newChild); 1462ArgumentNullException.ThrowIfNull(newChild); 1480ArgumentNullException.ThrowIfNull(newChild); 1489ArgumentNullException.ThrowIfNull(newChild); 1507ArgumentNullException.ThrowIfNull(newSibling); 1516ArgumentNullException.ThrowIfNull(newSibling); 1534ArgumentNullException.ThrowIfNull(newSibling); 1543ArgumentNullException.ThrowIfNull(newSibling); 1996ArgumentNullException.ThrowIfNull(xml);
System\Xml\XPath\XPathNavigatorKeyComparer.cs (1)
25ArgumentNullException.ThrowIfNull(obj);
System\Xml\XPath\XPathNavigatorReader.cs (2)
461ArgumentNullException.ThrowIfNull(localName); 560ArgumentNullException.ThrowIfNull(localName);
System\Xml\Xsl\Xslt\CompilerError.cs (1)
40ArgumentNullException.ThrowIfNull(value);
System\Xml\Xsl\XsltOld\NavigatorInput.cs (2)
209ArgumentNullException.ThrowIfNull(navigator); 210ArgumentNullException.ThrowIfNull(baseUri);
System\Xml\Xsl\XsltOld\TextOnlyOutput.cs (2)
29ArgumentNullException.ThrowIfNull(stream); 37ArgumentNullException.ThrowIfNull(writer);
System\Xml\Xsl\XsltOld\TextOutput.cs (2)
19ArgumentNullException.ThrowIfNull(stream); 28ArgumentNullException.ThrowIfNull(writer);
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
16ArgumentNullException.ThrowIfNull(writer);
System\Xml\Xslt\XslCompiledTransform.cs (36)
116ArgumentNullException.ThrowIfNull(stylesheetUri); 123ArgumentNullException.ThrowIfNull(stylesheetUri); 132ArgumentNullException.ThrowIfNull(stylesheet); 183ArgumentNullException.ThrowIfNull(compiledStylesheet); 227ArgumentNullException.ThrowIfNull(executeMethod); 228ArgumentNullException.ThrowIfNull(queryData); 244ArgumentNullException.ThrowIfNull(input); 245ArgumentNullException.ThrowIfNull(results); 252ArgumentNullException.ThrowIfNull(input); 253ArgumentNullException.ThrowIfNull(results); 260ArgumentNullException.ThrowIfNull(input); 261ArgumentNullException.ThrowIfNull(results); 269ArgumentNullException.ThrowIfNull(input); 270ArgumentNullException.ThrowIfNull(results); 282ArgumentNullException.ThrowIfNull(input); 283ArgumentNullException.ThrowIfNull(results); 290ArgumentNullException.ThrowIfNull(input); 291ArgumentNullException.ThrowIfNull(results); 298ArgumentNullException.ThrowIfNull(input); 299ArgumentNullException.ThrowIfNull(results); 307ArgumentNullException.ThrowIfNull(input); 308ArgumentNullException.ThrowIfNull(results); 323ArgumentNullException.ThrowIfNull(inputUri); 324ArgumentNullException.ThrowIfNull(results); 332ArgumentNullException.ThrowIfNull(inputUri); 333ArgumentNullException.ThrowIfNull(results); 341ArgumentNullException.ThrowIfNull(inputUri); 342ArgumentNullException.ThrowIfNull(results); 351ArgumentNullException.ThrowIfNull(inputUri); 352ArgumentNullException.ThrowIfNull(results); 361ArgumentNullException.ThrowIfNull(inputUri); 362ArgumentNullException.ThrowIfNull(resultsFile); 378ArgumentNullException.ThrowIfNull(input); 379ArgumentNullException.ThrowIfNull(results); 389ArgumentNullException.ThrowIfNull(input); 390ArgumentNullException.ThrowIfNull(results);
System\Xml\Xslt\XsltArgumentList.cs (5)
43ArgumentNullException.ThrowIfNull(name); 44ArgumentNullException.ThrowIfNull(namespaceUri); 45ArgumentNullException.ThrowIfNull(parameter); 55ArgumentNullException.ThrowIfNull(namespaceUri); 56ArgumentNullException.ThrowIfNull(extension);
System\Xml\Xslt\XslTransform.cs (12)
56ArgumentNullException.ThrowIfNull(stylesheet); 67ArgumentNullException.ThrowIfNull(stylesheet); 74ArgumentNullException.ThrowIfNull(stylesheet); 81ArgumentNullException.ThrowIfNull(stylesheet); 167ArgumentNullException.ThrowIfNull(input); 174ArgumentNullException.ThrowIfNull(input); 180ArgumentNullException.ThrowIfNull(input); 187ArgumentNullException.ThrowIfNull(input); 194ArgumentNullException.ThrowIfNull(input); 201ArgumentNullException.ThrowIfNull(input); 208ArgumentNullException.ThrowIfNull(input); 215ArgumentNullException.ThrowIfNull(input);
System.Private.Xml.Linq (139)
System\Xml\Linq\Extensions.cs (18)
26ArgumentNullException.ThrowIfNull(source); 43ArgumentNullException.ThrowIfNull(source); 60ArgumentNullException.ThrowIfNull(source); 77ArgumentNullException.ThrowIfNull(source); 96ArgumentNullException.ThrowIfNull(source); 115ArgumentNullException.ThrowIfNull(source); 125ArgumentNullException.ThrowIfNull(source); 154ArgumentNullException.ThrowIfNull(source); 171ArgumentNullException.ThrowIfNull(source); 188ArgumentNullException.ThrowIfNull(source); 207ArgumentNullException.ThrowIfNull(source); 226ArgumentNullException.ThrowIfNull(source); 245ArgumentNullException.ThrowIfNull(source); 260ArgumentNullException.ThrowIfNull(source); 275ArgumentNullException.ThrowIfNull(source); 291ArgumentNullException.ThrowIfNull(source); 314ArgumentNullException.ThrowIfNull(source); 331ArgumentNullException.ThrowIfNull(source);
System\Xml\Linq\XAttribute.cs (33)
51/// <exception cref="ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(name); 57ArgumentNullException.ThrowIfNull(value); 70/// <exception cref="ArgumentNullException"> 75ArgumentNullException.ThrowIfNull(other); 155/// <exception cref="ArgumentNullException"> 166ArgumentNullException.ThrowIfNull(value); 196/// <exception cref="ArgumentNullException"> 201ArgumentNullException.ThrowIfNull(value); 250/// <exception cref="ArgumentNullException"> 256ArgumentNullException.ThrowIfNull(attribute); 287/// <exception cref="ArgumentNullException"> 293ArgumentNullException.ThrowIfNull(attribute); 324/// <exception cref="ArgumentNullException"> 330ArgumentNullException.ThrowIfNull(attribute); 361/// <exception cref="ArgumentNullException"> 367ArgumentNullException.ThrowIfNull(attribute); 398/// <exception cref="ArgumentNullException"> 404ArgumentNullException.ThrowIfNull(attribute); 435/// <exception cref="ArgumentNullException"> 441ArgumentNullException.ThrowIfNull(attribute); 472/// <exception cref="ArgumentNullException"> 478ArgumentNullException.ThrowIfNull(attribute); 509/// <exception cref="ArgumentNullException"> 515ArgumentNullException.ThrowIfNull(attribute); 546/// <exception cref="ArgumentNullException"> 552ArgumentNullException.ThrowIfNull(attribute); 583/// <exception cref="ArgumentNullException"> 589ArgumentNullException.ThrowIfNull(attribute); 620/// <exception cref="ArgumentNullException"> 626ArgumentNullException.ThrowIfNull(attribute); 657/// <exception cref="ArgumentNullException"> 663ArgumentNullException.ThrowIfNull(attribute);
System\Xml\Linq\XCData.cs (2)
50ArgumentNullException.ThrowIfNull(writer); 69ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XComment.cs (7)
26/// <exception cref="ArgumentNullException"> 31ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(other); 70/// <exception cref="ArgumentNullException"> 81ArgumentNullException.ThrowIfNull(value); 96ArgumentNullException.ThrowIfNull(writer); 110ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XContainer.cs (1)
30ArgumentNullException.ThrowIfNull(other);
System\Xml\Linq\XDeclaration.cs (1)
54ArgumentNullException.ThrowIfNull(other);
System\Xml\Linq\XDocument.cs (4)
423ArgumentNullException.ThrowIfNull(reader); 461ArgumentNullException.ThrowIfNull(reader); 805ArgumentNullException.ThrowIfNull(writer); 835ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XDocumentType.cs (3)
38ArgumentNullException.ThrowIfNull(other); 146ArgumentNullException.ThrowIfNull(writer); 162ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XElement.cs (30)
60ArgumentNullException.ThrowIfNull(name); 130ArgumentNullException.ThrowIfNull(other); 275ArgumentNullException.ThrowIfNull(value); 316ArgumentNullException.ThrowIfNull(value); 497ArgumentNullException.ThrowIfNull(ns); 809ArgumentNullException.ThrowIfNull(reader); 837ArgumentNullException.ThrowIfNull(reader); 1163ArgumentNullException.ThrowIfNull(writer); 1179ArgumentNullException.ThrowIfNull(writer); 1285/// <exception cref="ArgumentNullException"> 1290ArgumentNullException.ThrowIfNull(value); 1303ArgumentNullException.ThrowIfNull(writer); 1317ArgumentNullException.ThrowIfNull(writer); 1359/// <exception cref="ArgumentNullException"> 1365ArgumentNullException.ThrowIfNull(element); 1402/// <exception cref="ArgumentNullException"> 1408ArgumentNullException.ThrowIfNull(element); 1445/// <exception cref="ArgumentNullException"> 1451ArgumentNullException.ThrowIfNull(element); 1494ArgumentNullException.ThrowIfNull(element); 1537ArgumentNullException.ThrowIfNull(element); 1580ArgumentNullException.ThrowIfNull(element); 1623ArgumentNullException.ThrowIfNull(element); 1666ArgumentNullException.ThrowIfNull(element); 1709ArgumentNullException.ThrowIfNull(element); 1752ArgumentNullException.ThrowIfNull(element); 1789/// <exception cref="ArgumentNullException"> 1795ArgumentNullException.ThrowIfNull(element); 1838ArgumentNullException.ThrowIfNull(element); 1880ArgumentNullException.ThrowIfNull(reader);
System\Xml\Linq\XNamespace.cs (3)
58ArgumentNullException.ThrowIfNull(localName); 118ArgumentNullException.ThrowIfNull(namespaceName); 143ArgumentNullException.ThrowIfNull(ns);
System\Xml\Linq\XNode.cs (2)
425ArgumentNullException.ThrowIfNull(reader); 463ArgumentNullException.ThrowIfNull(reader);
System\Xml\Linq\XNodeBuilder.cs (1)
168ArgumentNullException.ThrowIfNull(prefix);
System\Xml\Linq\XObject.cs (4)
82ArgumentNullException.ThrowIfNull(annotation); 120ArgumentNullException.ThrowIfNull(type); 200ArgumentNullException.ThrowIfNull(type); 261ArgumentNullException.ThrowIfNull(type);
System\Xml\Linq\XProcessingInstruction.cs (8)
26/// <exception cref="ArgumentNullException"> 31ArgumentNullException.ThrowIfNull(data); 45ArgumentNullException.ThrowIfNull(other); 61/// <exception cref="ArgumentNullException"> 72ArgumentNullException.ThrowIfNull(value); 96/// <exception cref="ArgumentNullException"> 122ArgumentNullException.ThrowIfNull(writer); 136ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XStreamingElement.cs (4)
26ArgumentNullException.ThrowIfNull(name); 64ArgumentNullException.ThrowIfNull(value); 159ArgumentNullException.ThrowIfNull(writer); 221ArgumentNullException.ThrowIfNull(writer);
System\Xml\Linq\XText.cs (5)
23ArgumentNullException.ThrowIfNull(value); 34ArgumentNullException.ThrowIfNull(other); 70ArgumentNullException.ThrowIfNull(value); 85ArgumentNullException.ThrowIfNull(writer); 108ArgumentNullException.ThrowIfNull(writer);
System\Xml\Schema\XNodeValidator.cs (10)
440ArgumentNullException.ThrowIfNull(source); 451ArgumentNullException.ThrowIfNull(source); 482ArgumentNullException.ThrowIfNull(source); 483ArgumentNullException.ThrowIfNull(schemas); 520ArgumentNullException.ThrowIfNull(source); 521ArgumentNullException.ThrowIfNull(partialValidationType); 522ArgumentNullException.ThrowIfNull(schemas); 559ArgumentNullException.ThrowIfNull(source); 560ArgumentNullException.ThrowIfNull(partialValidationType); 561ArgumentNullException.ThrowIfNull(schemas);
System\Xml\XPath\XNodeNavigator.cs (3)
925ArgumentNullException.ThrowIfNull(node); 960ArgumentNullException.ThrowIfNull(node); 1010ArgumentNullException.ThrowIfNull(node);
System.Reflection.Context (6)
System\Reflection\Context\CustomReflectionContext.cs (3)
78ArgumentNullException.ThrowIfNull(source); 91ArgumentNullException.ThrowIfNull(assembly); 103ArgumentNullException.ThrowIfNull(type);
System\Reflection\Context\Virtual\VirtualParameter.cs (2)
13ArgumentNullException.ThrowIfNull(member); 14ArgumentNullException.ThrowIfNull(parameterType);
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
20ArgumentNullException.ThrowIfNull(name);
System.Reflection.DispatchProxy (3)
System\Reflection\DispatchProxy.cs (3)
53/// <exception cref="System.ArgumentNullException"><paramref name="interfaceType"/> or <paramref name="proxyType"/> is <see langword="null" />.</exception> 62ArgumentNullException.ThrowIfNull(interfaceType); 63ArgumentNullException.ThrowIfNull(proxyType);
System.Reflection.Emit (45)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
217ArgumentNullException.ThrowIfNull(baseType);
System\Reflection\Emit\ArrayMethod.cs (1)
30ArgumentNullException.ThrowIfNull(_parameterTypes[i] = parameterTypes[i], nameof(parameterTypes));
System\Reflection\Emit\EventBuilderImpl.cs (4)
37ArgumentNullException.ThrowIfNull(mdBuilder); 46ArgumentNullException.ThrowIfNull(mdBuilder); 68ArgumentNullException.ThrowIfNull(mdBuilder); 76ArgumentNullException.ThrowIfNull(mdBuilder);
System\Reflection\Emit\ILGeneratorImpl.cs (11)
107ArgumentNullException.ThrowIfNull(exceptionType); 245ArgumentNullException.ThrowIfNull(localType); 423ArgumentNullException.ThrowIfNull(con); 524ArgumentNullException.ThrowIfNull(labels); 544ArgumentNullException.ThrowIfNull(local); 572ArgumentNullException.ThrowIfNull(signature); 592ArgumentNullException.ThrowIfNull(field); 600ArgumentNullException.ThrowIfNull(meth); 615ArgumentNullException.ThrowIfNull(cls); 623ArgumentNullException.ThrowIfNull(methodInfo); 726ArgumentNullException.ThrowIfNull(functionPointerType);
System\Reflection\Emit\MethodBuilderImpl.cs (3)
70ArgumentNullException.ThrowIfNull(_parameterTypes[i] = parameterTypes[i], nameof(parameterTypes)); 123ArgumentNullException.ThrowIfNull(names); 228ArgumentNullException.ThrowIfNull(_parameterTypes[i] = parameterTypes[i], nameof(parameterTypes));
System\Reflection\Emit\PersistedAssemblyBuilder.cs (7)
32/// <exception cref="ArgumentNullException">The <paramref name="name"/> or <paramref name="name.Name"/> or <paramref name="coreAssembly"/> is null.</exception> 36ArgumentNullException.ThrowIfNull(name); 38ArgumentNullException.ThrowIfNull(coreAssembly); 77/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception> 86/// <exception cref="ArgumentNullException"><paramref name="assemblyFileName"/> is null.</exception> 91ArgumentNullException.ThrowIfNull(assemblyFileName); 99ArgumentNullException.ThrowIfNull(stream);
System\Reflection\Emit\PropertyBuilderImpl.cs (3)
50ArgumentNullException.ThrowIfNull(mdBuilder); 79ArgumentNullException.ThrowIfNull(mdBuilder); 87ArgumentNullException.ThrowIfNull(mdBuilder);
System\Reflection\Emit\TypeBuilderImpl.cs (15)
79ArgumentNullException.ThrowIfNull(@interface, nameof(interfaces)); 233ArgumentNullException.ThrowIfNull(eventtype); 270ArgumentNullException.ThrowIfNull(name, nameof(names)); 660ArgumentNullException.ThrowIfNull(types); 664ArgumentNullException.ThrowIfNull(types[i], nameof(types)); 775ArgumentNullException.ThrowIfNull(name); 850ArgumentNullException.ThrowIfNull(name); 891ArgumentNullException.ThrowIfNull(name); 935ArgumentNullException.ThrowIfNull(name); 1001ArgumentNullException.ThrowIfNull(name); 1043ArgumentNullException.ThrowIfNull(name); 1105ArgumentNullException.ThrowIfNull(name); 1143ArgumentNullException.ThrowIfNull(name); 1167ArgumentNullException.ThrowIfNull(name); 1251ArgumentNullException.ThrowIfNull(interfaceType);
System.Reflection.Metadata (96)
System\Reflection\Metadata\AssemblyNameInfo.cs (1)
41/// <exception cref="ArgumentNullException"><paramref name="name"/> is null.</exception>
System\Reflection\Metadata\BlobBuilder.cs (14)
334/// <exception cref="ArgumentNullException"><paramref name="destination"/> is null.</exception> 349/// <exception cref="ArgumentNullException"><paramref name="destination"/> is default(<see cref="BlobWriter"/>).</exception> 364/// <exception cref="ArgumentNullException"><paramref name="destination"/> is null.</exception> 379/// <exception cref="ArgumentNullException"><paramref name="prefix"/> is null.</exception> 440/// <exception cref="ArgumentNullException"><paramref name="suffix"/> is null.</exception> 655/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 696/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 744/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 756/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 771/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 783/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 963/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 983/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 1069/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
System\Reflection\Metadata\BlobReader.cs (1)
29/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null and <paramref name="length"/> is greater than zero.</exception>
System\Reflection\Metadata\BlobWriter.cs (10)
134/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 157/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 168/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception> 188/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 199/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 213/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 224/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception> 372/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 386/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 457/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (7)
128/// <exception cref="ArgumentNullException"><paramref name="fixedArguments"/> or <paramref name="namedArguments"/> is null.</exception> 248/// <exception cref="ArgumentNullException"><paramref name="returnType"/> or <paramref name="parameters"/> is null.</exception> 498/// <exception cref="ArgumentNullException"><paramref name="arrayType"/> or <paramref name="vector"/> is null.</exception> 543/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="scalar"/> is null.</exception> 746/// <exception cref="ArgumentNullException"><paramref name="type"/>, <paramref name="name"/> or <paramref name="literal"/> is null.</exception> 1044/// <exception cref="ArgumentNullException"><paramref name="elementType"/> or <paramref name="arrayShape"/> is null.</exception> 1275/// <exception cref="ArgumentNullException"><paramref name="sizes"/> is null.</exception>
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (4)
179/// <exception cref="ArgumentNullException">A label has default value.</exception> 191/// <exception cref="ArgumentNullException">A label has default value.</exception> 205/// <exception cref="ArgumentNullException">A label has default value.</exception> 225/// <exception cref="ArgumentNullException">A label has default value.</exception>
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (3)
37ArgumentNullException.ThrowIfNull(codeBuilder); 416/// <exception cref="ArgumentNullException"><paramref name="label"/> has default value.</exception> 474/// <exception cref="ArgumentNullException"><paramref name="label"/> has default value.</exception>
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (3)
15ArgumentNullException.ThrowIfNull(builder); 131/// <exception cref="ArgumentNullException"><paramref name="instructionEncoder"/> has default value.</exception> 154/// <exception cref="ArgumentNullException"><paramref name="instructionEncoder"/> has default value.</exception>
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (8)
187/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 208/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 236/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 270/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 298/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 316/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 439/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 495/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (11)
18/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 38/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 112/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 193/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 208/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 223/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 242/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 256/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 270/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 284/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception> 308/// <exception cref="ArgumentNullException"><paramref name="reader"/> is null.</exception>
System\Reflection\Metadata\Ecma335\MetadataRootBuilder.cs (2)
53/// <exception cref="ArgumentNullException"><paramref name="tablesAndHeaps"/> is null.</exception> 93/// <exception cref="ArgumentNullException"><paramref name="builder"/> is null.</exception>
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (2)
47/// <exception cref="ArgumentNullException"><paramref name="tablesAndHeaps"/> or <paramref name="typeSystemRowCounts"/> is null.</exception> 125/// <exception cref="ArgumentNullException"><paramref name="builder"/> is null.</exception>
System\Reflection\Metadata\MetadataReader.cs (1)
66/// <exception cref="ArgumentNullException"><paramref name="metadata"/> is null.</exception>
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
63/// <exception cref="ArgumentNullException">If <paramref name="assemblyFile"/> is null.</exception>
System\Reflection\Metadata\MetadataReaderProvider.cs (6)
50/// <exception cref="ArgumentNullException"><paramref name="start"/> is <see cref="IntPtr.Zero"/>.</exception> 64/// <exception cref="ArgumentNullException"><paramref name="start"/> is <see cref="IntPtr.Zero"/>.</exception> 93/// <exception cref="ArgumentNullException"><paramref name="image"/> is null.</exception> 103/// <exception cref="ArgumentNullException"><paramref name="image"/> is null.</exception> 134/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception> 159/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception>
System\Reflection\Metadata\MetadataStringComparer.cs (4)
65ArgumentNullException.ThrowIfNull(value); 77ArgumentNullException.ThrowIfNull(value); 94ArgumentNullException.ThrowIfNull(value); 106ArgumentNullException.ThrowIfNull(value);
System\Reflection\Metadata\PEReaderExtensions.cs (4)
20/// <exception cref="ArgumentNullException"><paramref name="peReader"/> is null.</exception> 47/// <exception cref="ArgumentNullException"><paramref name="peReader"/> is null</exception> 61/// <exception cref="ArgumentNullException"><paramref name="peReader"/> is null</exception> 75/// <exception cref="ArgumentNullException"><paramref name="peReader"/> is null</exception>
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.cs (3)
78/// <exception cref="ArgumentNullException"><paramref name="pdbPath"/> is null.</exception> 96/// <exception cref="ArgumentNullException"><paramref name="pdbPath"/> is null.</exception> 169/// <exception cref="ArgumentNullException"><paramref name="algorithmName"/> or <paramref name="checksum"/> is null.</exception>
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
18/// <exception cref="ArgumentNullException"><paramref name="debugMetadata"/> is null.</exception>
System\Reflection\PortableExecutable\PEHeaders.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 56/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 72/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception>
System\Reflection\PortableExecutable\PEReader.cs (7)
50/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is <see cref="IntPtr.Zero"/>.</exception> 68/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is <see cref="IntPtr.Zero"/>.</exception> 95/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 124/// <exception cref="ArgumentNullException"><paramref name="peStream"/> is null.</exception> 230/// <exception cref="ArgumentNullException"><paramref name="peImage"/> is null.</exception> 511/// <exception cref="ArgumentNullException"><paramref name="sectionName"/> is null.</exception> 706/// <exception cref="ArgumentNullException"><paramref name="peImagePath"/> or <paramref name="pdbFileStreamProvider"/> is null.</exception>
System.Reflection.MetadataLoadContext (24)
System\Reflection\DefaultBinder.cs (2)
276ArgumentNullException.ThrowIfNull(match); 318ArgumentNullException.ThrowIfNull(match);
System\Reflection\MetadataLoadContext.Apis.cs (7)
108ArgumentNullException.ThrowIfNull(resolver); 124ArgumentNullException.ThrowIfNull(assemblyPath); 138ArgumentNullException.ThrowIfNull(assembly); 155ArgumentNullException.ThrowIfNull(assembly); 172ArgumentNullException.ThrowIfNull(assemblyName); 190ArgumentNullException.ThrowIfNull(assemblyName); 248ArgumentNullException.ThrowIfNull(assembly);
System\Reflection\PathAssemblyResolver.cs (2)
30/// <exception cref="System.ArgumentNullException">Thrown when assemblyPaths is null.</exception> 34ArgumentNullException.ThrowIfNull(assemblyPaths);
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.ManifestResources.cs (2)
17ArgumentNullException.ThrowIfNull(resourceName); 65ArgumentNullException.ThrowIfNull(name);
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
101ArgumentNullException.ThrowIfNull(name);
System\Reflection\TypeLoading\Assemblies\RoAssembly.Modules.cs (3)
64ArgumentNullException.ThrowIfNull(name); 102ArgumentNullException.ThrowIfNull(moduleName); 103ArgumentNullException.ThrowIfNull(rawModule);
System\Reflection\TypeLoading\General\Helpers.cs (1)
265ArgumentNullException.ThrowIfNull(other);
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
103ArgumentNullException.ThrowIfNull(typeArguments);
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (1)
172ArgumentNullException.ThrowIfNull(name);
System\Reflection\TypeLoading\RuntimeTypeInfo.GetMember.cs (2)
14ArgumentNullException.ThrowIfNull(name); 21ArgumentNullException.ThrowIfNull(name);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
92ArgumentNullException.ThrowIfNull(typeArguments);
System\Reflection\TypeLoading\Types\RoType.GetInterface.cs (1)
13ArgumentNullException.ThrowIfNull(name);
System.Reflection.TypeExtensions (53)
System\Reflection\TypeExtensions.cs (53)
17ArgumentNullException.ThrowIfNull(type); 26ArgumentNullException.ThrowIfNull(type); 36ArgumentNullException.ThrowIfNull(type); 51ArgumentNullException.ThrowIfNull(type); 61ArgumentNullException.ThrowIfNull(type); 72ArgumentNullException.ThrowIfNull(type); 81ArgumentNullException.ThrowIfNull(type); 91ArgumentNullException.ThrowIfNull(type); 101ArgumentNullException.ThrowIfNull(type); 112ArgumentNullException.ThrowIfNull(type); 121ArgumentNullException.ThrowIfNull(type); 131ArgumentNullException.ThrowIfNull(type); 139ArgumentNullException.ThrowIfNull(type); 148ArgumentNullException.ThrowIfNull(type); 164ArgumentNullException.ThrowIfNull(type); 181ArgumentNullException.ThrowIfNull(type); 196ArgumentNullException.ThrowIfNull(type); 212ArgumentNullException.ThrowIfNull(type); 222ArgumentNullException.ThrowIfNull(type); 233ArgumentNullException.ThrowIfNull(type); 244ArgumentNullException.ThrowIfNull(type); 253ArgumentNullException.ThrowIfNull(type); 263ArgumentNullException.ThrowIfNull(type); 274ArgumentNullException.ThrowIfNull(type); 284ArgumentNullException.ThrowIfNull(type); 293ArgumentNullException.ThrowIfNull(type); 303ArgumentNullException.ThrowIfNull(type); 313ArgumentNullException.ThrowIfNull(type); 324ArgumentNullException.ThrowIfNull(type); 335ArgumentNullException.ThrowIfNull(type); 347ArgumentNullException.ThrowIfNull(type); 355ArgumentNullException.ThrowIfNull(type); 363ArgumentNullException.ThrowIfNull(type); 375ArgumentNullException.ThrowIfNull(assembly); 383ArgumentNullException.ThrowIfNull(assembly); 391ArgumentNullException.ThrowIfNull(assembly); 403ArgumentNullException.ThrowIfNull(eventInfo); 411ArgumentNullException.ThrowIfNull(eventInfo); 419ArgumentNullException.ThrowIfNull(eventInfo); 427ArgumentNullException.ThrowIfNull(eventInfo); 435ArgumentNullException.ThrowIfNull(eventInfo); 443ArgumentNullException.ThrowIfNull(eventInfo); 461ArgumentNullException.ThrowIfNull(member); 484ArgumentNullException.ThrowIfNull(member); 519ArgumentNullException.ThrowIfNull(method); 531ArgumentNullException.ThrowIfNull(module); 539ArgumentNullException.ThrowIfNull(module); 551ArgumentNullException.ThrowIfNull(property); 559ArgumentNullException.ThrowIfNull(property); 567ArgumentNullException.ThrowIfNull(property); 575ArgumentNullException.ThrowIfNull(property); 583ArgumentNullException.ThrowIfNull(property); 591ArgumentNullException.ThrowIfNull(property);
System.Resources.Extensions (20)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (6)
51ArgumentNullException.ThrowIfNull(fileName); 65ArgumentNullException.ThrowIfNull(stream); 82ArgumentNullException.ThrowIfNull(name); 99ArgumentNullException.ThrowIfNull(name); 125ArgumentNullException.ThrowIfNull(name); 162ArgumentNullException.ThrowIfNull(name);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
121ArgumentNullException.ThrowIfNull(stream);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (2)
195ArgumentNullException.ThrowIfNull(reader); 265ArgumentNullException.ThrowIfNull(key);
System\Resources\Extensions\PreserializedResourceWriter.cs (11)
73ArgumentNullException.ThrowIfNull(name); 74ArgumentNullException.ThrowIfNull(value); 75ArgumentNullException.ThrowIfNull(typeName); 121ArgumentNullException.ThrowIfNull(name); 122ArgumentNullException.ThrowIfNull(value); 123ArgumentNullException.ThrowIfNull(typeName); 140ArgumentNullException.ThrowIfNull(name); 141ArgumentNullException.ThrowIfNull(value); 167ArgumentNullException.ThrowIfNull(name); 168ArgumentNullException.ThrowIfNull(value); 169ArgumentNullException.ThrowIfNull(typeName);
System.Resources.Writer (10)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (6)
51ArgumentNullException.ThrowIfNull(fileName); 65ArgumentNullException.ThrowIfNull(stream); 82ArgumentNullException.ThrowIfNull(name); 99ArgumentNullException.ThrowIfNull(name); 125ArgumentNullException.ThrowIfNull(name); 162ArgumentNullException.ThrowIfNull(name);
System\Resources\ResourceWriter.core.cs (4)
27ArgumentNullException.ThrowIfNull(name); 37ArgumentNullException.ThrowIfNull(name); 38ArgumentNullException.ThrowIfNull(typeName); 39ArgumentNullException.ThrowIfNull(serializedData);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
37[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArgumentNullException))]
System.Runtime.Caching (25)
System\Runtime\Caching\CacheEntryRemovedArguments.cs (2)
29ArgumentNullException.ThrowIfNull(source); 30ArgumentNullException.ThrowIfNull(cacheItem);
System\Runtime\Caching\CacheEntryUpdateArguments.cs (2)
51ArgumentNullException.ThrowIfNull(source); 52ArgumentNullException.ThrowIfNull(key);
System\Runtime\Caching\ChangeMonitor.cs (1)
224ArgumentNullException.ThrowIfNull(onChangedCallback);
System\Runtime\Caching\FileChangeNotificationSystem.cs (4)
94ArgumentNullException.ThrowIfNull(filePath); 95ArgumentNullException.ThrowIfNull(onChangedCallback); 139ArgumentNullException.ThrowIfNull(filePath); 140ArgumentNullException.ThrowIfNull(state);
System\Runtime\Caching\HostFileChangeMonitor.cs (1)
162ArgumentNullException.ThrowIfNull(filePaths);
System\Runtime\Caching\MemoryCache.cs (13)
324ArgumentNullException.ThrowIfNull(name); 342ArgumentNullException.ThrowIfNull(name); 371ArgumentNullException.ThrowIfNull(key); 417ArgumentNullException.ThrowIfNull(keys); 465ArgumentNullException.ThrowIfNull(key); 572ArgumentNullException.ThrowIfNull(item); 610ArgumentNullException.ThrowIfNull(item); 621ArgumentNullException.ThrowIfNull(key); 667ArgumentNullException.ThrowIfNull(key); 675ArgumentNullException.ThrowIfNull(onUpdateCallback); 735ArgumentNullException.ThrowIfNull(key); 779ArgumentNullException.ThrowIfNull(keys); 807ArgumentNullException.ThrowIfNull(config);
System\Runtime\Caching\MemoryCacheEntry.cs (1)
115ArgumentNullException.ThrowIfNull(value);
System\Runtime\Caching\ObjectCache.cs (1)
32ArgumentNullException.ThrowIfNull(value);
System.Runtime.Numerics (5)
System\Numerics\BigInteger.cs (3)
695ArgumentNullException.ThrowIfNull(info); 731ArgumentNullException.ThrowIfNull(info); 815ArgumentNullException.ThrowIfNull(value);
System\Numerics\Complex.cs (1)
719ArgumentNullException.ThrowIfNull(s);
System\Numerics\Complex.Generic.cs (1)
1621ArgumentNullException.ThrowIfNull(s);
System.Runtime.Serialization.Formatters (38)
System\Runtime\Serialization\FormatterConverter.cs (17)
13ArgumentNullException.ThrowIfNull(value); 20ArgumentNullException.ThrowIfNull(value); 27ArgumentNullException.ThrowIfNull(value); 34ArgumentNullException.ThrowIfNull(value); 42ArgumentNullException.ThrowIfNull(value); 49ArgumentNullException.ThrowIfNull(value); 56ArgumentNullException.ThrowIfNull(value); 64ArgumentNullException.ThrowIfNull(value); 71ArgumentNullException.ThrowIfNull(value); 79ArgumentNullException.ThrowIfNull(value); 86ArgumentNullException.ThrowIfNull(value); 94ArgumentNullException.ThrowIfNull(value); 101ArgumentNullException.ThrowIfNull(value); 108ArgumentNullException.ThrowIfNull(value); 115ArgumentNullException.ThrowIfNull(value); 122ArgumentNullException.ThrowIfNull(value); 129ArgumentNullException.ThrowIfNull(value);
System\Runtime\Serialization\FormatterServices.cs (9)
176ArgumentNullException.ThrowIfNull(type); 218ArgumentNullException.ThrowIfNull(obj); 219ArgumentNullException.ThrowIfNull(members); 220ArgumentNullException.ThrowIfNull(data); 260ArgumentNullException.ThrowIfNull(obj); 261ArgumentNullException.ThrowIfNull(members); 285ArgumentNullException.ThrowIfNull(innerSurrogate); 293ArgumentNullException.ThrowIfNull(assem); 315ArgumentNullException.ThrowIfNull(type);
System\Runtime\Serialization\ObjectIDGenerator.cs (2)
67ArgumentNullException.ThrowIfNull(obj); 99ArgumentNullException.ThrowIfNull(obj);
System\Runtime\Serialization\ObjectManager.cs (5)
664ArgumentNullException.ThrowIfNull(obj); 775ArgumentNullException.ThrowIfNull(obj); 931ArgumentNullException.ThrowIfNull(member); 949ArgumentNullException.ThrowIfNull(memberName); 970ArgumentNullException.ThrowIfNull(indices);
System\Runtime\Serialization\SurrogateSelector.cs (5)
17ArgumentNullException.ThrowIfNull(type); 18ArgumentNullException.ThrowIfNull(surrogate); 56ArgumentNullException.ThrowIfNull(selector); 147ArgumentNullException.ThrowIfNull(type); 168ArgumentNullException.ThrowIfNull(type);
System.Security.AccessControl (48)
System\Security\AccessControl\ACE.cs (4)
75ArgumentNullException.ThrowIfNull(binaryForm); 172ArgumentNullException.ThrowIfNull(binaryForm); 509ArgumentNullException.ThrowIfNull(securityIdentifier); 543ArgumentNullException.ThrowIfNull(value);
System\Security\AccessControl\ACL.cs (12)
23ArgumentNullException.ThrowIfNull(collection); 101ArgumentNullException.ThrowIfNull(array); 156ArgumentNullException.ThrowIfNull(binaryForm); 186ArgumentNullException.ThrowIfNull(binaryForm); 368ArgumentNullException.ThrowIfNull(value); 396ArgumentNullException.ThrowIfNull(ace); 1476ArgumentNullException.ThrowIfNull(rawAcl); 1568ArgumentNullException.ThrowIfNull(sid); 1636ArgumentNullException.ThrowIfNull(sid); 1732ArgumentNullException.ThrowIfNull(sid); 2089ArgumentNullException.ThrowIfNull(sid); 2250ArgumentNullException.ThrowIfNull(sid);
System\Security\AccessControl\CommonObjectSecurity.cs (13)
203ArgumentNullException.ThrowIfNull(rule); 327ArgumentNullException.ThrowIfNull(rule); 399ArgumentNullException.ThrowIfNull(rule); 415ArgumentNullException.ThrowIfNull(rule); 431ArgumentNullException.ThrowIfNull(rule); 449ArgumentNullException.ThrowIfNull(rule); 470ArgumentNullException.ThrowIfNull(rule); 493ArgumentNullException.ThrowIfNull(rule); 514ArgumentNullException.ThrowIfNull(rule); 530ArgumentNullException.ThrowIfNull(rule); 546ArgumentNullException.ThrowIfNull(rule); 562ArgumentNullException.ThrowIfNull(rule); 578ArgumentNullException.ThrowIfNull(rule);
System\Security\AccessControl\NativeObjectSecurity.cs (2)
309ArgumentNullException.ThrowIfNull(name); 325ArgumentNullException.ThrowIfNull(handle);
System\Security\AccessControl\ObjectSecurity.cs (9)
61ArgumentNullException.ThrowIfNull(securityDescriptor); 318ArgumentNullException.ThrowIfNull(identity); 355ArgumentNullException.ThrowIfNull(identity); 372ArgumentNullException.ThrowIfNull(identity); 389ArgumentNullException.ThrowIfNull(identity); 528ArgumentNullException.ThrowIfNull(sddlForm); 574ArgumentNullException.ThrowIfNull(binaryForm); 604ArgumentNullException.ThrowIfNull(rule); 627ArgumentNullException.ThrowIfNull(rule);
System\Security\AccessControl\Privilege.cs (1)
340ArgumentNullException.ThrowIfNull(privilegeName);
System\Security\AccessControl\Rules.cs (1)
32ArgumentNullException.ThrowIfNull(identity);
System\Security\AccessControl\SecurityDescriptor.cs (6)
199ArgumentNullException.ThrowIfNull(binaryForm); 344ArgumentNullException.ThrowIfNull(binaryForm); 446ArgumentNullException.ThrowIfNull(sddlForm); 696ArgumentNullException.ThrowIfNull(rawSecurityDescriptor); 918ArgumentNullException.ThrowIfNull(sid); 925ArgumentNullException.ThrowIfNull(sid);
System.Security.Claims (86)
System\Security\Claims\Claim.cs (16)
46/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 58/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 61ArgumentNullException.ThrowIfNull(reader); 146/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="value"/> is null.</exception> 167/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="value"/> is null.</exception> 188/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="value"/> is null.</exception> 209/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="value"/> is null.</exception> 230/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="value"/> is null.</exception> 253ArgumentNullException.ThrowIfNull(type); 254ArgumentNullException.ThrowIfNull(value); 275/// <exception cref="ArgumentNullException">if 'other' is null.</exception> 287/// <exception cref="ArgumentNullException">if 'other' is null.</exception> 290ArgumentNullException.ThrowIfNull(other); 402/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 413/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 416ArgumentNullException.ThrowIfNull(writer);
System\Security\Claims\ClaimsIdentity.cs (34)
201/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 204ArgumentNullException.ThrowIfNull(reader); 214/// <exception cref="ArgumentNullException"> 222ArgumentNullException.ThrowIfNull(reader); 233/// <exception cref="ArgumentNullException">if 'other' is null.</exception> 236ArgumentNullException.ThrowIfNull(other); 249/// <exception cref="ArgumentNullException"> 254ArgumentNullException.ThrowIfNull(other); 303/// <exception cref="ArgumentNullException">Thrown is the <paramref name="info"/> is null.</exception> 466/// <exception cref="ArgumentNullException">if 'claim' is null.</exception> 469ArgumentNullException.ThrowIfNull(claim); 486/// <exception cref="ArgumentNullException">if 'claims' is null.</exception> 489ArgumentNullException.ThrowIfNull(claims); 600/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 603ArgumentNullException.ThrowIfNull(match); 623/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 626ArgumentNullException.ThrowIfNull(type); 649/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 652ArgumentNullException.ThrowIfNull(match); 670/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 673ArgumentNullException.ThrowIfNull(type); 694/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 697ArgumentNullException.ThrowIfNull(match); 716/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 717/// <exception cref="ArgumentNullException">if 'value' is null.</exception> 720ArgumentNullException.ThrowIfNull(type); 721ArgumentNullException.ThrowIfNull(value); 761/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 764ArgumentNullException.ThrowIfNull(reader); 844ArgumentNullException.ThrowIfNull(reader); 853/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 864/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 867ArgumentNullException.ThrowIfNull(writer); 1004/// <exception cref="ArgumentNullException">Thrown if the info parameter is null.</exception>
System\Security\Claims\ClaimsPrincipal.cs (32)
62ArgumentNullException.ThrowIfNull(identities); 98/// <exception cref="ArgumentNullException">if 'identities' is null.</exception> 101ArgumentNullException.ThrowIfNull(identities); 110/// <exception cref="ArgumentNullException">if 'identity' is null.</exception> 113ArgumentNullException.ThrowIfNull(identity); 129/// <exception cref="ArgumentNullException">if 'principal' is null.</exception> 132ArgumentNullException.ThrowIfNull(principal); 157/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 160ArgumentNullException.ThrowIfNull(reader); 193/// <exception cref="ArgumentNullException">if 'identity' is null.</exception> 196ArgumentNullException.ThrowIfNull(identity); 205/// <exception cref="ArgumentNullException">if 'identities' is null.</exception> 208ArgumentNullException.ThrowIfNull(identities); 253/// <exception cref="ArgumentNullException">if 'reader' is null.</exception> 257ArgumentNullException.ThrowIfNull(reader); 280/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 283ArgumentNullException.ThrowIfNull(match); 307/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 310ArgumentNullException.ThrowIfNull(type); 334/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 337ArgumentNullException.ThrowIfNull(match); 362/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 365ArgumentNullException.ThrowIfNull(type); 390/// <exception cref="ArgumentNullException">if 'match' is null.</exception> 393ArgumentNullException.ThrowIfNull(match); 416/// <exception cref="ArgumentNullException">if 'type' is null.</exception> 417/// <exception cref="ArgumentNullException">if 'value' is null.</exception> 420ArgumentNullException.ThrowIfNull(type); 421ArgumentNullException.ThrowIfNull(value); 492/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 503/// <exception cref="ArgumentNullException">if 'writer' is null.</exception> 506ArgumentNullException.ThrowIfNull(writer);
System\Security\Claims\GenericIdentity.cs (3)
16ArgumentNullException.ThrowIfNull(name); 26ArgumentNullException.ThrowIfNull(name); 27ArgumentNullException.ThrowIfNull(type);
System\Security\Claims\GenericPrincipal.cs (1)
17ArgumentNullException.ThrowIfNull(identity);
System.Security.Cryptography (1319)
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (1)
80ArgumentNullException.ThrowIfNull(parentHandle);
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertContextHandle.cs (1)
23ArgumentNullException.ThrowIfNull(parent);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AesGcm.cs (11)
99/// <exception cref="ArgumentNullException">The <paramref name="key" /> parameter is null.</exception> 161/// <exception cref="ArgumentNullException"> 168ArgumentNullException.ThrowIfNull(nonce); 169ArgumentNullException.ThrowIfNull(plaintext); 170ArgumentNullException.ThrowIfNull(ciphertext); 171ArgumentNullException.ThrowIfNull(tag); 237/// <exception cref="ArgumentNullException"> 247ArgumentNullException.ThrowIfNull(nonce); 248ArgumentNullException.ThrowIfNull(ciphertext); 249ArgumentNullException.ThrowIfNull(tag); 250ArgumentNullException.ThrowIfNull(plaintext);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
12ArgumentNullException.ThrowIfNull(extension);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
39ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (52)
73/// <exception cref="ArgumentNullException"> 78ArgumentNullException.ThrowIfNull(algorithm); 92/// <exception cref="ArgumentNullException"> 97ArgumentNullException.ThrowIfNull(algorithm); 115/// <exception cref="ArgumentNullException"> 134ArgumentNullException.ThrowIfNull(data); 272/// <exception cref="ArgumentNullException"> 289ArgumentNullException.ThrowIfNull(data); 290ArgumentNullException.ThrowIfNull(signature); 370/// <exception cref="ArgumentNullException"> 382ArgumentNullException.ThrowIfNull(algorithm); 389/// <exception cref="ArgumentNullException"> 394ArgumentNullException.ThrowIfNull(source); 395ArgumentNullException.ThrowIfNull(password); 475/// <exception cref="ArgumentNullException"> 480ArgumentNullException.ThrowIfNull(source); 481ArgumentNullException.ThrowIfNull(passwordBytes); 557/// <exception cref="ArgumentNullException"> 562ArgumentNullException.ThrowIfNull(source); 620/// <exception cref="ArgumentNullException"> 625ArgumentNullException.ThrowIfNull(source); 692/// <exception cref="ArgumentNullException"> 697ArgumentNullException.ThrowIfNull(password); 698ArgumentNullException.ThrowIfNull(source); 815/// <exception cref="ArgumentNullException"> 820ArgumentNullException.ThrowIfNull(source); 890/// <exception cref="ArgumentNullException"> 895ArgumentNullException.ThrowIfNull(algorithm); 896ArgumentNullException.ThrowIfNull(source); 928ArgumentNullException.ThrowIfNull(algorithm); 940/// <exception cref="ArgumentNullException"> 945ArgumentNullException.ThrowIfNull(algorithm); 946ArgumentNullException.ThrowIfNull(source); 978ArgumentNullException.ThrowIfNull(algorithm); 990/// <exception cref="ArgumentNullException"> 997ArgumentNullException.ThrowIfNull(password); 1015/// <exception cref="ArgumentNullException"> 1034ArgumentNullException.ThrowIfNull(pbeParameters); 1057/// <exception cref="ArgumentNullException"> 1078ArgumentNullException.ThrowIfNull(pbeParameters); 1089/// <exception cref="ArgumentNullException"> 1094ArgumentNullException.ThrowIfNull(password); 1111/// <exception cref="ArgumentNullException"> 1130ArgumentNullException.ThrowIfNull(pbeParameters); 1158/// <exception cref="ArgumentNullException"> 1175ArgumentNullException.ThrowIfNull(pbeParameters); 1192/// <exception cref="ArgumentNullException"> 1201ArgumentNullException.ThrowIfNull(password); 1227/// <exception cref="ArgumentNullException"> 1248ArgumentNullException.ThrowIfNull(pbeParameters); 1285/// <exception cref="ArgumentNullException"> 1308ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaCng.cs (1)
32/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaCng.Windows.cs (1)
22ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (51)
60/// <exception cref="ArgumentNullException"> 65ArgumentNullException.ThrowIfNull(algorithm); 79/// <exception cref="ArgumentNullException"> 84ArgumentNullException.ThrowIfNull(algorithm); 98/// <exception cref="ArgumentNullException"> 110ArgumentNullException.ThrowIfNull(algorithm); 220/// <exception cref="ArgumentNullException"> 236ArgumentNullException.ThrowIfNull(ciphertext); 319/// <exception cref="ArgumentNullException"> 337ArgumentNullException.ThrowIfNull(algorithm); 338ArgumentNullException.ThrowIfNull(source); 355/// <exception cref="ArgumentNullException"> 373ArgumentNullException.ThrowIfNull(algorithm); 397/// <exception cref="ArgumentNullException"> 415ArgumentNullException.ThrowIfNull(algorithm); 416ArgumentNullException.ThrowIfNull(source); 433/// <exception cref="ArgumentNullException"> 451ArgumentNullException.ThrowIfNull(algorithm); 472/// <exception cref="ArgumentNullException"> 498ArgumentNullException.ThrowIfNull(source); 568/// <exception cref="ArgumentNullException"> 594ArgumentNullException.ThrowIfNull(source); 670/// <exception cref="ArgumentNullException"> 700ArgumentNullException.ThrowIfNull(password); 701ArgumentNullException.ThrowIfNull(source); 816/// <exception cref="ArgumentNullException"> 859ArgumentNullException.ThrowIfNull(source); 934/// <exception cref="ArgumentNullException"> 984ArgumentNullException.ThrowIfNull(source); 985ArgumentNullException.ThrowIfNull(password); 1067/// <exception cref="ArgumentNullException"> 1112ArgumentNullException.ThrowIfNull(source); 1113ArgumentNullException.ThrowIfNull(passwordBytes); 1191/// <exception cref="ArgumentNullException"> 1208ArgumentNullException.ThrowIfNull(password); 1226/// <exception cref="ArgumentNullException"> 1243ArgumentNullException.ThrowIfNull(pbeParameters); 1266/// <exception cref="ArgumentNullException"> 1285ArgumentNullException.ThrowIfNull(pbeParameters); 1307/// <exception cref="ArgumentNullException"> 1324ArgumentNullException.ThrowIfNull(password); 1341/// <exception cref="ArgumentNullException"> 1358ArgumentNullException.ThrowIfNull(pbeParameters); 1386/// <exception cref="ArgumentNullException"> 1405ArgumentNullException.ThrowIfNull(pbeParameters); 1442/// <exception cref="ArgumentNullException"> 1463ArgumentNullException.ThrowIfNull(password); 1489/// <exception cref="ArgumentNullException"> 1510ArgumentNullException.ThrowIfNull(pbeParameters); 1547/// <exception cref="ArgumentNullException"> 1570ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (5)
34ArgumentNullException.ThrowIfNull(asnEncodedData); 41ArgumentNullException.ThrowIfNull(attribute); 86ArgumentNullException.ThrowIfNull(attribute); 135ArgumentNullException.ThrowIfNull(array); 153ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (4)
79ArgumentNullException.ThrowIfNull(pbeParameters); 91ArgumentNullException.ThrowIfNull(pbeParameters); 115ArgumentNullException.ThrowIfNull(pbeParameters); 136ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.SignVerify.cs (3)
22ArgumentNullException.ThrowIfNull(rgbHash); 75ArgumentNullException.ThrowIfNull(rgbHash); 76ArgumentNullException.ThrowIfNull(rgbSignature);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.cs (6)
78ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 99ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 120ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 121ArgumentNullException.ThrowIfNull(prfLabel); 122ArgumentNullException.ThrowIfNull(prfSeed); 137ArgumentNullException.ThrowIfNull(otherPartyPublicKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (4)
132ArgumentNullException.ThrowIfNull(pbeParameters); 144ArgumentNullException.ThrowIfNull(pbeParameters); 168ArgumentNullException.ThrowIfNull(pbeParameters); 189ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.cs (1)
14/// <exception cref="ArgumentNullException">if <paramref name="curve" /> is null.</exception>
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (4)
169ArgumentNullException.ThrowIfNull(pbeParameters); 181ArgumentNullException.ThrowIfNull(pbeParameters); 205ArgumentNullException.ThrowIfNull(pbeParameters); 226ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.SignVerify.cs (3)
18ArgumentNullException.ThrowIfNull(hash); 80ArgumentNullException.ThrowIfNull(hash); 81ArgumentNullException.ThrowIfNull(signature);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (70)
58/// <exception cref="ArgumentNullException"> 63ArgumentNullException.ThrowIfNull(algorithm); 149/// <exception cref="ArgumentNullException"> 168ArgumentNullException.ThrowIfNull(data); 239/// <exception cref="ArgumentNullException"> 256ArgumentNullException.ThrowIfNull(data); 257ArgumentNullException.ThrowIfNull(signature); 279/// <exception cref="ArgumentNullException"> 304ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 356/// <exception cref="ArgumentNullException"> 370ArgumentNullException.ThrowIfNull(hash); 371ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 397/// <exception cref="ArgumentNullException"> 417ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 467/// <exception cref="ArgumentNullException"> 489ArgumentNullException.ThrowIfNull(hash); 490ArgumentNullException.ThrowIfNull(signature); 491ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 501/// <exception cref="ArgumentNullException"><paramref name="externalMu"/> is <see langword="null"/>.</exception> 505ArgumentNullException.ThrowIfNull(externalMu); 603/// <exception cref="ArgumentNullException"> 609ArgumentNullException.ThrowIfNull(externalMu); 610ArgumentNullException.ThrowIfNull(signature); 850/// <exception cref="ArgumentNullException"> 867ArgumentNullException.ThrowIfNull(pbeParameters); 895/// <exception cref="ArgumentNullException"> 914ArgumentNullException.ThrowIfNull(pbeParameters); 931/// <exception cref="ArgumentNullException"> 936ArgumentNullException.ThrowIfNull(password); 962/// <exception cref="ArgumentNullException"> 983ArgumentNullException.ThrowIfNull(pbeParameters); 1020/// <exception cref="ArgumentNullException"> 1043ArgumentNullException.ThrowIfNull(pbeParameters); 1060/// <exception cref="ArgumentNullException"> 1069ArgumentNullException.ThrowIfNull(password); 1087/// <exception cref="ArgumentNullException"> 1106ArgumentNullException.ThrowIfNull(pbeParameters); 1129/// <exception cref="ArgumentNullException"> 1150ArgumentNullException.ThrowIfNull(pbeParameters); 1161/// <exception cref="ArgumentNullException"> 1168ArgumentNullException.ThrowIfNull(password); 1309/// <exception cref="ArgumentNullException"> 1321ArgumentNullException.ThrowIfNull(algorithm); 1380/// <exception cref="ArgumentNullException"> 1385ArgumentNullException.ThrowIfNull(source); 1431/// <exception cref="ArgumentNullException"> 1436ArgumentNullException.ThrowIfNull(source); 1545/// <exception cref="ArgumentNullException"> 1550ArgumentNullException.ThrowIfNull(password); 1551ArgumentNullException.ThrowIfNull(source); 1606/// <exception cref="ArgumentNullException"> 1611ArgumentNullException.ThrowIfNull(source); 1751/// <exception cref="ArgumentNullException"> 1756ArgumentNullException.ThrowIfNull(source); 1757ArgumentNullException.ThrowIfNull(password); 1764/// <exception cref="ArgumentNullException"> 1769ArgumentNullException.ThrowIfNull(source); 1770ArgumentNullException.ThrowIfNull(passwordBytes); 1803ArgumentNullException.ThrowIfNull(algorithm); 1815/// <exception cref="ArgumentNullException"> 1820ArgumentNullException.ThrowIfNull(algorithm); 1821ArgumentNullException.ThrowIfNull(source); 1853ArgumentNullException.ThrowIfNull(algorithm); 1865/// <exception cref="ArgumentNullException"> 1870ArgumentNullException.ThrowIfNull(algorithm); 1871ArgumentNullException.ThrowIfNull(source); 1903ArgumentNullException.ThrowIfNull(algorithm); 1915/// <exception cref="ArgumentNullException"> 1920ArgumentNullException.ThrowIfNull(algorithm); 1921ArgumentNullException.ThrowIfNull(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.cs (1)
34/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (1)
42ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (51)
54/// <exception cref="ArgumentNullException"> 59ArgumentNullException.ThrowIfNull(algorithm); 72/// <exception cref="ArgumentNullException"> 84ArgumentNullException.ThrowIfNull(algorithm); 242/// <exception cref="ArgumentNullException"> 248ArgumentNullException.ThrowIfNull(ciphertext); 340/// <exception cref="ArgumentNullException"> 352ArgumentNullException.ThrowIfNull(algorithm); 371/// <exception cref="ArgumentNullException"> 385ArgumentNullException.ThrowIfNull(source); 399/// <exception cref="ArgumentNullException"> 411ArgumentNullException.ThrowIfNull(algorithm); 429/// <exception cref="ArgumentNullException"> 443ArgumentNullException.ThrowIfNull(source); 456/// <exception cref="ArgumentNullException"> 468ArgumentNullException.ThrowIfNull(algorithm); 486/// <exception cref="ArgumentNullException"> 500ArgumentNullException.ThrowIfNull(source); 797/// <exception cref="ArgumentNullException"> 818ArgumentNullException.ThrowIfNull(pbeParameters); 850/// <exception cref="ArgumentNullException"> 871ArgumentNullException.ThrowIfNull(password); 896/// <exception cref="ArgumentNullException"> 917ArgumentNullException.ThrowIfNull(pbeParameters); 940/// <exception cref="ArgumentNullException"> 957ArgumentNullException.ThrowIfNull(pbeParameters); 980/// <exception cref="ArgumentNullException"> 997ArgumentNullException.ThrowIfNull(pbeParameters); 1020/// <exception cref="ArgumentNullException"> 1037ArgumentNullException.ThrowIfNull(password); 1054/// <exception cref="ArgumentNullException"> 1071ArgumentNullException.ThrowIfNull(pbeParameters); 1097/// <exception cref="ArgumentNullException"> 1112ArgumentNullException.ThrowIfNull(pbeParameters); 1138/// <exception cref="ArgumentNullException"> 1153ArgumentNullException.ThrowIfNull(password); 1206/// <exception cref="ArgumentNullException"> 1211ArgumentNullException.ThrowIfNull(source); 1256/// <exception cref="ArgumentNullException"> 1261ArgumentNullException.ThrowIfNull(source); 1372/// <exception cref="ArgumentNullException"> 1398ArgumentNullException.ThrowIfNull(password); 1399ArgumentNullException.ThrowIfNull(source); 1456/// <exception cref="ArgumentNullException"> 1461ArgumentNullException.ThrowIfNull(source); 1587/// <exception cref="ArgumentNullException"> 1592ArgumentNullException.ThrowIfNull(source); 1593ArgumentNullException.ThrowIfNull(password); 1599/// <exception cref="ArgumentNullException"> 1604ArgumentNullException.ThrowIfNull(source); 1605ArgumentNullException.ThrowIfNull(passwordBytes);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.cs (1)
34/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (1)
34ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (5)
43ArgumentNullException.ThrowIfNull(safeContents); 44ArgumentNullException.ThrowIfNull(pbeParameters); 87ArgumentNullException.ThrowIfNull(safeContents); 88ArgumentNullException.ThrowIfNull(pbeParameters); 116ArgumentNullException.ThrowIfNull(safeContents);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
92ArgumentNullException.ThrowIfNull(certificateType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (7)
76ArgumentNullException.ThrowIfNull(safeBag); 88ArgumentNullException.ThrowIfNull(certificate); 100ArgumentNullException.ThrowIfNull(key); 113ArgumentNullException.ThrowIfNull(safeContents); 142ArgumentNullException.ThrowIfNull(key); 170ArgumentNullException.ThrowIfNull(key); 183ArgumentNullException.ThrowIfNull(secretType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (6)
31ArgumentNullException.ThrowIfNull(algorithmId); 61ArgumentNullException.ThrowIfNull(privateKey); 103ArgumentNullException.ThrowIfNull(pbeParameters); 119ArgumentNullException.ThrowIfNull(pbeParameters); 143ArgumentNullException.ThrowIfNull(pbeParameters); 161ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (1)
76ArgumentNullException.ThrowIfNull(asnEncodedData);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9DocumentDescription.cs (1)
78ArgumentNullException.ThrowIfNull(documentDescription);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9DocumentName.cs (1)
78ArgumentNullException.ThrowIfNull(documentName);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.EncryptDecrypt.cs (3)
38ArgumentNullException.ThrowIfNull(data); 39ArgumentNullException.ThrowIfNull(padding); 121ArgumentNullException.ThrowIfNull(padding);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.ImportExport.cs (4)
97ArgumentNullException.ThrowIfNull(pbeParameters); 109ArgumentNullException.ThrowIfNull(pbeParameters); 133ArgumentNullException.ThrowIfNull(pbeParameters); 154ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.SignVerify.cs (6)
44ArgumentNullException.ThrowIfNull(hash); 47ArgumentNullException.ThrowIfNull(padding); 88ArgumentNullException.ThrowIfNull(padding); 126ArgumentNullException.ThrowIfNull(hash); 127ArgumentNullException.ThrowIfNull(signature); 136ArgumentNullException.ThrowIfNull(padding);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (61)
61/// <exception cref="ArgumentNullException"> 66ArgumentNullException.ThrowIfNull(algorithm); 164/// <exception cref="ArgumentNullException"> 183ArgumentNullException.ThrowIfNull(data); 252/// <exception cref="ArgumentNullException"> 269ArgumentNullException.ThrowIfNull(data); 270ArgumentNullException.ThrowIfNull(signature); 292/// <exception cref="ArgumentNullException"> 316ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 352/// <exception cref="ArgumentNullException"> 375ArgumentNullException.ThrowIfNull(hash); 376ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 402/// <exception cref="ArgumentNullException"> 421ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 461/// <exception cref="ArgumentNullException"> 482ArgumentNullException.ThrowIfNull(hash); 483ArgumentNullException.ThrowIfNull(signature); 484ArgumentNullException.ThrowIfNull(hashAlgorithmOid); 720/// <exception cref="ArgumentNullException"> 737ArgumentNullException.ThrowIfNull(pbeParameters); 765/// <exception cref="ArgumentNullException"> 784ArgumentNullException.ThrowIfNull(pbeParameters); 801/// <exception cref="ArgumentNullException"> 806ArgumentNullException.ThrowIfNull(password); 832/// <exception cref="ArgumentNullException"> 853ArgumentNullException.ThrowIfNull(pbeParameters); 890/// <exception cref="ArgumentNullException"> 913ArgumentNullException.ThrowIfNull(pbeParameters); 930/// <exception cref="ArgumentNullException"> 939ArgumentNullException.ThrowIfNull(password); 957/// <exception cref="ArgumentNullException"> 976ArgumentNullException.ThrowIfNull(pbeParameters); 1006/// <exception cref="ArgumentNullException"> 1027ArgumentNullException.ThrowIfNull(pbeParameters); 1045/// <exception cref="ArgumentNullException"> 1052ArgumentNullException.ThrowIfNull(password); 1172/// <exception cref="ArgumentNullException"> 1184ArgumentNullException.ThrowIfNull(algorithm); 1243/// <exception cref="ArgumentNullException"> 1248ArgumentNullException.ThrowIfNull(source); 1310/// <exception cref="ArgumentNullException"> 1315ArgumentNullException.ThrowIfNull(source); 1424/// <exception cref="ArgumentNullException"> 1429ArgumentNullException.ThrowIfNull(password); 1430ArgumentNullException.ThrowIfNull(source); 1485/// <exception cref="ArgumentNullException"> 1490ArgumentNullException.ThrowIfNull(source); 1630/// <exception cref="ArgumentNullException"> 1635ArgumentNullException.ThrowIfNull(source); 1636ArgumentNullException.ThrowIfNull(password); 1643/// <exception cref="ArgumentNullException"> 1648ArgumentNullException.ThrowIfNull(source); 1649ArgumentNullException.ThrowIfNull(passwordBytes); 1670/// <exception cref="ArgumentNullException"> 1682ArgumentNullException.ThrowIfNull(algorithm); 1695/// <exception cref="ArgumentNullException"> 1700ArgumentNullException.ThrowIfNull(source); 1720/// <exception cref="ArgumentNullException"> 1732ArgumentNullException.ThrowIfNull(algorithm); 1745/// <exception cref="ArgumentNullException"> 1750ArgumentNullException.ThrowIfNull(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsaCng.cs (2)
33/// <exception cref="ArgumentNullException"> 45ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SP800108HmacCounterKdf.cs (22)
49/// <exception cref="ArgumentNullException"> 72/// <exception cref="ArgumentNullException"> 95ArgumentNullException.ThrowIfNull(key); 110/// <exception cref="ArgumentNullException"> 142ArgumentNullException.ThrowIfNull(key); 143ArgumentNullException.ThrowIfNull(label); 144ArgumentNullException.ThrowIfNull(context); 163/// <exception cref="ArgumentNullException"> 203ArgumentNullException.ThrowIfNull(key); 204ArgumentNullException.ThrowIfNull(label); 205ArgumentNullException.ThrowIfNull(context); 224/// <exception cref="ArgumentNullException"> 257/// <exception cref="ArgumentNullException"> 288/// <exception cref="ArgumentNullException"> 329/// <exception cref="ArgumentNullException"> 366/// <exception cref="ArgumentNullException"> 381ArgumentNullException.ThrowIfNull(label); 382ArgumentNullException.ThrowIfNull(context); 417/// <exception cref="ArgumentNullException"> 493/// <exception cref="ArgumentNullException"> 516ArgumentNullException.ThrowIfNull(label); 517ArgumentNullException.ThrowIfNull(context);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (43)
71/// <exception cref="ArgumentNullException"> 80ArgumentNullException.ThrowIfNull(otherParty); 101/// <exception cref="ArgumentNullException"> 113ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 135/// <exception cref="ArgumentNullException"> 147ArgumentNullException.ThrowIfNull(otherParty); 474/// <exception cref="ArgumentNullException"> 491ArgumentNullException.ThrowIfNull(pbeParameters); 523/// <exception cref="ArgumentNullException"> 540ArgumentNullException.ThrowIfNull(pbeParameters); 572/// <exception cref="ArgumentNullException"> 589ArgumentNullException.ThrowIfNull(password); 605/// <exception cref="ArgumentNullException"> 618ArgumentNullException.ThrowIfNull(pbeParameters); 641/// <exception cref="ArgumentNullException"> 654ArgumentNullException.ThrowIfNull(pbeParameters); 677/// <exception cref="ArgumentNullException"> 690ArgumentNullException.ThrowIfNull(password); 707/// <exception cref="ArgumentNullException"> 720ArgumentNullException.ThrowIfNull(pbeParameters); 746/// <exception cref="ArgumentNullException"> 757ArgumentNullException.ThrowIfNull(pbeParameters); 783/// <exception cref="ArgumentNullException"> 794ArgumentNullException.ThrowIfNull(password); 872/// <exception cref="ArgumentNullException"> 887ArgumentNullException.ThrowIfNull(source); 928/// <exception cref="ArgumentNullException"> 943ArgumentNullException.ThrowIfNull(source); 1036/// <exception cref="ArgumentNullException"> 1041ArgumentNullException.ThrowIfNull(source); 1086/// <exception cref="ArgumentNullException"> 1091ArgumentNullException.ThrowIfNull(source); 1202/// <exception cref="ArgumentNullException"> 1228ArgumentNullException.ThrowIfNull(password); 1229ArgumentNullException.ThrowIfNull(source); 1290/// <exception cref="ArgumentNullException"> 1295ArgumentNullException.ThrowIfNull(source); 1387/// <exception cref="ArgumentNullException"> 1392ArgumentNullException.ThrowIfNull(source); 1393ArgumentNullException.ThrowIfNull(password); 1398/// <exception cref="ArgumentNullException"> 1403ArgumentNullException.ThrowIfNull(source); 1404ArgumentNullException.ThrowIfNull(passwordBytes);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.cs (1)
31/// <exception cref="ArgumentNullException">
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
26ArgumentNullException.ThrowIfNull(key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\Pkcs12LoaderLimits.cs (2)
97/// <exception cref="ArgumentNullException"> 102ArgumentNullException.ThrowIfNull(copyFrom);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (13)
49/// <exception cref="ArgumentNullException"> 70/// <exception cref="ArgumentNullException"> 100/// <exception cref="ArgumentNullException"> 135ArgumentNullException.ThrowIfNull(data); 159/// <exception cref="ArgumentNullException"> 227/// <exception cref="ArgumentNullException"> 289/// <exception cref="ArgumentNullException"> 353/// <exception cref="ArgumentNullException"> 376ArgumentNullException.ThrowIfNull(data); 401/// <exception cref="ArgumentNullException"> 461/// <exception cref="ArgumentNullException"> 513/// <exception cref="ArgumentNullException"> 730ArgumentNullException.ThrowIfNull(argument, paramName);
System\Security\Cryptography\Aes.cs (6)
82/// <exception cref="ArgumentNullException"> 87ArgumentNullException.ThrowIfNull(plaintext); 150/// <exception cref="ArgumentNullException"> 155ArgumentNullException.ThrowIfNull(ciphertext); 484/// <exception cref="ArgumentNullException"> 493ArgumentNullException.ThrowIfNull(ciphertext);
System\Security\Cryptography\AesCcm.cs (9)
38ArgumentNullException.ThrowIfNull(key); 47ArgumentNullException.ThrowIfNull(nonce); 48ArgumentNullException.ThrowIfNull(plaintext); 49ArgumentNullException.ThrowIfNull(ciphertext); 50ArgumentNullException.ThrowIfNull(tag); 68ArgumentNullException.ThrowIfNull(nonce); 69ArgumentNullException.ThrowIfNull(ciphertext); 70ArgumentNullException.ThrowIfNull(tag); 71ArgumentNullException.ThrowIfNull(plaintext);
System\Security\Cryptography\AesCng.Windows.cs (3)
57/// <exception cref="ArgumentNullException"> 75ArgumentNullException.ThrowIfNull(key); 296ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\AesImplementation.cs (1)
262ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\AsnEncodedData.cs (5)
37ArgumentNullException.ThrowIfNull(asnEncodedData); 84ArgumentNullException.ThrowIfNull(rawData); 113ArgumentNullException.ThrowIfNull(value); 120ArgumentNullException.ThrowIfNull(asnEncodedData); 138ArgumentNullException.ThrowIfNull(rawData, "value"); // Use "value" as param name for compat.
System\Security\Cryptography\AsnEncodedDataCollection.cs (4)
26ArgumentNullException.ThrowIfNull(asnEncodedData); 35ArgumentNullException.ThrowIfNull(asnEncodedData); 68ArgumentNullException.ThrowIfNull(array); 86ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\AsymmetricSignatureDeformatter.cs (1)
17ArgumentNullException.ThrowIfNull(hash);
System\Security\Cryptography\AsymmetricSignatureFormatter.cs (1)
17ArgumentNullException.ThrowIfNull(hash);
System\Security\Cryptography\CapiHelper.Windows.cs (2)
199ArgumentNullException.ThrowIfNull(cspParameters); 1049ArgumentNullException.ThrowIfNull(hashAlg);
System\Security\Cryptography\ChaCha20Poly1305.cs (9)
34ArgumentNullException.ThrowIfNull(key); 52ArgumentNullException.ThrowIfNull(nonce); 53ArgumentNullException.ThrowIfNull(plaintext); 54ArgumentNullException.ThrowIfNull(ciphertext); 55ArgumentNullException.ThrowIfNull(tag); 73ArgumentNullException.ThrowIfNull(nonce); 74ArgumentNullException.ThrowIfNull(ciphertext); 75ArgumentNullException.ThrowIfNull(tag); 76ArgumentNullException.ThrowIfNull(plaintext);
System\Security\Cryptography\CngKey.Create.cs (1)
37ArgumentNullException.ThrowIfNull(algorithm);
System\Security\Cryptography\CngKey.Exists.cs (2)
35ArgumentNullException.ThrowIfNull(keyName); 36ArgumentNullException.ThrowIfNull(provider);
System\Security\Cryptography\CngKey.Export.cs (1)
20ArgumentNullException.ThrowIfNull(format);
System\Security\Cryptography\CngKey.Import.cs (3)
109ArgumentNullException.ThrowIfNull(keyBlob); 120ArgumentNullException.ThrowIfNull(format); 121ArgumentNullException.ThrowIfNull(provider);
System\Security\Cryptography\CngKey.Open.cs (2)
35ArgumentNullException.ThrowIfNull(keyName); 36ArgumentNullException.ThrowIfNull(provider);
System\Security\Cryptography\CngKey.OpenHandle.cs (1)
21ArgumentNullException.ThrowIfNull(keyHandle);
System\Security\Cryptography\CngKey.Properties.cs (2)
20ArgumentNullException.ThrowIfNull(name); 37ArgumentNullException.ThrowIfNull(name);
System\Security\Cryptography\CngKeyCreationParameters.cs (1)
58ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\CngProperty.cs (3)
22ArgumentNullException.ThrowIfNull(name); 36/// <exception cref="ArgumentNullException"><paramref name="name" /> is <see langword="null" />.</exception> 40ArgumentNullException.ThrowIfNull(name);
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (3)
32ArgumentNullException.ThrowIfNull(keyName); 33ArgumentNullException.ThrowIfNull(provider); 197ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\CryptoConfig.cs (7)
313ArgumentNullException.ThrowIfNull(algorithm); 316ArgumentNullException.ThrowIfNull(names); 339ArgumentNullException.ThrowIfNull(name); 522ArgumentNullException.ThrowIfNull(oid); 523ArgumentNullException.ThrowIfNull(names); 549ArgumentNullException.ThrowIfNull(name); 574ArgumentNullException.ThrowIfNull(str);
System\Security\Cryptography\CryptographicOperations.cs (37)
112/// <exception cref="ArgumentNullException"> 131ArgumentNullException.ThrowIfNull(source); 141/// <exception cref="ArgumentNullException"> 177/// <exception cref="ArgumentNullException"> 213/// <exception cref="ArgumentNullException"> 245/// <exception cref="ArgumentNullException"> 279/// <exception cref="ArgumentNullException"> 322/// <exception cref="ArgumentNullException"> 373/// <exception cref="ArgumentNullException"> 414/// <exception cref="ArgumentNullException"> 433ArgumentNullException.ThrowIfNull(key); 434ArgumentNullException.ThrowIfNull(source); 445/// <exception cref="ArgumentNullException"> 482/// <exception cref="ArgumentNullException"> 523/// <exception cref="ArgumentNullException"> 561/// <exception cref="ArgumentNullException"> 582ArgumentNullException.ThrowIfNull(key); 593/// <exception cref="ArgumentNullException"> 629/// <exception cref="ArgumentNullException"> 670/// <exception cref="ArgumentNullException"> 698ArgumentNullException.ThrowIfNull(key); 713/// <exception cref="ArgumentNullException"> 762/// <exception cref="ArgumentNullException"> 813/// <exception cref="ArgumentNullException"> 860/// <exception cref="ArgumentNullException"> 873ArgumentNullException.ThrowIfNull(key); 874ArgumentNullException.ThrowIfNull(source); 875ArgumentNullException.ThrowIfNull(hash); 902/// <exception cref="ArgumentNullException"> 952/// <exception cref="ArgumentNullException"> 965ArgumentNullException.ThrowIfNull(key); 966ArgumentNullException.ThrowIfNull(hash); 992/// <exception cref="ArgumentNullException"> 1055/// <exception cref="ArgumentNullException"> 1073ArgumentNullException.ThrowIfNull(key); 1074ArgumentNullException.ThrowIfNull(hash); 1086ArgumentNullException.ThrowIfNull(source);
System\Security\Cryptography\CryptoStream.cs (2)
40ArgumentNullException.ThrowIfNull(transform); 744ArgumentNullException.ThrowIfNull(destination);
System\Security\Cryptography\DES.cs (1)
51ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\DESCryptoServiceProvider.Windows.cs (1)
65ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\DesImplementation.cs (1)
60ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\DSA.cs (30)
97ArgumentNullException.ThrowIfNull(data); 113/// <exception cref="ArgumentNullException"> 127ArgumentNullException.ThrowIfNull(data); 138ArgumentNullException.ThrowIfNull(data); 163/// <exception cref="ArgumentNullException"> 195ArgumentNullException.ThrowIfNull(data); 243ArgumentNullException.ThrowIfNull(data); 259/// <exception cref="ArgumentNullException"> 273ArgumentNullException.ThrowIfNull(data); 301ArgumentNullException.ThrowIfNull(data); 308ArgumentNullException.ThrowIfNull(data); 316ArgumentNullException.ThrowIfNull(signature); 335/// <exception cref="ArgumentNullException"> 368ArgumentNullException.ThrowIfNull(data); 376ArgumentNullException.ThrowIfNull(signature); 386ArgumentNullException.ThrowIfNull(data); 387ArgumentNullException.ThrowIfNull(signature); 402/// <exception cref="ArgumentNullException"> 413ArgumentNullException.ThrowIfNull(rgbHash); 646/// <exception cref="ArgumentNullException"> 664ArgumentNullException.ThrowIfNull(data); 665ArgumentNullException.ThrowIfNull(signature); 683/// <exception cref="ArgumentNullException"> 701ArgumentNullException.ThrowIfNull(data); 702ArgumentNullException.ThrowIfNull(signature); 796/// <exception cref="ArgumentNullException"> 807ArgumentNullException.ThrowIfNull(rgbHash); 808ArgumentNullException.ThrowIfNull(rgbSignature); 927ArgumentNullException.ThrowIfNull(pbeParameters); 950ArgumentNullException.ThrowIfNull(pbeParameters);
System\Security\Cryptography\DSA.Xml.cs (1)
130ArgumentNullException.ThrowIfNull(keyParameters.X, "inArray");
System\Security\Cryptography\DSACng.cs (2)
22/// <exception cref="ArgumentNullException">if <paramref name="key" /> is null.</exception> 26ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\DSACryptoServiceProvider.Windows.cs (4)
482ArgumentNullException.ThrowIfNull(rgbHash); 509ArgumentNullException.ThrowIfNull(rgbHash); 510ArgumentNullException.ThrowIfNull(rgbSignature); 528ArgumentNullException.ThrowIfNull(keyBlob);
System\Security\Cryptography\DSASignatureDeformatter.cs (4)
14ArgumentNullException.ThrowIfNull(key); 21ArgumentNullException.ThrowIfNull(key); 37ArgumentNullException.ThrowIfNull(rgbHash); 38ArgumentNullException.ThrowIfNull(rgbSignature);
System\Security\Cryptography\DSASignatureFormatter.cs (3)
14ArgumentNullException.ThrowIfNull(key); 21ArgumentNullException.ThrowIfNull(key); 37ArgumentNullException.ThrowIfNull(rgbHash);
System\Security\Cryptography\ECAlgorithm.cs (4)
106/// <exception cref="ArgumentNullException"> 134ArgumentNullException.ThrowIfNull(pbeParameters); 186/// <exception cref="ArgumentNullException"> 206ArgumentNullException.ThrowIfNull(pbeParameters);
System\Security\Cryptography\ECCurve.cs (3)
78ArgumentNullException.ThrowIfNull(value, nameof(Oid)); 107ArgumentNullException.ThrowIfNull(oidFriendlyName); 119ArgumentNullException.ThrowIfNull(oidValue);
System\Security\Cryptography\ECDiffieHellman.cs (4)
38ArgumentNullException.ThrowIfNull(algorithm); 128/// <exception cref="ArgumentNullException"><paramref name="prfLabel"/> is null</exception> 129/// <exception cref="ArgumentNullException"><paramref name="prfSeed"/> is null</exception> 145/// <exception cref="ArgumentNullException">
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
26ArgumentNullException.ThrowIfNull(key); 56ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\ECDiffieHellmanCng.Derive.cs (4)
13ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 44ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 100ArgumentNullException.ThrowIfNull(otherPartyPublicKey); 129ArgumentNullException.ThrowIfNull(otherPartyPublicKey);
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
39ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (2)
68ArgumentNullException.ThrowIfNull(publicKeyBlob); 69ArgumentNullException.ThrowIfNull(format);
System\Security\Cryptography\ECDiffieHellmanPublicKey.cs (1)
21ArgumentNullException.ThrowIfNull(keyBlob);
System\Security\Cryptography\ECDsa.cs (33)
36ArgumentNullException.ThrowIfNull(algorithm); 43ArgumentNullException.ThrowIfNull(data); 52ArgumentNullException.ThrowIfNull(data); 77/// <exception cref="ArgumentNullException"> 109ArgumentNullException.ThrowIfNull(data); 189/// <exception cref="ArgumentNullException"> 203ArgumentNullException.ThrowIfNull(data); 220/// <exception cref="ArgumentNullException"> 234ArgumentNullException.ThrowIfNull(data); 271/// <exception cref="ArgumentNullException"> 282ArgumentNullException.ThrowIfNull(hash); 548ArgumentNullException.ThrowIfNull(data); 570/// <exception cref="ArgumentNullException"> 604/// <exception cref="ArgumentNullException"> 648/// <exception cref="ArgumentNullException"> 698/// <exception cref="ArgumentNullException"> 721ArgumentNullException.ThrowIfNull(data); 728ArgumentNullException.ThrowIfNull(data); 736ArgumentNullException.ThrowIfNull(signature); 755/// <exception cref="ArgumentNullException"> 788ArgumentNullException.ThrowIfNull(data); 796ArgumentNullException.ThrowIfNull(signature); 818/// <exception cref="ArgumentNullException"> 832ArgumentNullException.ThrowIfNull(data); 833ArgumentNullException.ThrowIfNull(signature); 917ArgumentNullException.ThrowIfNull(data); 918ArgumentNullException.ThrowIfNull(signature); 935/// <exception cref="ArgumentNullException"> 953ArgumentNullException.ThrowIfNull(data); 954ArgumentNullException.ThrowIfNull(signature); 1121/// <exception cref="ArgumentNullException"> 1132ArgumentNullException.ThrowIfNull(hash); 1133ArgumentNullException.ThrowIfNull(signature);
System\Security\Cryptography\ECDsaCng.cs (3)
27ArgumentNullException.ThrowIfNull(value); 40/// <exception cref="ArgumentNullException">if <paramref name="key" /> is null.</exception> 44ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\ECDsaCng.Key.cs (1)
28ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\HashAlgorithm.cs (4)
47ArgumentNullException.ThrowIfNull(buffer); 78ArgumentNullException.ThrowIfNull(buffer); 121ArgumentNullException.ThrowIfNull(inputStream); 236ArgumentNullException.ThrowIfNull(inputBuffer);
System\Security\Cryptography\HashAlgorithmName.cs (3)
136/// <exception cref="ArgumentNullException"> 141ArgumentNullException.ThrowIfNull(oidValue); 182/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HashProvider.cs (1)
17ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\HashStatic.cs (5)
26ArgumentNullException.ThrowIfNull(source); 67ArgumentNullException.ThrowIfNull(source); 81ArgumentNullException.ThrowIfNull(source); 92ArgumentNullException.ThrowIfNull(source); 106ArgumentNullException.ThrowIfNull(source);
System\Security\Cryptography\Helpers.cs (1)
384ArgumentNullException.ThrowIfNull(arg, paramName);
System\Security\Cryptography\HKDF.cs (5)
33ArgumentNullException.ThrowIfNull(ikm); 81/// <exception cref="ArgumentNullException"><paramref name="prk"/>is <see langword="null"/>.</exception> 85ArgumentNullException.ThrowIfNull(prk); 145/// <exception cref="ArgumentNullException"><paramref name="ikm"/>is <see langword="null"/>.</exception> 149ArgumentNullException.ThrowIfNull(ikm);
System\Security\Cryptography\HMAC.cs (1)
35ArgumentNullException.ThrowIfNull(value, nameof(HashName));
System\Security\Cryptography\HMACMD5.cs (14)
49ArgumentNullException.ThrowIfNull(key); 69ArgumentNullException.ThrowIfNull(value); 95/// <exception cref="ArgumentNullException"> 159/// <exception cref="ArgumentNullException"> 184/// <exception cref="ArgumentNullException"> 202/// <exception cref="ArgumentNullException"> 224/// <exception cref="ArgumentNullException"> 246/// <exception cref="ArgumentNullException"> 269/// <exception cref="ArgumentNullException"> 316/// <exception cref="ArgumentNullException"> 340/// <exception cref="ArgumentNullException"> 353/// <exception cref="ArgumentNullException"> 382/// <exception cref="ArgumentNullException"> 399/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA1.cs (14)
45ArgumentNullException.ThrowIfNull(key); 72ArgumentNullException.ThrowIfNull(value); 98/// <exception cref="ArgumentNullException"> 158/// <exception cref="ArgumentNullException"> 182/// <exception cref="ArgumentNullException"> 199/// <exception cref="ArgumentNullException"> 220/// <exception cref="ArgumentNullException"> 241/// <exception cref="ArgumentNullException"> 263/// <exception cref="ArgumentNullException"> 308/// <exception cref="ArgumentNullException"> 331/// <exception cref="ArgumentNullException"> 343/// <exception cref="ArgumentNullException"> 371/// <exception cref="ArgumentNullException"> 387/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA256.cs (14)
44ArgumentNullException.ThrowIfNull(key); 64ArgumentNullException.ThrowIfNull(value); 90/// <exception cref="ArgumentNullException"> 150/// <exception cref="ArgumentNullException"> 174/// <exception cref="ArgumentNullException"> 191/// <exception cref="ArgumentNullException"> 212/// <exception cref="ArgumentNullException"> 233/// <exception cref="ArgumentNullException"> 255/// <exception cref="ArgumentNullException"> 300/// <exception cref="ArgumentNullException"> 323/// <exception cref="ArgumentNullException"> 335/// <exception cref="ArgumentNullException"> 363/// <exception cref="ArgumentNullException"> 379/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA3_256.cs (15)
62/// <exception cref="ArgumentNullException"> 67ArgumentNullException.ThrowIfNull(key); 95ArgumentNullException.ThrowIfNull(value); 126/// <exception cref="ArgumentNullException"> 186/// <exception cref="ArgumentNullException"> 210/// <exception cref="ArgumentNullException"> 227/// <exception cref="ArgumentNullException"> 248/// <exception cref="ArgumentNullException"> 269/// <exception cref="ArgumentNullException"> 291/// <exception cref="ArgumentNullException"> 339/// <exception cref="ArgumentNullException"> 362/// <exception cref="ArgumentNullException"> 377/// <exception cref="ArgumentNullException"> 405/// <exception cref="ArgumentNullException"> 424/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA3_384.cs (15)
62/// <exception cref="ArgumentNullException"> 67ArgumentNullException.ThrowIfNull(key); 95ArgumentNullException.ThrowIfNull(value); 126/// <exception cref="ArgumentNullException"> 186/// <exception cref="ArgumentNullException"> 210/// <exception cref="ArgumentNullException"> 227/// <exception cref="ArgumentNullException"> 248/// <exception cref="ArgumentNullException"> 269/// <exception cref="ArgumentNullException"> 291/// <exception cref="ArgumentNullException"> 339/// <exception cref="ArgumentNullException"> 362/// <exception cref="ArgumentNullException"> 377/// <exception cref="ArgumentNullException"> 405/// <exception cref="ArgumentNullException"> 424/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA3_512.cs (15)
62/// <exception cref="ArgumentNullException"> 67ArgumentNullException.ThrowIfNull(key); 95ArgumentNullException.ThrowIfNull(value); 126/// <exception cref="ArgumentNullException"> 186/// <exception cref="ArgumentNullException"> 210/// <exception cref="ArgumentNullException"> 227/// <exception cref="ArgumentNullException"> 248/// <exception cref="ArgumentNullException"> 269/// <exception cref="ArgumentNullException"> 291/// <exception cref="ArgumentNullException"> 339/// <exception cref="ArgumentNullException"> 362/// <exception cref="ArgumentNullException"> 377/// <exception cref="ArgumentNullException"> 405/// <exception cref="ArgumentNullException"> 424/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA384.cs (14)
44ArgumentNullException.ThrowIfNull(key); 81ArgumentNullException.ThrowIfNull(value); 107/// <exception cref="ArgumentNullException"> 167/// <exception cref="ArgumentNullException"> 191/// <exception cref="ArgumentNullException"> 208/// <exception cref="ArgumentNullException"> 229/// <exception cref="ArgumentNullException"> 250/// <exception cref="ArgumentNullException"> 272/// <exception cref="ArgumentNullException"> 317/// <exception cref="ArgumentNullException"> 340/// <exception cref="ArgumentNullException"> 352/// <exception cref="ArgumentNullException"> 380/// <exception cref="ArgumentNullException"> 396/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACSHA512.cs (14)
44ArgumentNullException.ThrowIfNull(key); 78ArgumentNullException.ThrowIfNull(value); 104/// <exception cref="ArgumentNullException"> 164/// <exception cref="ArgumentNullException"> 188/// <exception cref="ArgumentNullException"> 205/// <exception cref="ArgumentNullException"> 226/// <exception cref="ArgumentNullException"> 247/// <exception cref="ArgumentNullException"> 269/// <exception cref="ArgumentNullException"> 314/// <exception cref="ArgumentNullException"> 337/// <exception cref="ArgumentNullException"> 349/// <exception cref="ArgumentNullException"> 377/// <exception cref="ArgumentNullException"> 393/// <exception cref="ArgumentNullException">
System\Security\Cryptography\HMACStatic.cs (17)
42ArgumentNullException.ThrowIfNull(key); 43ArgumentNullException.ThrowIfNull(source); 87ArgumentNullException.ThrowIfNull(source); 101ArgumentNullException.ThrowIfNull(source); 112ArgumentNullException.ThrowIfNull(key); 122ArgumentNullException.ThrowIfNull(source); 133ArgumentNullException.ThrowIfNull(key); 144ArgumentNullException.ThrowIfNull(source); 163ArgumentNullException.ThrowIfNull(key); 164ArgumentNullException.ThrowIfNull(source); 165ArgumentNullException.ThrowIfNull(hash); 172ArgumentNullException.ThrowIfNull(source); 192ArgumentNullException.ThrowIfNull(key); 193ArgumentNullException.ThrowIfNull(hash); 205ArgumentNullException.ThrowIfNull(source); 245ArgumentNullException.ThrowIfNull(key); 246ArgumentNullException.ThrowIfNull(hash);
System\Security\Cryptography\IncrementalHash.cs (9)
57/// <exception cref="ArgumentNullException"><paramref name="data"/> is <c>null</c>.</exception> 61ArgumentNullException.ThrowIfNull(data); 73/// <exception cref="ArgumentNullException"><paramref name="data"/> is <c>null</c>.</exception> 88ArgumentNullException.ThrowIfNull(data); 311/// <exception cref="ArgumentNullException"> 316ArgumentNullException.ThrowIfNull(hash); 342/// <exception cref="ArgumentNullException"> 347ArgumentNullException.ThrowIfNull(hash); 417ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\Kmac128.cs (28)
37/// <exception cref="ArgumentNullException"> 83/// <exception cref="ArgumentNullException"> 221/// <exception cref="ArgumentNullException"> 226ArgumentNullException.ThrowIfNull(hash); 259/// <exception cref="ArgumentNullException"> 264ArgumentNullException.ThrowIfNull(hash); 293/// <exception cref="ArgumentNullException"> 307ArgumentNullException.ThrowIfNull(key); 308ArgumentNullException.ThrowIfNull(source); 379/// <exception cref="ArgumentNullException"> 393ArgumentNullException.ThrowIfNull(key); 394ArgumentNullException.ThrowIfNull(source); 416/// <exception cref="ArgumentNullException"> 430ArgumentNullException.ThrowIfNull(source); 448/// <exception cref="ArgumentNullException"> 462ArgumentNullException.ThrowIfNull(source); 483/// <exception cref="ArgumentNullException"> 507ArgumentNullException.ThrowIfNull(key); 508ArgumentNullException.ThrowIfNull(source); 530/// <exception cref="ArgumentNullException"> 554ArgumentNullException.ThrowIfNull(source); 574/// <exception cref="ArgumentNullException"> 595ArgumentNullException.ThrowIfNull(source); 635/// <exception cref="ArgumentNullException"> 657/// <exception cref="ArgumentNullException"> 679/// <exception cref="ArgumentNullException"> 688/// <exception cref="ArgumentNullException"> 721/// <exception cref="ArgumentNullException">
System\Security\Cryptography\Kmac256.cs (28)
37/// <exception cref="ArgumentNullException"> 83/// <exception cref="ArgumentNullException"> 221/// <exception cref="ArgumentNullException"> 226ArgumentNullException.ThrowIfNull(hash); 259/// <exception cref="ArgumentNullException"> 264ArgumentNullException.ThrowIfNull(hash); 293/// <exception cref="ArgumentNullException"> 307ArgumentNullException.ThrowIfNull(key); 308ArgumentNullException.ThrowIfNull(source); 379/// <exception cref="ArgumentNullException"> 393ArgumentNullException.ThrowIfNull(key); 394ArgumentNullException.ThrowIfNull(source); 416/// <exception cref="ArgumentNullException"> 430ArgumentNullException.ThrowIfNull(source); 448/// <exception cref="ArgumentNullException"> 462ArgumentNullException.ThrowIfNull(source); 483/// <exception cref="ArgumentNullException"> 507ArgumentNullException.ThrowIfNull(key); 508ArgumentNullException.ThrowIfNull(source); 530/// <exception cref="ArgumentNullException"> 554ArgumentNullException.ThrowIfNull(source); 574/// <exception cref="ArgumentNullException"> 595ArgumentNullException.ThrowIfNull(source); 635/// <exception cref="ArgumentNullException"> 657/// <exception cref="ArgumentNullException"> 679/// <exception cref="ArgumentNullException"> 688/// <exception cref="ArgumentNullException"> 721/// <exception cref="ArgumentNullException">
System\Security\Cryptography\KmacStatic.cs (9)
52ArgumentNullException.ThrowIfNull(key); 53ArgumentNullException.ThrowIfNull(source); 54ArgumentNullException.ThrowIfNull(hash); 69ArgumentNullException.ThrowIfNull(source); 93ArgumentNullException.ThrowIfNull(key); 94ArgumentNullException.ThrowIfNull(hash); 110ArgumentNullException.ThrowIfNull(source); 149ArgumentNullException.ThrowIfNull(key); 150ArgumentNullException.ThrowIfNull(hash);
System\Security\Cryptography\KmacXof128.cs (28)
37/// <exception cref="ArgumentNullException"> 83/// <exception cref="ArgumentNullException"> 221/// <exception cref="ArgumentNullException"> 226ArgumentNullException.ThrowIfNull(hash); 259/// <exception cref="ArgumentNullException"> 264ArgumentNullException.ThrowIfNull(hash); 293/// <exception cref="ArgumentNullException"> 307ArgumentNullException.ThrowIfNull(key); 308ArgumentNullException.ThrowIfNull(source); 379/// <exception cref="ArgumentNullException"> 393ArgumentNullException.ThrowIfNull(key); 394ArgumentNullException.ThrowIfNull(source); 416/// <exception cref="ArgumentNullException"> 430ArgumentNullException.ThrowIfNull(source); 448/// <exception cref="ArgumentNullException"> 462ArgumentNullException.ThrowIfNull(source); 483/// <exception cref="ArgumentNullException"> 507ArgumentNullException.ThrowIfNull(key); 508ArgumentNullException.ThrowIfNull(source); 530/// <exception cref="ArgumentNullException"> 554ArgumentNullException.ThrowIfNull(source); 574/// <exception cref="ArgumentNullException"> 595ArgumentNullException.ThrowIfNull(source); 635/// <exception cref="ArgumentNullException"> 657/// <exception cref="ArgumentNullException"> 679/// <exception cref="ArgumentNullException"> 688/// <exception cref="ArgumentNullException"> 721/// <exception cref="ArgumentNullException">
System\Security\Cryptography\KmacXof256.cs (28)
37/// <exception cref="ArgumentNullException"> 83/// <exception cref="ArgumentNullException"> 221/// <exception cref="ArgumentNullException"> 226ArgumentNullException.ThrowIfNull(hash); 259/// <exception cref="ArgumentNullException"> 264ArgumentNullException.ThrowIfNull(hash); 293/// <exception cref="ArgumentNullException"> 307ArgumentNullException.ThrowIfNull(key); 308ArgumentNullException.ThrowIfNull(source); 379/// <exception cref="ArgumentNullException"> 393ArgumentNullException.ThrowIfNull(key); 394ArgumentNullException.ThrowIfNull(source); 416/// <exception cref="ArgumentNullException"> 430ArgumentNullException.ThrowIfNull(source); 448/// <exception cref="ArgumentNullException"> 462ArgumentNullException.ThrowIfNull(source); 483/// <exception cref="ArgumentNullException"> 507ArgumentNullException.ThrowIfNull(key); 508ArgumentNullException.ThrowIfNull(source); 530/// <exception cref="ArgumentNullException"> 554ArgumentNullException.ThrowIfNull(source); 574/// <exception cref="ArgumentNullException"> 595ArgumentNullException.ThrowIfNull(source); 635/// <exception cref="ArgumentNullException"> 657/// <exception cref="ArgumentNullException"> 679/// <exception cref="ArgumentNullException"> 688/// <exception cref="ArgumentNullException"> 721/// <exception cref="ArgumentNullException">
System\Security\Cryptography\MD5.cs (5)
59/// <exception cref="ArgumentNullException"> 113/// <exception cref="ArgumentNullException"> 137/// <exception cref="ArgumentNullException"> 155/// <exception cref="ArgumentNullException"> 177/// <exception cref="ArgumentNullException">
System\Security\Cryptography\MLDsaOpenSsl.cs (1)
36/// <exception cref="ArgumentNullException">
System\Security\Cryptography\MLKemOpenSsl.cs (1)
36/// <exception cref="ArgumentNullException">
System\Security\Cryptography\Oid.cs (3)
32ArgumentNullException.ThrowIfNull(oid); 42ArgumentNullException.ThrowIfNull(friendlyName); 53ArgumentNullException.ThrowIfNull(oidValue);
System\Security\Cryptography\OidCollection.cs (2)
74ArgumentNullException.ThrowIfNull(array); 92ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\OidLookup.cs (2)
23ArgumentNullException.ThrowIfNull(oid); 61ArgumentNullException.ThrowIfNull(friendlyName);
System\Security\Cryptography\RandomNumberGenerator.cs (1)
440ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\RandomNumberGeneratorImplementation.cs (2)
29ArgumentNullException.ThrowIfNull(data); 50ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\RC2Implementation.cs (1)
59ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\Rfc2898DeriveBytes.cs (1)
149ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (6)
23/// <exception cref="ArgumentNullException"> 47ArgumentNullException.ThrowIfNull(password); 48ArgumentNullException.ThrowIfNull(salt); 134/// <exception cref="ArgumentNullException"> 166ArgumentNullException.ThrowIfNull(password); 167ArgumentNullException.ThrowIfNull(salt);
System\Security\Cryptography\RSA.cs (32)
138/// <exception cref="ArgumentNullException"> 163ArgumentNullException.ThrowIfNull(padding); 185/// <exception cref="ArgumentNullException"> 213ArgumentNullException.ThrowIfNull(padding); 229/// <exception cref="ArgumentNullException"> 250ArgumentNullException.ThrowIfNull(padding); 272/// <exception cref="ArgumentNullException"> 296ArgumentNullException.ThrowIfNull(padding); 374ArgumentNullException.ThrowIfNull(data); 386ArgumentNullException.ThrowIfNull(data); 395ArgumentNullException.ThrowIfNull(padding); 403ArgumentNullException.ThrowIfNull(data); 405ArgumentNullException.ThrowIfNull(padding); 414ArgumentNullException.ThrowIfNull(padding); 433/// <exception cref="ArgumentNullException"> 459ArgumentNullException.ThrowIfNull(padding); 486/// <exception cref="ArgumentNullException"> 522ArgumentNullException.ThrowIfNull(padding); 539/// <exception cref="ArgumentNullException"> 565ArgumentNullException.ThrowIfNull(padding); 588/// <exception cref="ArgumentNullException"> 624ArgumentNullException.ThrowIfNull(padding); 636ArgumentNullException.ThrowIfNull(data); 649ArgumentNullException.ThrowIfNull(data); 657ArgumentNullException.ThrowIfNull(signature); 659ArgumentNullException.ThrowIfNull(padding); 667ArgumentNullException.ThrowIfNull(data); 668ArgumentNullException.ThrowIfNull(signature); 670ArgumentNullException.ThrowIfNull(padding); 679ArgumentNullException.ThrowIfNull(padding); 807ArgumentNullException.ThrowIfNull(pbeParameters); 830ArgumentNullException.ThrowIfNull(pbeParameters);
System\Security\Cryptography\RSABCrypt.cs (13)
122ArgumentNullException.ThrowIfNull(data); 123ArgumentNullException.ThrowIfNull(padding); 134ArgumentNullException.ThrowIfNull(data); 135ArgumentNullException.ThrowIfNull(padding); 145ArgumentNullException.ThrowIfNull(hash); 147ArgumentNullException.ThrowIfNull(padding); 167ArgumentNullException.ThrowIfNull(hash); 168ArgumentNullException.ThrowIfNull(signature); 170ArgumentNullException.ThrowIfNull(padding); 185ArgumentNullException.ThrowIfNull(padding); 219ArgumentNullException.ThrowIfNull(padding); 267ArgumentNullException.ThrowIfNull(padding); 327ArgumentNullException.ThrowIfNull(padding);
System\Security\Cryptography\RSACng.cs (2)
22/// <exception cref="ArgumentNullException">if <paramref name="key" /> is null.</exception> 26ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\RSACryptoServiceProvider.Windows.cs (15)
265ArgumentNullException.ThrowIfNull(rgb); 311ArgumentNullException.ThrowIfNull(rgb); 459ArgumentNullException.ThrowIfNull(rgbHash); 508ArgumentNullException.ThrowIfNull(rgbHash); 509ArgumentNullException.ThrowIfNull(rgbSignature); 534ArgumentNullException.ThrowIfNull(keyBlob); 565ArgumentNullException.ThrowIfNull(data); 566ArgumentNullException.ThrowIfNull(padding); 600ArgumentNullException.ThrowIfNull(data); 601ArgumentNullException.ThrowIfNull(padding); 637ArgumentNullException.ThrowIfNull(hash); 639ArgumentNullException.ThrowIfNull(padding); 652ArgumentNullException.ThrowIfNull(hash); 653ArgumentNullException.ThrowIfNull(signature); 655ArgumentNullException.ThrowIfNull(padding);
System\Security\Cryptography\RSAOAEPKeyExchangeDeformatter.cs (2)
13ArgumentNullException.ThrowIfNull(key); 34ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\RSAOAEPKeyExchangeFormatter.cs (2)
15ArgumentNullException.ThrowIfNull(key); 57ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\RSAPKCS1KeyExchangeDeformatter.cs (2)
17ArgumentNullException.ThrowIfNull(key); 44ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\RSAPKCS1KeyExchangeFormatter.cs (2)
17ArgumentNullException.ThrowIfNull(key); 38ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\RSAPKCS1SignatureDeformatter.cs (4)
18ArgumentNullException.ThrowIfNull(key); 25ArgumentNullException.ThrowIfNull(key); 47ArgumentNullException.ThrowIfNull(rgbHash); 48ArgumentNullException.ThrowIfNull(rgbSignature);
System\Security\Cryptography\RSAPKCS1SignatureFormatter.cs (3)
19ArgumentNullException.ThrowIfNull(key); 26ArgumentNullException.ThrowIfNull(key); 48ArgumentNullException.ThrowIfNull(rgbHash);
System\Security\Cryptography\SHA1.cs (5)
55/// <exception cref="ArgumentNullException"> 105/// <exception cref="ArgumentNullException"> 128/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException"> 166/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA256.cs (5)
54/// <exception cref="ArgumentNullException"> 105/// <exception cref="ArgumentNullException"> 128/// <exception cref="ArgumentNullException"> 145/// <exception cref="ArgumentNullException"> 166/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA3_256.cs (5)
74/// <exception cref="ArgumentNullException"> 136/// <exception cref="ArgumentNullException"> 162/// <exception cref="ArgumentNullException"> 182/// <exception cref="ArgumentNullException"> 206/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA3_384.cs (5)
74/// <exception cref="ArgumentNullException"> 137/// <exception cref="ArgumentNullException"> 163/// <exception cref="ArgumentNullException"> 183/// <exception cref="ArgumentNullException"> 207/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA3_512.cs (5)
74/// <exception cref="ArgumentNullException"> 136/// <exception cref="ArgumentNullException"> 162/// <exception cref="ArgumentNullException"> 182/// <exception cref="ArgumentNullException"> 206/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA384.cs (5)
54/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 127/// <exception cref="ArgumentNullException"> 144/// <exception cref="ArgumentNullException"> 165/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SHA512.cs (5)
54/// <exception cref="ArgumentNullException"> 104/// <exception cref="ArgumentNullException"> 127/// <exception cref="ArgumentNullException"> 144/// <exception cref="ArgumentNullException"> 165/// <exception cref="ArgumentNullException">
System\Security\Cryptography\Shake128.cs (12)
57/// <exception cref="ArgumentNullException"> 63ArgumentNullException.ThrowIfNull(data); 279/// <exception cref="ArgumentNullException"> 288ArgumentNullException.ThrowIfNull(source); 343/// <exception cref="ArgumentNullException"> 352ArgumentNullException.ThrowIfNull(source); 372/// <exception cref="ArgumentNullException"> 381ArgumentNullException.ThrowIfNull(source); 402/// <exception cref="ArgumentNullException"> 417ArgumentNullException.ThrowIfNull(source); 446/// <exception cref="ArgumentNullException"> 458ArgumentNullException.ThrowIfNull(source);
System\Security\Cryptography\Shake256.cs (12)
57/// <exception cref="ArgumentNullException"> 63ArgumentNullException.ThrowIfNull(data); 279/// <exception cref="ArgumentNullException"> 288ArgumentNullException.ThrowIfNull(source); 343/// <exception cref="ArgumentNullException"> 352ArgumentNullException.ThrowIfNull(source); 372/// <exception cref="ArgumentNullException"> 381ArgumentNullException.ThrowIfNull(source); 402/// <exception cref="ArgumentNullException"> 417ArgumentNullException.ThrowIfNull(source); 446/// <exception cref="ArgumentNullException"> 458ArgumentNullException.ThrowIfNull(source);
System\Security\Cryptography\SignatureDescription.cs (1)
21ArgumentNullException.ThrowIfNull(el);
System\Security\Cryptography\SlhDsaOpenSsl.cs (1)
35/// <exception cref="ArgumentNullException">
System\Security\Cryptography\SymmetricAlgorithm.cs (16)
74ArgumentNullException.ThrowIfNull(value); 93ArgumentNullException.ThrowIfNull(value); 481/// <exception cref="ArgumentNullException"> 495ArgumentNullException.ThrowIfNull(ciphertext); 599/// <exception cref="ArgumentNullException"> 613ArgumentNullException.ThrowIfNull(plaintext); 718/// <exception cref="ArgumentNullException"> 736ArgumentNullException.ThrowIfNull(ciphertext); 737ArgumentNullException.ThrowIfNull(iv); 873/// <exception cref="ArgumentNullException"> 891ArgumentNullException.ThrowIfNull(plaintext); 892ArgumentNullException.ThrowIfNull(iv); 1029/// <exception cref="ArgumentNullException"> 1063ArgumentNullException.ThrowIfNull(ciphertext); 1064ArgumentNullException.ThrowIfNull(iv); 1269/// <exception cref="ArgumentNullException">
System\Security\Cryptography\TripleDES.cs (1)
51ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\TripleDesImplementation.cs (1)
52ArgumentNullException.ThrowIfNull(rgbKey);
System\Security\Cryptography\UniversalCryptoTransform.cs (3)
71ArgumentNullException.ThrowIfNull(inputBuffer); 80ArgumentNullException.ThrowIfNull(outputBuffer); 92ArgumentNullException.ThrowIfNull(inputBuffer);
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.cs (1)
31/// <exception cref="ArgumentNullException">
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (2)
15ArgumentNullException.ThrowIfNull(certificate); 51ArgumentNullException.ThrowIfNull(certificate);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (45)
74ArgumentNullException.ThrowIfNull(subjectName); 75ArgumentNullException.ThrowIfNull(key); 101ArgumentNullException.ThrowIfNull(subjectName); 102ArgumentNullException.ThrowIfNull(key); 132ArgumentNullException.ThrowIfNull(subjectName); 133ArgumentNullException.ThrowIfNull(key); 135ArgumentNullException.ThrowIfNull(padding); 168ArgumentNullException.ThrowIfNull(subjectName); 169ArgumentNullException.ThrowIfNull(key); 171ArgumentNullException.ThrowIfNull(padding); 192/// <exception cref="ArgumentNullException"> 200ArgumentNullException.ThrowIfNull(subjectName); 201ArgumentNullException.ThrowIfNull(key); 220/// <exception cref="ArgumentNullException"> 228ArgumentNullException.ThrowIfNull(subjectName); 229ArgumentNullException.ThrowIfNull(key); 248/// <exception cref="ArgumentNullException"> 256ArgumentNullException.ThrowIfNull(subjectName); 257ArgumentNullException.ThrowIfNull(key); 276/// <exception cref="ArgumentNullException"> 284ArgumentNullException.ThrowIfNull(subjectName); 285ArgumentNullException.ThrowIfNull(key); 304/// <exception cref="ArgumentNullException"> 312ArgumentNullException.ThrowIfNull(subjectName); 313ArgumentNullException.ThrowIfNull(key); 328/// <exception cref="ArgumentNullException"> 336ArgumentNullException.ThrowIfNull(subjectName); 337ArgumentNullException.ThrowIfNull(key); 356ArgumentNullException.ThrowIfNull(subjectName); 357ArgumentNullException.ThrowIfNull(publicKey); 390ArgumentNullException.ThrowIfNull(subjectName); 391ArgumentNullException.ThrowIfNull(publicKey); 460/// <exception cref="ArgumentNullException"> 507ArgumentNullException.ThrowIfNull(signatureGenerator); 607/// <exception cref="ArgumentNullException"> 649ArgumentNullException.ThrowIfNull(signatureGenerator); 737/// <exception cref="ArgumentNullException"><paramref name="issuerCertificate"/> is null.</exception> 795/// <exception cref="ArgumentNullException"><paramref name="issuerCertificate"/> is null.</exception> 826ArgumentNullException.ThrowIfNull(issuerCertificate); 950/// <exception cref="ArgumentNullException"><paramref name="issuerName"/> is null.</exception> 951/// <exception cref="ArgumentNullException"><paramref name="generator"/> is null.</exception> 995/// <exception cref="ArgumentNullException"><paramref name="issuerName"/> is null.</exception> 996/// <exception cref="ArgumentNullException"><paramref name="generator"/> is null.</exception> 1013ArgumentNullException.ThrowIfNull(issuerName); 1014ArgumentNullException.ThrowIfNull(generator);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (2)
25ArgumentNullException.ThrowIfNull(pkcs10Pem); 89ArgumentNullException.ThrowIfNull(pkcs10);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (6)
46/// <exception cref="ArgumentNullException"> 134ArgumentNullException.ThrowIfNull(issuerCertificate); 279/// <exception cref="ArgumentNullException"> 335ArgumentNullException.ThrowIfNull(issuerName); 336ArgumentNullException.ThrowIfNull(generator); 345ArgumentNullException.ThrowIfNull(authorityKeyIdentifier);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.CdpExtension.cs (2)
27/// <exception cref="ArgumentNullException"> 48ArgumentNullException.ThrowIfNull(uris);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (6)
57/// <exception cref="ArgumentNullException"> 68ArgumentNullException.ThrowIfNull(certificate); 90/// <exception cref="ArgumentNullException"> 104ArgumentNullException.ThrowIfNull(serialNumber); 222/// <exception cref="ArgumentNullException"> 227ArgumentNullException.ThrowIfNull(serialNumber);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (4)
30/// <exception cref="ArgumentNullException"> 45ArgumentNullException.ThrowIfNull(currentCrl); 218/// <exception cref="ArgumentNullException"> 233ArgumentNullException.ThrowIfNull(currentCrl);
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (2)
35ArgumentNullException.ThrowIfNull(certificate); 36ArgumentNullException.ThrowIfNull(privateKey);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (2)
32ArgumentNullException.ThrowIfNull(certificate); 33ArgumentNullException.ThrowIfNull(privateKey);
System\Security\Cryptography\X509Certificates\FindPal.cs (1)
218ArgumentNullException.ThrowIfNull(keyValue);
System\Security\Cryptography\X509Certificates\MLDsaX509SignatureGenerator.cs (1)
40ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
25ArgumentNullException.ThrowIfNull(subject); 26ArgumentNullException.ThrowIfNull(publicKey);
System\Security\Cryptography\X509Certificates\Pkcs9ExtensionRequest.cs (1)
19ArgumentNullException.ThrowIfNull(extensions);
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
32ArgumentNullException.ThrowIfNull(certificate); 33ArgumentNullException.ThrowIfNull(privateKey);
System\Security\Cryptography\X509Certificates\SlhDsaX509SignatureGenerator.cs (1)
41ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\X509Certificates\SubjectAlternativeNameBuilder.cs (2)
38ArgumentNullException.ThrowIfNull(uri); 45ArgumentNullException.ThrowIfNull(ipAddress);
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
90ArgumentNullException.ThrowIfNull(distinguishedName);
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (13)
46/// <exception cref="ArgumentNullException"> 64ArgumentNullException.ThrowIfNull(value); 80/// <exception cref="ArgumentNullException"> 98ArgumentNullException.ThrowIfNull(oid); 99ArgumentNullException.ThrowIfNull(value); 110/// <exception cref="ArgumentNullException"> 147/// <exception cref="ArgumentNullException"> 170/// <exception cref="ArgumentNullException"> 193/// <exception cref="ArgumentNullException"> 244/// <exception cref="ArgumentNullException"> 267/// <exception cref="ArgumentNullException"> 290/// <exception cref="ArgumentNullException"> 313/// <exception cref="ArgumentNullException">
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (5)
39/// <exception cref="ArgumentNullException"> 125/// <exception cref="ArgumentNullException"> 135ArgumentNullException.ThrowIfNull(accessMethodOid); 157/// <exception cref="ArgumentNullException"> 171ArgumentNullException.ThrowIfNull(accessMethodOid);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (18)
45/// <exception cref="ArgumentNullException"> 192/// <exception cref="ArgumentNullException"> 198ArgumentNullException.ThrowIfNull(subjectKeyIdentifier); 215/// <exception cref="ArgumentNullException"> 221ArgumentNullException.ThrowIfNull(subjectKeyIdentifier); 266/// <exception cref="ArgumentNullException"> 277ArgumentNullException.ThrowIfNull(issuerName); 278ArgumentNullException.ThrowIfNull(serialNumber); 298/// <exception cref="ArgumentNullException"> 309ArgumentNullException.ThrowIfNull(issuerName); 354/// <exception cref="ArgumentNullException"> 367ArgumentNullException.ThrowIfNull(keyIdentifier); 368ArgumentNullException.ThrowIfNull(issuerName); 369ArgumentNullException.ThrowIfNull(serialNumber); 396/// <exception cref="ArgumentNullException"> 408ArgumentNullException.ThrowIfNull(issuerName); 453/// <exception cref="ArgumentNullException"> 465ArgumentNullException.ThrowIfNull(certificate);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (6)
172ArgumentNullException.ThrowIfNull(fileName); 184ArgumentNullException.ThrowIfNull(fileName); 201ArgumentNullException.ThrowIfNull(fileName); 214ArgumentNullException.ThrowIfNull(cert); 390/// <exception cref="ArgumentNullException"> 410ArgumentNullException.ThrowIfNull(exportParameters);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (16)
421ArgumentNullException.ThrowIfNull(fileName); 745/// <exception cref="ArgumentNullException"><paramref name="privateKey" /> is <see langword="null"/>.</exception> 760ArgumentNullException.ThrowIfNull(privateKey); 837/// <exception cref="ArgumentNullException"> 848ArgumentNullException.ThrowIfNull(privateKey); 939/// <exception cref="ArgumentNullException"> 950ArgumentNullException.ThrowIfNull(privateKey); 1034/// <exception cref="ArgumentNullException"> 1046ArgumentNullException.ThrowIfNull(privateKey); 1141/// <exception cref="ArgumentNullException"> 1156ArgumentNullException.ThrowIfNull(privateKey); 1214/// <exception cref="ArgumentNullException"> 1243ArgumentNullException.ThrowIfNull(certPemFilePath); 1283/// <exception cref="ArgumentNullException"> 1309ArgumentNullException.ThrowIfNull(certPemFilePath); 1710ArgumentNullException.ThrowIfNull(hostname);
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (19)
50ArgumentNullException.ThrowIfNull(certificate); 57ArgumentNullException.ThrowIfNull(certificates); 79ArgumentNullException.ThrowIfNull(certificates); 152/// <exception cref="ArgumentNullException"> 170ArgumentNullException.ThrowIfNull(exportParameters); 192ArgumentNullException.ThrowIfNull(findValue); 207ArgumentNullException.ThrowIfNull(rawData); 230ArgumentNullException.ThrowIfNull(rawData); 280ArgumentNullException.ThrowIfNull(fileName); 291ArgumentNullException.ThrowIfNull(fileName); 317ArgumentNullException.ThrowIfNull(fileName); 330ArgumentNullException.ThrowIfNull(certificate); 337ArgumentNullException.ThrowIfNull(certificate); 344ArgumentNullException.ThrowIfNull(certificates); 366ArgumentNullException.ThrowIfNull(certificates); 408/// <exception cref="ArgumentNullException"> 413ArgumentNullException.ThrowIfNull(certPemFilePath); 659/// <exception cref="ArgumentNullException"> 689ArgumentNullException.ThrowIfNull(thumbprintHex);
System\Security\Cryptography\X509Certificates\X509CertificateCollection.cs (3)
33ArgumentNullException.ThrowIfNull(value); 46ArgumentNullException.ThrowIfNull(value); 56ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
16ArgumentNullException.ThrowIfNull(mappings);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.netcore.cs (1)
13ArgumentNullException.ThrowIfNull(data);
System\Security\Cryptography\X509Certificates\X509Chain.cs (1)
47ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\X509Certificates\X509ChainElementCollection.cs (1)
60ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
56ArgumentNullException.ThrowIfNull(enhancedKeyUsages);
System\Security\Cryptography\X509Certificates\X509Extension.cs (1)
80ArgumentNullException.ThrowIfNull(asnEncodedData);
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (2)
66ArgumentNullException.ThrowIfNull(extension); 79ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\X509Certificates\X509SignatureGenerator.cs (9)
20ArgumentNullException.ThrowIfNull(key); 27ArgumentNullException.ThrowIfNull(key); 28ArgumentNullException.ThrowIfNull(signaturePadding); 47/// <exception cref="ArgumentNullException"> 53ArgumentNullException.ThrowIfNull(key); 67/// <exception cref="ArgumentNullException"> 73ArgumentNullException.ThrowIfNull(key); 87/// <exception cref="ArgumentNullException"> 93ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\X509Certificates\X509Store.cs (4)
128ArgumentNullException.ThrowIfNull(certificate); 141ArgumentNullException.ThrowIfNull(certificates); 166ArgumentNullException.ThrowIfNull(certificate); 179ArgumentNullException.ThrowIfNull(certificates);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (2)
148ArgumentNullException.ThrowIfNull(subjectKeyIdentifier); 156ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\XmlKeyHelper.cs (1)
17ArgumentNullException.ThrowIfNull(xmlString);
System.Security.Cryptography.Cose (127)
System\Security\Cryptography\Cose\CoseHeaderLabel.cs (2)
59/// <exception cref="ArgumentNullException"><paramref name="label"/> is <see langword="null"/>.</exception> 62ArgumentNullException.ThrowIfNull(label);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (6)
48/// <exception cref="ArgumentNullException"><paramref name="encodedValue"/> is <see langword="null"/>.</exception> 51ArgumentNullException.ThrowIfNull(encodedValue); 82/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 85ArgumentNullException.ThrowIfNull(value); 112/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception> 116ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Cose\CoseKey.cs (6)
32ArgumentNullException.ThrowIfNull(key); 33ArgumentNullException.ThrowIfNull(signaturePadding); 34ArgumentNullException.ThrowIfNull(hashAlgorithm.Name); 47ArgumentNullException.ThrowIfNull(key); 48ArgumentNullException.ThrowIfNull(hashAlgorithm.Name); 61ArgumentNullException.ThrowIfNull(key);
System\Security\Cryptography\Cose\CoseMessage.cs (4)
91/// <exception cref="ArgumentNullException"><paramref name="cborPayload"/> is <see langword="null"/>.</exception> 95ArgumentNullException.ThrowIfNull(cborPayload); 176/// <exception cref="ArgumentNullException"><paramref name="cborPayload"/> is <see langword="null"/>.</exception> 180ArgumentNullException.ThrowIfNull(cborPayload);
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (28)
53/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 69ArgumentNullException.ThrowIfNull(detachedContent); 83/// <exception cref="ArgumentNullException"><paramref name="embeddedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 99ArgumentNullException.ThrowIfNull(embeddedContent); 113/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 140/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 166/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 187ArgumentNullException.ThrowIfNull(detachedContent); 207ArgumentNullException.ThrowIfNull(signer); 230/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 256ArgumentNullException.ThrowIfNull(detachedContent); 257ArgumentNullException.ThrowIfNull(signer); 298/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 326/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 345ArgumentNullException.ThrowIfNull(signer); 635/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 654/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 667ArgumentNullException.ThrowIfNull(signer); 683/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 696ArgumentNullException.ThrowIfNull(detachedContent); 707/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 720ArgumentNullException.ThrowIfNull(signer); 736/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 753ArgumentNullException.ThrowIfNull(detachedContent); 812/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 829ArgumentNullException.ThrowIfNull(detachedContent); 879/// <exception cref="ArgumentNullException"><paramref name="signature"/> is <see langword="null"/>.</exception> 883ArgumentNullException.ThrowIfNull(signature);
System\Security\Cryptography\Cose\CoseSign1Message.cs (47)
41/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 53ArgumentNullException.ThrowIfNull(detachedContent); 54ArgumentNullException.ThrowIfNull(signer); 66/// <exception cref="ArgumentNullException"><paramref name="embeddedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 78ArgumentNullException.ThrowIfNull(embeddedContent); 79ArgumentNullException.ThrowIfNull(signer); 91/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 103ArgumentNullException.ThrowIfNull(signer); 115/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 127ArgumentNullException.ThrowIfNull(signer); 139/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 155ArgumentNullException.ThrowIfNull(detachedContent); 156ArgumentNullException.ThrowIfNull(signer); 190/// <exception cref="ArgumentNullException"><paramref name="detachedContent"/> or <paramref name="signer"/> is <see langword="null"/>.</exception> 206ArgumentNullException.ThrowIfNull(detachedContent); 207ArgumentNullException.ThrowIfNull(signer); 239/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 261/// <exception cref="ArgumentNullException"><paramref name="signer"/> is <see langword="null"/>.</exception> 276ArgumentNullException.ThrowIfNull(signer); 363/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 387ArgumentNullException.ThrowIfNull(key); 406/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 430ArgumentNullException.ThrowIfNull(key); 449/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 473ArgumentNullException.ThrowIfNull(key); 490/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 514ArgumentNullException.ThrowIfNull(key); 515ArgumentNullException.ThrowIfNull(detachedContent); 535/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 559ArgumentNullException.ThrowIfNull(key); 560ArgumentNullException.ThrowIfNull(detachedContent); 572/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 596ArgumentNullException.ThrowIfNull(key); 615/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 639ArgumentNullException.ThrowIfNull(key); 656/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 688ArgumentNullException.ThrowIfNull(key); 689ArgumentNullException.ThrowIfNull(detachedContent); 718/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 750ArgumentNullException.ThrowIfNull(key); 751ArgumentNullException.ThrowIfNull(detachedContent); 812/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 844ArgumentNullException.ThrowIfNull(key); 845ArgumentNullException.ThrowIfNull(detachedContent); 875/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 906ArgumentNullException.ThrowIfNull(key); 907ArgumentNullException.ThrowIfNull(detachedContent);
System\Security\Cryptography\Cose\CoseSignature.cs (28)
78/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 102ArgumentNullException.ThrowIfNull(key); 121/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 145ArgumentNullException.ThrowIfNull(key); 161/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 185ArgumentNullException.ThrowIfNull(key); 205/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 229ArgumentNullException.ThrowIfNull(key); 231ArgumentNullException.ThrowIfNull(detachedContent); 251/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 275ArgumentNullException.ThrowIfNull(key); 276ArgumentNullException.ThrowIfNull(detachedContent); 288/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 312ArgumentNullException.ThrowIfNull(key); 332/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 356ArgumentNullException.ThrowIfNull(key); 373/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 405ArgumentNullException.ThrowIfNull(key); 407ArgumentNullException.ThrowIfNull(detachedContent); 437/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 468ArgumentNullException.ThrowIfNull(key); 469ArgumentNullException.ThrowIfNull(detachedContent); 497/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 529ArgumentNullException.ThrowIfNull(key); 530ArgumentNullException.ThrowIfNull(detachedContent); 561/// <exception cref="ArgumentNullException"><paramref name="key"/> or <paramref name="detachedContent"/> is <see langword="null"/>.</exception> 593ArgumentNullException.ThrowIfNull(key); 594ArgumentNullException.ThrowIfNull(detachedContent);
System\Security\Cryptography\Cose\CoseSigner.cs (6)
49/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 73ArgumentNullException.ThrowIfNull(key); 96/// <exception cref="ArgumentNullException"><paramref name="key"/> is <see langword="null"/>.</exception> 112ArgumentNullException.ThrowIfNull(key); 113ArgumentNullException.ThrowIfNull(signaturePadding); 128/// <exception cref="ArgumentNullException"></exception>
System.Security.Cryptography.Pkcs (62)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
12ArgumentNullException.ThrowIfNull(extension);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (5)
34ArgumentNullException.ThrowIfNull(asnEncodedData); 41ArgumentNullException.ThrowIfNull(attribute); 86ArgumentNullException.ThrowIfNull(attribute); 135ArgumentNullException.ThrowIfNull(array); 153ArgumentNullException.ThrowIfNull(array);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (5)
43ArgumentNullException.ThrowIfNull(safeContents); 44ArgumentNullException.ThrowIfNull(pbeParameters); 87ArgumentNullException.ThrowIfNull(safeContents); 88ArgumentNullException.ThrowIfNull(pbeParameters); 116ArgumentNullException.ThrowIfNull(safeContents);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
92ArgumentNullException.ThrowIfNull(certificateType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (7)
76ArgumentNullException.ThrowIfNull(safeBag); 88ArgumentNullException.ThrowIfNull(certificate); 100ArgumentNullException.ThrowIfNull(key); 113ArgumentNullException.ThrowIfNull(safeContents); 142ArgumentNullException.ThrowIfNull(key); 170ArgumentNullException.ThrowIfNull(key); 183ArgumentNullException.ThrowIfNull(secretType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (6)
31ArgumentNullException.ThrowIfNull(algorithmId); 61ArgumentNullException.ThrowIfNull(privateKey); 103ArgumentNullException.ThrowIfNull(pbeParameters); 119ArgumentNullException.ThrowIfNull(pbeParameters); 143ArgumentNullException.ThrowIfNull(pbeParameters); 161ArgumentNullException.ThrowIfNull(pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (1)
76ArgumentNullException.ThrowIfNull(asnEncodedData);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9DocumentDescription.cs (1)
78ArgumentNullException.ThrowIfNull(documentDescription);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9DocumentName.cs (1)
78ArgumentNullException.ThrowIfNull(documentName);
System\Security\Cryptography\Pkcs\CmsRecipient.cs (3)
25ArgumentNullException.ThrowIfNull(rsaEncryptionPadding); 39ArgumentNullException.ThrowIfNull(rsaEncryptionPadding); 47ArgumentNullException.ThrowIfNull(certificate);
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (4)
58ArgumentNullException.ThrowIfNull(recipient); 67ArgumentNullException.ThrowIfNull(recipient); 84ArgumentNullException.ThrowIfNull(array); 102ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\Pkcs\ContentInfo.cs (3)
24ArgumentNullException.ThrowIfNull(contentType); 25ArgumentNullException.ThrowIfNull(content); 37ArgumentNullException.ThrowIfNull(encodedMessage);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (10)
30ArgumentNullException.ThrowIfNull(contentInfo); 31ArgumentNullException.ThrowIfNull(encryptionAlgorithm); 87ArgumentNullException.ThrowIfNull(recipient); 94ArgumentNullException.ThrowIfNull(recipients); 125ArgumentNullException.ThrowIfNull(encodedMessage); 180ArgumentNullException.ThrowIfNull(recipientInfo); 187ArgumentNullException.ThrowIfNull(recipientInfo); 188ArgumentNullException.ThrowIfNull(extraStore); 195ArgumentNullException.ThrowIfNull(extraStore); 207ArgumentNullException.ThrowIfNull(recipientInfo);
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (2)
59ArgumentNullException.ThrowIfNull(array); 76ArgumentNullException.ThrowIfNull(array);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
172ArgumentNullException.ThrowIfNull(signerInfo);
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (2)
127ArgumentNullException.ThrowIfNull(hashAlgorithmId); 156ArgumentNullException.ThrowIfNull(signerInfo);
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (2)
326ArgumentNullException.ThrowIfNull(policyId); 327ArgumentNullException.ThrowIfNull(hashAlgorithmId);
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
46ArgumentNullException.ThrowIfNull(contentInfo); 158ArgumentNullException.ThrowIfNull(encodedMessage); 291ArgumentNullException.ThrowIfNull(signer); 397ArgumentNullException.ThrowIfNull(signerInfo);
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
428ArgumentNullException.ThrowIfNull(counterSignerInfo); 454ArgumentNullException.ThrowIfNull(extraStore);
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
57ArgumentNullException.ThrowIfNull(array);
System.Security.Cryptography.ProtectedData (2)
System\Security\Cryptography\ProtectedData.cs (2)
20ArgumentNullException.ThrowIfNull(userData); 171ArgumentNullException.ThrowIfNull(encryptedData);
System.Security.Cryptography.Xml (82)
System\Security\Cryptography\Xml\CanonicalizationDispatcher.cs (2)
44ArgumentNullException.ThrowIfNull(node); 81ArgumentNullException.ThrowIfNull(node);
System\Security\Cryptography\Xml\CanonicalXml.cs (3)
17ArgumentNullException.ThrowIfNull(inputStream); 28ArgumentNullException.ThrowIfNull(document); 38ArgumentNullException.ThrowIfNull(nodeList);
System\Security\Cryptography\Xml\CipherData.cs (1)
101ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\CipherReference.cs (1)
73ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\DataObject.cs (2)
29ArgumentNullException.ThrowIfNull(data); 137ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\DSAKeyValue.cs (4)
28ArgumentNullException.ThrowIfNull(key); 42ArgumentNullException.ThrowIfNull(value); 142/// <exception cref="ArgumentNullException"> 150ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\EncryptedData.cs (1)
15ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
50ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
108ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\EncryptedXml.cs (28)
200ArgumentNullException.ThrowIfNull(cipherData); 294ArgumentNullException.ThrowIfNull(encryptedData); 331ArgumentNullException.ThrowIfNull(encryptedData); 417ArgumentNullException.ThrowIfNull(encryptedKey); 536ArgumentNullException.ThrowIfNull(keyName); 537ArgumentNullException.ThrowIfNull(keyObject); 555ArgumentNullException.ThrowIfNull(inputElement); 556ArgumentNullException.ThrowIfNull(certificate); 595ArgumentNullException.ThrowIfNull(inputElement); 596ArgumentNullException.ThrowIfNull(keyName); 696ArgumentNullException.ThrowIfNull(plaintext); 697ArgumentNullException.ThrowIfNull(symmetricAlgorithm); 737ArgumentNullException.ThrowIfNull(inputElement); 738ArgumentNullException.ThrowIfNull(symmetricAlgorithm); 747ArgumentNullException.ThrowIfNull(encryptedData); 748ArgumentNullException.ThrowIfNull(symmetricAlgorithm); 792ArgumentNullException.ThrowIfNull(inputElement); 793ArgumentNullException.ThrowIfNull(decryptedData); 860ArgumentNullException.ThrowIfNull(inputElement); 861ArgumentNullException.ThrowIfNull(encryptedData); 884ArgumentNullException.ThrowIfNull(keyData); 885ArgumentNullException.ThrowIfNull(symmetricAlgorithm); 908ArgumentNullException.ThrowIfNull(keyData); 909ArgumentNullException.ThrowIfNull(rsa); 926ArgumentNullException.ThrowIfNull(keyData); 927ArgumentNullException.ThrowIfNull(symmetricAlgorithm); 949ArgumentNullException.ThrowIfNull(keyData); 950ArgumentNullException.ThrowIfNull(rsa);
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
84ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\EncryptionProperty.cs (2)
21ArgumentNullException.ThrowIfNull(elementProperty); 81ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\ExcCanonicalXml.cs (3)
17ArgumentNullException.ThrowIfNull(inputStream); 27ArgumentNullException.ThrowIfNull(document); 37ArgumentNullException.ThrowIfNull(nodeList);
System\Security\Cryptography\Xml\KeyInfo.cs (1)
65ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\KeyInfoName.cs (1)
53ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\KeyInfoRetrievalMethod.cs (1)
68ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (3)
52ArgumentNullException.ThrowIfNull(cert); 112ArgumentNullException.ThrowIfNull(certificate); 276ArgumentNullException.ThrowIfNull(element);
System\Security\Cryptography\Xml\Reference.cs (2)
211ArgumentNullException.ThrowIfNull(value); 340ArgumentNullException.ThrowIfNull(transform);
System\Security\Cryptography\Xml\ReferenceList.cs (2)
30ArgumentNullException.ThrowIfNull(value); 56ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\RSAKeyValue.cs (4)
23ArgumentNullException.ThrowIfNull(key); 37ArgumentNullException.ThrowIfNull(value); 97/// <exception cref="ArgumentNullException"> 105ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\Signature.cs (1)
136ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\SignedInfo.cs (2)
207ArgumentNullException.ThrowIfNull(value); 283ArgumentNullException.ThrowIfNull(reference);
System\Security\Cryptography\Xml\SignedXml.cs (6)
98ArgumentNullException.ThrowIfNull(document); 107ArgumentNullException.ThrowIfNull(elem); 225ArgumentNullException.ThrowIfNull(value); 431ArgumentNullException.ThrowIfNull(macAlg); 1010ArgumentNullException.ThrowIfNull(key); 1041ArgumentNullException.ThrowIfNull(macAlg);
System\Security\Cryptography\Xml\TransformChain.cs (1)
178ArgumentNullException.ThrowIfNull(value);
System\Security\Cryptography\Xml\Utils.cs (4)
36ArgumentNullException.ThrowIfNull(element); 45ArgumentNullException.ThrowIfNull(element); 193ArgumentNullException.ThrowIfNull(document); 214ArgumentNullException.ThrowIfNull(elem);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
82ArgumentNullException.ThrowIfNull(uri); 163ArgumentNullException.ThrowIfNull(document);
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (2)
94ArgumentNullException.ThrowIfNull(nodeList); 107ArgumentNullException.ThrowIfNull(doc);
System.Security.Permissions (1)
System\Security\Permissions\PrincipalPermission.cs (1)
272ArgumentNullException.ThrowIfNull(elem);
System.Security.Principal.Windows (21)
System\Security\Principal\IRCollection.cs (6)
71ArgumentNullException.ThrowIfNull(identity); 78ArgumentNullException.ThrowIfNull(identity); 95ArgumentNullException.ThrowIfNull(identity); 127ArgumentNullException.ThrowIfNull(value); 147ArgumentNullException.ThrowIfNull(targetType); 384ArgumentNullException.ThrowIfNull(collection);
System\Security\Principal\NTAccount.cs (3)
99ArgumentNullException.ThrowIfNull(targetType); 160ArgumentNullException.ThrowIfNull(sourceAccounts); 205ArgumentNullException.ThrowIfNull(sourceAccounts);
System\Security\Principal\SID.cs (6)
397ArgumentNullException.ThrowIfNull(binaryForm); 490ArgumentNullException.ThrowIfNull(sddlForm); 521ArgumentNullException.ThrowIfNull(binaryForm); 808ArgumentNullException.ThrowIfNull(targetType); 943ArgumentNullException.ThrowIfNull(sourceSids); 1119ArgumentNullException.ThrowIfNull(sourceSids);
System\Security\Principal\WindowsIdentity.cs (4)
152ArgumentNullException.ThrowIfNull(sUserPrincipalName); 694ArgumentNullException.ThrowIfNull(action); 702ArgumentNullException.ThrowIfNull(func); 965ArgumentNullException.ThrowIfNull(identity);
System\Security\Principal\WindowsPrincipal.cs (2)
36ArgumentNullException.ThrowIfNull(ntIdentity); 140ArgumentNullException.ThrowIfNull(sid);
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WsFederationHttpBinding.cs (1)
24/// <exception cref="ArgumentNullException">if <paramref name="wsTrustTokenParameters"/> is null.</exception>
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
51/// <exception cref="ArgumentNullException">thrown if <paramref name="tokenRequirement"/> is null.</exception>
System.ServiceModel.Federation.Tests (2)
WSTrustChannelFactoryTest.cs (1)
21Assert.Equal(typeof(ArgumentNullException), ex.GetType());
WSTrustChannelTest.cs (1)
21Assert.Equal(typeof(ArgumentNullException), ex.GetType());
System.ServiceModel.Http.Tests (6)
Channels\HttpRequestMessagePropertyTest.cs (2)
67Assert.Throws<ArgumentNullException>(() => requestMsgProperty.Method = null); 83Assert.Throws<ArgumentNullException>(() => requestMsgProperty.QueryString = null);
ServiceModel\BasicHttpBindingTest.cs (2)
196Assert.Throws<ArgumentNullException>(() => binding.Namespace = value); 217Assert.Throws<ArgumentNullException>(() => binding.ReaderQuotas = null);
ServiceModel\BasicHttpsBindingTest.cs (2)
186Assert.Throws<ArgumentNullException>(() => binding.Namespace = value); 207Assert.Throws<ArgumentNullException>(() => binding.ReaderQuotas = null);
System.ServiceModel.NetTcp.Tests (2)
Channels\TcpConnectionPoolSettingsTest.cs (1)
32Assert.Throws<ArgumentNullException>(() => settings.GroupName = null);
ServiceModel\NetTcpBindingTest.cs (1)
103Assert.Throws<ArgumentNullException>(() => binding.Security = null);
System.ServiceModel.Primitives (12)
Internals\System\Runtime\ExceptionTrace.cs (2)
235public ArgumentNullException ArgumentNull(string paramName) 240public ArgumentNullException ArgumentNull(string paramName, string message)
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (4)
27public ArgumentNullException ThrowHelperArgumentNull(string paramName, string message) 29return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName, message)); 139internal ArgumentNullException ThrowHelperArgumentNull(string paramName) 141return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName));
System\IdentityModel\Tokens\AggregateTokenResolver.cs (4)
24/// <exception cref="ArgumentNullException">The input argument 'tokenResolvers' is null.</exception> 55/// <exception cref="ArgumentNullException">Input argument 'keyIdentifierClause' is null.</exception> 82/// <exception cref="ArgumentNullException">Input argument 'keyIdentifier' is null.</exception> 109/// <exception cref="ArgumentNullException">Input argument 'keyIdentifierClause' is null.</exception>
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
471internal static ArgumentNullException ThrowHelperArgumentNull(string paramName, Message message) 473return (ArgumentNullException)ThrowHelperError(new ArgumentNullException(paramName), message);
System.ServiceModel.Primitives.Tests (23)
Channels\BinaryMessageEncodingBindingElementTest.cs (1)
82Assert.Throws<ArgumentNullException>(() => bindingElement.MessageVersion = null);
Channels\TextMessageEncodingBindingElementTest.cs (1)
53Assert.Throws<ArgumentNullException>(() => element.MessageVersion = null);
IdentityModel\SecurityTokenSerializerTest.cs (12)
57Assert.Throws<ArgumentNullException>(() => sts.CanReadKeyIdentifier(null)); 58Assert.Throws<ArgumentNullException>(() => sts.CanReadKeyIdentifierClause(null)); 59Assert.Throws<ArgumentNullException>(() => sts.CanReadToken(null)); 60Assert.Throws<ArgumentNullException>(() => sts.CanWriteKeyIdentifier(null)); 61Assert.Throws<ArgumentNullException>(() => sts.CanWriteKeyIdentifierClause(null)); 62Assert.Throws<ArgumentNullException>(() => sts.CanWriteToken(null)); 63Assert.Throws<ArgumentNullException>(() => sts.ReadToken(null, null)); 64Assert.Throws<ArgumentNullException>(() => sts.ReadKeyIdentifier(null)); 65Assert.Throws<ArgumentNullException>(() => sts.ReadKeyIdentifierClause(null)); 66Assert.Throws<ArgumentNullException>(() => sts.WriteToken(null, null)); 67Assert.Throws<ArgumentNullException>(() => sts.WriteKeyIdentifier(null, null)); 68Assert.Throws<ArgumentNullException>(() => sts.WriteKeyIdentifierClause(null, null));
ServiceModel\DuplexChannelFactoryTest.cs (1)
119Assert.Throws<ArgumentNullException>("uri", () =>
ServiceModel\DuplexClientBaseTest.cs (3)
47Assert.Throws<ArgumentNullException>("callbackInstance", () => { MyDuplexClientBase<IWcfDuplexService> duplexClientBase = new MyDuplexClientBase<IWcfDuplexService>(null, binding, endpoint); }); 55Assert.Throws<ArgumentNullException>("binding", () => { MyDuplexClientBase<IWcfDuplexService> duplexClientBase = new MyDuplexClientBase<IWcfDuplexService>(context, null, endpoint); }); 63Assert.Throws<ArgumentNullException>("remoteAddress", () => { MyDuplexClientBase<IWcfDuplexService> duplexClientBase = new MyDuplexClientBase<IWcfDuplexService>(context, binding, null); });
ServiceModel\MessageContractTest.cs (1)
60Assert.Throws<ArgumentNullException>(() => messageCA.WrapperName = wrapperName);
ServiceModel\SynchronizedCollection.cs (4)
76Assert.Throws<ArgumentNullException>("syncRoot", () => 81Assert.Throws<ArgumentNullException>("list", () => 86Assert.Throws<ArgumentNullException>("syncRoot", () => 91Assert.Throws<ArgumentNullException>("syncRoot", () =>
System.ServiceModel.Syndication (139)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (9)
40ArgumentNullException.ThrowIfNull(feedTypeToCreate); 74ArgumentNullException.ThrowIfNull(reader); 83ArgumentNullException.ThrowIfNull(reader); 90ArgumentNullException.ThrowIfNull(writer); 107ArgumentNullException.ThrowIfNull(writer); 482ArgumentNullException.ThrowIfNull(reader); 483ArgumentNullException.ThrowIfNull(feed); 492ArgumentNullException.ThrowIfNull(reader); 493ArgumentNullException.ThrowIfNull(feed);
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (5)
24ArgumentNullException.ThrowIfNull(itemTypeToCreate); 66ArgumentNullException.ThrowIfNull(reader); 75ArgumentNullException.ThrowIfNull(reader); 82ArgumentNullException.ThrowIfNull(writer); 99ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (7)
28ArgumentNullException.ThrowIfNull(inlineDocumentType); 33ArgumentNullException.ThrowIfNull(referencedDocumentType); 63ArgumentNullException.ThrowIfNull(reader); 72ArgumentNullException.ThrowIfNull(reader); 79ArgumentNullException.ThrowIfNull(writer); 91ArgumentNullException.ThrowIfNull(reader); 103ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (6)
28ArgumentNullException.ThrowIfNull(documentTypeToCreate); 49ArgumentNullException.ThrowIfNull(reader); 58ArgumentNullException.ThrowIfNull(reader); 65ArgumentNullException.ThrowIfNull(writer); 77ArgumentNullException.ThrowIfNull(reader); 90ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\CategoriesDocumentFormatter.cs (1)
20ArgumentNullException.ThrowIfNull(documentToWrite);
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (3)
68ArgumentNullException.ThrowIfNull(readerOverUnparsedExtensions); 87ArgumentNullException.ThrowIfNull(writer); 101ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\NullNotAllowedCollection.cs (2)
16ArgumentNullException.ThrowIfNull(item); 23ArgumentNullException.ThrowIfNull(item);
System\ServiceModel\Syndication\ReferencedCategoriesDocument.cs (1)
14ArgumentNullException.ThrowIfNull(link);
System\ServiceModel\Syndication\ResourceCollectionInfo.cs (2)
36ArgumentNullException.ThrowIfNull(title); 37ArgumentNullException.ThrowIfNull(link);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (9)
33ArgumentNullException.ThrowIfNull(feedTypeToCreate); 74ArgumentNullException.ThrowIfNull(reader); 83ArgumentNullException.ThrowIfNull(reader); 90ArgumentNullException.ThrowIfNull(writer); 107ArgumentNullException.ThrowIfNull(writer); 134ArgumentNullException.ThrowIfNull(reader); 135ArgumentNullException.ThrowIfNull(feed); 144ArgumentNullException.ThrowIfNull(reader); 145ArgumentNullException.ThrowIfNull(feed);
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (5)
25ArgumentNullException.ThrowIfNull(itemTypeToCreate); 89ArgumentNullException.ThrowIfNull(reader); 98ArgumentNullException.ThrowIfNull(reader); 105ArgumentNullException.ThrowIfNull(writer); 122ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (25)
21ArgumentNullException.ThrowIfNull(documentToWrite); 60ArgumentNullException.ThrowIfNull(document); 68ArgumentNullException.ThrowIfNull(inlineCategories); 75ArgumentNullException.ThrowIfNull(workspace); 92ArgumentNullException.ThrowIfNull(document); 99ArgumentNullException.ThrowIfNull(categories); 106ArgumentNullException.ThrowIfNull(collection); 113ArgumentNullException.ThrowIfNull(workspace); 120ArgumentNullException.ThrowIfNull(document); 127ArgumentNullException.ThrowIfNull(document); 134ArgumentNullException.ThrowIfNull(collection); 141ArgumentNullException.ThrowIfNull(categories); 148ArgumentNullException.ThrowIfNull(workspace); 155ArgumentNullException.ThrowIfNull(collection); 162ArgumentNullException.ThrowIfNull(document); 169ArgumentNullException.ThrowIfNull(workspace); 176ArgumentNullException.ThrowIfNull(categories); 183ArgumentNullException.ThrowIfNull(document); 190ArgumentNullException.ThrowIfNull(workspace); 197ArgumentNullException.ThrowIfNull(collection); 204ArgumentNullException.ThrowIfNull(categories); 211ArgumentNullException.ThrowIfNull(document); 218ArgumentNullException.ThrowIfNull(workspace); 225ArgumentNullException.ThrowIfNull(collection); 232ArgumentNullException.ThrowIfNull(categories);
System\ServiceModel\Syndication\SyndicationCategory.cs (1)
31ArgumentNullException.ThrowIfNull(source);
System\ServiceModel\Syndication\SyndicationContent.cs (2)
79ArgumentNullException.ThrowIfNull(writer); 106ArgumentNullException.ThrowIfNull(source);
System\ServiceModel\Syndication\SyndicationElementExtension.cs (6)
25ArgumentNullException.ThrowIfNull(xmlReader); 66ArgumentNullException.ThrowIfNull(dataContractExtension); 84ArgumentNullException.ThrowIfNull(xmlSerializerExtension); 137ArgumentNullException.ThrowIfNull(serializer); 153ArgumentNullException.ThrowIfNull(serializer); 187ArgumentNullException.ThrowIfNull(writer);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (7)
75ArgumentNullException.ThrowIfNull(dataContractExtension); 85ArgumentNullException.ThrowIfNull(xmlSerializerExtension); 93ArgumentNullException.ThrowIfNull(xmlReader); 117ArgumentNullException.ThrowIfNull(serializer); 126ArgumentNullException.ThrowIfNull(serializer); 169ArgumentNullException.ThrowIfNull(item); 189ArgumentNullException.ThrowIfNull(item);
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
74ArgumentNullException.ThrowIfNull(source); 413ArgumentNullException.ThrowIfNull(reader);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (35)
31ArgumentNullException.ThrowIfNull(feedToWrite); 64ArgumentNullException.ThrowIfNull(feed); 71ArgumentNullException.ThrowIfNull(item); 78ArgumentNullException.ThrowIfNull(feed); 85ArgumentNullException.ThrowIfNull(feed); 92ArgumentNullException.ThrowIfNull(item); 99ArgumentNullException.ThrowIfNull(feed); 106ArgumentNullException.ThrowIfNull(item); 113ArgumentNullException.ThrowIfNull(feed); 120ArgumentNullException.ThrowIfNull(item); 127ArgumentNullException.ThrowIfNull(category); 134ArgumentNullException.ThrowIfNull(link); 141ArgumentNullException.ThrowIfNull(person); 148ArgumentNullException.ThrowIfNull(feed); 159ArgumentNullException.ThrowIfNull(item); 170ArgumentNullException.ThrowIfNull(category); 181ArgumentNullException.ThrowIfNull(link); 192ArgumentNullException.ThrowIfNull(person); 208ArgumentNullException.ThrowIfNull(feed); 215ArgumentNullException.ThrowIfNull(item); 222ArgumentNullException.ThrowIfNull(category); 229ArgumentNullException.ThrowIfNull(link); 236ArgumentNullException.ThrowIfNull(person); 243ArgumentNullException.ThrowIfNull(feed); 250ArgumentNullException.ThrowIfNull(item); 257ArgumentNullException.ThrowIfNull(category); 264ArgumentNullException.ThrowIfNull(link); 271ArgumentNullException.ThrowIfNull(person); 278ArgumentNullException.ThrowIfNull(feed); 285ArgumentNullException.ThrowIfNull(item); 292ArgumentNullException.ThrowIfNull(category); 299ArgumentNullException.ThrowIfNull(link); 306ArgumentNullException.ThrowIfNull(person); 313ArgumentNullException.ThrowIfNull(feed); 416ArgumentNullException.ThrowIfNull(feed);
System\ServiceModel\Syndication\SyndicationItem.cs (3)
54ArgumentNullException.ThrowIfNull(source); 158ArgumentNullException.ThrowIfNull(reader); 179ArgumentNullException.ThrowIfNull(permalink);
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (2)
22ArgumentNullException.ThrowIfNull(itemToWrite); 41ArgumentNullException.ThrowIfNull(item);
System\ServiceModel\Syndication\SyndicationLink.cs (1)
40ArgumentNullException.ThrowIfNull(source);
System\ServiceModel\Syndication\SyndicationPerson.cs (1)
32ArgumentNullException.ThrowIfNull(source);
System\ServiceModel\Syndication\UrlSyndicationContent.cs (1)
16ArgumentNullException.ThrowIfNull(url);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (3)
23ArgumentNullException.ThrowIfNull(reader); 72ArgumentNullException.ThrowIfNull(extension); 147ArgumentNullException.ThrowIfNull(writer);
System.ServiceModel.UnixDomainSocket.Tests (1)
ServiceModel\UnixDomainSocketBindingTest.cs (1)
104Assert.Throws<ArgumentNullException>(() => binding.Security = null);
System.ServiceProcess.ServiceController (2)
System\ServiceProcess\ServiceController.cs (2)
68ArgumentNullException.ThrowIfNull(name); 871ArgumentNullException.ThrowIfNull(args);
System.Speech (158)
Internal\ObjectToken\ObjectToken.cs (1)
22ArgumentNullException.ThrowIfNull(sapiObjectToken);
Internal\SrgsCompiler\GrammarElement.cs (1)
139ArgumentNullException.ThrowIfNull(value);
Internal\Synthesis\VoiceSynthesis.cs (3)
305ArgumentNullException.ThrowIfNull(eventHandler); 324ArgumentNullException.ThrowIfNull(eventHandler); 1658ArgumentNullException.ThrowIfNull(textToSpeak);
Recognition\Choices.cs (5)
21ArgumentNullException.ThrowIfNull(phrases); 28ArgumentNullException.ThrowIfNull(alternateChoices); 39ArgumentNullException.ThrowIfNull(phrases); 51ArgumentNullException.ThrowIfNull(alternateChoices); 55ArgumentNullException.ThrowIfNull(alternateChoice, "alternateChoice");
Recognition\Grammar.cs (5)
30ArgumentNullException.ThrowIfNull(uri); 76ArgumentNullException.ThrowIfNull(srgsDocument); 103ArgumentNullException.ThrowIfNull(stream); 116ArgumentNullException.ThrowIfNull(builder); 145ArgumentNullException.ThrowIfNull(type);
Recognition\GrammarBuilder.cs (17)
111ArgumentNullException.ThrowIfNull(builder); 114ArgumentNullException.ThrowIfNull(builder.InternalBuilder, "builder.InternalBuilder"); 115ArgumentNullException.ThrowIfNull(builder.InternalBuilder.Items, "builder.InternalBuilder.Items"); 140ArgumentNullException.ThrowIfNull(alternateChoices); 147ArgumentNullException.ThrowIfNull(key, "builder"); 154ArgumentNullException.ThrowIfNull(value, "builder"); 161ArgumentNullException.ThrowIfNull(builder); 165ArgumentNullException.ThrowIfNull(builder.InternalBuilder, "builder.InternalBuilder"); 258ArgumentNullException.ThrowIfNull(value); 275ArgumentNullException.ThrowIfNull(builder); 289ArgumentNullException.ThrowIfNull(builder); 303ArgumentNullException.ThrowIfNull(choices); 304ArgumentNullException.ThrowIfNull(builder); 318ArgumentNullException.ThrowIfNull(builder); 319ArgumentNullException.ThrowIfNull(choices); 333ArgumentNullException.ThrowIfNull(builder1); 334ArgumentNullException.ThrowIfNull(builder2);
Recognition\RecognizerBase.cs (3)
374ArgumentNullException.ThrowIfNull(wordUnits); 398ArgumentNullException.ThrowIfNull(wordUnits); 1813ArgumentNullException.ThrowIfNull(grammar);
Recognition\SemanticResultKey.cs (2)
27ArgumentNullException.ThrowIfNull(phrases); 40ArgumentNullException.ThrowIfNull(builders, "phrases");
Recognition\SemanticResultValue.cs (4)
16ArgumentNullException.ThrowIfNull(value); 23ArgumentNullException.ThrowIfNull(value); 29ArgumentNullException.ThrowIfNull(builder); 30ArgumentNullException.ThrowIfNull(value);
Recognition\SpeechRecognitionEngine.cs (12)
28ArgumentNullException.ThrowIfNull(culture); 74ArgumentNullException.ThrowIfNull(recognizerInfo); 238ArgumentNullException.ThrowIfNull(audioSource); 239ArgumentNullException.ThrowIfNull(audioFormat); 418ArgumentNullException.ThrowIfNull(value); 429ArgumentNullException.ThrowIfNull(value); 442ArgumentNullException.ThrowIfNull(value); 453ArgumentNullException.ThrowIfNull(value); 466ArgumentNullException.ThrowIfNull(value); 477ArgumentNullException.ThrowIfNull(value); 490ArgumentNullException.ThrowIfNull(value); 501ArgumentNullException.ThrowIfNull(value);
Recognition\SpeechRecognizer.cs (8)
236ArgumentNullException.ThrowIfNull(value); 247ArgumentNullException.ThrowIfNull(value); 260ArgumentNullException.ThrowIfNull(value); 271ArgumentNullException.ThrowIfNull(value); 284ArgumentNullException.ThrowIfNull(value); 295ArgumentNullException.ThrowIfNull(value); 308ArgumentNullException.ThrowIfNull(value); 319ArgumentNullException.ThrowIfNull(value);
Recognition\SpeechUI.cs (1)
15ArgumentNullException.ThrowIfNull(result);
Recognition\SrgsGrammar\SrgsDocument.cs (5)
43ArgumentNullException.ThrowIfNull(srgsGrammar); 49ArgumentNullException.ThrowIfNull(builder); 68ArgumentNullException.ThrowIfNull(grammarRootRule); 79ArgumentNullException.ThrowIfNull(srgsGrammar); 121ArgumentNullException.ThrowIfNull(value);
Recognition\SrgsGrammar\SrgsElementList.cs (1)
16ArgumentNullException.ThrowIfNull(element);
Recognition\SrgsGrammar\SrgsGrammar.cs (1)
304ArgumentNullException.ThrowIfNull(value);
Recognition\SrgsGrammar\SrgsGrammarCompiler.cs (8)
25ArgumentNullException.ThrowIfNull(outputStream); 38ArgumentNullException.ThrowIfNull(srgsGrammar); 39ArgumentNullException.ThrowIfNull(outputStream); 49ArgumentNullException.ThrowIfNull(reader); 50ArgumentNullException.ThrowIfNull(outputStream); 60ArgumentNullException.ThrowIfNull(inputPaths); 95ArgumentNullException.ThrowIfNull(srgsGrammar); 106ArgumentNullException.ThrowIfNull(reader);
Recognition\SrgsGrammar\SrgsItem.cs (2)
34ArgumentNullException.ThrowIfNull(elements); 102ArgumentNullException.ThrowIfNull(element);
Recognition\SrgsGrammar\SrgsItemList.cs (1)
16ArgumentNullException.ThrowIfNull(item);
Recognition\SrgsGrammar\SrgsNameValueTag.cs (2)
24ArgumentNullException.ThrowIfNull(value); 60ArgumentNullException.ThrowIfNull(value);
Recognition\SrgsGrammar\SrgsOneOf.cs (3)
25ArgumentNullException.ThrowIfNull(items); 40ArgumentNullException.ThrowIfNull(items); 59ArgumentNullException.ThrowIfNull(item);
Recognition\SrgsGrammar\SrgsRule.cs (2)
31ArgumentNullException.ThrowIfNull(elements); 52ArgumentNullException.ThrowIfNull(element);
Recognition\SrgsGrammar\SrgsRuleRef.cs (2)
43ArgumentNullException.ThrowIfNull(rule); 245ArgumentNullException.ThrowIfNull(uri);
Recognition\SrgsGrammar\SrgsRulesCollection.cs (2)
14ArgumentNullException.ThrowIfNull(rules); 27ArgumentNullException.ThrowIfNull(rule);
Recognition\SrgsGrammar\SrgsSemanticInterpretationTag.cs (2)
22ArgumentNullException.ThrowIfNull(script); 38ArgumentNullException.ThrowIfNull(value);
Recognition\SrgsGrammar\SrgsText.cs (2)
21ArgumentNullException.ThrowIfNull(text); 37ArgumentNullException.ThrowIfNull(value);
Result\RecognitionResult.cs (3)
66ArgumentNullException.ThrowIfNull(firstWord); 67ArgumentNullException.ThrowIfNull(lastWord); 75ArgumentNullException.ThrowIfNull(info);
Result\RecognizedAudio.cs (2)
48ArgumentNullException.ThrowIfNull(outputStream); 64ArgumentNullException.ThrowIfNull(outputStream);
Result\RecognizedWordUnit.cs (1)
22ArgumentNullException.ThrowIfNull(lexicalForm);
Result\SemanticValue.cs (1)
22ArgumentNullException.ThrowIfNull(keyName);
Synthesis\Prompt.cs (3)
20ArgumentNullException.ThrowIfNull(promptBuilder); 29ArgumentNullException.ThrowIfNull(textToSpeak); 44ArgumentNullException.ThrowIfNull(promptFile);
Synthesis\PromptBuilder.cs (18)
25ArgumentNullException.ThrowIfNull(culture); 57ArgumentNullException.ThrowIfNull(textToSpeak); 66ArgumentNullException.ThrowIfNull(textToSpeak); 104ArgumentNullException.ThrowIfNull(textToSpeak); 144ArgumentNullException.ThrowIfNull(textToSpeak); 165ArgumentNullException.ThrowIfNull(style); 271ArgumentNullException.ThrowIfNull(voice); 427ArgumentNullException.ThrowIfNull(textToSpeak); 546ArgumentNullException.ThrowIfNull(textToSpeak); 577ArgumentNullException.ThrowIfNull(textToSpeak); 578ArgumentNullException.ThrowIfNull(substitute); 678ArgumentNullException.ThrowIfNull(audioFile); 691ArgumentNullException.ThrowIfNull(audioFile); 692ArgumentNullException.ThrowIfNull(alternateText); 720ArgumentNullException.ThrowIfNull(promptBuilder); 736ArgumentNullException.ThrowIfNull(ssmlFile); 754ArgumentNullException.ThrowIfNull(ssmlFile); 835ArgumentNullException.ThrowIfNull(value);
Synthesis\SpeechSynthesizer.cs (30)
61ArgumentNullException.ThrowIfNull(culture); 88ArgumentNullException.ThrowIfNull(textToSpeak); 96ArgumentNullException.ThrowIfNull(prompt); 103ArgumentNullException.ThrowIfNull(textToSpeak); 111ArgumentNullException.ThrowIfNull(promptBuilder); 123ArgumentNullException.ThrowIfNull(prompt); 174ArgumentNullException.ThrowIfNull(prompt); 198ArgumentNullException.ThrowIfNull(formatInfo); 205ArgumentNullException.ThrowIfNull(audioDestination); 211ArgumentNullException.ThrowIfNull(audioDestination); 212ArgumentNullException.ThrowIfNull(formatInfo); 249ArgumentNullException.ThrowIfNull(culture); 260ArgumentNullException.ThrowIfNull(uri); 266ArgumentNullException.ThrowIfNull(uri); 277ArgumentNullException.ThrowIfNull(value); 283ArgumentNullException.ThrowIfNull(value); 292ArgumentNullException.ThrowIfNull(value); 298ArgumentNullException.ThrowIfNull(value); 307ArgumentNullException.ThrowIfNull(value); 313ArgumentNullException.ThrowIfNull(value); 322ArgumentNullException.ThrowIfNull(value); 328ArgumentNullException.ThrowIfNull(value); 337ArgumentNullException.ThrowIfNull(value); 343ArgumentNullException.ThrowIfNull(value); 354ArgumentNullException.ThrowIfNull(value); 360ArgumentNullException.ThrowIfNull(value); 369ArgumentNullException.ThrowIfNull(value); 375ArgumentNullException.ThrowIfNull(value); 386ArgumentNullException.ThrowIfNull(value); 392ArgumentNullException.ThrowIfNull(value);
Synthesis\TTSEngine\TTSEngineTypes.cs (4)
220[DisallowNull] public SayAs? SayAs { get { return _sayAs; } internal set { ArgumentNullException.ThrowIfNull(value); _sayAs = value; } } 221[DisallowNull] public Prosody? Prosody { get { return _prosody; } internal set { ArgumentNullException.ThrowIfNull(value); _prosody = value; } } 222[DisallowNull] public char[]? Phoneme { get { return _phoneme; } internal set { ArgumentNullException.ThrowIfNull(value); _phoneme = value; } } 284ArgumentNullException.ThrowIfNull(points);
Synthesis\VoiceInfo.cs (1)
30ArgumentNullException.ThrowIfNull(culture);
System.Text.Encoding.CodePages (20)
System\Text\DecoderNLS.cs (5)
82ArgumentNullException.ThrowIfNull(bytes); 122ArgumentNullException.ThrowIfNull(bytes); 123ArgumentNullException.ThrowIfNull(chars); 171ArgumentNullException.ThrowIfNull(bytes); 172ArgumentNullException.ThrowIfNull(chars);
System\Text\EncoderNLS.cs (5)
80ArgumentNullException.ThrowIfNull(chars); 111ArgumentNullException.ThrowIfNull(chars); 112ArgumentNullException.ThrowIfNull(bytes); 156ArgumentNullException.ThrowIfNull(chars); 157ArgumentNullException.ThrowIfNull(bytes);
System\Text\EncodingNLS.cs (10)
51ArgumentNullException.ThrowIfNull(chars); 73ArgumentNullException.ThrowIfNull(s); 100ArgumentNullException.ThrowIfNull(s); 101ArgumentNullException.ThrowIfNull(bytes); 137ArgumentNullException.ThrowIfNull(chars); 138ArgumentNullException.ThrowIfNull(bytes); 189ArgumentNullException.ThrowIfNull(bytes); 225ArgumentNullException.ThrowIfNull(bytes); 226ArgumentNullException.ThrowIfNull(chars); 277ArgumentNullException.ThrowIfNull(bytes);
System.Text.Json (404)
src\runtime\src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
34ArgumentNullException.ThrowIfNull(name);
System\Text\Json\Document\JsonDocument.cs (2)
95/// <exception cref="ArgumentNullException"> 106ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Document\JsonDocument.Parse.cs (3)
124ArgumentNullException.ThrowIfNull(utf8Json); 213ArgumentNullException.ThrowIfNull(utf8Json); 351ArgumentNullException.ThrowIfNull(json);
System\Text\Json\Document\JsonElement.cs (6)
128/// <exception cref="ArgumentNullException"> 136ArgumentNullException.ThrowIfNull(propertyName); 247/// <exception cref="ArgumentNullException"> 256ArgumentNullException.ThrowIfNull(propertyName); 1537/// <exception cref="ArgumentNullException"> 1548ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Document\JsonElement.Parse.cs (2)
110/// <exception cref="ArgumentNullException"><paramref name="json"/> is <see langword="null"/>.</exception> 115ArgumentNullException.ThrowIfNull(json);
System\Text\Json\Document\JsonProperty.cs (2)
103/// <exception cref="ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\JsonEncodedText.cs (2)
45/// <exception cref="ArgumentNullException"> 53ArgumentNullException.ThrowIfNull(value);
System\Text\Json\JsonException.cs (1)
85/// <exception cref="ArgumentNullException">
System\Text\Json\Nodes\JsonArray.cs (1)
266ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Nodes\JsonArray.IList.cs (3)
122/// <exception cref="ArgumentNullException"> 127ArgumentNullException.ThrowIfNull(match); 198/// <exception cref="ArgumentNullException">
System\Text\Json\Nodes\JsonNode.cs (1)
232/// <exception cref="ArgumentNullException">
System\Text\Json\Nodes\JsonNode.Parse.cs (4)
64/// <exception cref="ArgumentNullException"> 75ArgumentNullException.ThrowIfNull(json); 120ArgumentNullException.ThrowIfNull(utf8Json); 146ArgumentNullException.ThrowIfNull(utf8Json);
System\Text\Json\Nodes\JsonNode.To.cs (1)
73/// <exception cref="ArgumentNullException">
System\Text\Json\Nodes\JsonObject.cs (6)
118/// <exception cref="ArgumentNullException"> 135/// <exception cref="ArgumentNullException"> 143ArgumentNullException.ThrowIfNull(propertyName); 163ArgumentNullException.ThrowIfNull(writer); 252ArgumentNullException.ThrowIfNull(propertyName); 286ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Nodes\JsonObject.IDictionary.cs (12)
20/// <exception cref="ArgumentNullException"> 28ArgumentNullException.ThrowIfNull(propertyName); 39/// <exception cref="ArgumentNullException"><paramref name="propertyName"/> is null.</exception> 51/// <exception cref="ArgumentNullException"><paramref name="propertyName"/> is null.</exception> 83/// <exception cref="ArgumentNullException"> 116/// <exception cref="ArgumentNullException"> 121ArgumentNullException.ThrowIfNull(propertyName); 138/// <exception cref="ArgumentNullException"> 143ArgumentNullException.ThrowIfNull(propertyName); 171/// <exception cref="ArgumentNullException"> 224/// <exception cref="ArgumentNullException"> 229ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Nodes\JsonObject.IList.cs (5)
26ArgumentNullException.ThrowIfNull(propertyName); 52/// <exception cref="ArgumentNullException"><paramref name="propertyName"/> is null.</exception> 55ArgumentNullException.ThrowIfNull(propertyName); 64/// <exception cref="ArgumentNullException"><paramref name="propertyName"/> is null.</exception> 69ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Nodes\JsonValue.cs (1)
84ArgumentNullException.ThrowIfNull(jsonTypeInfo);
System\Text\Json\Nodes\JsonValueOfElement.cs (1)
199ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (2)
51ArgumentNullException.ThrowIfNull(writer); 313ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
31ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
44ArgumentNullException.ThrowIfNull(writer);
System\Text\Json\Schema\JsonSchemaExporter.cs (3)
30ArgumentNullException.ThrowIfNull(options); 31ArgumentNullException.ThrowIfNull(type); 46ArgumentNullException.ThrowIfNull(typeInfo);
System\Text\Json\Serialization\Attributes\JsonNamingPolicyAttribute.cs (1)
41/// <exception cref="ArgumentNullException">
System\Text\Json\Serialization\ConfigurationList.cs (3)
37ArgumentNullException.ThrowIfNull(value); 50ArgumentNullException.ThrowIfNull(item); 78ArgumentNullException.ThrowIfNull(item);
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (1)
51ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (1)
18ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (1)
38ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
48ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
124ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
654ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (2)
19ArgumentNullException.ThrowIfNull(options); 33ArgumentNullException.ThrowIfNull(options);
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
72ArgumentNullException.ThrowIfNull(inputType);
System\Text\Json\Serialization\JsonSerializer.Read.Document.cs (15)
19/// <exception cref="System.ArgumentNullException"> 33ArgumentNullException.ThrowIfNull(document); 47/// <exception cref="System.ArgumentNullException"> 61ArgumentNullException.ThrowIfNull(document); 62ArgumentNullException.ThrowIfNull(returnType); 76/// <exception cref="System.ArgumentNullException"> 88ArgumentNullException.ThrowIfNull(document); 89ArgumentNullException.ThrowIfNull(jsonTypeInfo); 102/// <exception cref="System.ArgumentNullException"> 111ArgumentNullException.ThrowIfNull(document); 112ArgumentNullException.ThrowIfNull(jsonTypeInfo); 126/// <exception cref="System.ArgumentNullException"> 157ArgumentNullException.ThrowIfNull(document); 158ArgumentNullException.ThrowIfNull(returnType); 159ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Read.Element.cs (9)
42/// <exception cref="System.ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(returnType); 70/// <exception cref="System.ArgumentNullException"> 82ArgumentNullException.ThrowIfNull(jsonTypeInfo); 95/// <exception cref="System.ArgumentNullException"> 100ArgumentNullException.ThrowIfNull(jsonTypeInfo); 114/// <exception cref="System.ArgumentNullException"> 141ArgumentNullException.ThrowIfNull(returnType); 142ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (8)
54ArgumentNullException.ThrowIfNull(returnType); 67/// <exception cref="System.ArgumentNullException"> 75ArgumentNullException.ThrowIfNull(jsonTypeInfo); 87/// <exception cref="System.ArgumentNullException"> 92ArgumentNullException.ThrowIfNull(jsonTypeInfo); 105/// <exception cref="System.ArgumentNullException"> 132ArgumentNullException.ThrowIfNull(returnType); 133ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Read.Pipe.cs (22)
29/// <exception cref="System.ArgumentNullException"> 48ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 65/// <exception cref="System.ArgumentNullException"> 78ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 79ArgumentNullException.ThrowIfNull(jsonTypeInfo, nameof(jsonTypeInfo)); 95/// <exception cref="System.ArgumentNullException"> 107ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 108ArgumentNullException.ThrowIfNull(jsonTypeInfo, nameof(jsonTypeInfo)); 125/// <exception cref="System.ArgumentNullException"> 147ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 148ArgumentNullException.ThrowIfNull(returnType, nameof(returnType)); 149ArgumentNullException.ThrowIfNull(context, nameof(context)); 166/// <exception cref="System.ArgumentNullException"> 186ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 187ArgumentNullException.ThrowIfNull(returnType, nameof(returnType)); 202/// <exception cref="System.ArgumentNullException"> 224/// <exception cref="System.ArgumentNullException"> 246/// <exception cref="System.ArgumentNullException"> 262ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json)); 263ArgumentNullException.ThrowIfNull(jsonTypeInfo, nameof(jsonTypeInfo)); 280/// <exception cref="System.ArgumentNullException"> 298ArgumentNullException.ThrowIfNull(utf8Json, nameof(utf8Json));
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (7)
44/// <exception cref="System.ArgumentNullException"> 60ArgumentNullException.ThrowIfNull(returnType); 80ArgumentNullException.ThrowIfNull(jsonTypeInfo); 98ArgumentNullException.ThrowIfNull(jsonTypeInfo); 111/// <exception cref="System.ArgumentNullException"> 129ArgumentNullException.ThrowIfNull(returnType); 130ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (37)
29/// <exception cref="System.ArgumentNullException"> 48ArgumentNullException.ThrowIfNull(utf8Json); 62/// <exception cref="System.ArgumentNullException"> 80ArgumentNullException.ThrowIfNull(utf8Json); 97/// <exception cref="System.ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(utf8Json); 118ArgumentNullException.ThrowIfNull(returnType); 132/// <exception cref="System.ArgumentNullException"> 151ArgumentNullException.ThrowIfNull(utf8Json); 152ArgumentNullException.ThrowIfNull(returnType); 169/// <exception cref="System.ArgumentNullException"> 182ArgumentNullException.ThrowIfNull(utf8Json); 183ArgumentNullException.ThrowIfNull(jsonTypeInfo); 199/// <exception cref="System.ArgumentNullException"> 211ArgumentNullException.ThrowIfNull(utf8Json); 212ArgumentNullException.ThrowIfNull(jsonTypeInfo); 226/// <exception cref="System.ArgumentNullException"> 238ArgumentNullException.ThrowIfNull(utf8Json); 239ArgumentNullException.ThrowIfNull(jsonTypeInfo); 252/// <exception cref="System.ArgumentNullException"> 263ArgumentNullException.ThrowIfNull(utf8Json); 264ArgumentNullException.ThrowIfNull(jsonTypeInfo); 281/// <exception cref="System.ArgumentNullException"> 303ArgumentNullException.ThrowIfNull(utf8Json); 304ArgumentNullException.ThrowIfNull(returnType); 305ArgumentNullException.ThrowIfNull(context); 319/// <exception cref="System.ArgumentNullException"> 340ArgumentNullException.ThrowIfNull(utf8Json); 341ArgumentNullException.ThrowIfNull(returnType); 342ArgumentNullException.ThrowIfNull(context); 357/// <exception cref="System.ArgumentNullException"> 381/// <exception cref="System.ArgumentNullException"> 399ArgumentNullException.ThrowIfNull(utf8Json); 414/// <exception cref="System.ArgumentNullException"> 436/// <exception cref="System.ArgumentNullException"> 452ArgumentNullException.ThrowIfNull(utf8Json); 453ArgumentNullException.ThrowIfNull(jsonTypeInfo);
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (24)
25/// <exception cref="System.ArgumentNullException"> 49ArgumentNullException.ThrowIfNull(json); 94/// <exception cref="System.ArgumentNullException"> 118ArgumentNullException.ThrowIfNull(json); 119ArgumentNullException.ThrowIfNull(returnType); 132/// <exception cref="System.ArgumentNullException"> 156ArgumentNullException.ThrowIfNull(returnType); 171/// <exception cref="System.ArgumentNullException"> 193ArgumentNullException.ThrowIfNull(json); 194ArgumentNullException.ThrowIfNull(jsonTypeInfo); 207/// <exception cref="System.ArgumentNullException"> 229ArgumentNullException.ThrowIfNull(jsonTypeInfo); 241/// <exception cref="System.ArgumentNullException"> 259ArgumentNullException.ThrowIfNull(json); 260ArgumentNullException.ThrowIfNull(jsonTypeInfo); 272/// <exception cref="System.ArgumentNullException"> 286ArgumentNullException.ThrowIfNull(jsonTypeInfo); 299/// <exception cref="System.ArgumentNullException"> 329ArgumentNullException.ThrowIfNull(json); 330ArgumentNullException.ThrowIfNull(returnType); 331ArgumentNullException.ThrowIfNull(context); 344/// <exception cref="System.ArgumentNullException"> 374ArgumentNullException.ThrowIfNull(returnType); 375ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (7)
72/// <exception cref="ArgumentNullException"> 114ArgumentNullException.ThrowIfNull(returnType); 161ArgumentNullException.ThrowIfNull(jsonTypeInfo); 207ArgumentNullException.ThrowIfNull(jsonTypeInfo); 220/// <exception cref="ArgumentNullException"> 264ArgumentNullException.ThrowIfNull(returnType); 265ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (7)
43/// <exception cref="System.ArgumentNullException"> 68/// <exception cref="ArgumentNullException"> 73ArgumentNullException.ThrowIfNull(jsonTypeInfo); 85/// <exception cref="ArgumentNullException"> 93ArgumentNullException.ThrowIfNull(jsonTypeInfo); 109/// <exception cref="System.ArgumentNullException"> 122ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (7)
43/// <exception cref="ArgumentNullException"> 65/// <exception cref="ArgumentNullException"> 70ArgumentNullException.ThrowIfNull(jsonTypeInfo); 82/// <exception cref="ArgumentNullException"> 90ArgumentNullException.ThrowIfNull(jsonTypeInfo); 111/// <exception cref="ArgumentNullException"> 116ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (7)
43/// <exception cref="ArgumentNullException"> 65/// <exception cref="ArgumentNullException"> 70ArgumentNullException.ThrowIfNull(jsonTypeInfo); 82/// <exception cref="ArgumentNullException"> 90ArgumentNullException.ThrowIfNull(jsonTypeInfo); 111/// <exception cref="ArgumentNullException"> 116ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (7)
44/// <exception cref="ArgumentNullException"> 66/// <exception cref="ArgumentNullException"> 71ArgumentNullException.ThrowIfNull(jsonTypeInfo); 83/// <exception cref="ArgumentNullException"> 91ArgumentNullException.ThrowIfNull(jsonTypeInfo); 112/// <exception cref="ArgumentNullException"> 117ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (20)
26/// <exception cref="ArgumentNullException"> 35ArgumentNullException.ThrowIfNull(utf8Json); 36ArgumentNullException.ThrowIfNull(jsonTypeInfo); 51/// <exception cref="ArgumentNullException"> 66ArgumentNullException.ThrowIfNull(utf8Json); 80/// <exception cref="ArgumentNullException"> 92ArgumentNullException.ThrowIfNull(utf8Json); 93ArgumentNullException.ThrowIfNull(jsonTypeInfo); 111/// <exception cref="ArgumentNullException"> 125ArgumentNullException.ThrowIfNull(utf8Json); 126ArgumentNullException.ThrowIfNull(context); 146/// <exception cref="ArgumentNullException"> 162ArgumentNullException.ThrowIfNull(utf8Json); 182/// <exception cref="ArgumentNullException"> 201ArgumentNullException.ThrowIfNull(utf8Json); 202ArgumentNullException.ThrowIfNull(value); 226/// <exception cref="ArgumentNullException"> 243ArgumentNullException.ThrowIfNull(utf8Json); 244ArgumentNullException.ThrowIfNull(value); 245ArgumentNullException.ThrowIfNull(jsonTypeInfo);
System\Text\Json\Serialization\JsonSerializer.Write.Stream.cs (33)
34/// <exception cref="ArgumentNullException"> 49ArgumentNullException.ThrowIfNull(utf8Json); 62/// <exception cref="ArgumentNullException"> 76ArgumentNullException.ThrowIfNull(utf8Json); 94/// <exception cref="ArgumentNullException"> 110ArgumentNullException.ThrowIfNull(utf8Json); 127/// <exception cref="ArgumentNullException"> 142ArgumentNullException.ThrowIfNull(utf8Json); 158/// <exception cref="ArgumentNullException"> 167ArgumentNullException.ThrowIfNull(utf8Json); 168ArgumentNullException.ThrowIfNull(jsonTypeInfo); 181/// <exception cref="ArgumentNullException"> 189ArgumentNullException.ThrowIfNull(utf8Json); 190ArgumentNullException.ThrowIfNull(jsonTypeInfo); 204/// <exception cref="ArgumentNullException"> 216ArgumentNullException.ThrowIfNull(utf8Json); 217ArgumentNullException.ThrowIfNull(jsonTypeInfo); 229/// <exception cref="ArgumentNullException"> 240ArgumentNullException.ThrowIfNull(utf8Json); 241ArgumentNullException.ThrowIfNull(jsonTypeInfo); 259/// <exception cref="ArgumentNullException"> 273ArgumentNullException.ThrowIfNull(utf8Json); 274ArgumentNullException.ThrowIfNull(context); 291/// <exception cref="ArgumentNullException"> 304ArgumentNullException.ThrowIfNull(utf8Json); 305ArgumentNullException.ThrowIfNull(context); 324/// <exception cref="ArgumentNullException"> 343ArgumentNullException.ThrowIfNull(utf8Json); 344ArgumentNullException.ThrowIfNull(value); 368/// <exception cref="ArgumentNullException"> 385ArgumentNullException.ThrowIfNull(utf8Json); 386ArgumentNullException.ThrowIfNull(value); 387ArgumentNullException.ThrowIfNull(jsonTypeInfo);
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (7)
50/// <exception cref="ArgumentNullException"> 76/// <exception cref="ArgumentNullException"> 85ArgumentNullException.ThrowIfNull(jsonTypeInfo); 97/// <exception cref="ArgumentNullException"> 109ArgumentNullException.ThrowIfNull(jsonTypeInfo); 130/// <exception cref="ArgumentNullException"> 139ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (13)
19/// <exception cref="ArgumentNullException"> 33ArgumentNullException.ThrowIfNull(writer); 49/// <exception cref="ArgumentNullException"> 64ArgumentNullException.ThrowIfNull(writer); 78/// <exception cref="ArgumentNullException"> 83ArgumentNullException.ThrowIfNull(writer); 84ArgumentNullException.ThrowIfNull(jsonTypeInfo); 96/// <exception cref="ArgumentNullException"> 104ArgumentNullException.ThrowIfNull(writer); 105ArgumentNullException.ThrowIfNull(jsonTypeInfo); 121/// <exception cref="ArgumentNullException"> 134ArgumentNullException.ThrowIfNull(writer); 135ArgumentNullException.ThrowIfNull(context);
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (4)
48/// <exception cref="ArgumentNullException"><paramref name="type"/> is <see langword="null"/>.</exception> 57ArgumentNullException.ThrowIfNull(type); 73/// <exception cref="ArgumentNullException"><paramref name="type"/> is <see langword="null"/>.</exception> 82ArgumentNullException.ThrowIfNull(type);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
61ArgumentNullException.ThrowIfNull(typeToConvert);
System\Text\Json\Serialization\JsonSerializerOptions.cs (3)
121/// <exception cref="System.ArgumentNullException"> 126ArgumentNullException.ThrowIfNull(options); 779/// <exception cref="ArgumentNullException">
System\Text\Json\Serialization\JsonUnionTypeStructuralClassifier.cs (3)
59ArgumentNullException.ThrowIfNull(context); 68ArgumentNullException.ThrowIfNull(context); 69ArgumentNullException.ThrowIfNull(options);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.cs (3)
42/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="options"/> is <see langword="null"/>.</exception> 53ArgumentNullException.ThrowIfNull(type); 54ArgumentNullException.ThrowIfNull(options);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Collections.cs (3)
87ArgumentNullException.ThrowIfNull(createRangeFunc); 152ArgumentNullException.ThrowIfNull(createRangeFunc); 419ArgumentNullException.ThrowIfNull(addFunc);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Converters.cs (3)
284ArgumentNullException.ThrowIfNull(options); 298ArgumentNullException.ThrowIfNull(underlyingTypeInfo); 314ArgumentNullException.ThrowIfNull(options);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.cs (11)
26ArgumentNullException.ThrowIfNull(options); 27ArgumentNullException.ThrowIfNull(propertyInfo); 55/// <exception cref="ArgumentNullException">Thrown when <paramref name="options"/> or <paramref name="objectInfo"/> is null.</exception> 60ArgumentNullException.ThrowIfNull(options); 61ArgumentNullException.ThrowIfNull(objectInfo); 72/// <exception cref="ArgumentNullException">Thrown when <paramref name="options"/> or <paramref name="unionInfo"/> is null.</exception> 77ArgumentNullException.ThrowIfNull(options); 78ArgumentNullException.ThrowIfNull(unionInfo); 79ArgumentNullException.ThrowIfNull(unionInfo.UnionCases); 109ArgumentNullException.ThrowIfNull(options); 110ArgumentNullException.ThrowIfNull(converter);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
80ArgumentNullException.ThrowIfNull(collectionInfo);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
779/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception> 801ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (8)
1334/// <exception cref="ArgumentNullException"><paramref name="options"/> is null.</exception> 1349ArgumentNullException.ThrowIfNull(options); 1361/// <exception cref="ArgumentNullException"><paramref name="type"/> or <paramref name="options"/> is null.</exception> 1377ArgumentNullException.ThrowIfNull(type); 1378ArgumentNullException.ThrowIfNull(options); 1419/// <exception cref="ArgumentNullException"><paramref name="propertyType"/> or <paramref name="name"/> is null.</exception> 1426ArgumentNullException.ThrowIfNull(propertyType); 1427ArgumentNullException.ThrowIfNull(name);
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolver.cs (3)
28ArgumentNullException.ThrowIfNull(resolvers); 70ArgumentNullException.ThrowIfNull(resolver); 71ArgumentNullException.ThrowIfNull(modifier);
System\Text\Json\Serialization\Metadata\JsonUnionCaseInfo.cs (2)
15/// <exception cref="ArgumentNullException"><paramref name="caseType"/> is <see langword="null"/>.</exception> 18ArgumentNullException.ThrowIfNull(caseType);
System\Text\Json\Writer\JsonWriterOptions.cs (1)
144/// <exception cref="ArgumentNullException">
System\Text\Json\Writer\Utf8JsonWriter.cs (12)
214/// <exception cref="ArgumentNullException"> 219ArgumentNullException.ThrowIfNull(bufferWriter); 232/// <exception cref="ArgumentNullException"> 237ArgumentNullException.ThrowIfNull(utf8Json); 289/// <exception cref="ArgumentNullException"> 332/// <exception cref="ArgumentNullException"> 355/// <exception cref="ArgumentNullException"> 378/// <exception cref="ArgumentNullException"> 892/// <exception cref="ArgumentNullException"> 901ArgumentNullException.ThrowIfNull(propertyName); 915/// <exception cref="ArgumentNullException"> 924ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
39/// <exception cref="ArgumentNullException"> 50ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
43/// <exception cref="ArgumentNullException"> 55ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
42/// <exception cref="ArgumentNullException"> 54ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
42/// <exception cref="ArgumentNullException"> 54ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
44/// <exception cref="ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
44/// <exception cref="ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
42/// <exception cref="ArgumentNullException"> 54ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (4)
65/// <exception cref="ArgumentNullException"> 76ArgumentNullException.ThrowIfNull(propertyName); 160/// <exception cref="ArgumentNullException"> 171ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (4)
42/// <exception cref="ArgumentNullException"> 54ArgumentNullException.ThrowIfNull(propertyName); 130/// <exception cref="ArgumentNullException"> 142ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (10)
61/// <exception cref="ArgumentNullException"> 72ArgumentNullException.ThrowIfNull(propertyName); 444/// <exception cref="ArgumentNullException"> 455ArgumentNullException.ThrowIfNull(propertyName); 467/// <exception cref="ArgumentNullException"> 484ArgumentNullException.ThrowIfNull(propertyName); 624/// <exception cref="ArgumentNullException"> 635ArgumentNullException.ThrowIfNull(propertyName); 711/// <exception cref="ArgumentNullException"> 722ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (4)
43/// <exception cref="ArgumentNullException"> 56ArgumentNullException.ThrowIfNull(propertyName); 135/// <exception cref="ArgumentNullException"> 148ArgumentNullException.ThrowIfNull(propertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
21/// <exception cref="ArgumentNullException"> 29ArgumentNullException.ThrowIfNull(value);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
17/// <exception cref="ArgumentNullException">Thrown if <paramref name="json"/> is <see langword="null"/>.</exception> 41ArgumentNullException.ThrowIfNull(json);
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
34ArgumentNullException.ThrowIfNull(name);
System.Text.RegularExpressions (72)
System\Text\RegularExpressions\CaptureCollection.cs (2)
138/// <exception cref="ArgumentNullException"> 171/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\CollectionDebuggerProxy.cs (1)
15ArgumentNullException.ThrowIfNull(collection);
System\Text\RegularExpressions\Group.cs (1)
79/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\GroupCollection.cs (2)
192/// <exception cref="ArgumentNullException"> 225/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\Match.cs (2)
177/// <exception cref="ArgumentNullException"> 233/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\Regex.Count.cs (4)
13/// <exception cref="ArgumentNullException"><paramref name="input"/> is null.</exception> 63/// <exception cref="ArgumentNullException"><paramref name="input"/> or <paramref name="pattern"/> is null.</exception> 73/// <exception cref="ArgumentNullException"><paramref name="input"/> or <paramref name="pattern"/> is null.</exception> 85/// <exception cref="ArgumentNullException"><paramref name="input"/> or <paramref name="pattern"/> is null.</exception>
System\Text\RegularExpressions\Regex.cs (9)
86/// <exception cref="ArgumentNullException"><paramref name="pattern" /> is <see langword="null" />.</exception> 99/// <exception cref="ArgumentNullException"><paramref name="pattern" /> is <see langword="null" />.</exception> 119/// <exception cref="ArgumentNullException"><paramref name="pattern" /> is <see langword="null" />.</exception> 320ArgumentNullException.ThrowIfNull(assemblyname); 321ArgumentNullException.ThrowIfNull(regexinfos); 327ArgumentNullException.ThrowIfNull(regexinfos[i]); 357/// <exception cref="ArgumentNullException"><paramref name="str" /> is <see langword="null" />.</exception> 386/// <exception cref="ArgumentNullException"><paramref name="str" /> is <see langword="null" />.</exception> 516/// <exception cref="ArgumentNullException"><paramref name="name" /> is <see langword="null" />.</exception>
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (3)
24/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception> 42/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception> 62/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception>
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (3)
33/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception> 59/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is null.</exception>
System\Text\RegularExpressions\Regex.Match.cs (19)
19/// <exception cref="ArgumentNullException"> 48/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is <see langword="null"/>.</exception> 64/// <exception cref="ArgumentNullException"> 100/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is <see langword="null"/>.</exception> 121/// <exception cref="ArgumentNullException"> 169/// <exception cref="ArgumentNullException"><paramref name="pattern"/> is <see langword="null"/>.</exception> 187/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 226/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 285/// <exception cref="ArgumentNullException"> 319/// <exception cref="ArgumentNullException"> 354/// <exception cref="ArgumentNullException"> 394/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 440/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 525/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 580/// <exception cref="ArgumentNullException"> 622/// <exception cref="ArgumentNullException"> 669/// <exception cref="ArgumentNullException"> 713/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception> 755/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception>
System\Text\RegularExpressions\Regex.Replace.cs (12)
44/// <exception cref="ArgumentNullException"> 86/// <exception cref="ArgumentNullException"> 139/// <exception cref="ArgumentNullException"> 194/// <exception cref="ArgumentNullException"> 237/// <exception cref="ArgumentNullException"> 279/// <exception cref="ArgumentNullException"> 331/// <exception cref="ArgumentNullException"> 374/// <exception cref="ArgumentNullException"> 427/// <exception cref="ArgumentNullException"> 480/// <exception cref="ArgumentNullException"> 525/// <exception cref="ArgumentNullException"> 574/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\Regex.Split.cs (6)
19/// <exception cref="ArgumentNullException"> 56/// <exception cref="ArgumentNullException"> 107/// <exception cref="ArgumentNullException"> 156/// <exception cref="ArgumentNullException"> 199/// <exception cref="ArgumentNullException"> 242/// <exception cref="ArgumentNullException">
System\Text\RegularExpressions\RegexCompilationInfo.cs (7)
31/// <exception cref="ArgumentNullException"> 53/// <exception cref="ArgumentNullException"> 94/// <exception cref="ArgumentNullException">The value for this property is <see langword="null"/>.</exception> 109/// <exception cref="ArgumentNullException">The value for this property is <see langword="null"/>.</exception> 116ArgumentNullException.ThrowIfNull(value, nameof(Namespace)); 127/// <exception cref="ArgumentNullException">The value for this property is <see langword="null"/>.</exception> 134ArgumentNullException.ThrowIfNull(value, nameof(Pattern));
System\Text\RegularExpressions\RegexParseException.cs (1)
46/// <exception cref="ArgumentNullException">
System.Text.RegularExpressions.Generator (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (1)
12extension(ArgumentNullException)
src\runtime\src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParseException.cs (1)
46/// <exception cref="ArgumentNullException">
System.Threading.AccessControl (13)
System\Threading\EventWaitHandleAcl.cs (4)
22/// <exception cref="ArgumentNullException">.NET Framework only: The <paramref name="name" /> length is beyond MAX_PATH (260 characters).</exception> 83/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" />.</exception> 116/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" /></exception> 125ArgumentNullException.ThrowIfNull(name);
System\Threading\MutexAcl.cs (3)
74/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" />.</exception> 107/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" /></exception> 116ArgumentNullException.ThrowIfNull(name);
System\Threading\SemaphoreAcl.cs (3)
88/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" />.</exception> 122/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null" /></exception> 131ArgumentNullException.ThrowIfNull(name);
System\Threading\ThreadingAclExtensions.cs (3)
21ArgumentNullException.ThrowIfNull(eventSecurity); 33ArgumentNullException.ThrowIfNull(mutexSecurity); 45ArgumentNullException.ThrowIfNull(semaphoreSecurity);
System.Threading.Channels (6)
System\Threading\Channels\Channel.cs (5)
18/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 21ArgumentNullException.ThrowIfNull(options); 49/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception> 61ArgumentNullException.ThrowIfNull(options);
System\Threading\Channels\Channel.netcoreapp.cs (1)
31ArgumentNullException.ThrowIfNull(options);
System.Threading.RateLimiting (8)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
42ArgumentNullException.ThrowIfNull(options);
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
56ArgumentNullException.ThrowIfNull(options);
System\Threading\RateLimiting\PartitionedRateLimiter.cs (2)
56/// <exception cref="ArgumentNullException"><paramref name="limiters"/> is a null parameter.</exception> 61ArgumentNullException.ThrowIfNull(limiters);
System\Threading\RateLimiting\RateLimiter.cs (2)
35/// <exception cref="ArgumentNullException"><paramref name="limiters"/> is a null parameter.</exception> 39ArgumentNullException.ThrowIfNull(limiters);
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
60ArgumentNullException.ThrowIfNull(options);
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
51ArgumentNullException.ThrowIfNull(options);
System.Threading.Tasks.Dataflow (135)
Base\DataflowBlock.cs (72)
31/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 32/// <exception cref="System.ArgumentNullException">The <paramref name="target"/> is null (Nothing in Visual Basic).</exception> 37ArgumentNullException.ThrowIfNull(source); 38ArgumentNullException.ThrowIfNull(target); 50/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 51/// <exception cref="System.ArgumentNullException">The <paramref name="target"/> is null (Nothing in Visual Basic).</exception> 52/// <exception cref="System.ArgumentNullException">The <paramref name="predicate"/> is null (Nothing in Visual Basic).</exception> 68/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 69/// <exception cref="System.ArgumentNullException">The <paramref name="target"/> is null (Nothing in Visual Basic).</exception> 70/// <exception cref="System.ArgumentNullException">The <paramref name="linkOptions"/> is null (Nothing in Visual Basic).</exception> 71/// <exception cref="System.ArgumentNullException">The <paramref name="predicate"/> is null (Nothing in Visual Basic).</exception> 78ArgumentNullException.ThrowIfNull(source); 79ArgumentNullException.ThrowIfNull(target); 80ArgumentNullException.ThrowIfNull(linkOptions); 81ArgumentNullException.ThrowIfNull(predicate); 239ArgumentNullException.ThrowIfNull(target); 258/// <exception cref="System.ArgumentNullException">The <paramref name="target"/> is null (Nothing in Visual Basic).</exception> 285/// <exception cref="System.ArgumentNullException">The <paramref name="target"/> is null (Nothing in Visual Basic).</exception> 288ArgumentNullException.ThrowIfNull(target); 768ArgumentNullException.ThrowIfNull(source); 783/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 800/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 817/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 838/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 845ArgumentNullException.ThrowIfNull(source); 860/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 874/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 895/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 914/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 927ArgumentNullException.ThrowIfNull(source); 1476ArgumentNullException.ThrowIfNull(exception); 1509ArgumentNullException.ThrowIfNull(target); 1510ArgumentNullException.ThrowIfNull(source); 1542ArgumentNullException.ThrowIfNull(exception); 1657/// <exception cref="System.ArgumentNullException">The <paramref name="source1"/> is null (Nothing in Visual Basic).</exception> 1658/// <exception cref="System.ArgumentNullException">The <paramref name="action1"/> is null (Nothing in Visual Basic).</exception> 1659/// <exception cref="System.ArgumentNullException">The <paramref name="source2"/> is null (Nothing in Visual Basic).</exception> 1660/// <exception cref="System.ArgumentNullException">The <paramref name="action2"/> is null (Nothing in Visual Basic).</exception> 1694/// <exception cref="System.ArgumentNullException">The <paramref name="source1"/> is null (Nothing in Visual Basic).</exception> 1695/// <exception cref="System.ArgumentNullException">The <paramref name="action1"/> is null (Nothing in Visual Basic).</exception> 1696/// <exception cref="System.ArgumentNullException">The <paramref name="source2"/> is null (Nothing in Visual Basic).</exception> 1697/// <exception cref="System.ArgumentNullException">The <paramref name="action2"/> is null (Nothing in Visual Basic).</exception> 1698/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 1704ArgumentNullException.ThrowIfNull(source1); 1705ArgumentNullException.ThrowIfNull(action1); 1706ArgumentNullException.ThrowIfNull(source2); 1707ArgumentNullException.ThrowIfNull(action2); 1708ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 1739/// <exception cref="System.ArgumentNullException">The <paramref name="source1"/> is null (Nothing in Visual Basic).</exception> 1740/// <exception cref="System.ArgumentNullException">The <paramref name="action1"/> is null (Nothing in Visual Basic).</exception> 1741/// <exception cref="System.ArgumentNullException">The <paramref name="source2"/> is null (Nothing in Visual Basic).</exception> 1742/// <exception cref="System.ArgumentNullException">The <paramref name="action2"/> is null (Nothing in Visual Basic).</exception> 1743/// <exception cref="System.ArgumentNullException">The <paramref name="source3"/> is null (Nothing in Visual Basic).</exception> 1744/// <exception cref="System.ArgumentNullException">The <paramref name="action3"/> is null (Nothing in Visual Basic).</exception> 1781/// <exception cref="System.ArgumentNullException">The <paramref name="source1"/> is null (Nothing in Visual Basic).</exception> 1782/// <exception cref="System.ArgumentNullException">The <paramref name="action1"/> is null (Nothing in Visual Basic).</exception> 1783/// <exception cref="System.ArgumentNullException">The <paramref name="source2"/> is null (Nothing in Visual Basic).</exception> 1784/// <exception cref="System.ArgumentNullException">The <paramref name="action2"/> is null (Nothing in Visual Basic).</exception> 1785/// <exception cref="System.ArgumentNullException">The <paramref name="source3"/> is null (Nothing in Visual Basic).</exception> 1786/// <exception cref="System.ArgumentNullException">The <paramref name="action3"/> is null (Nothing in Visual Basic).</exception> 1787/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 1794ArgumentNullException.ThrowIfNull(source1); 1795ArgumentNullException.ThrowIfNull(action1); 1796ArgumentNullException.ThrowIfNull(source2); 1797ArgumentNullException.ThrowIfNull(action2); 1798ArgumentNullException.ThrowIfNull(source3); 1799ArgumentNullException.ThrowIfNull(action3); 1800ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 2153/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 2156ArgumentNullException.ThrowIfNull(source); 2221ArgumentNullException.ThrowIfNull(observer); 2523ArgumentNullException.ThrowIfNull(target);
Base\DataflowBlock.netstandard21.cs (2)
16/// <exception cref="System.ArgumentNullException">The <paramref name="source"/> is null (Nothing in Visual Basic).</exception> 19ArgumentNullException.ThrowIfNull(source);
Blocks\ActionBlock.cs (11)
34/// <exception cref="System.ArgumentNullException">The <paramref name="action"/> is null (Nothing in Visual Basic).</exception> 42/// <exception cref="System.ArgumentNullException">The <paramref name="action"/> is null (Nothing in Visual Basic).</exception> 43/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 50/// <exception cref="System.ArgumentNullException">The <paramref name="action"/> is null (Nothing in Visual Basic).</exception> 58/// <exception cref="System.ArgumentNullException">The <paramref name="action"/> is null (Nothing in Visual Basic).</exception> 59/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 67/// <exception cref="System.ArgumentNullException">The <paramref name="action"/> is null (Nothing in Visual Basic).</exception> 68/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 71ArgumentNullException.ThrowIfNull(action); 72ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 234ArgumentNullException.ThrowIfNull(exception);
Blocks\BatchBlock.cs (3)
45/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 104ArgumentNullException.ThrowIfNull(exception); 303/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception>
Blocks\BatchedJoinBlock.cs (5)
53/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 159ArgumentNullException.ThrowIfNull(exception); 298/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 413ArgumentNullException.ThrowIfNull(exception); 613ArgumentNullException.ThrowIfNull(exception);
Blocks\BroadcastBlock.cs (5)
64/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 67ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 114ArgumentNullException.ThrowIfNull(exception); 1005ArgumentNullException.ThrowIfNull(target); 1006ArgumentNullException.ThrowIfNull(linkOptions);
Blocks\BufferBlock.cs (3)
45/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 48ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 149ArgumentNullException.ThrowIfNull(exception);
Blocks\JoinBlock.cs (7)
49/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 52ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 143ArgumentNullException.ThrowIfNull(exception); 270/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 273ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 364ArgumentNullException.ThrowIfNull(exception); 927ArgumentNullException.ThrowIfNull(exception);
Blocks\TransformBlock.cs (10)
46/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 57/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 58/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 65/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 76/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 77/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 89/// <exception cref="System.ArgumentNullException">The <paramref name="transformSync"/> and <paramref name="transformAsync"/> are both null (Nothing in Visual Basic).</exception> 90/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 93ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 335ArgumentNullException.ThrowIfNull(exception);
Blocks\TransformManyBlock.cs (7)
54/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 66/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 67/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 79/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 90/// <exception cref="System.ArgumentNullException">The <paramref name="transform"/> is null (Nothing in Visual Basic).</exception> 91/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 550ArgumentNullException.ThrowIfNull(exception);
Blocks\TransformManyBlock.netstandard21.cs (3)
17/// <exception cref="ArgumentNullException">The <paramref name="transform"/> is <see langword="null" />.</exception> 29/// <exception cref="ArgumentNullException">The <paramref name="transform"/> or <paramref name="dataflowBlockOptions"/> is <see langword="null" />.</exception> 32ArgumentNullException.ThrowIfNull(transform);
Blocks\WriteOnceBlock.cs (5)
62/// <exception cref="System.ArgumentNullException">The <paramref name="dataflowBlockOptions"/> is null (Nothing in Visual Basic).</exception> 65ArgumentNullException.ThrowIfNull(dataflowBlockOptions); 208ArgumentNullException.ThrowIfNull(exception); 299ArgumentNullException.ThrowIfNull(target); 300ArgumentNullException.ThrowIfNull(linkOptions);
Internal\SourceCore.cs (2)
126ArgumentNullException.ThrowIfNull(target); 127ArgumentNullException.ThrowIfNull(linkOptions);
System.Threading.Tasks.Parallel (225)
System\Threading\Tasks\Parallel.cs (189)
147/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 171/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 173/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 195ArgumentNullException.ThrowIfNull(parallelOptions); 196ArgumentNullException.ThrowIfNull(actions); 373/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 385ArgumentNullException.ThrowIfNull(body); 399/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 411ArgumentNullException.ThrowIfNull(body); 426/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 428/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 447ArgumentNullException.ThrowIfNull(parallelOptions); 448ArgumentNullException.ThrowIfNull(body); 463/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 465/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 484ArgumentNullException.ThrowIfNull(parallelOptions); 485ArgumentNullException.ThrowIfNull(body); 498/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 534ArgumentNullException.ThrowIfNull(body); 547/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 561ArgumentNullException.ThrowIfNull(body); 576/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 578/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 599ArgumentNullException.ThrowIfNull(parallelOptions); 600ArgumentNullException.ThrowIfNull(body); 615/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 617/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 639ArgumentNullException.ThrowIfNull(parallelOptions); 640ArgumentNullException.ThrowIfNull(body); 658/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 660/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 662/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 691ArgumentNullException.ThrowIfNull(localInit); 692ArgumentNullException.ThrowIfNull(body); 693ArgumentNullException.ThrowIfNull(localFinally); 711/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 713/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 715/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 744ArgumentNullException.ThrowIfNull(localInit); 745ArgumentNullException.ThrowIfNull(body); 746ArgumentNullException.ThrowIfNull(localFinally); 766/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 768/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 770/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 772/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 808ArgumentNullException.ThrowIfNull(parallelOptions); 809ArgumentNullException.ThrowIfNull(localInit); 810ArgumentNullException.ThrowIfNull(body); 811ArgumentNullException.ThrowIfNull(localFinally); 831/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 833/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 835/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 837/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 873ArgumentNullException.ThrowIfNull(parallelOptions); 874ArgumentNullException.ThrowIfNull(localInit); 875ArgumentNullException.ThrowIfNull(body); 876ArgumentNullException.ThrowIfNull(localFinally); 1165/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1167/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1179ArgumentNullException.ThrowIfNull(source); 1180ArgumentNullException.ThrowIfNull(body); 1195/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1197/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1199/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1218ArgumentNullException.ThrowIfNull(source); 1219ArgumentNullException.ThrowIfNull(parallelOptions); 1220ArgumentNullException.ThrowIfNull(body); 1233/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1235/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1249ArgumentNullException.ThrowIfNull(source); 1250ArgumentNullException.ThrowIfNull(body); 1265/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1267/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1269/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1290ArgumentNullException.ThrowIfNull(source); 1291ArgumentNullException.ThrowIfNull(parallelOptions); 1292ArgumentNullException.ThrowIfNull(body); 1305/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1307/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1321ArgumentNullException.ThrowIfNull(source); 1322ArgumentNullException.ThrowIfNull(body); 1337/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1339/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1341/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1362ArgumentNullException.ThrowIfNull(source); 1363ArgumentNullException.ThrowIfNull(parallelOptions); 1364ArgumentNullException.ThrowIfNull(body); 1382/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1384/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1386/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1388/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1414ArgumentNullException.ThrowIfNull(source); 1415ArgumentNullException.ThrowIfNull(localInit); 1416ArgumentNullException.ThrowIfNull(body); 1417ArgumentNullException.ThrowIfNull(localFinally); 1437/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1439/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1441/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1443/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1445/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1479ArgumentNullException.ThrowIfNull(source); 1480ArgumentNullException.ThrowIfNull(parallelOptions); 1481ArgumentNullException.ThrowIfNull(localInit); 1482ArgumentNullException.ThrowIfNull(body); 1483ArgumentNullException.ThrowIfNull(localFinally); 1501/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1503/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1505/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1507/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1533ArgumentNullException.ThrowIfNull(source); 1534ArgumentNullException.ThrowIfNull(localInit); 1535ArgumentNullException.ThrowIfNull(body); 1536ArgumentNullException.ThrowIfNull(localFinally); 1556/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1558/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1560/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1562/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1564/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1597ArgumentNullException.ThrowIfNull(source); 1598ArgumentNullException.ThrowIfNull(parallelOptions); 1599ArgumentNullException.ThrowIfNull(localInit); 1600ArgumentNullException.ThrowIfNull(body); 1601ArgumentNullException.ThrowIfNull(localFinally); 1796/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1798/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1834ArgumentNullException.ThrowIfNull(source); 1835ArgumentNullException.ThrowIfNull(body); 1847/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1849/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1887ArgumentNullException.ThrowIfNull(source); 1888ArgumentNullException.ThrowIfNull(body); 1900/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1902/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1943ArgumentNullException.ThrowIfNull(source); 1944ArgumentNullException.ThrowIfNull(body); 1966/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 1968/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 1970/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 1972/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2021ArgumentNullException.ThrowIfNull(source); 2022ArgumentNullException.ThrowIfNull(localInit); 2023ArgumentNullException.ThrowIfNull(body); 2024ArgumentNullException.ThrowIfNull(localFinally); 2041/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2043/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2045/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2047/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2099ArgumentNullException.ThrowIfNull(source); 2100ArgumentNullException.ThrowIfNull(localInit); 2101ArgumentNullException.ThrowIfNull(body); 2102ArgumentNullException.ThrowIfNull(localFinally); 2121/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2123/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2125/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2169ArgumentNullException.ThrowIfNull(source); 2170ArgumentNullException.ThrowIfNull(parallelOptions); 2171ArgumentNullException.ThrowIfNull(body); 2185/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2187/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2189/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2235ArgumentNullException.ThrowIfNull(source); 2236ArgumentNullException.ThrowIfNull(parallelOptions); 2237ArgumentNullException.ThrowIfNull(body); 2251/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2253/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2255/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2304ArgumentNullException.ThrowIfNull(source); 2305ArgumentNullException.ThrowIfNull(parallelOptions); 2306ArgumentNullException.ThrowIfNull(body); 2330/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2332/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2334/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2336/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2338/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2395ArgumentNullException.ThrowIfNull(source); 2396ArgumentNullException.ThrowIfNull(parallelOptions); 2397ArgumentNullException.ThrowIfNull(localInit); 2398ArgumentNullException.ThrowIfNull(body); 2399ArgumentNullException.ThrowIfNull(localFinally); 2418/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="source"/> 2420/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2422/// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="body"/> 2424/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2426/// <exception cref="System.ArgumentNullException">The exception that is thrown when the 2486ArgumentNullException.ThrowIfNull(source); 2487ArgumentNullException.ThrowIfNull(parallelOptions); 2488ArgumentNullException.ThrowIfNull(localInit); 2489ArgumentNullException.ThrowIfNull(body); 2490ArgumentNullException.ThrowIfNull(localFinally);
System\Threading\Tasks\Parallel.ForEachAsync.cs (36)
17/// <exception cref="ArgumentNullException">The <paramref name="body"/> argument is <see langword="null"/>.</exception> 23ArgumentNullException.ThrowIfNull(fromInclusive); 24ArgumentNullException.ThrowIfNull(toExclusive); 25ArgumentNullException.ThrowIfNull(body); 35/// <exception cref="ArgumentNullException">The <paramref name="body"/> argument is <see langword="null"/>.</exception> 41ArgumentNullException.ThrowIfNull(fromInclusive); 42ArgumentNullException.ThrowIfNull(toExclusive); 43ArgumentNullException.ThrowIfNull(body); 53/// <exception cref="ArgumentNullException">The <paramref name="body"/> argument is <see langword="null"/>.</exception> 59ArgumentNullException.ThrowIfNull(fromInclusive); 60ArgumentNullException.ThrowIfNull(toExclusive); 61ArgumentNullException.ThrowIfNull(parallelOptions); 62ArgumentNullException.ThrowIfNull(body); 75/// <exception cref="ArgumentNullException">The <paramref name="body"/> argument is <see langword="null"/>.</exception> 195/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 200ArgumentNullException.ThrowIfNull(source); 201ArgumentNullException.ThrowIfNull(body); 211/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 216ArgumentNullException.ThrowIfNull(source); 217ArgumentNullException.ThrowIfNull(body); 227/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 231ArgumentNullException.ThrowIfNull(source); 232ArgumentNullException.ThrowIfNull(parallelOptions); 233ArgumentNullException.ThrowIfNull(body); 245/// <exception cref="ArgumentNullException">The<paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 350/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 355ArgumentNullException.ThrowIfNull(source); 356ArgumentNullException.ThrowIfNull(body); 366/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 371ArgumentNullException.ThrowIfNull(source); 372ArgumentNullException.ThrowIfNull(body); 382/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception> 386ArgumentNullException.ThrowIfNull(source); 387ArgumentNullException.ThrowIfNull(parallelOptions); 388ArgumentNullException.ThrowIfNull(body); 400/// <exception cref="ArgumentNullException">The <paramref name="source"/> argument or <paramref name="body"/> argument is <see langword="null"/>.</exception>
System.Transactions.Local (27)
System\Transactions\Oletx\OletxDependentTransaction.cs (1)
20ArgumentNullException.ThrowIfNull(realTransaction);
System\Transactions\Oletx\OletxTransaction.cs (2)
129ArgumentNullException.ThrowIfNull(serializationInfo); 438ArgumentNullException.ThrowIfNull(serializationInfo);
System\Transactions\Oletx\OletxTransactionManager.cs (2)
488ArgumentNullException.ThrowIfNull(recoveryInformation); 489ArgumentNullException.ThrowIfNull(enlistmentNotification);
System\Transactions\Transaction.cs (9)
289ArgumentNullException.ThrowIfNull(superior); 488ArgumentNullException.ThrowIfNull(enlistmentNotification); 536ArgumentNullException.ThrowIfNull(singlePhaseNotification); 623ArgumentNullException.ThrowIfNull(enlistmentNotification); 662ArgumentNullException.ThrowIfNull(singlePhaseNotification); 903ArgumentNullException.ThrowIfNull(promotableSinglePhaseNotification); 949ArgumentNullException.ThrowIfNull(promotableNotification); 950ArgumentNullException.ThrowIfNull(enlistmentNotification); 988ArgumentNullException.ThrowIfNull(promotableNotification);
System\Transactions\TransactionInterop.cs (9)
17ArgumentNullException.ThrowIfNull(transaction); 49ArgumentNullException.ThrowIfNull(transaction); 50ArgumentNullException.ThrowIfNull(whereabouts); 95ArgumentNullException.ThrowIfNull(cookie); 190ArgumentNullException.ThrowIfNull(transaction); 230ArgumentNullException.ThrowIfNull(propagationToken); 274ArgumentNullException.ThrowIfNull(transaction); 325ArgumentNullException.ThrowIfNull(transactionNative); 499ArgumentNullException.ThrowIfNull(propagationToken);
System\Transactions\TransactionManager.cs (3)
121ArgumentNullException.ThrowIfNull(value); 146ArgumentNullException.ThrowIfNull(recoveryInformation); 148ArgumentNullException.ThrowIfNull(enlistmentNotification);
System\Transactions\TransactionScope.cs (1)
469ArgumentNullException.ThrowIfNull(transactionToUse);
System.Web.HttpUtility (6)
System\Web\HttpUtility.cs (2)
85ArgumentNullException.ThrowIfNull(query); 86ArgumentNullException.ThrowIfNull(encoding);
System\Web\Util\HttpEncoder.cs (4)
59ArgumentNullException.ThrowIfNull(output); 112ArgumentNullException.ThrowIfNull(output); 122ArgumentNullException.ThrowIfNull(output); 604ArgumentNullException.ThrowIfNull(bytes);
System.Windows.Controls.Ribbon (81)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
117ArgumentNullException.ThrowIfNull(value);
Microsoft\Windows\Controls\KeyTipService.cs (11)
61ArgumentNullException.ThrowIfNull(element); 70ArgumentNullException.ThrowIfNull(element); 99ArgumentNullException.ThrowIfNull(element); 105ArgumentNullException.ThrowIfNull(element); 120ArgumentNullException.ThrowIfNull(element); 126ArgumentNullException.ThrowIfNull(element); 412ArgumentNullException.ThrowIfNull(element); 418ArgumentNullException.ThrowIfNull(element); 1278ArgumentNullException.ThrowIfNull(element); 1284ArgumentNullException.ThrowIfNull(element); 1301ArgumentNullException.ThrowIfNull(visual);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
51ArgumentNullException.ThrowIfNull(starLayoutInfoProvider); 66ArgumentNullException.ThrowIfNull(starLayoutInfoProvider);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (2)
30ArgumentNullException.ThrowIfNull(starLayoutInfoProvider); 40ArgumentNullException.ThrowIfNull(starLayoutInfoProvider);
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
117ArgumentNullException.ThrowIfNull(destinationType);
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (54)
45ArgumentNullException.ThrowIfNull(element); 54ArgumentNullException.ThrowIfNull(element); 76ArgumentNullException.ThrowIfNull(element); 85ArgumentNullException.ThrowIfNull(element); 111ArgumentNullException.ThrowIfNull(element); 120ArgumentNullException.ThrowIfNull(element); 145ArgumentNullException.ThrowIfNull(element); 154ArgumentNullException.ThrowIfNull(element); 170ArgumentNullException.ThrowIfNull(element); 179ArgumentNullException.ThrowIfNull(element); 195ArgumentNullException.ThrowIfNull(element); 204ArgumentNullException.ThrowIfNull(element); 220ArgumentNullException.ThrowIfNull(element); 229ArgumentNullException.ThrowIfNull(element); 245ArgumentNullException.ThrowIfNull(element); 254ArgumentNullException.ThrowIfNull(element); 270ArgumentNullException.ThrowIfNull(element); 279ArgumentNullException.ThrowIfNull(element); 309ArgumentNullException.ThrowIfNull(element); 318ArgumentNullException.ThrowIfNull(element); 337ArgumentNullException.ThrowIfNull(element); 346ArgumentNullException.ThrowIfNull(element); 365ArgumentNullException.ThrowIfNull(element); 374ArgumentNullException.ThrowIfNull(element); 393ArgumentNullException.ThrowIfNull(element); 402ArgumentNullException.ThrowIfNull(element); 421ArgumentNullException.ThrowIfNull(element); 430ArgumentNullException.ThrowIfNull(element); 449ArgumentNullException.ThrowIfNull(element); 458ArgumentNullException.ThrowIfNull(element); 477ArgumentNullException.ThrowIfNull(element); 486ArgumentNullException.ThrowIfNull(element); 505ArgumentNullException.ThrowIfNull(element); 514ArgumentNullException.ThrowIfNull(element); 533ArgumentNullException.ThrowIfNull(element); 542ArgumentNullException.ThrowIfNull(element); 563ArgumentNullException.ThrowIfNull(element); 574ArgumentNullException.ThrowIfNull(element); 600ArgumentNullException.ThrowIfNull(element); 609ArgumentNullException.ThrowIfNull(element); 646ArgumentNullException.ThrowIfNull(element); 652ArgumentNullException.ThrowIfNull(element); 735ArgumentNullException.ThrowIfNull(element); 745ArgumentNullException.ThrowIfNull(element); 767ArgumentNullException.ThrowIfNull(element); 773ArgumentNullException.ThrowIfNull(element); 796ArgumentNullException.ThrowIfNull(element); 805ArgumentNullException.ThrowIfNull(element); 824ArgumentNullException.ThrowIfNull(element); 833ArgumentNullException.ThrowIfNull(element); 853ArgumentNullException.ThrowIfNull(element); 862ArgumentNullException.ThrowIfNull(element); 875ArgumentNullException.ThrowIfNull(element); 884ArgumentNullException.ThrowIfNull(element);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1498ArgumentNullException.ThrowIfNull(element);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
275ArgumentNullException.ThrowIfNull(element);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (4)
217ArgumentNullException.ThrowIfNull(element); 223ArgumentNullException.ThrowIfNull(element); 242ArgumentNullException.ThrowIfNull(element); 248ArgumentNullException.ThrowIfNull(element);
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (2)
100ArgumentNullException.ThrowIfNull(value); 101ArgumentNullException.ThrowIfNull(destinationType);
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
37ArgumentNullException.ThrowIfNull(itemsControl); 776ArgumentNullException.ThrowIfNull(element);
System.Windows.Extensions (4)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertContextHandle.cs (1)
23ArgumentNullException.ThrowIfNull(parent);
System\Security\Cryptography\X509Certificates\X509Certificate2UI.cs (3)
23ArgumentNullException.ThrowIfNull(certificate); 30ArgumentNullException.ThrowIfNull(certificate); 92ArgumentNullException.ThrowIfNull(certificates);
System.Windows.Forms (450)
misc\CollectionHelper.cs (1)
16ArgumentNullException.ThrowIfNull(target);
System\Resources\ResXDataNode.cs (1)
78ArgumentNullException.ThrowIfNull(name);
System\Resources\ResXResourceWriter.cs (1)
251ArgumentNullException.ThrowIfNull(assemblyName);
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (1)
18ArgumentNullException.ThrowIfNull(owningControl);
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
30ArgumentNullException.ThrowIfNull(owningControl);
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
31ArgumentNullException.ThrowIfNull(owner);
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
113ArgumentNullException.ThrowIfNull(editorBaseType);
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
40ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Application.cs (2)
1539/// <exception cref="ArgumentNullException"><paramref name="font"/> is <see langword="null"/>.</exception> 1555ArgumentNullException.ThrowIfNull(font);
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
81ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (1)
16ArgumentNullException.ThrowIfNull(context);
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
27ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2Properties.cs (2)
40ArgumentNullException.ThrowIfNull(comObject); 41ArgumentNullException.ThrowIfNull(properties);
System\Windows\Forms\Components\ErrorProvider\ErrorProvider.cs (3)
74ArgumentNullException.ThrowIfNull(parentControl); 84ArgumentNullException.ThrowIfNull(container); 704ArgumentNullException.ThrowIfNull(control);
System\Windows\Forms\Components\HelpProvider.cs (10)
65ArgumentNullException.ThrowIfNull(ctl); 77ArgumentNullException.ThrowIfNull(ctl); 89ArgumentNullException.ThrowIfNull(ctl); 100ArgumentNullException.ThrowIfNull(ctl); 174ArgumentNullException.ThrowIfNull(ctl); 190ArgumentNullException.ThrowIfNull(ctl); 206ArgumentNullException.ThrowIfNull(ctl); 220ArgumentNullException.ThrowIfNull(ctl); 231ArgumentNullException.ThrowIfNull(ctl); 241ArgumentNullException.ThrowIfNull(ctl);
System\Windows\Forms\Components\ImageList\ImageList.cs (1)
69ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\Components\ImageList\ImageList.ImageCollection.cs (8)
138ArgumentNullException.ThrowIfNull(value); 273ArgumentNullException.ThrowIfNull(value); 284ArgumentNullException.ThrowIfNull(value); 297ArgumentNullException.ThrowIfNull(value); 305ArgumentNullException.ThrowIfNull(original); 306ArgumentNullException.ThrowIfNull(original._image, nameof(original)); 373ArgumentNullException.ThrowIfNull(images); 391ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Components\KioskModeManager\KioskModeManager.cs (2)
105/// <exception cref="ArgumentNullException"> 110ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\Components\Timer.cs (1)
44ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\ContextMenuStrip.cs (1)
20ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\Control_InvokeAsync.cs (6)
52ArgumentNullException.ThrowIfNull(callback); 177ArgumentNullException.ThrowIfNull(callback); 231/// <exception cref="ArgumentNullException">Thrown if the callback is null.</exception> 278ArgumentNullException.ThrowIfNull(callback); 335/// <exception cref="ArgumentNullException">Thrown if the callback is null.</exception> 383ArgumentNullException.ThrowIfNull(callback);
System\Windows\Forms\Control.ControlCollection.cs (2)
141ArgumentNullException.ThrowIfNull(controls); 421ArgumentNullException.ThrowIfNull(child);
System\Windows\Forms\Control.cs (5)
2614ArgumentNullException.ThrowIfNull(control); 5205ArgumentNullException.ThrowIfNull(bitmap); 5257ArgumentNullException.ThrowIfNull(asyncResult); 7767ArgumentNullException.ThrowIfNull(e); 8885ArgumentNullException.ThrowIfNull(e);
System\Windows\Forms\ControlMutationExtensions.cs (2)
39/// <exception cref="ArgumentNullException"><paramref name="target"/> is <see langword="null"/>.</exception> 57/// <exception cref="ArgumentNullException">
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeRendererBase.cs (3)
97ArgumentNullException.ThrowIfNull(graphics); 118ArgumentNullException.ThrowIfNull(graphics); 119ArgumentNullException.ThrowIfNull(paintContent);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (5)
118ArgumentNullException.ThrowIfNull(item); 193ArgumentNullException.ThrowIfNull(items); 266ArgumentNullException.ThrowIfNull(destination); 281ArgumentNullException.ThrowIfNull(destination); 312ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
9759ArgumentNullException.ThrowIfNull(dataGridViewCell); 10734ArgumentNullException.ThrowIfNull(dataGridViewColumn); 10996ArgumentNullException.ThrowIfNull(dataGridViewRow); 11233ArgumentNullException.ThrowIfNull(previousModes, nameof(e.PreviousModes)); 25340ArgumentNullException.ThrowIfNull(dataGridViewCurrentCell); 28158ArgumentNullException.ThrowIfNull(dataGridViewColumn); 28180ArgumentNullException.ThrowIfNull(comparer);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (4)
151ArgumentNullException.ThrowIfNull(cellStyle); 216ArgumentNullException.ThrowIfNull(cellStyle); 287ArgumentNullException.ThrowIfNull(cellStyle); 609ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (15)
764ArgumentNullException.ThrowIfNull(dataGridViewAdvancedBorderStyleInput); 765ArgumentNullException.ThrowIfNull(dataGridViewAdvancedBorderStylePlaceholder); 823ArgumentNullException.ThrowIfNull(advancedBorderStyle); 2530ArgumentNullException.ThrowIfNull(graphics); 2531ArgumentNullException.ThrowIfNull(font); 2554ArgumentNullException.ThrowIfNull(graphics); 2555ArgumentNullException.ThrowIfNull(font); 2599ArgumentNullException.ThrowIfNull(graphics); 2600ArgumentNullException.ThrowIfNull(font); 3116ArgumentNullException.ThrowIfNull(graphics); 3117ArgumentNullException.ThrowIfNull(cellStyle); 3118ArgumentNullException.ThrowIfNull(advancedBorderStyle); 3520ArgumentNullException.ThrowIfNull(graphics); 3537ArgumentNullException.ThrowIfNull(graphics); 3706ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
190ArgumentNullException.ThrowIfNull(dataGridViewCells);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
26ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellMouseEventArgs.cs (1)
18ArgumentNullException.ThrowIfNull(e);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (2)
41ArgumentNullException.ThrowIfNull(dataGridViewCellStyle); 376ArgumentNullException.ThrowIfNull(dataGridViewCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
36ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
446ArgumentNullException.ThrowIfNull(cellStyle); 508ArgumentNullException.ThrowIfNull(cellStyle); 646ArgumentNullException.ThrowIfNull(cellStyle); 1008ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (8)
90ArgumentNullException.ThrowIfNull(columnName); 176ArgumentNullException.ThrowIfNull(dataGridViewColumns); 335ArgumentNullException.ThrowIfNull(columnName); 718ArgumentNullException.ThrowIfNull(dataGridViewColumnStart); 791ArgumentNullException.ThrowIfNull(dataGridViewColumnStart); 879ArgumentNullException.ThrowIfNull(dataGridViewColumn); 989ArgumentNullException.ThrowIfNull(dataGridViewColumn); 1014ArgumentNullException.ThrowIfNull(columnName);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (1)
32ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
12ArgumentNullException.ThrowIfNull(e);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnEventArgs.cs (1)
10ArgumentNullException.ThrowIfNull(dataGridViewColumn);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (3)
213ArgumentNullException.ThrowIfNull(cellStyle); 489ArgumentNullException.ThrowIfNull(cellStyle); 724ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnStateChangedEventArgs.cs (1)
10ArgumentNullException.ThrowIfNull(dataGridViewColumn);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (5)
730ArgumentNullException.ThrowIfNull(cellStyle); 833ArgumentNullException.ThrowIfNull(cellStyle); 1170ArgumentNullException.ThrowIfNull(cellStyle); 1405ArgumentNullException.ThrowIfNull(key); 1822ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (5)
58ArgumentNullException.ThrowIfNull(item); 103ArgumentNullException.ThrowIfNull(items); 127ArgumentNullException.ThrowIfNull(items); 204ArgumentNullException.ThrowIfNull(value); 220ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
527ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (4)
227ArgumentNullException.ThrowIfNull(cellStyle); 289ArgumentNullException.ThrowIfNull(cellStyle); 406ArgumentNullException.ThrowIfNull(cellStyle); 690ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (4)
422ArgumentNullException.ThrowIfNull(cellStyle); 489ArgumentNullException.ThrowIfNull(cellStyle); 544ArgumentNullException.ThrowIfNull(cellStyle); 845ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (8)
1099ArgumentNullException.ThrowIfNull(dataGridView); 1124ArgumentNullException.ThrowIfNull(values); 1188ArgumentNullException.ThrowIfNull(graphics); 1189ArgumentNullException.ThrowIfNull(cellStyle); 1423ArgumentNullException.ThrowIfNull(graphics); 1499ArgumentNullException.ThrowIfNull(graphics); 1692ArgumentNullException.ThrowIfNull(graphics); 1774ArgumentNullException.ThrowIfNull(values);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (7)
275ArgumentNullException.ThrowIfNull(values); 384ArgumentNullException.ThrowIfNull(dataGridViewRow); 714ArgumentNullException.ThrowIfNull(dataGridViewRows); 1355ArgumentNullException.ThrowIfNull(values); 1460ArgumentNullException.ThrowIfNull(dataGridViewRow); 1751ArgumentNullException.ThrowIfNull(dataGridViewRows); 2144ArgumentNullException.ThrowIfNull(dataGridViewRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
25ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (4)
185ArgumentNullException.ThrowIfNull(cellStyle); 244ArgumentNullException.ThrowIfNull(cellStyle); 517ArgumentNullException.ThrowIfNull(cellStyle); 586ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (4)
258ArgumentNullException.ThrowIfNull(cellStyle); 325ArgumentNullException.ThrowIfNull(cellStyle); 396ArgumentNullException.ThrowIfNull(cellStyle); 608ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
96ArgumentNullException.ThrowIfNull(dataGridViewCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (4)
28ArgumentNullException.ThrowIfNull(cellStyle); 92ArgumentNullException.ThrowIfNull(cellStyle); 143ArgumentNullException.ThrowIfNull(cellStyle); 178ArgumentNullException.ThrowIfNull(cellStyle);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
121ArgumentNullException.ThrowIfNull(propertyValues);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2098ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (2)
176ArgumentNullException.ThrowIfNull(items); 319ArgumentNullException.ThrowIfNull(destination);
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (11)
34ArgumentNullException.ThrowIfNull(value); 45ArgumentNullException.ThrowIfNull(value); 95ArgumentNullException.ThrowIfNull(item); 165ArgumentNullException.ThrowIfNull(value); 173ArgumentNullException.ThrowIfNull(items); 273ArgumentNullException.ThrowIfNull(destination); 284ArgumentNullException.ThrowIfNull(destination); 300ArgumentNullException.ThrowIfNull(value); 309ArgumentNullException.ThrowIfNull(value); 329ArgumentNullException.ThrowIfNull(item); 412ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
36ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (2)
30ArgumentNullException.ThrowIfNull(item); 34ArgumentNullException.ThrowIfNull(subItem);
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
261ArgumentNullException.ThrowIfNull(values); 269ArgumentNullException.ThrowIfNull(header, nameof(values));
System\Windows\Forms\Controls\ListView\ListView.cs (1)
3822ArgumentNullException.ThrowIfNull(ch);
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (2)
218ArgumentNullException.ThrowIfNull(items); 225ArgumentNullException.ThrowIfNull(items);
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
130ArgumentNullException.ThrowIfNull(values);
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
472ArgumentNullException.ThrowIfNull(info);
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (6)
41ArgumentNullException.ThrowIfNull(value); 75ArgumentNullException.ThrowIfNull(value); 114ArgumentNullException.ThrowIfNull(group); 153ArgumentNullException.ThrowIfNull(groups); 164ArgumentNullException.ThrowIfNull(groups); 239ArgumentNullException.ThrowIfNull(group);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
90ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (4)
117ArgumentNullException.ThrowIfNull(subItems); 125ArgumentNullException.ThrowIfNull(subItems[i], nameof(subItems)); 208ArgumentNullException.ThrowIfNull(subItems); 216ArgumentNullException.ThrowIfNull(subItems[i], nameof(subItems));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (5)
109ArgumentNullException.ThrowIfNull(item); 134ArgumentNullException.ThrowIfNull(items); 152ArgumentNullException.ThrowIfNull(items); 169ArgumentNullException.ThrowIfNull(items); 305ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (1)
43ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\ListView\ListViewLabelEditAccessibleObject.cs (1)
18ArgumentNullException.ThrowIfNull(owningListView);
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
26ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
94ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4880ArgumentNullException.ThrowIfNull(dialog);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
15ArgumentNullException.ThrowIfNull(gridView);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (3)
1817ArgumentNullException.ThrowIfNull(str); 1980ArgumentNullException.ThrowIfNull(characterSet); 2410ArgumentNullException.ThrowIfNull(data);
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
21ArgumentNullException.ThrowIfNull(value, nameof(value));
System\Windows\Forms\Controls\TabControl\TabControl.cs (7)
1001ArgumentNullException.ThrowIfNull(tabPage); 1012ArgumentNullException.ThrowIfNull(tabPageName); 1128ArgumentNullException.ThrowIfNull(item); 1165ArgumentNullException.ThrowIfNull(tabPage); 1656ArgumentNullException.ThrowIfNull(value); 1689ArgumentNullException.ThrowIfNull(tabPage); 1700ArgumentNullException.ThrowIfNull(tabPageName);
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (5)
83ArgumentNullException.ThrowIfNull(value); 126ArgumentNullException.ThrowIfNull(pages); 136ArgumentNullException.ThrowIfNull(page); 161ArgumentNullException.ThrowIfNull(page); 317ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
121ArgumentNullException.ThrowIfNull(mask); 133ArgumentNullException.ThrowIfNull(maskedTextProvider); 346ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4063ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.StubSite.cs (2)
66ArgumentNullException.ThrowIfNull(service); 114ArgumentNullException.ThrowIfNull(key);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
117ArgumentNullException.ThrowIfNull(toolStripItems); 137ArgumentNullException.ThrowIfNull(toolStripItems); 219ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemTextRenderEventArgs.cs (2)
29ArgumentNullException.ThrowIfNull(item); 52ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (10)
606ArgumentNullException.ThrowIfNull(targetForm); 616ArgumentNullException.ThrowIfNull(targetForm); 629ArgumentNullException.ThrowIfNull(sourceForm); 639ArgumentNullException.ThrowIfNull(sourceForm); 640ArgumentNullException.ThrowIfNull(key); 1070ArgumentNullException.ThrowIfNull(sourceToolStrip); 1071ArgumentNullException.ThrowIfNull(targetToolStrip); 1242ArgumentNullException.ThrowIfNull(sourceToolStrip); 1243ArgumentNullException.ThrowIfNull(targetName); 1255ArgumentNullException.ThrowIfNull(targetToolStrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
16ArgumentNullException.ThrowIfNull(parentItem);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
748ArgumentNullException.ThrowIfNull(toolStripToDrag);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (4)
41ArgumentNullException.ThrowIfNull(value); 50ArgumentNullException.ThrowIfNull(value); 70ArgumentNullException.ThrowIfNull(value); 134ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
49ArgumentNullException.ThrowIfNull(control);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (4)
74ArgumentNullException.ThrowIfNull(value); 90ArgumentNullException.ThrowIfNull(value); 206ArgumentNullException.ThrowIfNull(value); 284ArgumentNullException.ThrowIfNull(array);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (7)
612ArgumentNullException.ThrowIfNull(e); 633ArgumentNullException.ThrowIfNull(e); 799ArgumentNullException.ThrowIfNull(e); 843ArgumentNullException.ThrowIfNull(e); 911ArgumentNullException.ThrowIfNull(e); 1045ArgumentNullException.ThrowIfNull(e); 1185ArgumentNullException.ThrowIfNull(normalImage);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (13)
117ArgumentNullException.ThrowIfNull(e); 171ArgumentNullException.ThrowIfNull(e); 226ArgumentNullException.ThrowIfNull(e); 272ArgumentNullException.ThrowIfNull(e); 314ArgumentNullException.ThrowIfNull(e); 358ArgumentNullException.ThrowIfNull(e); 422ArgumentNullException.ThrowIfNull(e); 514ArgumentNullException.ThrowIfNull(e); 563ArgumentNullException.ThrowIfNull(e); 579ArgumentNullException.ThrowIfNull(e); 593ArgumentNullException.ThrowIfNull(e); 616ArgumentNullException.ThrowIfNull(e); 648ArgumentNullException.ThrowIfNull(e);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (4)
43ArgumentNullException.ThrowIfNull(value); 209ArgumentNullException.ThrowIfNull(nodes); 298ArgumentNullException.ThrowIfNull(node); 357ArgumentNullException.ThrowIfNull(node);
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (1)
41ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (1)
52ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\TreeView\TreeViewImageKeyConverter.cs (1)
24ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Controls\TreeView\TreeViewLabelEditAccessibleObject.cs (1)
15ArgumentNullException.ThrowIfNull(owningTreeView);
System\Windows\Forms\Controls\UpDown\NumericUpDownAccelerationCollection.cs (3)
24ArgumentNullException.ThrowIfNull(acceleration); 119ArgumentNullException.ThrowIfNull(accelerations); 124ArgumentNullException.ThrowIfNull(acceleration);
System\Windows\Forms\DataBinding\BindingContext.cs (3)
109ArgumentNullException.ThrowIfNull(dataSource); 110ArgumentNullException.ThrowIfNull(listManager); 347ArgumentNullException.ThrowIfNull(binding);
System\Windows\Forms\DataBinding\BindingContext.HashKey.cs (1)
18ArgumentNullException.ThrowIfNull(dataSource);
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
63ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\DataBinding\BindingsCollection.cs (1)
48ArgumentNullException.ThrowIfNull(dataBinding);
System\Windows\Forms\DataBinding\BindingSource.cs (1)
100ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (3)
147ArgumentNullException.ThrowIfNull(dataSource); 171ArgumentNullException.ThrowIfNull(dataBinding); 242ArgumentNullException.ThrowIfNull(dataBinding);
System\Windows\Forms\DataBinding\CurrencyManager.cs (2)
186ArgumentNullException.ThrowIfNull(tempList, nameof(dataSource)); 557ArgumentNullException.ThrowIfNull(key);
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
66ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (2)
28ArgumentNullException.ThrowIfNull(dataBinding); 57ArgumentNullException.ThrowIfNull(dataBinding);
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (1)
98ArgumentNullException.ThrowIfNull(filename);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (8)
320/// <exception cref="ArgumentNullException"> 352/// <exception cref="ArgumentNullException"> 385/// <exception cref="ArgumentNullException"> 396ArgumentNullException.ThrowIfNull(page); 449/// <exception cref="ArgumentNullException"> 479/// <exception cref="ArgumentNullException"> 515/// <exception cref="ArgumentNullException"> 526ArgumentNullException.ThrowIfNull(page);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButtonCollection.cs (4)
46/// <exception cref="ArgumentNullException"> 59ArgumentNullException.ThrowIfNull(item); 86/// <exception cref="ArgumentNullException"> 99ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogIcon.cs (2)
103/// <exception cref="ArgumentNullException"><paramref name="image"/> is <see langword="null"/>.</exception> 121/// <exception cref="ArgumentNullException"><paramref name="icon"/> is <see langword="null"/>.</exception>
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogPage.cs (2)
605/// <exception cref="ArgumentNullException"> 620ArgumentNullException.ThrowIfNull(page);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogRadioButtonCollection.cs (4)
45/// <exception cref="ArgumentNullException"> 58ArgumentNullException.ThrowIfNull(item); 85/// <exception cref="ArgumentNullException"> 98ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\ImageIndexConverter.cs (1)
70ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\ImageKeyConverter.cs (1)
85ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Input\Cursor.cs (2)
94ArgumentNullException.ThrowIfNull(stream); 250ArgumentNullException.ThrowIfNull(graphics);
System\Windows\Forms\Input\InputLanguage.cs (1)
265ArgumentNullException.ThrowIfNull(culture);
System\Windows\Forms\Input\KeysConverter.cs (1)
221ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Forms\Internal\ItemArray.cs (1)
225ArgumentNullException.ThrowIfNull(item);
System\Windows\Forms\Layout\LayoutEngine.cs (2)
27ArgumentNullException.ThrowIfNull(child); 42ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\Layout\TableLayout.cs (1)
25ArgumentNullException.ThrowIfNull(array);
System\Windows\Forms\NotifyIcon.cs (1)
69ArgumentNullException.ThrowIfNull(container);
System\Windows\Forms\OLE\Clipboard.cs (3)
43ArgumentNullException.ThrowIfNull(data); 438ArgumentNullException.ThrowIfNull(data); 447ArgumentNullException.ThrowIfNull(data);
System\Windows\Forms\OLE\DataObjectExtensions.cs (5)
13ArgumentNullException.ThrowIfNull(dataObject); 27/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 35/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 44/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception> 54/// <exception cref="ArgumentNullException">if the <paramref name="dataObject"/> is <see langword="null"/></exception>
System\Windows\Forms\Panels\FlowLayoutPanel.cs (2)
59ArgumentNullException.ThrowIfNull(control); 67ArgumentNullException.ThrowIfNull(control);
System\Windows\Forms\Panels\FlowLayoutSettings.cs (2)
47ArgumentNullException.ThrowIfNull(child); 58ArgumentNullException.ThrowIfNull(child);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
78ArgumentNullException.ThrowIfNull(propertyValues);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (10)
236ArgumentNullException.ThrowIfNull(control); 251ArgumentNullException.ThrowIfNull(control); 274ArgumentNullException.ThrowIfNull(control); 289ArgumentNullException.ThrowIfNull(control); 318ArgumentNullException.ThrowIfNull(control); 339ArgumentNullException.ThrowIfNull(control); 353ArgumentNullException.ThrowIfNull(control); 366ArgumentNullException.ThrowIfNull(control); 379ArgumentNullException.ThrowIfNull(control); 400ArgumentNullException.ThrowIfNull(control);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (3)
30ArgumentNullException.ThrowIfNull(style); 45ArgumentNullException.ThrowIfNull(style); 62ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\ParentBackgroundRenderer.cs (3)
17ArgumentNullException.ThrowIfNull(control); 18ArgumentNullException.ThrowIfNull(graphics); 59ArgumentNullException.ThrowIfNull(graphics);
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
26ArgumentNullException.ThrowIfNull(invalidate);
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (2)
49ArgumentNullException.ThrowIfNull(graphics); 50ArgumentNullException.ThrowIfNull(context);
System\Windows\Forms\Rendering\ControlPaint_ModernControlButtonRenderer.cs (1)
27ArgumentNullException.ThrowIfNull(graphics);
System\Windows\Forms\Rendering\ControlPaint.cs (26)
175ArgumentNullException.ThrowIfNull(bitmap); 271ArgumentNullException.ThrowIfNull(bitmap); 330ArgumentNullException.ThrowIfNull(bitmap); 421ArgumentNullException.ThrowIfNull(graphics); 449ArgumentNullException.ThrowIfNull(g); 555ArgumentNullException.ThrowIfNull(graphics); 587ArgumentNullException.ThrowIfNull(graphics); 1057ArgumentNullException.ThrowIfNull(graphics); 1089ArgumentNullException.ThrowIfNull(graphics); 1178ArgumentNullException.ThrowIfNull(context); 1307ArgumentNullException.ThrowIfNull(graphics); 1351ArgumentNullException.ThrowIfNull(graphics); 1376ArgumentNullException.ThrowIfNull(graphics); 1443ArgumentNullException.ThrowIfNull(graphics); 1464ArgumentNullException.ThrowIfNull(graphics); 1513ArgumentNullException.ThrowIfNull(graphics); 1540ArgumentNullException.ThrowIfNull(graphics); 1586ArgumentNullException.ThrowIfNull(graphics); 1627ArgumentNullException.ThrowIfNull(graphics); 1628ArgumentNullException.ThrowIfNull(image); 1710ArgumentNullException.ThrowIfNull(graphics); 1934ArgumentNullException.ThrowIfNull(graphics); 1955ArgumentNullException.ThrowIfNull(graphics); 2012ArgumentNullException.ThrowIfNull(graphics); 2044ArgumentNullException.ThrowIfNull(dc); 2083ArgumentNullException.ThrowIfNull(graphics);
System\Windows\Forms\Rendering\TextRenderer.cs (13)
36/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 58/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 87/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 128/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 160/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 188/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 217/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 258/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 298ArgumentNullException.ThrowIfNull(dc); 455/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 474/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 499/// <exception cref="ArgumentNullException"><paramref name="dc"/> is null.</exception> 533ArgumentNullException.ThrowIfNull(dc);
System\Windows\Forms\Screen.cs (1)
267ArgumentNullException.ThrowIfNull(control);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
656ArgumentNullException.ThrowIfNull(e);
System\Windows\Forms\SuspendPaintingScope.cs (2)
150ArgumentNullException.ThrowIfNull(suspendLayoutContainerFilter); 157ArgumentNullException.ThrowIfNull(target);
System\Windows\Forms\SystemVisualSettingsTracker.cs (1)
121ArgumentNullException.ThrowIfNull(currentSettings);
System\Windows\Forms\ToolTip\ToolTip.cs (10)
79ArgumentNullException.ThrowIfNull(cont); 1220ArgumentNullException.ThrowIfNull(control); 1311ArgumentNullException.ThrowIfNull(window); 1394ArgumentNullException.ThrowIfNull(window); 1408ArgumentNullException.ThrowIfNull(window); 1427ArgumentNullException.ThrowIfNull(window); 1447ArgumentNullException.ThrowIfNull(window); 1464ArgumentNullException.ThrowIfNull(window); 1480ArgumentNullException.ThrowIfNull(tool); 1726ArgumentNullException.ThrowIfNull(win);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (27)
78ArgumentNullException.ThrowIfNull(element); 136ArgumentNullException.ThrowIfNull(className); 188ArgumentNullException.ThrowIfNull(element); 213ArgumentNullException.ThrowIfNull(dc); 242ArgumentNullException.ThrowIfNull(dc); 269ArgumentNullException.ThrowIfNull(dc); 301ArgumentNullException.ThrowIfNull(g); 302ArgumentNullException.ThrowIfNull(image); 316ArgumentNullException.ThrowIfNull(g); 317ArgumentNullException.ThrowIfNull(imageList); 337ArgumentNullException.ThrowIfNull(dc); 338ArgumentNullException.ThrowIfNull(childControl); 373ArgumentNullException.ThrowIfNull(dc); 407ArgumentNullException.ThrowIfNull(dc); 429ArgumentNullException.ThrowIfNull(dc); 448ArgumentNullException.ThrowIfNull(dc); 532ArgumentNullException.ThrowIfNull(dc); 573ArgumentNullException.ThrowIfNull(dc); 600ArgumentNullException.ThrowIfNull(dc); 627ArgumentNullException.ThrowIfNull(dc); 660ArgumentNullException.ThrowIfNull(dc); 683ArgumentNullException.ThrowIfNull(dc); 706ArgumentNullException.ThrowIfNull(dc); 718ArgumentNullException.ThrowIfNull(dc); 740ArgumentNullException.ThrowIfNull(g); 741ArgumentNullException.ThrowIfNull(region); 752ArgumentNullException.ThrowIfNull(dc);
System.Windows.Forms.Design (213)
System\ComponentModel\Design\ByteViewer.cs (1)
611ArgumentNullException.ThrowIfNull(bytes);
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
184ArgumentNullException.ThrowIfNull(edSvc);
System\ComponentModel\Design\CollectionEditor.cs (1)
93ArgumentNullException.ThrowIfNull(itemType);
System\ComponentModel\Design\ComponentDesigner.cs (1)
377ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (2)
27ArgumentNullException.ThrowIfNull(propertyName); 78ArgumentNullException.ThrowIfNull(propertyName);
System\ComponentModel\Design\DesignerActionListCollection.cs (2)
29ArgumentNullException.ThrowIfNull(value); 39ArgumentNullException.ThrowIfNull(value);
System\ComponentModel\Design\DesignerActionService.cs (12)
65ArgumentNullException.ThrowIfNull(comp); 66ArgumentNullException.ThrowIfNull(designerActionListCollection); 117ArgumentNullException.ThrowIfNull(comp); 150ArgumentNullException.ThrowIfNull(component); 172ArgumentNullException.ThrowIfNull(component); 173ArgumentNullException.ThrowIfNull(actionLists); 266ArgumentNullException.ThrowIfNull(component); 267ArgumentNullException.ThrowIfNull(actionLists); 308ArgumentNullException.ThrowIfNull(comp); 322ArgumentNullException.ThrowIfNull(actionList); 341ArgumentNullException.ThrowIfNull(comp); 342ArgumentNullException.ThrowIfNull(actionList);
System\ComponentModel\Design\DesignerHost.cs (6)
182ArgumentNullException.ThrowIfNull(component); 493ArgumentNullException.ThrowIfNull(service); 923ArgumentNullException.ThrowIfNull(componentType); 989ArgumentNullException.ThrowIfNull(component); 1024ArgumentNullException.ThrowIfNull(component); 1031ArgumentNullException.ThrowIfNull(typeName);
System\ComponentModel\Design\DesignerHost.Site.cs (1)
150ArgumentNullException.ThrowIfNull(service);
System\ComponentModel\Design\DesignSurface.cs (6)
63ArgumentNullException.ThrowIfNull(rootComponentType); 225ArgumentNullException.ThrowIfNull(loader); 240ArgumentNullException.ThrowIfNull(rootComponentType); 259ArgumentNullException.ThrowIfNull(component); 273ArgumentNullException.ThrowIfNull(type); 320ArgumentNullException.ThrowIfNull(owningComponent);
System\ComponentModel\Design\DesignSurfaceManager.cs (2)
230ArgumentNullException.ThrowIfNull(parentProvider); 382ArgumentNullException.ThrowIfNull(serviceType);
System\ComponentModel\Design\EventBindingService.cs (7)
110ArgumentNullException.ThrowIfNull(component); 111ArgumentNullException.ThrowIfNull(e); 122ArgumentNullException.ThrowIfNull(e); 174ArgumentNullException.ThrowIfNull(events); 199ArgumentNullException.ThrowIfNull(e); 230ArgumentNullException.ThrowIfNull(component); 231ArgumentNullException.ThrowIfNull(e);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
79ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\Design\ExtenderProviderService.cs (2)
30ArgumentNullException.ThrowIfNull(provider); 47ArgumentNullException.ThrowIfNull(provider);
System\ComponentModel\Design\MenuCommandService.cs (5)
75ArgumentNullException.ThrowIfNull(command); 118ArgumentNullException.ThrowIfNull(verb); 391ArgumentNullException.ThrowIfNull(serviceType); 482ArgumentNullException.ThrowIfNull(command); 511ArgumentNullException.ThrowIfNull(verb);
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
62ArgumentNullException.ThrowIfNull(treeView);
System\ComponentModel\Design\ReferenceService.cs (4)
211ArgumentNullException.ThrowIfNull(reference); 230ArgumentNullException.ThrowIfNull(reference); 249ArgumentNullException.ThrowIfNull(name); 284ArgumentNullException.ThrowIfNull(baseType);
System\ComponentModel\Design\SelectionService.cs (5)
57ArgumentNullException.ThrowIfNull(selection, nameof(selection)); 332ArgumentNullException.ThrowIfNull(component, nameof(component)); 393ArgumentNullException.ThrowIfNull(component, nameof(components)); 424ArgumentNullException.ThrowIfNull(comp, nameof(components)); 445ArgumentNullException.ThrowIfNull(comp, nameof(components));
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (2)
140ArgumentNullException.ThrowIfNull(host); 876ArgumentNullException.ThrowIfNull(name);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
328ArgumentNullException.ThrowIfNull(info);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalServices.cs (1)
37ArgumentNullException.ThrowIfNull(serviceType);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.cs (15)
60ArgumentNullException.ThrowIfNull(store); 61ArgumentNullException.ThrowIfNull(value); 77ArgumentNullException.ThrowIfNull(store); 78ArgumentNullException.ThrowIfNull(value); 95ArgumentNullException.ThrowIfNull(store); 96ArgumentNullException.ThrowIfNull(owningObject); 97ArgumentNullException.ThrowIfNull(member); 119ArgumentNullException.ThrowIfNull(store); 120ArgumentNullException.ThrowIfNull(owningObject); 121ArgumentNullException.ThrowIfNull(member); 137ArgumentNullException.ThrowIfNull(store); 153ArgumentNullException.ThrowIfNull(store); 154ArgumentNullException.ThrowIfNull(container); 174ArgumentNullException.ThrowIfNull(store); 175ArgumentNullException.ThrowIfNull(container);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
1005ArgumentNullException.ThrowIfNull(dataType); 1100ArgumentNullException.ThrowIfNull(name); 1172ArgumentNullException.ThrowIfNull(name);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (3)
33ArgumentNullException.ThrowIfNull(provider); 48ArgumentNullException.ThrowIfNull(provider); 49ArgumentNullException.ThrowIfNull(supportedCultures);
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (10)
47ArgumentNullException.ThrowIfNull(manager); 48ArgumentNullException.ThrowIfNull(codeObject); 137ArgumentNullException.ThrowIfNull(manager); 138ArgumentNullException.ThrowIfNull(value); 229ArgumentNullException.ThrowIfNull(manager); 230ArgumentNullException.ThrowIfNull(owningObject); 231ArgumentNullException.ThrowIfNull(member); 265ArgumentNullException.ThrowIfNull(manager); 266ArgumentNullException.ThrowIfNull(owningObject); 267ArgumentNullException.ThrowIfNull(member);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (24)
35ArgumentNullException.ThrowIfNull(manager); 36ArgumentNullException.ThrowIfNull(type); 165ArgumentNullException.ThrowIfNull(manager); 166ArgumentNullException.ThrowIfNull(exceptionText); 1656ArgumentNullException.ThrowIfNull(manager); 1657ArgumentNullException.ThrowIfNull(value); 1752ArgumentNullException.ThrowIfNull(manager); 1856ArgumentNullException.ThrowIfNull(manager); 1857ArgumentNullException.ThrowIfNull(value); 1876ArgumentNullException.ThrowIfNull(manager); 1877ArgumentNullException.ThrowIfNull(value); 2056ArgumentNullException.ThrowIfNull(manager); 2057ArgumentNullException.ThrowIfNull(value); 2099ArgumentNullException.ThrowIfNull(manager); 2100ArgumentNullException.ThrowIfNull(statements); 2101ArgumentNullException.ThrowIfNull(value); 2102ArgumentNullException.ThrowIfNull(descriptor); 2245ArgumentNullException.ThrowIfNull(manager); 2246ArgumentNullException.ThrowIfNull(value); 2247ArgumentNullException.ThrowIfNull(propertyToSerialize); 2248ArgumentNullException.ThrowIfNull(statements); 2586ArgumentNullException.ThrowIfNull(manager); 2587ArgumentNullException.ThrowIfNull(value); 2588ArgumentNullException.ThrowIfNull(expression);
System\ComponentModel\Design\Serialization\CodeDomSerializerException.cs (2)
26ArgumentNullException.ThrowIfNull(manager); 31ArgumentNullException.ThrowIfNull(manager);
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (7)
111ArgumentNullException.ThrowIfNull(method); 131ArgumentNullException.ThrowIfNull(manager); 132ArgumentNullException.ThrowIfNull(value); 298ArgumentNullException.ThrowIfNull(manager); 299ArgumentNullException.ThrowIfNull(targetType); 300ArgumentNullException.ThrowIfNull(originalCollection); 301ArgumentNullException.ThrowIfNull(valuesToSerialize);
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
50ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
107ArgumentNullException.ThrowIfNull(manager); 108ArgumentNullException.ThrowIfNull(value);
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (5)
25ArgumentNullException.ThrowIfNull(manager); 26ArgumentNullException.ThrowIfNull(typeDecl); 27ArgumentNullException.ThrowIfNull(value); 54ArgumentNullException.ThrowIfNull(manager); 55ArgumentNullException.ThrowIfNull(typeDecl);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (6)
426ArgumentNullException.ThrowIfNull(serializerType); 629ArgumentNullException.ThrowIfNull(property); 795ArgumentNullException.ThrowIfNull(name); 825ArgumentNullException.ThrowIfNull(value); 920ArgumentNullException.ThrowIfNull(instance); 921ArgumentNullException.ThrowIfNull(name);
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (3)
25ArgumentNullException.ThrowIfNull(manager); 26ArgumentNullException.ThrowIfNull(value); 33ArgumentNullException.ThrowIfNull(statements);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (5)
85ArgumentNullException.ThrowIfNull(manager); 86ArgumentNullException.ThrowIfNull(value); 87ArgumentNullException.ThrowIfNull(statements); 362ArgumentNullException.ThrowIfNull(manager); 363ArgumentNullException.ThrowIfNull(value);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (4)
72ArgumentNullException.ThrowIfNull(manager); 73ArgumentNullException.ThrowIfNull(codeObject); 137ArgumentNullException.ThrowIfNull(manager); 138ArgumentNullException.ThrowIfNull(type);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
426ArgumentNullException.ThrowIfNull(culture);
System\ComponentModel\Design\Serialization\StatementContext.cs (4)
92ArgumentNullException.ThrowIfNull(statementOwner); 127ArgumentNullException.ThrowIfNull(statementOwner); 153ArgumentNullException.ThrowIfNull(statementOwners); 168ArgumentNullException.ThrowIfNull(owner);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (9)
40ArgumentNullException.ThrowIfNull(manager); 41ArgumentNullException.ThrowIfNull(declaration); 336ArgumentNullException.ThrowIfNull(manager); 337ArgumentNullException.ThrowIfNull(declaration); 338ArgumentNullException.ThrowIfNull(value); 355ArgumentNullException.ThrowIfNull(manager); 356ArgumentNullException.ThrowIfNull(declaration); 410ArgumentNullException.ThrowIfNull(manager); 411ArgumentNullException.ThrowIfNull(root);
System\ComponentModel\Design\SiteNestedContainer.cs (1)
73ArgumentNullException.ThrowIfNull(component);
System\ComponentModel\Design\TypeDescriptorFilterService.cs (6)
40ArgumentNullException.ThrowIfNull(component); 41ArgumentNullException.ThrowIfNull(attributes); 59ArgumentNullException.ThrowIfNull(component); 60ArgumentNullException.ThrowIfNull(events); 78ArgumentNullException.ThrowIfNull(component); 79ArgumentNullException.ThrowIfNull(properties);
System\ComponentModel\Design\UndoEngine.cs (1)
305ArgumentNullException.ThrowIfNull(serviceType);
System\Drawing\Design\ImageEditor.cs (2)
54ArgumentNullException.ThrowIfNull(e); 162ArgumentNullException.ThrowIfNull(stream);
System\Drawing\Design\ToolboxItem.cs (3)
450ArgumentNullException.ThrowIfNull(typeName); 747ArgumentNullException.ThrowIfNull(value); 851ArgumentNullException.ThrowIfNull(key);
System\Resources\Tools\StronglyTypedResourceBuilder.cs (10)
87/// <exception cref="ArgumentNullException"> 140/// <exception cref="ArgumentNullException"> 163ArgumentNullException.ThrowIfNull(resourceList); 268ArgumentNullException.ThrowIfNull(resxFile); 301/// <exception cref="ArgumentNullException"> 313ArgumentNullException.ThrowIfNull(baseName); 314ArgumentNullException.ThrowIfNull(codeProvider); 821/// <exception cref="ArgumentNullException"> 830ArgumentNullException.ThrowIfNull(key); 831ArgumentNullException.ThrowIfNull(provider);
System\Windows\Forms\Design\Behavior\AdornerCollection.cs (1)
160/// <exception cref="ArgumentNullException"><paramref name="array"/> is <see langword="null"/>.</exception>
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
429ArgumentNullException.ThrowIfNull(behavior);
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (4)
25ArgumentNullException.ThrowIfNull(manager); 26ArgumentNullException.ThrowIfNull(codeObject); 148ArgumentNullException.ThrowIfNull(manager); 149ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Design\ControlDesigner.cs (2)
581ArgumentNullException.ThrowIfNull(child); 582ArgumentNullException.ThrowIfNull(name);
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (1)
16ArgumentNullException.ThrowIfNull(provider);
System\Windows\Forms\Design\DataGridViewColumnDataPropertyNameEditor.cs (1)
41ArgumentNullException.ThrowIfNull(value);
System\Windows\Forms\Design\DesignerUtils.cs (4)
350ArgumentNullException.ThrowIfNull(provider); 626ArgumentNullException.ThrowIfNull(host); 830ArgumentNullException.ThrowIfNull(treeView); 847ArgumentNullException.ThrowIfNull(listView);
System\Windows\Forms\Design\EventHandlerService.cs (3)
43ArgumentNullException.ThrowIfNull(handlerType); 73ArgumentNullException.ThrowIfNull(handler); 88ArgumentNullException.ThrowIfNull(handler);
System\Windows\Forms\Design\FileNameEditor.cs (1)
53ArgumentNullException.ThrowIfNull(openFileDialog);
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (2)
23ArgumentNullException.ThrowIfNull(manager); 24ArgumentNullException.ThrowIfNull(codeObject);
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (2)
61ArgumentNullException.ThrowIfNull(value); 101ArgumentNullException.ThrowIfNull(values);
System.Windows.Forms.Primitives (5)
System\Collections\Generic\WeakRefCollection.cs (1)
28ArgumentNullException.ThrowIfNull(value, nameof(value));
System\Windows\Forms\Animation\HighPrecisionTimer.cs (1)
99ArgumentNullException.ThrowIfNull(callback);
System\Windows\Forms\PaddingConverter.cs (1)
71ArgumentNullException.ThrowIfNull(propertyValues);
System\Windows\Forms\RefCountedCache.cs (1)
72ArgumentNullException.ThrowIfNull(key);
Windows\Win32\System\Ole\ClassPropertyDispatchAdapter.cs (1)
36ArgumentNullException.ThrowIfNull(instance);
System.Windows.Input.Manipulations (2)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (1)
328ArgumentNullException.ThrowIfNull(parameters);
System\Windows\Input\Manipulations\ManipulationProcessor2D.cs (1)
310ArgumentNullException.ThrowIfNull(parameters);
System.Xaml (135)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (4)
29ArgumentNullException.ThrowIfNull(assembly, nameof(assembly)); 31ArgumentNullException.ThrowIfNull(fullName, nameof(Assembly.FullName)); 48ArgumentNullException.ThrowIfNull(assembly, nameof(assembly)); 97ArgumentNullException.ThrowIfNull(assembly, nameof(assembly));
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
20ArgumentNullException.ThrowIfNull(sourceType);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\TypeConverterHelper.cs (1)
442ArgumentNullException.ThrowIfNull(type);
System\Windows\Markup\ArrayExtension.cs (1)
43ArgumentNullException.ThrowIfNull(elements);
System\Windows\Markup\NameReferenceConverter.cs (2)
26ArgumentNullException.ThrowIfNull(context); 67ArgumentNullException.ThrowIfNull(context);
System\Windows\Markup\Reference.cs (1)
27ArgumentNullException.ThrowIfNull(serviceProvider);
System\Windows\Markup\StaticExtension.cs (1)
80ArgumentNullException.ThrowIfNull(serviceProvider);
System\Windows\Markup\TypeExtension.cs (1)
67ArgumentNullException.ThrowIfNull(serviceProvider);
System\Windows\Markup\ValueSerializer.cs (3)
105ArgumentNullException.ThrowIfNull(type); 165ArgumentNullException.ThrowIfNull(descriptor); 235ArgumentNullException.ThrowIfNull(destinationType);
System\Windows\Markup\XamlDeferLoadAttribute.cs (2)
11ArgumentNullException.ThrowIfNull(loaderType); 12ArgumentNullException.ThrowIfNull(contentType);
System\Xaml\AttachablePropertyServices.cs (1)
69ArgumentNullException.ThrowIfNull(name);
System\Xaml\Context\ServiceProviderContext.cs (5)
132ArgumentNullException.ThrowIfNull(properties); 148ArgumentNullException.ThrowIfNull(types); 166ArgumentNullException.ThrowIfNull(properties); 182ArgumentNullException.ThrowIfNull(types); 202ArgumentNullException.ThrowIfNull(properties);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (7)
47ArgumentNullException.ThrowIfNull(schemaContext); 53ArgumentNullException.ThrowIfNull(schemaContext); 59ArgumentNullException.ThrowIfNull(savedContext); 73ArgumentNullException.ThrowIfNull(schemaContext); 314ArgumentNullException.ThrowIfNull(xamlType); 573ArgumentNullException.ThrowIfNull(property); 895ArgumentNullException.ThrowIfNull(namespaceDeclaration);
System\Xaml\InfosetObjects\XamlObjectWriterSettings.cs (1)
19ArgumentNullException.ThrowIfNull(settings);
System\Xaml\InfosetObjects\XamlXmlReader.cs (24)
29ArgumentNullException.ThrowIfNull(xmlReader); 36ArgumentNullException.ThrowIfNull(xmlReader); 43ArgumentNullException.ThrowIfNull(schemaContext); 44ArgumentNullException.ThrowIfNull(xmlReader); 51ArgumentNullException.ThrowIfNull(schemaContext); 52ArgumentNullException.ThrowIfNull(xmlReader); 59ArgumentNullException.ThrowIfNull(fileName); 65ArgumentNullException.ThrowIfNull(fileName); 72ArgumentNullException.ThrowIfNull(fileName); 73ArgumentNullException.ThrowIfNull(schemaContext); 80ArgumentNullException.ThrowIfNull(fileName); 81ArgumentNullException.ThrowIfNull(schemaContext); 94ArgumentNullException.ThrowIfNull(stream); 100ArgumentNullException.ThrowIfNull(stream); 106ArgumentNullException.ThrowIfNull(stream); 107ArgumentNullException.ThrowIfNull(schemaContext); 114ArgumentNullException.ThrowIfNull(stream); 115ArgumentNullException.ThrowIfNull(schemaContext); 128ArgumentNullException.ThrowIfNull(textReader); 134ArgumentNullException.ThrowIfNull(textReader); 140ArgumentNullException.ThrowIfNull(textReader); 141ArgumentNullException.ThrowIfNull(schemaContext); 148ArgumentNullException.ThrowIfNull(textReader); 149ArgumentNullException.ThrowIfNull(schemaContext);
System\Xaml\NameScope.cs (8)
28ArgumentNullException.ThrowIfNull(name); 29ArgumentNullException.ThrowIfNull(scopedElement); 67ArgumentNullException.ThrowIfNull(name); 170ArgumentNullException.ThrowIfNull(key); 175ArgumentNullException.ThrowIfNull(key); 176ArgumentNullException.ThrowIfNull(value); 184ArgumentNullException.ThrowIfNull(key); 191ArgumentNullException.ThrowIfNull(key);
System\Xaml\NameScopeDictionary.cs (4)
38ArgumentNullException.ThrowIfNull(name); 40ArgumentNullException.ThrowIfNull(scopedElement); 80ArgumentNullException.ThrowIfNull(name); 105ArgumentNullException.ThrowIfNull(name);
System\Xaml\Schema\XamlDirective.cs (3)
36ArgumentNullException.ThrowIfNull(xamlType); 37ArgumentNullException.ThrowIfNull(xamlNamespaces); 55ArgumentNullException.ThrowIfNull(xamlNamespace);
System\Xaml\Schema\XamlMemberInvoker.cs (2)
53ArgumentNullException.ThrowIfNull(instance); 72ArgumentNullException.ThrowIfNull(instance);
System\Xaml\Schema\XamlTypeInvoker.cs (4)
59ArgumentNullException.ThrowIfNull(instance); 93ArgumentNullException.ThrowIfNull(instance); 142ArgumentNullException.ThrowIfNull(contentType); 212ArgumentNullException.ThrowIfNull(instance);
System\Xaml\XamlBackgroundReader.cs (1)
38ArgumentNullException.ThrowIfNull(wrappedReader);
System\Xaml\XamlException.cs (4)
69ArgumentNullException.ThrowIfNull(info); 79ArgumentNullException.ThrowIfNull(info); 161ArgumentNullException.ThrowIfNull(info); 170ArgumentNullException.ThrowIfNull(info);
System\Xaml\XamlMember.cs (7)
54ArgumentNullException.ThrowIfNull(propertyInfo); 55ArgumentNullException.ThrowIfNull(schemaContext); 77ArgumentNullException.ThrowIfNull(eventInfo); 78ArgumentNullException.ThrowIfNull(schemaContext); 103ArgumentNullException.ThrowIfNull(schemaContext); 137ArgumentNullException.ThrowIfNull(adder); 138ArgumentNullException.ThrowIfNull(schemaContext);
System\Xaml\XamlNodeList.cs (2)
23ArgumentNullException.ThrowIfNull(schemaContext); 29ArgumentNullException.ThrowIfNull(schemaContext);
System\Xaml\XamlNodeQueue.cs (1)
24ArgumentNullException.ThrowIfNull(schemaContext);
System\Xaml\XamlObjectReader.cs (1)
2871ArgumentNullException.ThrowIfNull(value);
System\Xaml\XamlSchemaContext.cs (10)
140ArgumentNullException.ThrowIfNull(xmlns); 259ArgumentNullException.ThrowIfNull(xamlNamespace); 260ArgumentNullException.ThrowIfNull(name); 276ArgumentNullException.ThrowIfNull(xamlTypeName); 311ArgumentNullException.ThrowIfNull(xamlNamespace); 312ArgumentNullException.ThrowIfNull(name); 382ArgumentNullException.ThrowIfNull(xamlNamespace); 543ArgumentNullException.ThrowIfNull(type); 550ArgumentNullException.ThrowIfNull(type); 568ArgumentNullException.ThrowIfNull(type);
System\Xaml\XamlServices.cs (13)
22ArgumentNullException.ThrowIfNull(xaml); 34ArgumentNullException.ThrowIfNull(fileName); 45ArgumentNullException.ThrowIfNull(stream); 56ArgumentNullException.ThrowIfNull(textReader); 67ArgumentNullException.ThrowIfNull(xmlReader); 79ArgumentNullException.ThrowIfNull(xamlReader); 96ArgumentNullException.ThrowIfNull(xamlReader); 98ArgumentNullException.ThrowIfNull(xamlWriter); 141ArgumentNullException.ThrowIfNull(fileName); 158ArgumentNullException.ThrowIfNull(stream); 168ArgumentNullException.ThrowIfNull(writer); 178ArgumentNullException.ThrowIfNull(writer); 187ArgumentNullException.ThrowIfNull(writer);
System\Xaml\XamlType.cs (2)
47ArgumentNullException.ThrowIfNull(unknownTypeNamespace); 68ArgumentNullException.ThrowIfNull(underlyingType);
System\Xaml\XamlTypeName.cs (11)
41ArgumentNullException.ThrowIfNull(xamlType); 87ArgumentNullException.ThrowIfNull(typeNameList); 88ArgumentNullException.ThrowIfNull(prefixLookup); 94ArgumentNullException.ThrowIfNull(typeName); 95ArgumentNullException.ThrowIfNull(namespaceResolver); 109ArgumentNullException.ThrowIfNull(typeNameList); 110ArgumentNullException.ThrowIfNull(namespaceResolver); 125ArgumentNullException.ThrowIfNull(typeName); 126ArgumentNullException.ThrowIfNull(namespaceResolver); 135ArgumentNullException.ThrowIfNull(typeNameList); 136ArgumentNullException.ThrowIfNull(namespaceResolver);
System\Xaml\XamlWriter.cs (1)
23ArgumentNullException.ThrowIfNull(reader);
System\Xaml\XamlXmlWriter.cs (6)
51ArgumentNullException.ThrowIfNull(stream); 70ArgumentNullException.ThrowIfNull(textWriter); 89ArgumentNullException.ThrowIfNull(xmlWriter); 162ArgumentNullException.ThrowIfNull(type); 187ArgumentNullException.ThrowIfNull(property); 226ArgumentNullException.ThrowIfNull(namespaceDeclaration);
UIAutomationClient (67)
MS\Internal\Automation\Misc.cs (4)
38ArgumentNullException.ThrowIfNull(a1); 39ArgumentNullException.ThrowIfNull(a2); 60ArgumentNullException.ThrowIfNull(el1); 61ArgumentNullException.ThrowIfNull(el2);
System\Windows\Automation\AndCondition.cs (2)
31ArgumentNullException.ThrowIfNull(conditions); 35ArgumentNullException.ThrowIfNull(condition, nameof(conditions));
System\Windows\Automation\Automation.cs (18)
90ArgumentNullException.ThrowIfNull(property); 103ArgumentNullException.ThrowIfNull(pattern); 125ArgumentNullException.ThrowIfNull(element); 126ArgumentNullException.ThrowIfNull(eventHandler); 193ArgumentNullException.ThrowIfNull(element); 194ArgumentNullException.ThrowIfNull(eventHandler); 217ArgumentNullException.ThrowIfNull(element); 218ArgumentNullException.ThrowIfNull(eventHandler); 219ArgumentNullException.ThrowIfNull(properties); 230ArgumentNullException.ThrowIfNull(property, nameof(properties)); 248ArgumentNullException.ThrowIfNull(element); 249ArgumentNullException.ThrowIfNull(eventHandler); 263ArgumentNullException.ThrowIfNull(element); 264ArgumentNullException.ThrowIfNull(eventHandler); 279ArgumentNullException.ThrowIfNull(element); 280ArgumentNullException.ThrowIfNull(eventHandler); 294ArgumentNullException.ThrowIfNull(eventHandler); 312ArgumentNullException.ThrowIfNull(eventHandler);
System\Windows\Automation\AutomationElement.cs (9)
452ArgumentNullException.ThrowIfNull(localImpl); 495ArgumentNullException.ThrowIfNull(property); 575ArgumentNullException.ThrowIfNull(pattern); 642ArgumentNullException.ThrowIfNull(property); 694ArgumentNullException.ThrowIfNull(pattern); 728ArgumentNullException.ThrowIfNull(request); 748ArgumentNullException.ThrowIfNull(condition); 771ArgumentNullException.ThrowIfNull(condition); 1283ArgumentNullException.ThrowIfNull(condition);
System\Windows\Automation\CacheRequest.cs (3)
242ArgumentNullException.ThrowIfNull(property); 260ArgumentNullException.ThrowIfNull(pattern); 337ArgumentNullException.ThrowIfNull(value, nameof(TreeFilter));
System\Windows\Automation\ClientSettings.cs (2)
42ArgumentNullException.ThrowIfNull(assemblyName); 53ArgumentNullException.ThrowIfNull(clientSideProviderDescription);
System\Windows\Automation\NotCondition.cs (1)
32ArgumentNullException.ThrowIfNull(condition);
System\Windows\Automation\OrCondition.cs (2)
31ArgumentNullException.ThrowIfNull(conditions); 35ArgumentNullException.ThrowIfNull(condition, nameof(conditions));
System\Windows\Automation\PropertyCondition.cs (1)
122ArgumentNullException.ThrowIfNull(property);
System\Windows\Automation\Text\TextRange.cs (4)
173ArgumentNullException.ThrowIfNull(attribute); 174ArgumentNullException.ThrowIfNull(value); // no text attributes can have null as a valid value 215ArgumentNullException.ThrowIfNull(text); 231ArgumentNullException.ThrowIfNull(attribute);
System\Windows\Automation\TextPattern.cs (1)
200ArgumentNullException.ThrowIfNull(childElement);
System\Windows\Automation\TreeWalker.cs (19)
35ArgumentNullException.ThrowIfNull(condition); 87ArgumentNullException.ThrowIfNull(element); 102ArgumentNullException.ThrowIfNull(element); 117ArgumentNullException.ThrowIfNull(element); 132ArgumentNullException.ThrowIfNull(element); 147ArgumentNullException.ThrowIfNull(element); 172ArgumentNullException.ThrowIfNull(element); 190ArgumentNullException.ThrowIfNull(element); 191ArgumentNullException.ThrowIfNull(request); 208ArgumentNullException.ThrowIfNull(element); 209ArgumentNullException.ThrowIfNull(request); 226ArgumentNullException.ThrowIfNull(element); 227ArgumentNullException.ThrowIfNull(request); 244ArgumentNullException.ThrowIfNull(element); 245ArgumentNullException.ThrowIfNull(request); 262ArgumentNullException.ThrowIfNull(element); 263ArgumentNullException.ThrowIfNull(request); 290ArgumentNullException.ThrowIfNull(element); 291ArgumentNullException.ThrowIfNull(request);
System\Windows\Automation\ValuePattern.cs (1)
72ArgumentNullException.ThrowIfNull(value);
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
747ArgumentNullException.ThrowIfNull(val);
UIAutomationProvider (8)
System\Windows\Automation\Provider\AutomationInteropProvider.cs (8)
73ArgumentNullException.ThrowIfNull(el); 96ArgumentNullException.ThrowIfNull(element); 97ArgumentNullException.ThrowIfNull(e); 111ArgumentNullException.ThrowIfNull(eventId); 112ArgumentNullException.ThrowIfNull(provider); 113ArgumentNullException.ThrowIfNull(e); 163ArgumentNullException.ThrowIfNull(provider); 164ArgumentNullException.ThrowIfNull(e);
UIAutomationTypes (4)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
1687ArgumentNullException.ThrowIfNull(lf);
System\Windows\Automation\AutomationIdentifier.cs (1)
125ArgumentNullException.ThrowIfNull(obj);
System\Windows\Automation\StructureChangedEventArgs.cs (1)
75ArgumentNullException.ThrowIfNull(runtimeId);
System\Windows\Automation\WindowClosedEventArgs.cs (1)
31ArgumentNullException.ThrowIfNull(runtimeId);