From 6eee431d3e6ad8552a3c04501b244d3a62369f20 Mon Sep 17 00:00:00 2001 From: David Hall Date: Sat, 26 Oct 2019 10:22:48 -0600 Subject: [PATCH] Added properties as supportable type for CorrespondingType --- Core/InteropServices/CorrespondingTypeAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/InteropServices/CorrespondingTypeAttribute.cs b/Core/InteropServices/CorrespondingTypeAttribute.cs index 8b3d9c24..d4c12e80 100644 --- a/Core/InteropServices/CorrespondingTypeAttribute.cs +++ b/Core/InteropServices/CorrespondingTypeAttribute.cs @@ -33,7 +33,7 @@ namespace Vanara.InteropServices /// use an enumeration value to determine the type to get or set. /// /// - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Class, AllowMultiple = true)] + [AttributeUsage(AttributeTargets.Field | AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)] public class CorrespondingTypeAttribute : Attribute { /// Initializes a new instance of the class.