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