6 writes to ExecuteTargetsAttribute
Microsoft.Build (1)
Construction\ProjectOnErrorElement.cs (1)
78
var onError = new ProjectOnErrorElement(element, containingProject) {
ExecuteTargetsAttribute
= executeTargets };
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ProjectOnErrorElement_Tests.cs (4)
221
onError.
ExecuteTargetsAttribute
= "t2";
236
onError.
ExecuteTargetsAttribute
= null;
249
onError.
ExecuteTargetsAttribute
= String.Empty;
282
onError.
ExecuteTargetsAttribute
= "et2";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
780
onErr.VerifySetter("newErrTargt", (e) => e.ExecuteTargetsAttribute, (e, v) => e.
ExecuteTargetsAttribute
= v);
14 references to ExecuteTargetsAttribute
Microsoft.Build (2)
Construction\ProjectOnErrorElement.cs (1)
95
return owner.CreateOnErrorElement(
ExecuteTargetsAttribute
);
Evaluation\Evaluator.cs (1)
487
ProjectOnErrorInstance onError = new ProjectOnErrorInstance(projectOnErrorElement.
ExecuteTargetsAttribute
, projectOnErrorElement.Condition, projectOnErrorElement.Location, projectOnErrorElement.ExecuteTargetsLocation, projectOnErrorElement.ConditionLocation);
Microsoft.Build.Engine.OM.UnitTests (12)
Construction\ProjectOnErrorElement_Tests.cs (7)
28
Assert.Equal("t", onError.
ExecuteTargetsAttribute
);
57
Assert.Equal("1", onError1.
ExecuteTargetsAttribute
);
58
Assert.Equal("2", onError2.
ExecuteTargetsAttribute
);
84
Assert.Equal(String.Empty, onError.
ExecuteTargetsAttribute
);
110
Assert.Equal(String.Empty, onError.
ExecuteTargetsAttribute
);
223
Assert.Equal("t2", onError.
ExecuteTargetsAttribute
);
284
Assert.Equal("et2", onError.
ExecuteTargetsAttribute
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
973
Assert.Equal(realXml.
ExecuteTargetsAttribute
, viewXml.
ExecuteTargetsAttribute
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
163
newTarget1.Append2NewChildrenWithVerify<ProjectOnErrorElement>("errTarget", (p, et) => p.CreateOnErrorElement(et), (oe, et) => oe.
ExecuteTargetsAttribute
== et, out var newOnErr1, out var newOnErr2);
778
var onErr = newTarget.AppendNewChaildWithVerify<ProjectOnErrorElement>(ObjectType.View, "errTarget", (p, et) => p.CreateOnErrorElement(et), (oe, et) => oe.
ExecuteTargetsAttribute
== et);
780
onErr.VerifySetter("newErrTargt", (e) => e.
ExecuteTargetsAttribute
, (e, v) => e.ExecuteTargetsAttribute = v);