3 writes to RemoveMetadata
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
667
Assert.ThrowsAny<InvalidOperationException>(() => item.View.
RemoveMetadata
= "xx");
683
Assert.ThrowsAny<InvalidOperationException>(() => itemInTargt.View.
RemoveMetadata
= "xx"); // RemoveMetadata/KeepDuplicate exclusive
685
itemInTargt.VerifySetter("newRemoveMetadat", (i) => i.RemoveMetadata, (i, v) => i.
RemoveMetadata
= v);
6 references to RemoveMetadata
Microsoft.Build (3)
Construction\ProjectItemElement.cs (2)
191
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) ||
RemoveMetadata
.Length != 0, "OM_MatchOnMetadataOnlyApplicableToRemoveItems", ElementName, XMakeAttributes.matchOnMetadata);
232
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) ||
RemoveMetadata
.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.removeMetadata, XMakeAttributes.keepMetadata);
Evaluation\Evaluator.cs (1)
522
itemElement.
RemoveMetadata
,
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
899
Assert.Equal(realXml.
RemoveMetadata
, viewXml.
RemoveMetadata
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
685
itemInTargt.VerifySetter("newRemoveMetadat", (i) => i.
RemoveMetadata
, (i, v) => i.RemoveMetadata = v);