From c30c9c70b5b6e7945d33ad3f8c233c365bf51d43 Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Wed, 21 Apr 2021 14:07:28 -0700 Subject: [PATCH] Restored ContractVersion attribution as Xaml Compiler relies on it --- src/cswinrt/code_writers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cswinrt/code_writers.h b/src/cswinrt/code_writers.h index 47abf26f6..d9d97c0a6 100644 --- a/src/cswinrt/code_writers.h +++ b/src/cswinrt/code_writers.h @@ -1434,7 +1434,8 @@ remove => %.% -= value; { allow_multiple = true; } - if (attribute_name != "DefaultOverload" && attribute_name != "Overload" && attribute_name != "AttributeUsage") + if (attribute_name != "DefaultOverload" && attribute_name != "Overload" && + attribute_name != "AttributeUsage" && attribute_name != "ContractVersion") { continue; }