12 references to VerifyThrowArgument
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
1274ErrorUtilities.VerifyThrowArgument(
BackEnd\BuildManager\BuildParameters.cs (1)
521ErrorUtilities.VerifyThrowArgument(value > 0, "InvalidMaxNodeCount");
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
740ErrorUtilities.VerifyThrowArgument(ConversionUtilities.CanConvertStringToBool(value), "MSBuild.InvalidSkipNonexistentProjectValue");
Construction\ProjectElement.cs (1)
354ErrorUtilities.VerifyThrowArgument(GetType().IsEquivalentTo(element.GetType()), "CannotCopyFromElementOfThatType");
Construction\ProjectElementContainer.cs (2)
297ErrorUtilities.VerifyThrowArgument(child.Parent == this, "OM_NodeNotAlreadyParentedByThis"); 355ErrorUtilities.VerifyThrowArgument(GetType().IsEquivalentTo(element.GetType()), "CannotCopyFromElementOfThatType");
Construction\ProjectExtensionsElement.cs (1)
165ErrorUtilities.VerifyThrowArgument(GetType().IsEquivalentTo(element.GetType()), "CannotCopyFromElementOfThatType");
Evaluation\Context\EvaluationContext.cs (1)
97ErrorUtilities.VerifyThrowArgument(
Graph\GraphBuilder.cs (1)
262ErrorUtilities.VerifyThrowArgument(entryPoints.Count == 1, "StaticGraphAcceptsSingleSolutionEntryPoint");
Microsoft.Build.Conversion.Core (3)
ProjectFileConverter.cs (3)
376error.VerifyThrowArgument(!string.IsNullOrEmpty(this.oldProjectFile), 378error.VerifyThrowArgument(!string.IsNullOrEmpty(this.newProjectFile), 429error.VerifyThrowArgument(!string.IsNullOrEmpty(this.oldProjectFile),