6 writes to ItemType
Microsoft.Build.Engine.OM.UnitTests (6)
Construction\ConstructionEditing_Tests.cs (4)
2571
element.
ItemType
= "j";
2821
element.
ItemType
= "j";
2918
element.
ItemType
= "j";
3080
element.
ItemType
= "j";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
650
item.VerifySetter("newType", (i) => i.ItemType, (i, v) => i.
ItemType
= v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemElementLink.cs (1)
29
this.ItemXml.
ItemType
= newType;
31 references to ItemType
Microsoft.Build (23)
BuildCheck\OM\ParsedItemsCheckData.cs (1)
23
MSBuildNameIgnoreCaseComparer.Default.Equals(i.
ItemType
, itemType));
Construction\ProjectItemElement.cs (1)
500
return owner.CreateItemElement(
ItemType
, Include);
Construction\ProjectItemGroupElement.cs (2)
112
if (MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, item.
ItemType
))
127
if (String.Compare(itemType, item.
ItemType
, StringComparison.OrdinalIgnoreCase) < 0)
Construction\ProjectRootElement.cs (1)
1004
if (itemGroup.Items.Any(item => MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, item.
ItemType
)))
Definition\Project.cs (7)
2644
if (removeElementCache.TryGetValue(itemElement.
ItemType
, out CumulativeRemoveElementData removeItemElement))
2668
if (!removeElementCache.TryGetValue(itemElement.
ItemType
, out CumulativeRemoveElementData cumulativeRemoveElementData))
2672
removeElementCache[itemElement.
ItemType
] = cumulativeRemoveElementData;
2758
itemElement.
ItemType
.Equals(item.ItemType) &&
2771
return itemElements.Where(i => i.
ItemType
.Equals(itemType)).ToList();
3067
if (group.Count == 0 || MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, group.Items.First().
ItemType
))
3879
if (!MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, existingItemXml.
ItemType
))
Definition\ProjectItem.cs (2)
169
{ return _xml.
ItemType
; }
944
get { return _xml.
ItemType
; }
Evaluation\Evaluator.cs (1)
515
itemElement.
ItemType
,
Evaluation\LazyItemEvaluator.cs (3)
477
ItemType = itemElement.
ItemType
;
527
_itemLists.TryGetValue(itemElement.
ItemType
, out LazyItemList previousItemList);
529
_itemLists[itemElement.
ItemType
] = newList;
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
57
MSBuildEventSource.Log.ApplyLazyItemOperationsStart(_itemElement.
ItemType
);
62
MSBuildEventSource.Log.ApplyLazyItemOperationsStop(_itemElement.
ItemType
);
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
54
if (ItemspecContainsASingleBareItemReference(_itemSpec, _itemElement.
ItemType
))
Evaluation\LazyItemEvaluator.UpdateOperation.cs (1)
108
if (ItemspecContainsASingleBareItemReference(_itemSpec, _itemElement.
ItemType
))
Instance\ProjectItemInstance.cs (1)
2007
set { ItemType = value.
ItemType
; }
Microsoft.Build.Engine.OM.UnitTests (8)
Construction\ProjectItemElement_Tests.cs (2)
363
Assert.Equal("i1", items[0].
ItemType
);
372
Assert.Equal("i2", items[1].
ItemType
);
Construction\ProjectRootElement_Tests.cs (1)
892
Assert.Equal("j", items[1].
ItemType
);
Definition\Project_Tests.cs (2)
4314
globs[i].ItemElement.
ItemType
.ShouldBe(expected[i].Item1);
4364
actualProvenance.ItemElement.
ItemType
.ShouldBe(expectedProvenance.Item1);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
893
Assert.Equal(realXml.
ItemType
, viewXml.
ItemType
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
650
item.VerifySetter("newType", (i) => i.
ItemType
, (i, v) => i.ItemType = v);