9 references to DirectMetadataCount
Microsoft.Build (3)
Definition\ProjectItem.cs (2)
1058
if (source.
DirectMetadataCount
> 0)
1060
directMetadataClone = new PropertyDictionary<ProjectMetadata>(source.
DirectMetadataCount
);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemLink.cs (1)
39
/// Facilitate remoting the <see cref="ProjectItem.DirectMetadata"/> and <see cref="ProjectItem.
DirectMetadataCount
"/>.
Microsoft.Build.Engine.OM.UnitTests (3)
Definition\ProjectItem_Tests.cs (1)
1899
Assert.Equal(0, item.
DirectMetadataCount
);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
223
Assert.Equal(real.
DirectMetadataCount
, view.
DirectMetadataCount
);
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
219
public int DirectMetadataCount => _projectInstance.
DirectMetadataCount
;
464
item.
DirectMetadataCount
.ShouldBe(1, customMessage: $"Expected 1 metadata, ({key}), got {item.
DirectMetadataCount
}");