3 instantiations of ProjectUsingTaskBodyElement
Microsoft.Build (3)
Construction\ProjectUsingTaskBodyElement.cs (1)
131var taskElement = new ProjectUsingTaskBodyElement(element, containingProject)
Evaluation\ProjectParser.cs (1)
555child = new ProjectUsingTaskBodyElement(childElement, usingTask, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
216return new ProjectUsingTaskBodyElement(link);
36 references to ProjectUsingTaskBodyElement
Microsoft.Build (15)
Construction\ProjectRootElement.cs (2)
1468public ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body) 1470return Link != null ? RootLink.CreateUsingTaskBodyElement(evaluate, body) : ProjectUsingTaskBodyElement.CreateDisconnected(evaluate, body, this);
Construction\ProjectUsingTaskBodyElement.cs (2)
128internal static ProjectUsingTaskBodyElement CreateDisconnected(string evaluate, string body, ProjectRootElement containingProject) 131var taskElement = new ProjectUsingTaskBodyElement(element, containingProject)
Construction\ProjectUsingTaskElement.cs (5)
148public ProjectUsingTaskBodyElement TaskBody 152ProjectUsingTaskBodyElement body = LastChild as ProjectUsingTaskBodyElement; 219public ProjectUsingTaskBodyElement AddUsingTaskBody(string evaluate, string taskBody) 221ProjectUsingTaskBodyElement newTaskBody = ContainingProject.CreateUsingTaskBodyElement(evaluate, taskBody);
Instance\TaskRegistry.cs (2)
1619ProjectUsingTaskBodyElement taskElement = projectUsingTaskXml.TaskBody; 1638private void EvaluateTaskBody<P, I>(Expander<P, I> expander, ProjectUsingTaskBodyElement taskElement, ExpanderOptions expanderOptions)
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
178public abstract ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body);
ObjectModelRemoting\ConstructionObjectLinks\ProjectUsingTaskBodyElementLink.cs (2)
12/// Allow for creating a local representation to external object of type <see cref="ProjectUsingTaskBodyElement"/> 17/// Access to remote <see cref="ProjectUsingTaskBodyElement.TaskBody"/>.
ObjectModelRemoting\LinkedObjectFactory.cs (1)
214public ProjectUsingTaskBodyElement Create(ProjectUsingTaskBodyElementLink link)
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\UsingTaskBodyElement_Tests.cs (7)
26ProjectUsingTaskBodyElement body = GetBodyXml(); 77ProjectUsingTaskBodyElement body = GetBodyXml(); 91ProjectUsingTaskBodyElement body = GetBodyXml(); 107ProjectUsingTaskBodyElement body = GetBodyXml(); 118ProjectUsingTaskBodyElement body = GetBodyXml(); 128private static ProjectUsingTaskBodyElement GetBodyXml() 141ProjectUsingTaskBodyElement body = usingTask.TaskBody;
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
715public static void Verify(ProjectUsingTaskBodyElement viewXml, ProjectUsingTaskBodyElement realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
164if (VerifyCheckType<ProjectUsingTaskBodyElement>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
123xmlPair.CreateWithVerify<ProjectUsingTaskBodyElement>((p) => p.CreateUsingTaskBodyElement("eval", "body")); 500var body = usingTaskFile.AddNewChaildWithVerify<ProjectUsingTaskBodyElement>(ObjectType.View, "eval", (ut, e) => ut.AddUsingTaskBody(e, "body"), (ut, e) => true); 525var taskBody = usingTask.AddNewChaildWithVerify<ProjectUsingTaskBodyElement>(ObjectType.View, "eval", (ut, e) => ut.AddUsingTaskBody(e, "body"), (ut, e) => true);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
297var realCollection = preReal.AllChildren.OfType<ProjectUsingTaskBodyElement>().ToList(); 298var viewCollection = preView.AllChildren.OfType<ProjectUsingTaskBodyElement>().ToList();
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
306public override ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body) 308return (ProjectUsingTaskBodyElement)this.Proxy.CreateUsingTaskBodyElement(evaluate, body).Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (2)
14public ProjectUsingTaskBodyElement UsingTaskBodyXml => (ProjectUsingTaskBodyElement)Source;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
68ElementInfo.New<ProjectUsingTaskBodyElement , MockProjectUsingTaskBodyElementLinkRemoter>(),
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskRegistry_Tests.cs (1)
1792ProjectUsingTaskBodyElement bodyElement = taskElement.TaskBody;