140 references to VerifyThrowInternalNull
Microsoft.Build (138)
BackEnd\BuildManager\BuildManager.cs (1)
3166
ErrorUtilities.
VerifyThrowInternalNull
(inputCacheFiles);
BackEnd\BuildManager\BuildParameters.cs (2)
268
ErrorUtilities.
VerifyThrowInternalNull
(other);
713
ErrorUtilities.
VerifyThrowInternalNull
(value, "EnvironmentPropertiesInternal");
BackEnd\BuildManager\CacheAggregator.cs (2)
32
ErrorUtilities.
VerifyThrowInternalNull
(configCache);
33
ErrorUtilities.
VerifyThrowInternalNull
(resultsCache);
BackEnd\BuildManager\CacheSerialization.cs (3)
22
ErrorUtilities.
VerifyThrowInternalNull
(outputCacheFile);
130
ErrorUtilities.
VerifyThrowInternalNull
(configCache);
131
ErrorUtilities.
VerifyThrowInternalNull
(resultsCache);
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
63
ErrorUtilities.
VerifyThrowInternalNull
(_fileAccessManager, nameof(_fileAccessManager));
BackEnd\Components\Communications\NodeEndpointInProc.cs (2)
165
ErrorUtilities.
VerifyThrowInternalNull
(factory);
183
ErrorUtilities.
VerifyThrowInternalNull
(factory);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
503
ErrorUtilities.
VerifyThrowInternalNull
(buildRequest.ProjectInstance, nameof(buildRequest.ProjectInstance));
671
ErrorUtilities.
VerifyThrowInternalNull
(projectConfiguration.Attributes, nameof(projectConfiguration.Attributes));
711
ErrorUtilities.
VerifyThrowInternalNull
(requestConfiguration.Project, nameof(requestConfiguration.Project));
BackEnd\Components\RequestBuilder\Lookup.cs (3)
94
ErrorUtilities.
VerifyThrowInternalNull
(projectItems);
95
ErrorUtilities.
VerifyThrowInternalNull
(properties);
1182
ErrorUtilities.
VerifyThrowInternalNull
(value, "value");
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
552
ErrorUtilities.
VerifyThrowInternalNull
(targetResult, "targetResult");
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
522
ErrorUtilities.
VerifyThrowInternalNull
(_taskNode, "taskNode"); // taskNode should never be null when we're calling this method.
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
119
ErrorUtilities.
VerifyThrowInternalNull
(taskLocation);
BackEnd\Components\Scheduler\Scheduler.cs (1)
2036
ErrorUtilities.
VerifyThrowInternalNull
(parentRequest);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (3)
101
ErrorUtilities.
VerifyThrowInternalNull
(sdk);
102
ErrorUtilities.
VerifyThrowInternalNull
(loggingContext);
103
ErrorUtilities.
VerifyThrowInternalNull
(sdkReferenceLocation);
BackEnd\Node\ServerNodeBuildCommand.cs (1)
93
ErrorUtilities.
VerifyThrowInternalNull
(consoleConfiguration);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
811
ErrorUtilities.
VerifyThrowInternalNull
(Project);
BackEnd\Shared\EventsCreatorHelper.cs (8)
18
ErrorUtilities.
VerifyThrowInternalNull
(buildEventContext);
19
ErrorUtilities.
VerifyThrowInternalNull
(message);
35
ErrorUtilities.
VerifyThrowInternalNull
(buildEventContext);
36
ErrorUtilities.
VerifyThrowInternalNull
(file);
37
ErrorUtilities.
VerifyThrowInternalNull
(message);
66
ErrorUtilities.
VerifyThrowInternalNull
(buildEventContext);
67
ErrorUtilities.
VerifyThrowInternalNull
(file);
68
ErrorUtilities.
VerifyThrowInternalNull
(message);
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
37
ErrorUtilities.
VerifyThrowInternalNull
(buildEvent);
Collections\CopyOnWritePropertyDictionary.cs (2)
106
ErrorUtilities.
VerifyThrowInternalNull
(value, "Properties can't have null value");
250
ErrorUtilities.
VerifyThrowInternalNull
(value, "Properties can't have null value");
Collections\PropertyDictionary.cs (1)
202
ErrorUtilities.
VerifyThrowInternalNull
(value, "Properties can't have null value");
CommunicationsUtilities.cs (1)
291
ErrorUtilities.
VerifyThrowInternalNull
(DebugUtils.ProcessInfoString, nameof(DebugUtils.DebugPath));
Construction\ProjectElement.cs (1)
620
ErrorUtilities.
VerifyThrowInternalNull
(containingProject);
Definition\Project.cs (5)
1808
ErrorUtilities.
VerifyThrowInternalNull
(otherXml);
3584
ErrorUtilities.
VerifyThrowInternalNull
(otherXml);
4388
ErrorUtilities.
VerifyThrowInternalNull
(property);
4400
ErrorUtilities.
VerifyThrowInternalNull
(itemDefinitionMetadatum);
4412
ErrorUtilities.
VerifyThrowInternalNull
(item);
Definition\ProjectItem.cs (3)
130
ErrorUtilities.
VerifyThrowInternalNull
(project);
1020
ErrorUtilities.
VerifyThrowInternalNull
(_xml, "xml");
1044
ErrorUtilities.
VerifyThrowInternalNull
(_xml, "xml");
Definition\ProjectItemDefinition.cs (1)
58
ErrorUtilities.
VerifyThrowInternalNull
(project);
Definition\ResolvedImport.cs (2)
26
ErrorUtilities.
VerifyThrowInternalNull
(importedProject, "child");
40
ErrorUtilities.
VerifyThrowInternalNull
(importedProject, "child");
Definition\Toolset.cs (2)
352
ErrorUtilities.
VerifyThrowInternalNull
(getFiles);
353
ErrorUtilities.
VerifyThrowInternalNull
(loadXmlFromPath);
Definition\ToolsetPropertyDefinition.cs (1)
75
ErrorUtilities.
VerifyThrowInternalNull
(value, "Value");
ErrorUtilities.cs (2)
152
VerifyThrowInternalNull
(parameterValue, parameterName);
162
VerifyThrowInternalNull
(parameterValue, parameterName);
Evaluation\Conditionals\Token.cs (1)
102
ErrorUtilities.
VerifyThrowInternalNull
(tokenString);
Evaluation\Evaluator.cs (5)
216
ErrorUtilities.
VerifyThrowInternalNull
(data);
217
ErrorUtilities.
VerifyThrowInternalNull
(projectRootElementCache);
218
ErrorUtilities.
VerifyThrowInternalNull
(evaluationContext);
219
ErrorUtilities.
VerifyThrowInternalNull
(loggingService);
220
ErrorUtilities.
VerifyThrowInternalNull
(buildEventContext);
Evaluation\Expander.cs (5)
496
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
517
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
565
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
639
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
5063
ErrorUtilities.
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)
99
ErrorUtilities.
VerifyThrowInternalNull
(project);
100
ErrorUtilities.
VerifyThrowInternalNull
(document);
Evaluation\ProjectRootElementCache.cs (2)
350
ErrorUtilities.
VerifyThrowInternalNull
(projectRootElement, "projectRootElement");
539
ErrorUtilities.
VerifyThrowInternalNull
(projectRootElement.FullPath, "FullPath");
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
46
ErrorUtilities.
VerifyThrowInternalNull
(dataToWrap);
47
ErrorUtilities.
VerifyThrowInternalNull
(evaluationLoggingContext);
Evaluation\SimpleProjectRootElementCache.cs (1)
65
ErrorUtilities.
VerifyThrowInternalNull
(rootElement, "projectRootElement");
Graph\ProjectGraphNode.cs (1)
30
ErrorUtilities.
VerifyThrowInternalNull
(projectInstance);
Graph\ProjectInterpretation.cs (1)
385
ErrorUtilities.
VerifyThrowInternalNull
(projectReference);
Instance\ProjectInstance.cs (3)
371
ErrorUtilities.
VerifyThrowInternalNull
(project);
428
ErrorUtilities.
VerifyThrowInternalNull
(linkedProject);
643
ErrorUtilities.
VerifyThrowInternalNull
(data);
Instance\ProjectItemGroupTaskInstance.cs (3)
53
ErrorUtilities.
VerifyThrowInternalNull
(condition);
54
ErrorUtilities.
VerifyThrowInternalNull
(location);
55
ErrorUtilities.
VerifyThrowInternalNull
(items);
Instance\ProjectItemGroupTaskItemInstance.cs (9)
162
ErrorUtilities.
VerifyThrowInternalNull
(itemType);
163
ErrorUtilities.
VerifyThrowInternalNull
(include);
164
ErrorUtilities.
VerifyThrowInternalNull
(exclude);
165
ErrorUtilities.
VerifyThrowInternalNull
(remove);
166
ErrorUtilities.
VerifyThrowInternalNull
(keepMetadata);
167
ErrorUtilities.
VerifyThrowInternalNull
(removeMetadata);
168
ErrorUtilities.
VerifyThrowInternalNull
(keepDuplicates);
169
ErrorUtilities.
VerifyThrowInternalNull
(condition);
170
ErrorUtilities.
VerifyThrowInternalNull
(location);
Instance\ProjectItemGroupTaskMetadataInstance.cs (4)
50
ErrorUtilities.
VerifyThrowInternalNull
(name);
51
ErrorUtilities.
VerifyThrowInternalNull
(value);
52
ErrorUtilities.
VerifyThrowInternalNull
(condition);
53
ErrorUtilities.
VerifyThrowInternalNull
(location);
Instance\ProjectItemInstance.cs (1)
2078
ErrorUtilities.
VerifyThrowInternalNull
(source);
Instance\ProjectOnErrorInstance.cs (2)
59
ErrorUtilities.
VerifyThrowInternalNull
(condition);
60
ErrorUtilities.
VerifyThrowInternalNull
(location);
Instance\ProjectPropertyGroupTaskInstance.cs (3)
53
ErrorUtilities.
VerifyThrowInternalNull
(condition);
54
ErrorUtilities.
VerifyThrowInternalNull
(location);
55
ErrorUtilities.
VerifyThrowInternalNull
(properties);
Instance\ProjectPropertyGroupTaskPropertyInstance.cs (4)
50
ErrorUtilities.
VerifyThrowInternalNull
(name);
51
ErrorUtilities.
VerifyThrowInternalNull
(value);
52
ErrorUtilities.
VerifyThrowInternalNull
(condition);
53
ErrorUtilities.
VerifyThrowInternalNull
(location);
Instance\ProjectTargetInstance.cs (10)
166
ErrorUtilities.
VerifyThrowInternalNull
(condition);
167
ErrorUtilities.
VerifyThrowInternalNull
(inputs);
168
ErrorUtilities.
VerifyThrowInternalNull
(outputs);
169
ErrorUtilities.
VerifyThrowInternalNull
(keepDuplicateOutputs);
170
ErrorUtilities.
VerifyThrowInternalNull
(dependsOnTargets);
171
ErrorUtilities.
VerifyThrowInternalNull
(beforeTargets);
172
ErrorUtilities.
VerifyThrowInternalNull
(afterTargets);
173
ErrorUtilities.
VerifyThrowInternalNull
(location);
174
ErrorUtilities.
VerifyThrowInternalNull
(children);
175
ErrorUtilities.
VerifyThrowInternalNull
(onErrorChildren);
Instance\ProjectTaskInstance.cs (2)
101
ErrorUtilities.
VerifyThrowInternalNull
(element);
102
ErrorUtilities.
VerifyThrowInternalNull
(outputs);
Instance\ProjectTaskOutputItemInstance.cs (3)
62
ErrorUtilities.
VerifyThrowInternalNull
(location);
63
ErrorUtilities.
VerifyThrowInternalNull
(itemTypeLocation);
64
ErrorUtilities.
VerifyThrowInternalNull
(taskParameterLocation);
Instance\ProjectTaskOutputPropertyInstance.cs (3)
62
ErrorUtilities.
VerifyThrowInternalNull
(location);
63
ErrorUtilities.
VerifyThrowInternalNull
(propertyNameLocation);
64
ErrorUtilities.
VerifyThrowInternalNull
(taskParameterLocation);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
347
ErrorUtilities.
VerifyThrowInternalNull
(buildComponentHost);
Instance\TaskFactories\TaskHostTask.cs (2)
142
ErrorUtilities.
VerifyThrowInternalNull
(taskType);
262
ErrorUtilities.
VerifyThrowInternalNull
(_taskHostProvider, "taskHostProvider");
Instance\TaskFactoryLoggingHost.cs (1)
64
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
Instance\TaskRegistry.cs (5)
185
ErrorUtilities.
VerifyThrowInternalNull
(projectRootElementCache);
205
ErrorUtilities.
VerifyThrowInternalNull
(projectRootElementCache);
206
ErrorUtilities.
VerifyThrowInternalNull
(toolset);
296
ErrorUtilities.
VerifyThrowInternalNull
(directoryOfImportingFile);
692
ErrorUtilities.
VerifyThrowInternalNull
(assemblyLoadInfo);
OutOfProcTaskHostTaskResult.cs (1)
65
ErrorUtilities.
VerifyThrowInternalNull
(taskException);
PrintLineDebugger.cs (1)
30
ErrorUtilities.
VerifyThrowInternalNull
(propertyInfo);
ProjectErrorUtilities.cs (1)
255
ErrorUtilities.
VerifyThrowInternalNull
(elementLocation);
ResourceUtilities.cs (1)
42
ErrorUtilities.
VerifyThrowInternalNull
(message);
TaskHostTaskComplete.cs (1)
108
ErrorUtilities.
VerifyThrowInternalNull
(result);
TaskParameter.cs (1)
757
ErrorUtilities.
VerifyThrowInternalNull
(escapedItemSpec);
Microsoft.Build.Framework.UnitTests (1)
ResourceUtilities.cs (1)
42
ErrorUtilities.
VerifyThrowInternalNull
(message);
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
318
ErrorUtilities.
VerifyThrowInternalNull
(Output);