130 references to VerifyThrowInternalNull
Microsoft.Build (127)
BackEnd\BuildManager\BuildManager.cs (1)
3166ErrorUtilities.VerifyThrowInternalNull(inputCacheFiles, nameof(inputCacheFiles));
BackEnd\BuildManager\BuildParameters.cs (2)
268ErrorUtilities.VerifyThrowInternalNull(other, nameof(other)); 713ErrorUtilities.VerifyThrowInternalNull(value, "EnvironmentPropertiesInternal");
BackEnd\BuildManager\CacheAggregator.cs (2)
32ErrorUtilities.VerifyThrowInternalNull(configCache, nameof(configCache)); 33ErrorUtilities.VerifyThrowInternalNull(resultsCache, nameof(resultsCache));
BackEnd\BuildManager\CacheSerialization.cs (3)
22ErrorUtilities.VerifyThrowInternalNull(outputCacheFile, nameof(outputCacheFile)); 130ErrorUtilities.VerifyThrowInternalNull(configCache, nameof(configCache)); 131ErrorUtilities.VerifyThrowInternalNull(resultsCache, nameof(resultsCache));
BackEnd\Components\Communications\NodeEndpointInProc.cs (2)
165ErrorUtilities.VerifyThrowInternalNull(factory, nameof(factory)); 183ErrorUtilities.VerifyThrowInternalNull(factory, nameof(factory));
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
500ErrorUtilities.VerifyThrowInternalNull(buildRequest.ProjectInstance, nameof(buildRequest.ProjectInstance)); 668ErrorUtilities.VerifyThrowInternalNull(projectConfiguration.Attributes, nameof(projectConfiguration.Attributes)); 708ErrorUtilities.VerifyThrowInternalNull(requestConfiguration.Project, nameof(requestConfiguration.Project));
BackEnd\Components\RequestBuilder\Lookup.cs (3)
93ErrorUtilities.VerifyThrowInternalNull(projectItems, nameof(projectItems)); 94ErrorUtilities.VerifyThrowInternalNull(properties, nameof(properties)); 1163ErrorUtilities.VerifyThrowInternalNull(value, "value");
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
552ErrorUtilities.VerifyThrowInternalNull(targetResult, "targetResult");
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
524ErrorUtilities.VerifyThrowInternalNull(_taskNode, "taskNode"); // taskNode should never be null when we're calling this method.
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
119ErrorUtilities.VerifyThrowInternalNull(taskLocation, nameof(taskLocation));
BackEnd\Components\Scheduler\Scheduler.cs (1)
2036ErrorUtilities.VerifyThrowInternalNull(parentRequest, nameof(parentRequest));
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (3)
101ErrorUtilities.VerifyThrowInternalNull(sdk, nameof(sdk)); 102ErrorUtilities.VerifyThrowInternalNull(loggingContext, nameof(loggingContext)); 103ErrorUtilities.VerifyThrowInternalNull(sdkReferenceLocation, nameof(sdkReferenceLocation));
BackEnd\Node\ServerNodeBuildCommand.cs (1)
93ErrorUtilities.VerifyThrowInternalNull(consoleConfiguration, nameof(consoleConfiguration));
BackEnd\Shared\BuildRequestConfiguration.cs (1)
793ErrorUtilities.VerifyThrowInternalNull(Project, nameof(Project));
Collections\CopyOnWritePropertyDictionary.cs (2)
106ErrorUtilities.VerifyThrowInternalNull(value, "Properties can't have null value"); 190ErrorUtilities.VerifyThrowInternalNull(value, "Properties can't have null value");
Collections\PropertyDictionary.cs (1)
201ErrorUtilities.VerifyThrowInternalNull(value, "Properties can't have null value");
Construction\ProjectElement.cs (1)
620ErrorUtilities.VerifyThrowInternalNull(containingProject, nameof(containingProject));
Definition\Project.cs (5)
1808ErrorUtilities.VerifyThrowInternalNull(otherXml, nameof(otherXml)); 3586ErrorUtilities.VerifyThrowInternalNull(otherXml, nameof(otherXml)); 4390ErrorUtilities.VerifyThrowInternalNull(property, nameof(property)); 4402ErrorUtilities.VerifyThrowInternalNull(itemDefinitionMetadatum, nameof(itemDefinitionMetadatum)); 4414ErrorUtilities.VerifyThrowInternalNull(item, nameof(item));
Definition\ProjectItem.cs (3)
129ErrorUtilities.VerifyThrowInternalNull(project, nameof(project)); 1015ErrorUtilities.VerifyThrowInternalNull(_xml, "xml"); 1039ErrorUtilities.VerifyThrowInternalNull(_xml, "xml");
Definition\ProjectItemDefinition.cs (1)
58ErrorUtilities.VerifyThrowInternalNull(project, nameof(project));
Definition\ResolvedImport.cs (2)
26ErrorUtilities.VerifyThrowInternalNull(importedProject, "child"); 40ErrorUtilities.VerifyThrowInternalNull(importedProject, "child");
Definition\Toolset.cs (2)
351ErrorUtilities.VerifyThrowInternalNull(getFiles, nameof(getFiles)); 352ErrorUtilities.VerifyThrowInternalNull(loadXmlFromPath, nameof(loadXmlFromPath));
Definition\ToolsetPropertyDefinition.cs (1)
75ErrorUtilities.VerifyThrowInternalNull(value, "Value");
ErrorUtilities.cs (2)
149VerifyThrowInternalNull(parameterValue, parameterName); 159VerifyThrowInternalNull(parameterValue, parameterName);
Evaluation\Conditionals\Token.cs (1)
102ErrorUtilities.VerifyThrowInternalNull(tokenString, nameof(tokenString));
Evaluation\Evaluator.cs (5)
215ErrorUtilities.VerifyThrowInternalNull(data, nameof(data)); 216ErrorUtilities.VerifyThrowInternalNull(projectRootElementCache, nameof(projectRootElementCache)); 217ErrorUtilities.VerifyThrowInternalNull(evaluationContext, nameof(evaluationContext)); 218ErrorUtilities.VerifyThrowInternalNull(loggingService, nameof(loggingService)); 219ErrorUtilities.VerifyThrowInternalNull(buildEventContext, nameof(buildEventContext));
Evaluation\Expander.cs (5)
467ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation)); 488ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation)); 536ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation)); 610ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation)); 4937ErrorUtilities.VerifyThrowInternalNull(receiverType, $"Type information for {typeName} was present in the allowlist cache as {assemblyQualifiedTypeName} but the type could not be loaded.");
Evaluation\ProjectParser.cs (2)
99ErrorUtilities.VerifyThrowInternalNull(project, nameof(project)); 100ErrorUtilities.VerifyThrowInternalNull(document, nameof(document));
Evaluation\ProjectRootElementCache.cs (2)
350ErrorUtilities.VerifyThrowInternalNull(projectRootElement, "projectRootElement"); 586ErrorUtilities.VerifyThrowInternalNull(projectRootElement.FullPath, "FullPath");
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
46ErrorUtilities.VerifyThrowInternalNull(dataToWrap, nameof(dataToWrap)); 47ErrorUtilities.VerifyThrowInternalNull(evaluationLoggingContext, nameof(evaluationLoggingContext));
Evaluation\SimpleProjectRootElementCache.cs (1)
65ErrorUtilities.VerifyThrowInternalNull(rootElement, "projectRootElement");
Graph\ProjectGraphNode.cs (1)
30ErrorUtilities.VerifyThrowInternalNull(projectInstance, nameof(projectInstance));
Graph\ProjectInterpretation.cs (1)
389ErrorUtilities.VerifyThrowInternalNull(projectReference, nameof(projectReference));
Instance\ProjectInstance.cs (3)
369ErrorUtilities.VerifyThrowInternalNull(project, nameof(project)); 426ErrorUtilities.VerifyThrowInternalNull(linkedProject, nameof(linkedProject)); 641ErrorUtilities.VerifyThrowInternalNull(data, nameof(data));
Instance\ProjectItemGroupTaskInstance.cs (3)
53ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 54ErrorUtilities.VerifyThrowInternalNull(location, nameof(location)); 55ErrorUtilities.VerifyThrowInternalNull(items, nameof(items));
Instance\ProjectItemGroupTaskItemInstance.cs (9)
162ErrorUtilities.VerifyThrowInternalNull(itemType, nameof(itemType)); 163ErrorUtilities.VerifyThrowInternalNull(include, nameof(include)); 164ErrorUtilities.VerifyThrowInternalNull(exclude, nameof(exclude)); 165ErrorUtilities.VerifyThrowInternalNull(remove, nameof(remove)); 166ErrorUtilities.VerifyThrowInternalNull(keepMetadata, nameof(keepMetadata)); 167ErrorUtilities.VerifyThrowInternalNull(removeMetadata, nameof(removeMetadata)); 168ErrorUtilities.VerifyThrowInternalNull(keepDuplicates, nameof(keepDuplicates)); 169ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 170ErrorUtilities.VerifyThrowInternalNull(location, nameof(location));
Instance\ProjectItemGroupTaskMetadataInstance.cs (4)
50ErrorUtilities.VerifyThrowInternalNull(name, nameof(name)); 51ErrorUtilities.VerifyThrowInternalNull(value, nameof(value)); 52ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 53ErrorUtilities.VerifyThrowInternalNull(location, nameof(location));
Instance\ProjectItemInstance.cs (1)
2029ErrorUtilities.VerifyThrowInternalNull(source, nameof(source));
Instance\ProjectOnErrorInstance.cs (2)
59ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 60ErrorUtilities.VerifyThrowInternalNull(location, nameof(location));
Instance\ProjectPropertyGroupTaskInstance.cs (3)
53ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 54ErrorUtilities.VerifyThrowInternalNull(location, nameof(location)); 55ErrorUtilities.VerifyThrowInternalNull(properties, nameof(properties));
Instance\ProjectPropertyGroupTaskPropertyInstance.cs (4)
50ErrorUtilities.VerifyThrowInternalNull(name, nameof(name)); 51ErrorUtilities.VerifyThrowInternalNull(value, nameof(value)); 52ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 53ErrorUtilities.VerifyThrowInternalNull(location, nameof(location));
Instance\ProjectTargetInstance.cs (10)
166ErrorUtilities.VerifyThrowInternalNull(condition, nameof(condition)); 167ErrorUtilities.VerifyThrowInternalNull(inputs, nameof(inputs)); 168ErrorUtilities.VerifyThrowInternalNull(outputs, nameof(outputs)); 169ErrorUtilities.VerifyThrowInternalNull(keepDuplicateOutputs, nameof(keepDuplicateOutputs)); 170ErrorUtilities.VerifyThrowInternalNull(dependsOnTargets, nameof(dependsOnTargets)); 171ErrorUtilities.VerifyThrowInternalNull(beforeTargets, nameof(beforeTargets)); 172ErrorUtilities.VerifyThrowInternalNull(afterTargets, nameof(afterTargets)); 173ErrorUtilities.VerifyThrowInternalNull(location, nameof(location)); 174ErrorUtilities.VerifyThrowInternalNull(children, nameof(children)); 175ErrorUtilities.VerifyThrowInternalNull(onErrorChildren, nameof(onErrorChildren));
Instance\ProjectTaskInstance.cs (2)
101ErrorUtilities.VerifyThrowInternalNull(element, nameof(element)); 102ErrorUtilities.VerifyThrowInternalNull(outputs, nameof(outputs));
Instance\ProjectTaskOutputItemInstance.cs (3)
62ErrorUtilities.VerifyThrowInternalNull(location, nameof(location)); 63ErrorUtilities.VerifyThrowInternalNull(itemTypeLocation, nameof(itemTypeLocation)); 64ErrorUtilities.VerifyThrowInternalNull(taskParameterLocation, nameof(taskParameterLocation));
Instance\ProjectTaskOutputPropertyInstance.cs (3)
62ErrorUtilities.VerifyThrowInternalNull(location, nameof(location)); 63ErrorUtilities.VerifyThrowInternalNull(propertyNameLocation, nameof(propertyNameLocation)); 64ErrorUtilities.VerifyThrowInternalNull(taskParameterLocation, nameof(taskParameterLocation));
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
347ErrorUtilities.VerifyThrowInternalNull(buildComponentHost, nameof(buildComponentHost));
Instance\TaskFactories\TaskHostTask.cs (2)
142ErrorUtilities.VerifyThrowInternalNull(taskType, nameof(taskType)); 262ErrorUtilities.VerifyThrowInternalNull(_taskHostProvider, "taskHostProvider");
Instance\TaskFactoryLoggingHost.cs (1)
64ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation));
Instance\TaskRegistry.cs (5)
184ErrorUtilities.VerifyThrowInternalNull(projectRootElementCache, nameof(projectRootElementCache)); 204ErrorUtilities.VerifyThrowInternalNull(projectRootElementCache, nameof(projectRootElementCache)); 205ErrorUtilities.VerifyThrowInternalNull(toolset, nameof(toolset)); 298ErrorUtilities.VerifyThrowInternalNull(directoryOfImportingFile, nameof(directoryOfImportingFile)); 696ErrorUtilities.VerifyThrowInternalNull(assemblyLoadInfo, nameof(assemblyLoadInfo));
OutOfProcTaskHostTaskResult.cs (1)
65ErrorUtilities.VerifyThrowInternalNull(taskException, nameof(taskException));
PrintLineDebugger.cs (1)
30ErrorUtilities.VerifyThrowInternalNull(propertyInfo, nameof(propertyInfo));
ProjectErrorUtilities.cs (1)
255ErrorUtilities.VerifyThrowInternalNull(elementLocation, nameof(elementLocation));
ResourceUtilities.cs (1)
42ErrorUtilities.VerifyThrowInternalNull(message, nameof(message));
TaskHostTaskComplete.cs (1)
108ErrorUtilities.VerifyThrowInternalNull(result, nameof(result));
TaskParameter.cs (1)
771ErrorUtilities.VerifyThrowInternalNull(escapedItemSpec, nameof(escapedItemSpec));
Microsoft.Build.Conversion.Core (1)
ProjectFileConverter.cs (1)
766ErrorUtilities.VerifyThrowInternalNull(toRepairImport, nameof(toRepairImport));
Microsoft.Build.Framework.UnitTests (1)
ResourceUtilities.cs (1)
42ErrorUtilities.VerifyThrowInternalNull(message, nameof(message));
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
318ErrorUtilities.VerifyThrowInternalNull(Output, nameof(Output));