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