26 references to SetParameter
Microsoft.Build (5)
Construction\Solution\SolutionProjectGenerator.cs (3)
334task.SetParameter("Text", text); 338task.SetParameter("Code", EscapingUtilities.Escape(code)); 343task.SetParameter("HelpKeyword", EscapingUtilities.Escape(helpKeyword));
Instance\ProjectTargetInstance.cs (1)
489taskElement.SetParameter(taskParameterEntry.Key, taskParameterEntry.Value);
ObjectModelRemoting\ConstructionObjectLinks\ProjectTaskElementLink.cs (1)
33/// Facilitate remoting the <see cref="ProjectTaskElement.SetParameter"/>.
Microsoft.Build.Engine.OM.UnitTests (11)
Construction\ConstructionEditing_Tests.cs (2)
2755element.SetParameter("p", "v"); 3014element.SetParameter("p", "v");
Construction\ProjectTaskElement_Tests.cs (6)
159task.SetParameter("p1", "v1b"); 176task.SetParameter("p1", null); 189task.SetParameter("ContinueOnError", "v"); 202task.SetParameter("Condition", "c"); 215task.SetParameter(null, "v1"); 227task.SetParameter("p2", "v2");
Instance\ProjectInstance_Tests.cs (1)
382xml.AddTarget("t").AddTask("Message").SetParameter("Text", "[OK]");
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
265newTask.VerifySetter(paramValue.Ver(i), (t) => t.GetParameter(paramName.Ver(i)), (t, v) => t.SetParameter(paramName.Ver(i), v));
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTaskElementLink.cs (1)
37public void SetParameter(string name, string unevaluatedValue) { this.TaskXml.SetParameter(name, unevaluatedValue); }
Microsoft.Build.Engine.UnitTests (10)
BackEnd\BuildManager_Tests.cs (3)
3645buildTask.SetParameter("Projects", "@(ProjectReference)"); 3646buildTask.SetParameter("BuildInParallel", "true"); 3647buildTask.SetParameter("Targets", "ChildBuild");
Evaluation\Evaluator_Tests.cs (7)
5161target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFileDirectory=$(MSBuildThisFileDirectory)"); 5162target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFileDirectoryNoRoot=$(MSBuildThisFileDirectoryNoRoot)"); 5163target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFile=$(MSBuildThisFile)"); 5164target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFileExtension=$(MSBuildThisFileExtension)"); 5165target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFileFullPath=$(MSBuildThisFileFullPath)"); 5166target.AddTask("Message").SetParameter("Text", prefix + ": MSBuildThisFileName=$(MSBuildThisFileName)"); 5176target.AddTask("Message").SetParameter("Text", "[$(MSBuildThisFile)]");