From afb7ff909fb8401fb8af8f353f82d59bfb111813 Mon Sep 17 00:00:00 2001 From: "huiyu,eun" Date: Thu, 26 Oct 2017 11:22:07 +0900 Subject: [PATCH 1/1] [NUI] Fix build warning message Override Equals and GetHashCode Change-Id: I0fbe07cdd84da1b98bcde561bb2905e6eb3ad5a5 Signed-off-by: huiyu,eun --- src/Tizen.NUI/src/public/BaseHandle.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/Tizen.NUI/src/public/BaseHandle.cs b/src/Tizen.NUI/src/public/BaseHandle.cs index c86eaaf..f024dac 100755 --- a/src/Tizen.NUI/src/public/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/BaseHandle.cs @@ -15,6 +15,8 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { @@ -297,6 +299,31 @@ namespace Tizen.NUI } /// + /// Equals + /// + /// The object should be compared. + /// True if equal. + /// 4 + /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object o) + { + return base.Equals(o); + } + + /// + /// Gets the the hash code of this baseHandle. + /// + /// The Hash Code. + /// 4 + /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() + { + return base.GetHashCode(); + } + + /// /// Create an instance of BaseHandle. /// /// 3 -- 2.7.4