6 writes to TaskBody
Microsoft.Build (1)
Construction\ProjectUsingTaskBodyElement.cs (1)
134TaskBody = body
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\UsingTaskBodyElement_Tests.cs (3)
80body.TaskBody = "MoreContents"; 94body.TaskBody = String.Empty; 108body.TaskBody = null;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
528taskBody.VerifySetter("newBody", (tb) => tb.TaskBody, (tb, v) => tb.TaskBody = v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (1)
28public string TaskBody { get => this.UsingTaskBodyXml.TaskBody; set => this.UsingTaskBodyXml.TaskBody = value; }
12 references to TaskBody
Microsoft.Build (5)
Construction\ProjectUsingTaskBodyElement.cs (2)
74ErrorUtilities.VerifyThrowArgumentNull(value, nameof(TaskBody)); 151return owner.CreateUsingTaskBodyElement(Evaluate, TaskBody);
Instance\TaskRegistry.cs (2)
1661_inlineTaskXmlBody = expander.ExpandIntoStringLeaveEscaped(taskElement.TaskBody, expanderOptions, taskElement.Location); 1665_inlineTaskXmlBody = taskElement.TaskBody;
ObjectModelRemoting\ConstructionObjectLinks\ProjectUsingTaskBodyElementLink.cs (1)
17/// Access to remote <see cref="ProjectUsingTaskBodyElement.TaskBody"/>.
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\UsingTaskBodyElement_Tests.cs (3)
29Assert.Equal("Contents", body.TaskBody); 81Assert.Equal("MoreContents", body.TaskBody); 95Assert.Equal(String.Empty, body.TaskBody);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
724Assert.Equal(realXml.TaskBody, viewXml.TaskBody);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
528taskBody.VerifySetter("newBody", (tb) => tb.TaskBody, (tb, v) => tb.TaskBody = v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (1)
28public string TaskBody { get => this.UsingTaskBodyXml.TaskBody; set => this.UsingTaskBodyXml.TaskBody = value; }