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