40 references to RawXml
Microsoft.Build (1)
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
61
/// Access to remote <see cref="ProjectRootElement.
RawXml
"/>.
Microsoft.Build.Engine.OM.UnitTests (28)
Construction\ProjectImportGroupElement_Tests.cs (3)
46
Helpers.CompareProjectXml(expectedContent, project.
RawXml
);
98
Helpers.CompareProjectXml(expectedContent, project.
RawXml
);
138
Helpers.CompareProjectXml(expectedContent, project.
RawXml
);
Construction\ProjectRootElement_Tests.cs (10)
1605
VerifyAssertLineByLine(changedProjectContents1, projectElement.
RawXml
);
1609
VerifyAssertLineByLine(changedProjectContents2, projectElement.
RawXml
);
1615
VerifyAssertLineByLine(changedProjectContents2, projectElement2.
RawXml
);
1865
var xml = projectElement.
RawXml
;
1890
Assert.NotEqual(xml, projectElement.
RawXml
);
1894
Assert.Equal(xml, projectElement.
RawXml
);
1905
Assert.Equal(pre.
RawXml
, pre2.
RawXml
);
1910
Assert.Equal(pre.
RawXml
, pre3.
RawXml
);
Construction\ProjectUsingTaskElement_Tests.cs (2)
528
Assert.Contains("TaskFactory", usingTask.ContainingProject.
RawXml
);
530
Assert.DoesNotContain("TaskFactory", usingTask.ContainingProject.
RawXml
);
Construction\UsingTaskBodyElement_Tests.cs (2)
119
Assert.Contains("Evaluate", body.ContainingProject.
RawXml
);
121
Assert.DoesNotContain("Evaluate", body.ContainingProject.
RawXml
);
Definition\DefinitionEditing_Tests.cs (4)
1142
string before = project.Xml.
RawXml
;
1147
Helpers.VerifyAssertLineByLine(before, project.Xml.
RawXml
);
2600
var initialXml = project.Xml.
RawXml
;
2607
Assert.Equal(initialXml, project.Xml.
RawXml
);
Definition\Project_Tests.cs (3)
273
XmlReader reader = XmlReader.Create(new StringReader(ProjectRootElement.Create().
RawXml
));
1770
project.Xml.
RawXml
.ShouldNotContain(itemToRemove.Xml.Include);
1771
project.Xml.
RawXml
.ShouldNotContain("*.foo");
Definition\ProjectCollection_Tests.cs (1)
1474
XmlReader reader = XmlReader.Create(new StringReader(xml.
RawXml
));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
762
var curiousOfHowToSpecifySdk = xmlPair.View.
RawXml
;
769
var curiousOfHowToSpecifySdk2 = xmlPair.View.
RawXml
;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
40
public string RawXml => this.ProjectXml.
RawXml
;
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildManager_Tests.cs (1)
2223
_env.CreateFile(data.ProjectFullPath, data.ProjectInstance.ToProjectRootElement().
RawXml
);
EscapingInProjects_Tests.cs (7)
222
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
267
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
316
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
372
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
434
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
475
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
517
Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.
RawXml
);
Evaluation\Evaluator_Tests.cs (1)
1154
Console.WriteLine(project.Xml.
RawXml
);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
819
string newActualProjectContents = project.Xml.
RawXml
;
1598
VerifyAssertLineByLine(expected, project.
RawXml
, ignoreFirstLineOfActual);