9 references to CreateOnErrorElement
Microsoft.Build (2)
Construction\ProjectOnErrorElement.cs (1)
95return owner.CreateOnErrorElement(ExecuteTargetsAttribute);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
121/// Facilitate remoting the <see cref="ProjectRootElement.CreateOnErrorElement"/>.
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ProjectOnErrorElement_Tests.cs (2)
260ProjectOnErrorElement onError = project.CreateOnErrorElement("et"); 278ProjectOnErrorElement onError = project.CreateOnErrorElement("et");
Construction\ProjectRootElement_Tests.cs (1)
1176target.AppendChild(pre.CreateOnErrorElement("someTarget"));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
113xmlPair.CreateWithVerify<ProjectOnErrorElement>((p) => p.CreateOnErrorElement("target")); 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);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
84return (MockProjectOnErrorElementLinkRemoter)this.Export(this.ProjectXml.CreateOnErrorElement(executeTargets));