13 implementations of MetadataCount
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
328public int MetadataCount 964public int MetadataCount
TaskParameter.cs (1)
805public int MetadataCount
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TaskRegistry_Tests.cs (1)
2281public int MetadataCount
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
48public int MetadataCount => throw new NotImplementedException();
MockTask.cs (1)
438public int MetadataCount
TaskThatReturnsMinimalItem.cs (1)
34public int MetadataCount => throw new NotImplementedException();
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
55public int MetadataCount => Metadata.Count;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\SimpleTaskItem.cs (1)
20public int MetadataCount => Metadata.Count;
Microsoft.Build.Tasks.UnitTests (1)
GenerateBindingRedirects_Tests.cs (1)
392int ITaskItem.MetadataCount { get; }
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
216public int MetadataCount => (_metadata?.Count ?? 0) + FileUtilities.ItemSpecModifiers.All.Length;
MSBuild (1)
TaskParameter.cs (1)
805public int MetadataCount
MSBuildTaskHost (1)
TaskParameter.cs (1)
805public int MetadataCount
7 references to MetadataCount
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectItemInstance_Tests.cs (2)
331Assert.Equal(1 + BuiltInMetadataCount, taskItem.MetadataCount); 424Assert.Equal(0 + BuiltInMetadataCount, taskItem.MetadataCount);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1382Assert.Equal(BuiltInMetadata.MetadataCount, actualItem.MetadataCount);
Microsoft.Build.Tasks.UnitTests (4)
AssignLinkMetadata_Tests.cs (4)
80Assert.Equal(item.MetadataCount + 2, t.OutputItems[0].MetadataCount); 107Assert.Equal(item2.MetadataCount + 2, t.OutputItems[0].MetadataCount);