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