7 writes to TaskParameter
Microsoft.Build (1)
Construction\ProjectOutputElement.cs (1)
150var output = new ProjectOutputElement(element, containingProject) { TaskParameter = taskParameter };
Microsoft.Build.Engine.OM.UnitTests (6)
Construction\ConstructionEditing_Tests.cs (4)
2777element.TaskParameter = "tp2"; 2799element.TaskParameter = "tp2"; 3036element.TaskParameter = "tp2"; 3058element.TaskParameter = "tp2";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
335newOutputItem.VerifySetter(NewOutputItem.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v); 336newOutputProp.VerifySetter(NewOutputProperty.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v);
16 references to TaskParameter
Microsoft.Build (3)
Construction\ProjectOutputElement.cs (1)
176return owner.CreateOutputElement(TaskParameter, ItemType, PropertyName);
Evaluation\Evaluator.cs (2)
434output.TaskParameter, 447output.TaskParameter,
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectOutputElement_Tests.cs (2)
30Assert.Equal("p", output.TaskParameter); 45Assert.Equal("p", output.TaskParameter);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
706Assert.Equal(realXml.TaskParameter, viewXml.TaskParameter);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (9)
228newTask.Add2NewChildrenWithVerify<ProjectOutputElement>(NewOutputItem, (t, n) => t.AddOutputItem(n, "CPP"), (oi, n) => oi.TaskParameter == n, out var newOutputItem1, out var newOutputItem2); 234newTask.Add2NewChildrenWithVerify<ProjectOutputElement>(NewOutputItemWithConfig, (t, n) => t.AddOutputItem(n, "source", "'Configuration'='Foo'"), (oi, n) => oi.TaskParameter == n, out var newOutputItemWithConfig1, out var newOutputItemWithConfig2); 239newTask.Add2NewChildrenWithVerify<ProjectOutputElement>(NewOutputProperty, (t, n) => t.AddOutputProperty(n, "taskprop"), (oi, n) => oi.TaskParameter == n, out var newOutputProp1, out var newOutputProp2); 245newTask.Add2NewChildrenWithVerify<ProjectOutputElement>(NewOutputPropertyWithConfig, (t, n) => t.AddOutputProperty(n, "source", "'Configuration'='Foo'"), (oi, n) => oi.TaskParameter == n, out var newOutputPropWithConfig1, out var newOutputPropWithConfig2); 308newTask.QueryChildrenWithValidation<ProjectOutputElement>((po) => po.TaskParameter.EndsWith("1"), 4); 324var newOutputItem = newTask.AddNewChaildWithVerify<ProjectOutputElement>(ObjectType.View, NewOutputItem, (t, n) => t.AddOutputItem(n, ItemType), (oi, n) => oi.TaskParameter == n); 331var newOutputProp = newTask.AddNewChaildWithVerify<ProjectOutputElement>(ObjectType.View, NewOutputProperty, (t, n) => t.AddOutputProperty(n, PropertyName), (oi, n) => oi.TaskParameter == n); 335newOutputItem.VerifySetter(NewOutputItem.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v); 336newOutputProp.VerifySetter(NewOutputProperty.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v);