Revert "[NUI] Change for Size2D property to own internalSize2D which is cashed to...
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / PropertyValue.cs
index 1de77d9..78499e3 100755 (executable)
@@ -15,7 +15,6 @@
  *
  */
 
-using System;
 using System.ComponentModel;
 
 namespace Tizen.NUI
@@ -244,43 +243,6 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-
-        /// <summary>
-        /// Hidden API (Inhouse API).
-        /// Dispose. 
-        /// </summary>
-        /// <remarks>
-        /// Following the guide of https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose.
-        /// This will replace "protected virtual void Dispose(DisposeTypes type)" which is exactly same in functionality.
-        /// </remarks>
-        /// <param name="disposing">true in order to free managed objects</param>
-        // Protected implementation of Dispose pattern.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        protected override void Dispose(bool disposing)
-        {
-            if (disposed)
-            {
-                return;
-            }
-
-            //perform dipose here without being added to DisposeQueue.
-            if (SwigCMemOwn && SwigCPtr.Handle != IntPtr.Zero)
-            {
-                if (disposing)
-                {
-                    base.Dispose(DisposeTypes.Explicit);
-                }
-                else
-                {
-                    base.Dispose(DisposeTypes.Implicit);
-                }
-            }
-
-            base.Dispose(disposing);
-        }
-
-
-
         /// <summary>
         /// An extension to the property value class that allows us to create a
         /// Property value from a C# object, for example, integer, float, or string.<br />