9 references to CreateOnErrorElement
Microsoft.Build (2)
Construction\ProjectOnErrorElement.cs (1)
95
return 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)
260
ProjectOnErrorElement onError = project.
CreateOnErrorElement
("et");
278
ProjectOnErrorElement onError = project.
CreateOnErrorElement
("et");
Construction\ProjectRootElement_Tests.cs (1)
1176
target.AppendChild(pre.
CreateOnErrorElement
("someTarget"));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
113
xmlPair.CreateWithVerify<ProjectOnErrorElement>((p) => p.
CreateOnErrorElement
("target"));
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);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
84
return (MockProjectOnErrorElementLinkRemoter)this.Export(this.ProjectXml.
CreateOnErrorElement
(executeTargets));