6 writes to TaskBody
Microsoft.Build (1)
Construction\ProjectUsingTaskBodyElement.cs (1)
134
TaskBody
= body
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\UsingTaskBodyElement_Tests.cs (3)
80
body.
TaskBody
= "MoreContents";
94
body.
TaskBody
= String.Empty;
108
body.
TaskBody
= null;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
528
taskBody.VerifySetter("newBody", (tb) => tb.TaskBody, (tb, v) => tb.
TaskBody
= v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (1)
28
public string TaskBody { get => this.UsingTaskBodyXml.TaskBody; set => this.UsingTaskBodyXml.
TaskBody
= value; }
12 references to TaskBody
Microsoft.Build (5)
Construction\ProjectUsingTaskBodyElement.cs (2)
74
ErrorUtilities.VerifyThrowArgumentNull(value, nameof(
TaskBody
));
151
return 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)
29
Assert.Equal("Contents", body.
TaskBody
);
81
Assert.Equal("MoreContents", body.
TaskBody
);
95
Assert.Equal(String.Empty, body.
TaskBody
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
724
Assert.Equal(realXml.
TaskBody
, viewXml.
TaskBody
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
528
taskBody.VerifySetter("newBody", (tb) => tb.
TaskBody
, (tb, v) => tb.TaskBody = v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (1)
28
public string TaskBody { get => this.UsingTaskBodyXml.
TaskBody
; set => this.UsingTaskBodyXml.TaskBody = value; }