96 references to VerifyThrowArgumentNull
Microsoft.Build.Engine (96)
Collections\CopyOnWriteHashtable.cs (3)
48ErrorUtilities.VerifyThrowArgumentNull(stringComparer, nameof(stringComparer)); 71ErrorUtilities.VerifyThrowArgumentNull(dictionary, nameof(dictionary)); 72ErrorUtilities.VerifyThrowArgumentNull(stringComparer, nameof(stringComparer));
Engine\BuildRequest.cs (1)
601ErrorUtilities.VerifyThrowArgumentNull(target, "target should not be null");
Engine\BuildResult.cs (1)
57ErrorUtilities.VerifyThrowArgumentNull(buildResultToCopy, "Cannot have a null build result passed in");
Engine\Engine.cs (10)
488error.VerifyThrowArgumentNull(value, "BinPath"); 901error.VerifyThrowArgumentNull(toolset, nameof(toolset)); 1022ErrorUtilities.VerifyThrowArgumentNull(value, "value"); 1038error.VerifyThrowArgumentNull(logger, nameof(logger)); 1107error.VerifyThrowArgumentNull(forwardingLogger, nameof(forwardingLogger)); 1347ErrorUtilities.VerifyThrowArgumentNull(projectFullFileName, nameof(projectFullFileName)); 1368error.VerifyThrowArgumentNull(project, nameof(project)); 2210error.VerifyThrowArgumentNull(projectFile, "projectFileName"); 2281error.VerifyThrowArgumentNull(projectFiles[i], "projectFiles[" + i + "]"); 2480error.VerifyThrowArgumentNull(projectFile, "projectFileName");
Engine\EngineLoggingServices.cs (8)
80ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 111ErrorUtilities.VerifyThrowArgumentNull(eventArray, nameof(eventArray)); 144ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 168ErrorUtilities.VerifyThrowArgumentNull(eventArray, nameof(eventArray)); 245ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 265ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 284ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 302ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e));
Engine\EngineProxy.cs (6)
146ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 215ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 292ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 309ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 532ErrorUtilities.VerifyThrowArgumentNull(projectFileNames, nameof(projectFileNames)); 533ErrorUtilities.VerifyThrowArgumentNull(globalProperties, "globalPropertiesPerProject");
Engine\Expander.cs (1)
1669ErrorUtilities.VerifyThrowArgumentNull(argumentBuilder, nameof(argumentBuilder));
Engine\ImportCollection.cs (1)
203ErrorUtilities.VerifyThrowArgumentNull(importToRemove, nameof(importToRemove));
Engine\NodeManager.cs (1)
55ErrorUtilities.VerifyThrowArgumentNull(nodeProviderToRegister, nameof(nodeProviderToRegister));
Engine\Project.cs (12)
559ErrorUtilities.VerifyThrowArgumentNull(value, "value"); 617ErrorUtilities.VerifyThrowArgumentNull(value, "value"); 931ErrorUtilities.VerifyThrowArgumentNull(value, "value"); 972error.VerifyThrowArgumentNull(value, "value"); 1761ErrorUtilities.VerifyThrowArgumentNull(projectFileName, nameof(projectFileName)); 1897ErrorUtilities.VerifyThrowArgumentNull(textReader, nameof(textReader)); 1949ErrorUtilities.VerifyThrowArgumentNull(projectXml, nameof(projectXml)); 1991ErrorUtilities.VerifyThrowArgumentNull(projectXml, nameof(projectXml)); 2584error.VerifyThrowArgumentNull(propertyGroupToRemove, nameof(propertyGroupToRemove)); 2619error.VerifyThrowArgumentNull(propertyGroupToRemove, nameof(propertyGroupToRemove)); 2872error.VerifyThrowArgumentNull(itemGroupToRemove, nameof(itemGroupToRemove)); 2921error.VerifyThrowArgumentNull(itemToRemove, nameof(itemToRemove));
Engine\RegistryKeyWrapper.cs (2)
61ErrorUtilities.VerifyThrowArgumentNull(registryKeyPath, nameof(registryKeyPath)); 62ErrorUtilities.VerifyThrowArgumentNull(registryHive, nameof(registryHive));
Engine\Target.cs (1)
809error.VerifyThrowArgumentNull(taskElement, nameof(taskElement));
Engine\TargetCollection.cs (1)
218error.VerifyThrowArgumentNull(targetToRemove, nameof(targetToRemove));
Engine\ToolsetCollection.cs (2)
46ErrorUtilities.VerifyThrowArgumentNull(parentEngine, nameof(parentEngine)); 127ErrorUtilities.VerifyThrowArgumentNull(item, nameof(item));
Engine\ToolsetConfigurationReader.cs (1)
36error.VerifyThrowArgumentNull(readApplicationConfiguration, nameof(readApplicationConfiguration));
Engine\ToolsetReader.cs (2)
28error.VerifyThrowArgumentNull(value, nameof(value)); 255error.VerifyThrowArgumentNull(toolsets, nameof(toolsets));
Engine\ToolsetRegistryReader.cs (1)
52error.VerifyThrowArgumentNull(msbuildRegistryWrapper, nameof(msbuildRegistryWrapper));
Engine\ToolsetState.cs (2)
61ErrorUtilities.VerifyThrowArgumentNull(toolset, nameof(toolset)); 151ErrorUtilities.VerifyThrowArgumentNull(taskRegistry, nameof(taskRegistry));
Errors\InvalidProjectFileException.cs (1)
184ErrorUtilities.VerifyThrowArgumentNull(projectFile, nameof(projectFile));
Errors\InvalidToolsetDefinitionException.cs (2)
62ErrorUtilities.VerifyThrowArgumentNull(info, nameof(info)); 99ErrorUtilities.VerifyThrowArgumentNull(info, nameof(info));
Items\BuildItem.cs (4)
419ErrorUtilities.VerifyThrowArgumentNull(itemInclude, nameof(itemInclude)); 505ErrorUtilities.VerifyThrowArgumentNull(taskItem, nameof(taskItem)); 1376ErrorUtilities.VerifyThrowArgumentNull(destinationItem, nameof(destinationItem)); 1519ErrorUtilities.VerifyThrowArgumentNull(metadataValue, nameof(metadataValue));
Items\TaskItem.cs (5)
70ErrorUtilities.VerifyThrowArgumentNull(value, "ItemSpec"); 135ErrorUtilities.VerifyThrowArgumentNull(metadataName, nameof(metadataName)); 150ErrorUtilities.VerifyThrowArgumentNull(metadataValue, nameof(metadataValue)); 162ErrorUtilities.VerifyThrowArgumentNull(metadataName, nameof(metadataName)); 178ErrorUtilities.VerifyThrowArgumentNull(destinationItem, nameof(destinationItem));
LocalProvider\LocalCallDescriptor.cs (1)
524ErrorUtilities.VerifyThrowArgumentNull(node, "node is null");
LocalProvider\LocalNodeProvider.cs (1)
125ErrorUtilities.VerifyThrowArgumentNull(parameterName, nameof(parameterName));
Logging\BaseConsoleLogger.cs (1)
903ErrorUtilities.VerifyThrowArgumentNull(parameterName, nameof(parameterName));
Logging\ConsoleLogger.cs (1)
100ErrorUtilities.VerifyThrowArgumentNull(write, nameof(write));
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (2)
129ErrorUtilities.VerifyThrowArgumentNull(parameterName, nameof(parameterName)); 158ErrorUtilities.VerifyThrowArgumentNull(eventSource, nameof(eventSource));
Logging\DistributedLoggers\DistributedFileLogger.cs (1)
93ErrorUtilities.VerifyThrowArgumentNull(eventSource, nameof(eventSource));
Logging\FileLogger.cs (1)
50ErrorUtilities.VerifyThrowArgumentNull(eventSource, nameof(eventSource));
Logging\ParallelLogger\ParallelConsoleLogger.cs (11)
484ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 485ErrorUtilities.VerifyThrowArgumentNull(e.ParentProjectBuildEventContext, "ParentProjectBuildEventContext"); 539ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 710ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 731ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 778ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 819ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 853ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 899ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 952ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext"); 1374ErrorUtilities.VerifyThrowArgumentNull(e.BuildEventContext, "BuildEventContext");
Properties\BuildProperty.cs (2)
266ErrorUtilities.VerifyThrowArgumentNull(propertyValue, nameof(propertyValue)); 427ErrorUtilities.VerifyThrowArgumentNull(value, "Value");
Properties\BuildPropertyGroup.cs (1)
1038error.VerifyThrowArgumentNull(property, nameof(property));
Shared\ErrorUtilities.cs (3)
573VerifyThrowArgumentNull(parameter, parameterName); 621VerifyThrowArgumentNull(parameter1, parameter1Name); 622VerifyThrowArgumentNull(parameter2, parameter2Name);
Shared\EventArgsFormatting.cs (2)
57ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e)); 86ErrorUtilities.VerifyThrowArgumentNull(e, nameof(e));
Shared\FileUtilities.cs (1)
802ErrorUtilities.VerifyThrowArgumentNull(basePath, nameof(basePath));