12 references to DirectMetadata
Microsoft.Build (6)
Instance\ProjectInstance.cs (5)
3340if (item.DirectMetadata != null) 3344IEnumerable<ProjectMetadataInstance> projectMetadataInstances = item.DirectMetadata.Select(directMetadatum => new ProjectMetadataInstance(directMetadatum)); 3392if (item.DirectMetadata is not null) 3394if (item.DirectMetadata is IDictionary<string, ProjectMetadata> metadataDict) 3402IEnumerable<ProjectMetadataInstance> projectMetadataInstances = item.DirectMetadata.Select(directMetadatum => new ProjectMetadataInstance(directMetadatum));
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemLink.cs (1)
39/// Facilitate remoting the <see cref="ProjectItem.DirectMetadata"/> and <see cref="ProjectItem.DirectMetadataCount"/>.
Microsoft.Build.Engine.OM.UnitTests (4)
Definition\ProjectItem_Tests.cs (1)
1900Assert.Equal(0, Helpers.Count(item.DirectMetadata));
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
224Verify(view.DirectMetadata, real.DirectMetadata, Verify, context);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
26public ICollection<MockProjectMetadataLinkRemoter> DirectMetadata => this.OwningCollection.ExportCollection<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.DirectMetadata);
Microsoft.Build.Engine.UnitTests (2)
Definition\ProjectItem_Tests.cs (2)
41Assert.True(Object.ReferenceEquals(item1.DirectMetadata.First().Xml, item2.DirectMetadata.First().Xml));