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