From fcfeb0177d99b3ae74be87a37e6170f9b879f85c Mon Sep 17 00:00:00 2001 From: David Hall Date: Sat, 21 Jan 2023 15:13:11 -0700 Subject: [PATCH] Remove incorrect NonSerialized attributes from POINT --- PInvoke/Shared/WinDef/POINT.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/PInvoke/Shared/WinDef/POINT.cs b/PInvoke/Shared/WinDef/POINT.cs index e5ac9176..73a488cc 100644 --- a/PInvoke/Shared/WinDef/POINT.cs +++ b/PInvoke/Shared/WinDef/POINT.cs @@ -56,16 +56,13 @@ namespace Vanara.PInvoke } /// Specifies the x-coordinate of the point. - [NonSerialized] public int x { get => x; set => x = value; } /// Specifies the y-coordinate of the point. - [NonSerialized] public int y { get => y; set => y = value; } /// Gets a value indicating whether this is empty. /// if both X and Y are 0; otherwise, . - [NonSerialized] [Browsable(false)] public bool IsEmpty => X == 0 && Y == 0;