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