Skip to content

Commit

Permalink
Remove redundant reference to UpdateOperation
Browse files Browse the repository at this point in the history
Co-authored-by: Mihai Codoban <[email protected]>
  • Loading branch information
rainersigwald and cdmihai authored May 13, 2020
1 parent b9c8910 commit 6db3fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Build/Evaluation/LazyItemEvaluator.RemoveOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected override void ApplyImpl(ImmutableList<ItemData>.Builder listBuilder, I
new BuildEventFileInfo(string.Empty),
"OM_MatchOnMetadataIsRestrictedToOnlyOneReferencedItem");

if (_matchOnMetadata.IsEmpty && UpdateOperation.ItemspecContainsASingleItemReference(_itemSpec, _itemElement.ItemType))
if (_matchOnMetadata.IsEmpty && ItemspecContainsASingleItemReference(_itemSpec, _itemElement.ItemType))
{
// Perf optimization: If the Remove operation references itself (e.g. <I Remove="@(I)"/>)
// then all items are removed and matching is not necessary
Expand Down

0 comments on commit 6db3fe3

Please sign in to comment.