13 implementations of MetadataNames
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
315ICollection ITaskItem.MetadataNames 941public ICollection MetadataNames
TaskParameter.cs (1)
789public ICollection MetadataNames
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TaskRegistry_Tests.cs (1)
2273public ICollection MetadataNames
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
50ICollection ITaskItem.MetadataNames => throw new NotImplementedException();
MockTask.cs (1)
430public ICollection MetadataNames
TaskThatReturnsMinimalItem.cs (1)
32public ICollection MetadataNames => throw new NotImplementedException();
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
57public ICollection MetadataNames => (ICollection)Metadata.Keys;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\SimpleTaskItem.cs (1)
18public ICollection MetadataNames => Metadata.Keys;
Microsoft.Build.Tasks.UnitTests (1)
GenerateBindingRedirects_Tests.cs (1)
390ICollection ITaskItem.MetadataNames { get; }
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
210public ICollection MetadataNames
MSBuild (1)
TaskParameter.cs (1)
789public ICollection MetadataNames
MSBuildTaskHost (1)
TaskParameter.cs (1)
789public ICollection MetadataNames
11 references to MetadataNames
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectItemInstance_Tests.cs (2)
332Assert.Equal(1 + BuiltInMetadataCount, taskItem.MetadataNames.Count); 425Assert.Equal(0 + BuiltInMetadataCount, taskItem.MetadataNames.Count);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TranslationHelpers.cs (1)
204foreach (string name in taskItem.MetadataNames)
FixPathOnUnix_Tests.cs (1)
68foreach (string name in item.MetadataNames)
TestComparers\TaskItemComparer.cs (2)
51foreach (string metadataName in x.MetadataNames) 63foreach (string metadataName in y.MetadataNames)
Microsoft.Build.Tasks.UnitTests (1)
ResolveSDKReference_Tests.cs (1)
346Assert.DoesNotContain("RuntimeReferenceOnly", reference.ResolvedItem.MetadataNames.ToString());
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
412foreach (string metadataName in expectedItem.MetadataNames)
Microsoft.DotNet.Build.Tasks.Packaging (1)
GetPackageDestination.cs (1)
116if (packageTargetFramework.MetadataNames.Cast<string>().Any(md => md.Equals("TargetRuntime")))
Microsoft.DotNet.Build.Tasks.Workloads (1)
Extensions.cs (1)
24foreach (string name in item.MetadataNames)
MSBuild (1)
JsonOutputFormatter.cs (1)
143foreach (string metadatumName in item.MetadataNames)