13 references to VerifyThrowArgument
Microsoft.Build.Engine (13)
Engine\BuildTask.cs (2)
348error.VerifyThrowArgument(!XMakeAttributes.IsSpecialTaskAttribute(attributeName), 394error.VerifyThrowArgument(!XMakeAttributes.IsSpecialTaskAttribute(parameterName),
Engine\Engine.cs (4)
1872error.VerifyThrowArgument(project != null, "MissingProject", "Project"); 2282error.VerifyThrowArgument(projectFiles[i].Length > 0, "projectFilesEmptyElement", i); 2489ErrorUtilities.VerifyThrowArgument(projectFileInfo.Exists, "ProjectFileNotFound", projectFile); 2881ErrorUtilities.VerifyThrowArgument(File.Exists(childProjectFile), "ProjectFileNotFound", childProjectFile);
Engine\Project.cs (1)
1763ErrorUtilities.VerifyThrowArgument(File.Exists(projectFileName), "ProjectFileNotFound", projectFileName);
Items\BuildItem.cs (3)
640ErrorUtilities.VerifyThrowArgument(value != null, "NullIncludeNotAllowed", XMakeAttributes.include); 1515ErrorUtilities.VerifyThrowArgument(!FileUtilities.IsDerivableItemSpecModifier(metadataName), 1610ErrorUtilities.VerifyThrowArgument(!FileUtilities.IsItemSpecModifier(metadataName), "Shared.CannotChangeItemSpecModifiers", metadataName);
Properties\BuildPropertyGroup.cs (1)
558error.VerifyThrowArgument(String.Equals(propertyName, value.Name, StringComparison.OrdinalIgnoreCase),
Shared\ConversionUtilities.cs (1)
40error.VerifyThrowArgument(false, "Shared.CannotConvertStringToBool", parameterValue);
Shared\FrameworkLocationHelper.cs (1)
394ErrorUtilities.VerifyThrowArgument(false, "FrameworkLocationHelper.UnsupportedFrameworkVersion", frameworkVersion);