27 references to ItemType
dotnet (1)
Commands\Package\VirtualProjectPackageReflector.cs (1)
29
if (string.Equals(item.
ItemType
, "PackageReference", StringComparison.OrdinalIgnoreCase))
Microsoft.Build (23)
BuildCheck\OM\ParsedItemsCheckData.cs (1)
23
MSBuildNameIgnoreCaseComparer.Default.Equals(i.
ItemType
, itemType));
Construction\ProjectItemElement.cs (1)
505
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)
1028
if (itemGroup.Items.Any(item => MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, item.
ItemType
)))
Definition\Project.cs (7)
2653
if (removeElementCache.TryGetValue(itemElement.
ItemType
, out CumulativeRemoveElementData removeItemElement))
2677
if (!removeElementCache.TryGetValue(itemElement.
ItemType
, out CumulativeRemoveElementData cumulativeRemoveElementData))
2681
removeElementCache[itemElement.
ItemType
] = cumulativeRemoveElementData;
2767
itemElement.
ItemType
.Equals(item.ItemType) &&
2780
return itemElements.Where(i => i.
ItemType
.Equals(itemType)).ToList();
3076
if (group.Count == 0 || MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, group.Items.First().
ItemType
))
3889
if (!MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, existingItemXml.
ItemType
))
Definition\ProjectItem.cs (2)
169
{ return _xml.
ItemType
; }
932
get => _xml.
ItemType
;
Evaluation\Evaluator.cs (1)
528
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)
58
MSBuildEventSource.Log.ApplyLazyItemOperationsStart(_itemElement.
ItemType
);
63
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)
2248
set { ItemType = value.
ItemType
; }
Microsoft.DotNet.Cli.Utils (2)
Extensions\MSBuildProjectExtensions.cs (2)
72
return group.Items.All((it) => it.
ItemType
== projectItemElementType);
87
return root.Items.Where((it) => it.
ItemType
== projectItemElementType);
NuGet.CommandLine.XPlat (1)
Utility\MSBuildAPIUtility.cs (1)
530
.Where(itemGroupElement => itemGroupElement.Items.Any(item => item.
ItemType
== itemType))?