9 references to DirectMetadataCount
Microsoft.Build (3)
Definition\ProjectItem.cs (2)
1058if (source.DirectMetadataCount > 0) 1060directMetadataClone = 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)
1899Assert.Equal(0, item.DirectMetadataCount);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
223Assert.Equal(real.DirectMetadataCount, view.DirectMetadataCount);
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
219public int DirectMetadataCount => _projectInstance.DirectMetadataCount; 464item.DirectMetadataCount.ShouldBe(1, customMessage: $"Expected 1 metadata, ({key}), got {item.DirectMetadataCount}");