99 references to VerifyThrowArgumentLength
Microsoft.Build (99)
BackEnd\BuildManager\BuildRequestData.cs (1)
219ErrorUtilities.VerifyThrowArgumentLength(projectFullPath, nameof(projectFullPath));
BackEnd\Components\RequestBuilder\TargetSpecification.cs (1)
28ErrorUtilities.VerifyThrowArgumentLength(targetName, nameof(targetName));
BackEnd\Shared\ConfigurationMetadata.cs (1)
54ErrorUtilities.VerifyThrowArgumentLength(projectFullPath, nameof(projectFullPath));
Collections\CopyOnWritePropertyDictionary.cs (1)
267ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Collections\PropertyDictionary.cs (1)
444ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Construction\ProjectExtensionsElement.cs (2)
104ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 119ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Construction\ProjectImportElement.cs (2)
58ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.project); 77ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.sdk);
Construction\ProjectImportGroupElement.cs (1)
64ErrorUtilities.VerifyThrowArgumentLength(project, nameof(project));
Construction\ProjectItemDefinitionElement.cs (1)
75ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Construction\ProjectItemElement.cs (2)
392ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 442ErrorUtilities.VerifyThrowArgumentLength(newItemType, nameof(newItemType));
Construction\ProjectItemGroupElement.cs (2)
102ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType)); 103ErrorUtilities.VerifyThrowArgumentLength(include, nameof(include));
Construction\ProjectMetadataElement.cs (1)
122ErrorUtilities.VerifyThrowArgumentLength(newName, nameof(newName));
Construction\ProjectOnErrorElement.cs (1)
59ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.executeTargets);
Construction\ProjectOutputElement.cs (1)
60ErrorUtilities.VerifyThrowArgumentLength(value, nameof(value));
Construction\ProjectPropertyElement.cs (1)
111ErrorUtilities.VerifyThrowArgumentLength(newName, nameof(newName));
Construction\ProjectPropertyGroupElement.cs (2)
61ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 78ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Construction\ProjectRootElement.cs (10)
217ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 400ErrorUtilities.VerifyThrowArgumentLength(value, nameof(value)); 785ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 856ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 876ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 913ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 930ErrorUtilities.VerifyThrowArgumentLength(project, nameof(project)); 987ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType)); 988ErrorUtilities.VerifyThrowArgumentLength(include, nameof(include)); 1064ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType));
Construction\ProjectSdkElement.cs (1)
49ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.sdkName);
Construction\ProjectTargetElement.cs (2)
100ErrorUtilities.VerifyThrowArgumentLength(value, nameof(value)); 381ErrorUtilities.VerifyThrowArgumentLength(taskName, nameof(taskName));
Construction\ProjectTaskElement.cs (7)
232ErrorUtilities.VerifyThrowArgumentLength(taskParameter, nameof(taskParameter)); 233ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType)); 262ErrorUtilities.VerifyThrowArgumentLength(taskParameter, nameof(taskParameter)); 263ErrorUtilities.VerifyThrowArgumentLength(propertyName, nameof(propertyName)); 299ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 325ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 414ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Construction\ProjectUsingTaskElement.cs (3)
56ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.assemblyName); 73ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.assemblyName); 88ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.taskName);
Construction\ProjectUsingTaskParameterElement.cs (1)
64ErrorUtilities.VerifyThrowArgumentLength(value, nameof(Name));
Construction\Solution\ProjectInSolution.cs (1)
480ErrorUtilities.VerifyThrowArgumentLength(newUniqueName, nameof(newUniqueName));
Construction\UsingTaskParameterGroupElement.cs (1)
80ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Definition\Project.cs (5)
2928ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 3056ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType)); 3057ErrorUtilities.VerifyThrowArgumentLength(unevaluatedInclude, nameof(unevaluatedInclude)); 3183ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 4628ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Definition\ProjectCollection.cs (4)
521ErrorUtilities.VerifyThrowArgumentLength(value, nameof(DefaultToolsVersion)); 1014ErrorUtilities.VerifyThrowArgumentLength(toolsVersion, nameof(toolsVersion)); 1058ErrorUtilities.VerifyThrowArgumentLength(toolsVersion, nameof(toolsVersion)); 1145ErrorUtilities.VerifyThrowArgumentLength(fileName, nameof(fileName));
Definition\ProjectItem.cs (4)
410ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 476ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 638ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 785ErrorUtilities.VerifyThrowArgumentLength(newItemType, "ItemType");
Definition\ProjectItemDefinition.cs (1)
59ErrorUtilities.VerifyThrowArgumentLength(itemType, nameof(itemType));
Definition\ProjectProperty.cs (1)
521ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Definition\SubToolset.cs (1)
39ErrorUtilities.VerifyThrowArgumentLength(subToolsetVersion, nameof(subToolsetVersion));
Definition\Toolset.cs (2)
272ErrorUtilities.VerifyThrowArgumentLength(toolsVersion, nameof(toolsVersion)); 273ErrorUtilities.VerifyThrowArgumentLength(toolsPath, nameof(toolsPath));
Definition\ToolsetPropertyDefinition.cs (1)
41ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Definition\ToolsetRegistryReader.cs (1)
238ErrorUtilities.VerifyThrowArgumentLength(subToolsetVersion, nameof(subToolsetVersion));
Errors\InvalidProjectFileException.cs (1)
219ErrorUtilities.VerifyThrowArgumentLength(message, nameof(message));
Evaluation\ConditionEvaluator.cs (1)
237ErrorUtilities.VerifyThrowArgumentLength(evaluationDirectory, nameof(evaluationDirectory));
Evaluation\Evaluator.cs (1)
351ErrorUtilities.VerifyThrowArgumentLength(unevaluatedIncludeEscaped, nameof(unevaluatedIncludeEscaped));
Evaluation\ProjectRootElementCache.cs (1)
398ErrorUtilities.VerifyThrowArgumentLength(oldFullPath, nameof(oldFullPath));
Evaluation\ToolsetProvider.cs (1)
69ErrorUtilities.VerifyThrowArgumentLength(toolsVersion, nameof(toolsVersion));
FileUtilities.cs (2)
464ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 1129ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path));
Graph\ProjectGraphEntryPoint.cs (1)
32ErrorUtilities.VerifyThrowArgumentLength(projectFile, nameof(projectFile));
Instance\ProjectInstance.cs (3)
295ErrorUtilities.VerifyThrowArgumentLength(projectFile, nameof(projectFile)); 613ErrorUtilities.VerifyThrowArgumentLength(projectFile, nameof(projectFile)); 2395ErrorUtilities.VerifyThrowArgumentLength(projectFile, nameof(projectFile));
Instance\ProjectItemInstance.cs (6)
194ErrorUtilities.VerifyThrowArgumentLength(value, "EvaluatedInclude"); 688ErrorUtilities.VerifyThrowArgumentLength(itemTypeToUse, "itemType"); 803ErrorUtilities.VerifyThrowArgumentLength(includeEscaped, nameof(includeEscaped)); 804ErrorUtilities.VerifyThrowArgumentLength(includeBeforeWildcardExpansionEscaped, nameof(includeBeforeWildcardExpansionEscaped)); 990ErrorUtilities.VerifyThrowArgumentLength(value, "IncludeEscaped"); 1287ErrorUtilities.VerifyThrowArgumentLength(metadataName, nameof(metadataName));
Instance\ProjectMetadataInstance.cs (1)
64ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
Instance\ProjectTaskInstance.cs (5)
164ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 340ErrorUtilities.VerifyThrowArgumentLength(taskOutputParameterName, nameof(taskOutputParameterName)); 341ErrorUtilities.VerifyThrowArgumentLength(itemName, nameof(itemName)); 353ErrorUtilities.VerifyThrowArgumentLength(taskOutputParameterName, nameof(taskOutputParameterName)); 354ErrorUtilities.VerifyThrowArgumentLength(propertyName, nameof(propertyName));
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
272ErrorUtilities.VerifyThrowArgumentLength(taskName, nameof(taskName)); 428ErrorUtilities.VerifyThrowArgumentLength(taskName, "TaskName");
Instance\TaskFactoryWrapper.cs (1)
86ErrorUtilities.VerifyThrowArgumentLength(taskName, nameof(taskName));
StringExtensions.cs (1)
20ErrorUtilities.VerifyThrowArgumentLength(oldValue, nameof(oldValue));
TaskLoggingHelper.cs (1)
62ErrorUtilities.VerifyThrowArgumentLength(taskName, nameof(taskName));
TaskParameter.cs (1)
862ErrorUtilities.VerifyThrowArgumentLength(metadataName, nameof(metadataName));
Utilities\RegistryKeyWrapper.cs (1)
163ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));
XmlUtilities.cs (2)
72ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name)); 91ErrorUtilities.VerifyThrowArgumentLength(name, nameof(name));