90 references to VerifyThrowArgumentNull
Microsoft.Build.Utilities.Core (88)
AssemblyFolders\AssemblyFoldersExInfo.cs (3)
24
ErrorUtilities.
VerifyThrowArgumentNull
(registryKey);
25
ErrorUtilities.
VerifyThrowArgumentNull
(directoryPath);
26
ErrorUtilities.
VerifyThrowArgumentNull
(targetFrameworkVersion);
AssemblyFolders\AssemblyFoldersFromConfigInfo.cs (2)
26
ErrorUtilities.
VerifyThrowArgumentNull
(directoryPath);
27
ErrorUtilities.
VerifyThrowArgumentNull
(targetFrameworkVersion);
AssemblyFoldersFromConfig.cs (2)
32
ErrorUtilities.
VerifyThrowArgumentNull
(configFile);
33
ErrorUtilities.
VerifyThrowArgumentNull
(targetRuntimeVersion);
AssemblyResources.cs (2)
56
ErrorUtilities.
VerifyThrowArgumentNull
(unformatted);
75
ErrorUtilities.
VerifyThrowArgumentNull
(resourceName);
CommandLineBuilder.cs (16)
250
ErrorUtilities.
VerifyThrowArgumentNull
(buffer);
402
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
437
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
481
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
498
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
547
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
568
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
569
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
600
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
601
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
638
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
659
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
679
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
680
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
710
ErrorUtilities.
VerifyThrowArgumentNull
(switchName);
711
ErrorUtilities.
VerifyThrowArgumentNull
(delimiter);
ErrorUtilities.cs (4)
494
VerifyThrowArgumentNull
(parameter, parameterName);
509
VerifyThrowArgumentNull
(parameter, parameterName);
541
VerifyThrowArgumentNull
(parameter, parameterName);
616
VerifyThrowArgumentNull
(array, arrayParameterName);
EventArgsFormatting.cs (5)
72
ErrorUtilities.
VerifyThrowArgumentNull
(e);
89
ErrorUtilities.
VerifyThrowArgumentNull
(e);
105
ErrorUtilities.
VerifyThrowArgumentNull
(e);
122
ErrorUtilities.
VerifyThrowArgumentNull
(e);
151
ErrorUtilities.
VerifyThrowArgumentNull
(e);
ExtensionFoldersRegistryKey.cs (2)
20
ErrorUtilities.
VerifyThrowArgumentNull
(registryKey);
21
ErrorUtilities.
VerifyThrowArgumentNull
(targetFrameworkVersion);
FileUtilities.cs (3)
1135
ErrorUtilities.
VerifyThrowArgumentNull
(basePath);
1273
ErrorUtilities.
VerifyThrowArgumentNull
(root);
1274
ErrorUtilities.
VerifyThrowArgumentNull
(paths);
FrameworkLocationHelper.cs (2)
975
ErrorUtilities.
VerifyThrowArgumentNull
(targetFrameworkRootPath);
976
ErrorUtilities.
VerifyThrowArgumentNull
(frameworkName);
TargetPlatformSDK.cs (2)
45
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformIdentifier);
46
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
TaskItem.cs (8)
100
ErrorUtilities.
VerifyThrowArgumentNull
(itemSpec);
119
ErrorUtilities.
VerifyThrowArgumentNull
(itemMetadata);
144
ErrorUtilities.
VerifyThrowArgumentNull
(sourceItem);
180
ErrorUtilities.
VerifyThrowArgumentNull
(value, nameof(ItemSpec));
263
ErrorUtilities.
VerifyThrowArgumentNull
(metadataName);
316
ErrorUtilities.
VerifyThrowArgumentNull
(destinationItem);
439
ErrorUtilities.
VerifyThrowArgumentNull
(taskItemToCast);
452
ErrorUtilities.
VerifyThrowArgumentNull
(metadataName);
TaskLoggingHelper.cs (23)
52
ErrorUtilities.
VerifyThrowArgumentNull
(taskInstance);
62
ErrorUtilities.
VerifyThrowArgumentNull
(buildEngine);
181
ErrorUtilities.
VerifyThrowArgumentNull
(message);
205
ErrorUtilities.
VerifyThrowArgumentNull
(resourceName);
225
ErrorUtilities.
VerifyThrowArgumentNull
(unformatted);
294
ErrorUtilities.
VerifyThrowArgumentNull
(message);
364
ErrorUtilities.
VerifyThrowArgumentNull
(message);
426
ErrorUtilities.
VerifyThrowArgumentNull
(message);
490
ErrorUtilities.
VerifyThrowArgumentNull
(messageResourceName);
514
ErrorUtilities.
VerifyThrowArgumentNull
(filePath);
515
ErrorUtilities.
VerifyThrowArgumentNull
(content);
605
ErrorUtilities.
VerifyThrowArgumentNull
(commandLine);
701
ErrorUtilities.
VerifyThrowArgumentNull
(message);
778
ErrorUtilities.
VerifyThrowArgumentNull
(messageResourceName);
861
ErrorUtilities.
VerifyThrowArgumentNull
(messageResourceName);
929
ErrorUtilities.
VerifyThrowArgumentNull
(exception);
1052
ErrorUtilities.
VerifyThrowArgumentNull
(message);
1148
ErrorUtilities.
VerifyThrowArgumentNull
(messageResourceName);
1229
ErrorUtilities.
VerifyThrowArgumentNull
(messageResourceName);
1281
ErrorUtilities.
VerifyThrowArgumentNull
(exception);
1323
ErrorUtilities.
VerifyThrowArgumentNull
(fileName);
1350
ErrorUtilities.
VerifyThrowArgumentNull
(stream);
1378
ErrorUtilities.
VerifyThrowArgumentNull
(lineOfText);
ToolLocationHelper.cs (14)
464
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
522
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
586
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
1285
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
1334
ErrorUtilities.
VerifyThrowArgumentNull
(sdkIdentifier);
1335
ErrorUtilities.
VerifyThrowArgumentNull
(sdkVersion);
1373
ErrorUtilities.
VerifyThrowArgumentNull
(sdkIdentifier);
1374
ErrorUtilities.
VerifyThrowArgumentNull
(sdkVersion);
1557
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
1586
ErrorUtilities.
VerifyThrowArgumentNull
(targetPlatformVersion);
1916
ErrorUtilities.
VerifyThrowArgumentNull
(targetFrameworkProfile);
1936
ErrorUtilities.
VerifyThrowArgumentNull
(frameworkName);
2216
ErrorUtilities.
VerifyThrowArgumentNull
(frameworkName);
2669
ErrorUtilities.
VerifyThrowArgumentNull
(platformMonikers, "PlatformMonikers");
Microsoft.Build.Utilities.UnitTests (2)
StringExtensions.cs (2)
18
ErrorUtilities.
VerifyThrowArgumentNull
(aString);
19
ErrorUtilities.
VerifyThrowArgumentNull
(oldValue);