4 writes to KeepMetadata
Microsoft.Build.Engine.OM.UnitTests (4)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
665Assert.ThrowsAny<InvalidOperationException>(() => item.View.KeepMetadata = "xx"); 682itemInTargt.VerifySetter("newKeepMetadata", (i) => i.KeepMetadata, (i, v) => i.KeepMetadata = v); 684itemInTargt.View.KeepMetadata = null; 686Assert.ThrowsAny<InvalidOperationException>(() => itemInTargt.View.KeepMetadata = "xx"); // RemoveMetadata/KeepDuplicate exclusive
5 references to KeepMetadata
Microsoft.Build (2)
Construction\ProjectItemElement.cs (1)
253ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || KeepMetadata.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.keepMetadata, XMakeAttributes.removeMetadata);
Evaluation\Evaluator.cs (1)
521itemElement.KeepMetadata,
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
898Assert.Equal(realXml.KeepMetadata, viewXml.KeepMetadata);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
682itemInTargt.VerifySetter("newKeepMetadata", (i) => i.KeepMetadata, (i, v) => i.KeepMetadata = v);