11 writes to MetadataItems
Microsoft.Build.Tasks.CodeAnalysis (1)
GenerateMSBuildEditorConfig.cs (1)
60
MetadataItems
= Array.Empty<ITaskItem>();
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (10)
GenerateMSBuildEditorConfigTests.cs (10)
61
MetadataItems
= new[] { item1 }
83
MetadataItems
= new[] { item1, item2, item3 }
112
MetadataItems
= new[] { item1, item2, item3 }
139
MetadataItems
= new[] { item1, item2 }
160
MetadataItems
= new[] { item1 }
182
MetadataItems
= new[] { item1, item2, item3 }
207
MetadataItems
= new[] { item1, item2, item3, item4 },
239
MetadataItems
= new[] { item1, item2, item3 }
272
MetadataItems
= new[] { item1, item2 }
343
MetadataItems
= new[] { item1 }
5 references to MetadataItems
Microsoft.Build.Tasks.CodeAnalysis (5)
GenerateMSBuildEditorConfig.cs (5)
19
/// This task takes a set of items passed in via <see cref="
MetadataItems
"/> and <see cref="PropertyItems"/> and transforms
27
/// <see cref="
MetadataItems
"/> is expected to be a list of items whose <see cref="ITaskItem.ItemSpec"/> represents a file in the
31
/// file can have multiple entries in the <see cref="
MetadataItems
" /> differing by its <c>ItemType</c>.
33
/// Each of the <see cref="
MetadataItems
"/> will be transformed into a new section in the generated config file. The section
82
var groupedItems =
MetadataItems
.GroupBy(i => NormalizeWithForwardSlash(i.GetMetadata("FullPath")));