Implemented interface member:
property
Metadata
Microsoft.Build.Evaluation.IItem<M>.Metadata
34 references to Metadata
Microsoft.Build (3)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
184foreach (ProjectMetadataInstance metadatum in item.Metadata)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
849List<string> metadataToRemove = new List<string>(itemToModify.Metadata.Where(m => modificationsToApply[m.Name].Remove).Select(m => m.Name));
Instance\ProjectItemInstance.cs (1)
683foreach (ProjectMetadataInstance metadataInstance in Metadata)
Microsoft.Build.Engine.OM.UnitTests (14)
Instance\ProjectInstance_Tests.cs (9)
90Assert.False(returned.Metadata.GetEnumerator().MoveNext()); 95Assert.False(item.Metadata.GetEnumerator().MoveNext()); 111Assert.False(returned.Metadata.GetEnumerator().MoveNext()); 116Assert.False(item.Metadata.GetEnumerator().MoveNext()); 141var metadataOut = Helpers.MakeList(item.Metadata); 194Assert.False(item.Metadata.GetEnumerator().MoveNext()); 442Assert.False(projAInstanceItem.Metadata.Any()); 484Assert.False(projAInstanceItem.Metadata.Any()); 519Assert.False(projAInstanceItem.Metadata.Any());
Instance\ProjectItemInstance_Tests.cs (5)
85Assert.False(item.Metadata.GetEnumerator().MoveNext()); 454Assert.False(item.Metadata.GetEnumerator().MoveNext()); 478var itemMetadata = Helpers.MakeList(item.Metadata); 557Assert.Equal(3, Helpers.MakeList(item.Metadata).Count); 636var itemMetadata = Helpers.MakeList(item.Metadata);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
738Assert.Empty(items[5].Metadata);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (16)
TargetTests.cs (16)
170Assert.Single(item.Metadata); 172var metadata = item.Metadata.Single(); 203Assert.Single(item.Metadata); 205var metadata = item.Metadata.Single(); 232Assert.Single(item.Metadata); 234var metadata = item.Metadata.Single(); 265var itemType = item.Metadata.SingleOrDefault(m => m.Name == "ItemType"); 269var metaName = item.Metadata.SingleOrDefault(m => m.Name == "MetadataName"); 273var customMeta = item.Metadata.SingleOrDefault(m => m.Name == metaName.EvaluatedValue); 307var itemType = item.Metadata.SingleOrDefault(m => m.Name == "ItemType"); 311var metaName = item.Metadata.SingleOrDefault(m => m.Name == "MetadataName"); 315var customMeta = item.Metadata.SingleOrDefault(m => m.Name == metaName.EvaluatedValue); 347var itemType = item.Metadata.SingleOrDefault(m => m.Name == "ItemType"); 351var metaName = item.Metadata.SingleOrDefault(m => m.Name == "MetadataName"); 382var itemType = item.Metadata.SingleOrDefault(m => m.Name == "ItemType"); 386var metaName = item.Metadata.SingleOrDefault(m => m.Name == "MetadataName");