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