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)
46Helpers.CompareProjectXml(expectedContent, project.RawXml); 98Helpers.CompareProjectXml(expectedContent, project.RawXml); 138Helpers.CompareProjectXml(expectedContent, project.RawXml);
Construction\ProjectRootElement_Tests.cs (10)
1605VerifyAssertLineByLine(changedProjectContents1, projectElement.RawXml); 1609VerifyAssertLineByLine(changedProjectContents2, projectElement.RawXml); 1615VerifyAssertLineByLine(changedProjectContents2, projectElement2.RawXml); 1865var xml = projectElement.RawXml; 1890Assert.NotEqual(xml, projectElement.RawXml); 1894Assert.Equal(xml, projectElement.RawXml); 1905Assert.Equal(pre.RawXml, pre2.RawXml); 1910Assert.Equal(pre.RawXml, pre3.RawXml);
Construction\ProjectUsingTaskElement_Tests.cs (2)
528Assert.Contains("TaskFactory", usingTask.ContainingProject.RawXml); 530Assert.DoesNotContain("TaskFactory", usingTask.ContainingProject.RawXml);
Construction\UsingTaskBodyElement_Tests.cs (2)
119Assert.Contains("Evaluate", body.ContainingProject.RawXml); 121Assert.DoesNotContain("Evaluate", body.ContainingProject.RawXml);
Definition\DefinitionEditing_Tests.cs (4)
1142string before = project.Xml.RawXml; 1147Helpers.VerifyAssertLineByLine(before, project.Xml.RawXml); 2600var initialXml = project.Xml.RawXml; 2607Assert.Equal(initialXml, project.Xml.RawXml);
Definition\Project_Tests.cs (3)
273XmlReader reader = XmlReader.Create(new StringReader(ProjectRootElement.Create().RawXml)); 1770project.Xml.RawXml.ShouldNotContain(itemToRemove.Xml.Include); 1771project.Xml.RawXml.ShouldNotContain("*.foo");
Definition\ProjectCollection_Tests.cs (1)
1474XmlReader reader = XmlReader.Create(new StringReader(xml.RawXml));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
762var curiousOfHowToSpecifySdk = xmlPair.View.RawXml; 769var curiousOfHowToSpecifySdk2 = xmlPair.View.RawXml;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
40public 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)
222Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 267Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 316Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 372Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 434Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 475Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml); 517Helpers.CompareProjectXml(projectNewExpectedContents, project.Xml.RawXml);
Evaluation\Evaluator_Tests.cs (1)
1154Console.WriteLine(project.Xml.RawXml);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
819string newActualProjectContents = project.Xml.RawXml; 1598VerifyAssertLineByLine(expected, project.RawXml, ignoreFirstLineOfActual);