12 references to DirectMetadata
Microsoft.Build (6)
Instance\ProjectInstance.cs (5)
3340
if (item.
DirectMetadata
!= null)
3344
IEnumerable<ProjectMetadataInstance> projectMetadataInstances = item.
DirectMetadata
.Select(directMetadatum => new ProjectMetadataInstance(directMetadatum));
3392
if (item.
DirectMetadata
is not null)
3394
if (item.
DirectMetadata
is IDictionary<string, ProjectMetadata> metadataDict)
3402
IEnumerable<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)
1900
Assert.Equal(0, Helpers.Count(item.
DirectMetadata
));
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
224
Verify(view.
DirectMetadata
, real.
DirectMetadata
, Verify, context);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
26
public ICollection<MockProjectMetadataLinkRemoter> DirectMetadata => this.OwningCollection.ExportCollection<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.
DirectMetadata
);
Microsoft.Build.Engine.UnitTests (2)
Definition\ProjectItem_Tests.cs (2)
41
Assert.True(Object.ReferenceEquals(item1.
DirectMetadata
.First().Xml, item2.
DirectMetadata
.First().Xml));