3 overrides of Xml
Microsoft.Build (3)
Definition\ProjectProperty.cs (2)
448public override ProjectPropertyElement Xml 644public override ProjectPropertyElement Xml
ObjectModelRemoting\LinkedObjectFactory.cs (1)
353public override ProjectPropertyElement Xml => Link.Xml;
33 references to Xml
Microsoft.Build (11)
Definition\Project.cs (8)
2937property.Xml.Parent?.Parent != null && 2938ReferenceEquals(property.Xml.ContainingProject, Xml)) 2951property.UpdateEvaluatedValue(ExpandPropertyValueBestEffortLeaveEscaped(unevaluatedValue, property.Xml.Location)); 3158ErrorUtilities.VerifyThrowArgument(property.Xml.Parent != null, "OM_IncorrectObjectAssociation", "ProjectProperty", "Project"); 3159VerifyThrowInvalidOperationNotImported(property.Xml.ContainingProject); 3161ProjectElementContainer parent = property.Xml.Parent; 3163property.Xml.Parent.RemoveChild(property.Xml);
Definition\ProjectProperty.cs (2)
266Xml == other.Xml &&
ObjectModelRemoting\DefinitionObjectsLinks\ProjectPropertyLink.cs (1)
23/// Access to remote <see cref="ProjectProperty.Xml"/>.
Microsoft.Build.Engine.OM.UnitTests (10)
Definition\DefinitionEditing_Tests.cs (4)
1593property.Xml.Parent.RemoveAllChildren(); 1608property.Xml.Parent.Parent.RemoveAllChildren(); 1783property.Xml.Parent.RemoveAllChildren(); 1802property.Xml.Parent.Parent.RemoveAllChildren();
Definition\ProjectProperty_Tests.cs (2)
51Assert.NotNull(property.Xml); 74Assert.NotNull(property.Xml);
Definition\ProtectImports_Tests.cs (1)
620Assert.Equal(_importFilename, property.Xml.ContainingProject.FullPath); // "Property was not found in the imported project."
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
117Verify(view.Xml, real.Xml);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
22public MockProjectPropertyElementLinkRemoter Xml => (MockProjectPropertyElementLinkRemoter)this.ExportElement(this.Source.Xml);
Microsoft.Build.Engine.UnitTests (12)
Evaluation\Evaluator_Tests.cs (10)
1456Assert.True(Object.ReferenceEquals(xml1, property.Predecessor.Predecessor.Xml)); 1480ProjectRootElement predecessorXmlRoot = project.GetProperty("outdir").Predecessor.Xml.ContainingProject; 1922foreach (ProjectProperty property in project.AllEvaluatedProperties.TakeWhile(property => property.Xml == null)) 1928IEnumerable<ProjectProperty> nonImportedProperties = project.Properties.Where(property => property.Xml == null); 1949IEnumerable<ProjectProperty> restOfAllEvaluatedProperties = project.AllEvaluatedProperties.SkipWhile(property => property.Xml == null); 1961restOfAllEvaluatedProperties = project.AllEvaluatedProperties.SkipWhile(property => property.Xml == null); 2086foreach (ProjectProperty property in project.AllEvaluatedProperties.Where(property => property.Xml == null)) 2092IEnumerable<ProjectProperty> nonImportedProperties = project.Properties.Where(property => property.Xml == null); 2113IEnumerable<ProjectProperty> restOfAllEvaluatedProperties = project.AllEvaluatedProperties.Where(property => property.Xml != null); 2216IEnumerable<ProjectProperty> nonImportedProperties = project.Properties.Where(property => property.Xml == null);
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
825Assert.NotNull(property?.Xml?.ContainingProject?.FullPath); 827Assert.Equal(expectedContainingProjectPath, property.Xml.ContainingProject.FullPath);