Implemented interface member:
property
ItemType
Microsoft.Build.Evaluation.IItemTypeDefinition.ItemType
97 references to ItemType
Microsoft.Build (19)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
221items = projectItems?.GetCopyOnReadEnumerable(item => new DictionaryEntry(item.ItemType, new TaskItem(item))) ?? [];
BackEnd\Components\RequestBuilder\BatchingEngine.cs (1)
402(!String.Equals(item.ItemType, metadataItemName, StringComparison.OrdinalIgnoreCase)))
BackEnd\Components\RequestBuilder\Lookup.cs (3)
955if (table?.ItemTypes.Contains(item.ItemType) == true) 957ICollection<ProjectItemInstance> tableOfItemsOfSameType = table[item.ItemType]; 971if (table?.TryGetValue(item.ItemType, out tableOfItemsOfSameType) == true)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (6)
644bool outOfDate = IsOutOfDate(((IItem)upToDateInputItems[i]).EvaluatedIncludeEscaped, ((IItem)outputItems[i]).EvaluatedIncludeEscaped, upToDateInputItems[i].ItemType, outputItems[i].ItemType); 698if (!changedTargetInputs.ItemTypes.Contains(inputItems[0].ItemType)) 700changedTargetInputs.AddEmptyMarker(inputItems[0].ItemType); 705if (!upToDateTargetInputs.ItemTypes.Contains(inputItems[0].ItemType)) 707upToDateTargetInputs.AddEmptyMarker(inputItems[0].ItemType);
Graph\ProjectInterpretation.cs (1)
268.ItemType.Equals(
Instance\ProjectInstance.cs (2)
936projectItemInstance => projectItemInstance.ItemType); 2013if (string.Equals(item.ItemType, itemType, StringComparison.OrdinalIgnoreCase))
Instance\ProjectItemInstance.cs (3)
272get { return ItemType; } 679ProjectItemElement item = parent.ContainingProject.CreateItemElement(ItemType); 2097if (_project.ItemDefinitions.TryGetValue(source.ItemType, out sourceItemDefinition))
Utilities\Utilities.cs (2)
751.Select(i => new ItemData(i.ItemType, (IItemData)i)); 780.Select(i => new ItemData(i.ItemType, (IItemData)i)))
Microsoft.Build.Engine.OM.UnitTests (6)
Definition\ProjectItem_Tests.cs (1)
3759var itemB = projectInstance.Items.Single(i => i.ItemType == "B").EvaluatedInclude;
Instance\ProjectInstance_Tests.cs (3)
68Assert.Equal("i", items[0].ItemType); 88Assert.Equal("i", returned.ItemType); 109Assert.Equal("i", returned.ItemType);
Instance\ProjectItemInstance_Tests.cs (2)
83Assert.Equal("i", item.ItemType); 452Assert.Equal("i", item.ItemType);
Microsoft.Build.Engine.UnitTests (65)
BackEnd\Lookup_Tests.cs (42)
416ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 417lookup.ModifyItems(item1.ItemType, group, newMetadata); 431group = lookup.GetItems(item1.ItemType); 432lookup.ModifyItems(item1.ItemType, group, newMetadata2); 481ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 482lookup.ModifyItems(item1.ItemType, group, newMetadata); 496group = lookup.GetItems(item1.ItemType); 497lookup.ModifyItems(item1.ItemType, group, newMetadata2); 541ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 542lookup.ModifyItems(item1.ItemType, group, newMetadata); 559group = lookup.GetItems(item1.ItemType); 560lookup.ModifyItems(item1.ItemType, group, newMetadata2); 612ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 613lookup.ModifyItems(item1.ItemType, group, newMetadata); 630group = lookup.GetItems(item1.ItemType); 631lookup.ModifyItems(item1.ItemType, group, newMetadata2); 679ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 680lookup.ModifyItems(item1.ItemType, group, newMetadata); 733ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 734lookup.ModifyItems(item1.ItemType, group, newMetadata); 783lookup.ModifyItems(item1.ItemType, group, newMetadata); 838lookup.ModifyItems(item1.ItemType, group, newMetadata); 846lookup.ModifyItems(item1.ItemType, group, newMetadata); 878lookup.ModifyItems(item1.ItemType, group, newMetadata); 883lookup.ModifyItems(item1.ItemType, group, newMetadata); 984lookup.ModifyItems(item1.ItemType, group, newMetadata); 1041lookup.ModifyItems(item1.ItemType, group, newMetadata); 1044ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1053lookup.ModifyItems(item1b.ItemType, group3, newMetadata2); 1056ICollection<ProjectItemInstance> group4 = lookup.GetItems(item1b.ItemType); 1064ICollection<ProjectItemInstance> group5 = lookup.GetItems(item1b.ItemType); 1092lookup.ModifyItems(item1.ItemType, group, newMetadata); 1095ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1104lookup.ModifyItems(item1b.ItemType, group3, newMetadata2); 1107ICollection<ProjectItemInstance> group4 = lookup.GetItems(item1b.ItemType); 1115ICollection<ProjectItemInstance> group5 = lookup.GetItems(item1b.ItemType); 1145lookup.ModifyItems(item1.ItemType, group, newMetadata); 1148ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1156ICollection<ProjectItemInstance> group3 = lookup.GetItems(item1.ItemType); 1182lookup.ModifyItems(item1.ItemType, group, newMetadata); 1185ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1193ICollection<ProjectItemInstance> group3 = lookup.GetItems(item1.ItemType);
BackEnd\TargetUpToDateChecker_Tests.cs (1)
288Console.WriteLine("Changed: {0}:{1}", itemInstance.ItemType, itemInstance.EvaluatedInclude);
Construction\SolutionProjectGenerator_Tests.cs (1)
2856if (item.ItemType == itemType && item.EvaluatedInclude == include)
Evaluation\Expander_Tests.cs (19)
182Assert.Equal("j", items[0].ItemType); 183Assert.Equal("j", items[1].ItemType); 202Assert.Equal("i", items[0].ItemType); 203Assert.Equal("i", items[1].ItemType); 222Assert.Equal("i", itemsTrue[0].ItemType); 228Assert.Equal("i", itemsFalse[0].ItemType); 260Assert.Equal("i", itemsTrue[0].ItemType); 266Assert.Equal("i", itemsDir[0].ItemType); 286Assert.Equal("i", itemsTrue[5].ItemType); 292Assert.Equal("i", itemsTrue[5].ItemType); 298Assert.Equal("i", itemsTrue[5].ItemType); 659Assert.Equal("i", itemsTrue[5].ItemType); 665Assert.Equal("i", itemsTrue[5].ItemType); 671Assert.Equal("i", itemsTrue[0].ItemType); 677Assert.Equal("i", itemsTrue[5].ItemType); 697Assert.Equal("i", itemsTrue[5].ItemType); 717Assert.Equal("i", items[5].ItemType); 718Assert.Equal("i", items[6].ItemType); 737Assert.Equal("i", items[5].ItemType);
Graph\GraphLoadedFromSolution_tests.cs (2)
602edges.First().Value.ItemType.ShouldBe(ItemTypeNames.ProjectReference); 652return edgeItem.ItemType == GraphBuilder.SolutionItemReference;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (7)
TargetTests.cs (7)
169Assert.Equal("_GeneratedEditorConfigProperty", item.ItemType); 202Assert.Equal("_GeneratedEditorConfigProperty", item.ItemType); 231Assert.Equal("_GeneratedEditorConfigProperty", item.ItemType); 263Assert.Equal("_GeneratedEditorConfigMetadata", item.ItemType); 305Assert.Equal("_GeneratedEditorConfigMetadata", item.ItemType); 345Assert.Equal("_GeneratedEditorConfigMetadata", item.ItemType); 380Assert.Equal("_GeneratedEditorConfigMetadata", item.ItemType);