Revert "[NUI] Change for Size2D property to own internalSize2D which is cashed to...
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / Size2D.cs
index d50854f..782e112 100755 (executable)
@@ -69,42 +69,6 @@ namespace Tizen.NUI
         internal delegate void Size2DChangedCallback(int? width, int? height);
 
         /// <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;
-            }
-
-            callback = null;
-
-            //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>
         /// The property for the width component of a size.
         /// </summary>
         /// <remarks>