[NUI] Fix build warning message 47/158747/2
authorhuiyu,eun <huiyu.eun@samsung.com>
Thu, 26 Oct 2017 02:22:07 +0000 (11:22 +0900)
committerhuiyu,eun <huiyu.eun@samsung.com>
Fri, 3 Nov 2017 01:10:46 +0000 (10:10 +0900)
 Override Equals and GetHashCode

Change-Id: I0fbe07cdd84da1b98bcde561bb2905e6eb3ad5a5
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/public/BaseHandle.cs

index c86eaaf..f024dac 100755 (executable)
@@ -15,6 +15,8 @@
  *
  */
 
+using System.ComponentModel;
+
 namespace Tizen.NUI
 {
 
@@ -297,6 +299,31 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Equals
+        /// </summary>
+        /// <param name="o">The object should be compared.</param>
+        /// <returns>True if equal.</returns>
+        /// <since_tizen> 4 </since_tizen>
+        /// 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);
+        }
+
+        /// <summary>
+        /// Gets the the hash code of this baseHandle.
+        /// </summary>
+        /// <returns>The Hash Code.</returns>
+        /// <since_tizen> 4 </since_tizen>
+        /// 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();
+        }
+
+        /// <summary>
         /// Create an instance of BaseHandle.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>