[Tizen] Fix build warnings: use the new keyword 58/151058/2
authorhuiyu,eun <huiyu.eun@samsung.com>
Tue, 12 Sep 2017 00:58:27 +0000 (09:58 +0900)
committerdongsug song <dongsug.song@samsung.com>
Tue, 19 Sep 2017 13:32:15 +0000 (13:32 +0000)
warning CS0108, hides inherited member. user the new keyword if hiding was intended.

Conflicts:
Tizen.NUI/src/public/BaseComponents/CustomView.cs
Tizen.NUI/src/public/KeyFrames.cs
Tizen.NUI/src/public/Property.cs

Change-Id: I6d2e78406176ee0228dac02cf8dd24ff70a397e8
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
32 files changed:
Tizen.NUI/src/internal/Alignment.cs
Tizen.NUI/src/internal/Any.cs
Tizen.NUI/src/internal/Application.cs
Tizen.NUI/src/internal/Camera.cs
Tizen.NUI/src/internal/ItemView.cs
Tizen.NUI/src/internal/Model3dView.cs
Tizen.NUI/src/internal/PageTurnView.cs
Tizen.NUI/src/internal/Ruler.cs
Tizen.NUI/src/internal/RulerPtr.cs
Tizen.NUI/src/internal/ViewWrapperImpl.cs
Tizen.NUI/src/public/BaseComponents/CustomView.cs
Tizen.NUI/src/public/BaseComponents/FlexContainer.cs
Tizen.NUI/src/public/BaseComponents/ImageView.cs
Tizen.NUI/src/public/BaseComponents/Scrollable.cs
Tizen.NUI/src/public/BaseComponents/TableView.cs
Tizen.NUI/src/public/BaseComponents/TextEditor.cs
Tizen.NUI/src/public/BaseComponents/TextField.cs
Tizen.NUI/src/public/BaseComponents/TextLabel.cs
Tizen.NUI/src/public/BaseComponents/VideoView.cs
Tizen.NUI/src/public/Geometry.cs
Tizen.NUI/src/public/KeyFrames.cs
Tizen.NUI/src/public/Property.cs
Tizen.NUI/src/public/UIComponents/Button.cs
Tizen.NUI/src/public/UIComponents/Popup.cs
Tizen.NUI/src/public/UIComponents/ProgressBar.cs
Tizen.NUI/src/public/UIComponents/PushButton.cs
Tizen.NUI/src/public/UIComponents/ScrollBar.cs
Tizen.NUI/src/public/UIComponents/ScrollView.cs
Tizen.NUI/src/public/UIComponents/Slider.cs
Tizen.NUI/src/public/UIComponents/ToggleButton.cs
Tizen.NUI/src/public/VisualMaps.cs
Tizen.NUI/src/public/WidgetView.cs

index c49d4f7..7108b1a 100755 (executable)
@@ -67,7 +67,7 @@ namespace Tizen.NUI
 
 
 
-        public class Padding : global::System.IDisposable
+        public new class Padding : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
             protected bool swigCMemOwn;
index 0bc189d..8b6e5a5 100755 (executable)
@@ -122,7 +122,7 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public SWIGTYPE_p_std__type_info GetType()
+        public new SWIGTYPE_p_std__type_info GetType()
         {
             SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(NDalicPINVOKE.Any_GetType(swigCPtr), false);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -222,7 +222,7 @@ namespace Tizen.NUI
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             }
 
-            public SWIGTYPE_p_std__type_info GetType()
+            public new SWIGTYPE_p_std__type_info GetType()
             {
                 SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(NDalicPINVOKE.Any_AnyContainerBase_GetType(swigCPtr), false);
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index 8d224b7..3f4df22 100755 (executable)
@@ -671,7 +671,7 @@ namespace Tizen.NUI
           * (in the type of NUIApplicationResetEventHandler-DaliEventHandler<object,NUIApplicationResetEventArgs>)
           *  provided by the user. Reset signal is emitted when application is reset
           */
-        public event DaliEventHandler<object, NUIApplicationResetEventArgs> Reset
+        public new event DaliEventHandler<object, NUIApplicationResetEventArgs> Reset
         {
             add
             {
index f91fcfb..7cfe070 100755 (executable)
@@ -204,7 +204,7 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public CameraType GetType()
+        public new CameraType GetType()
         {
             CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index ad354db..5a2c375 100755 (executable)
@@ -83,7 +83,7 @@ namespace Tizen.NUI
             }
         }
 
-        public class Property
+        public new class Property
         {
             public static readonly int LAYOUT = NDalicManualPINVOKE.ItemView_Property_LAYOUT_get();
             public static readonly int MINIMUM_SWIPE_SPEED = NDalicPINVOKE.ItemView_Property_MINIMUM_SWIPE_SPEED_get();
index cb053aa..1732b09 100755 (executable)
@@ -65,7 +65,7 @@ namespace Tizen.NUI
             base.Dispose(type);
         }
 
-        public class Property : global::System.IDisposable
+        public new class Property : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
             protected bool swigCMemOwn;
index 9a2ebbe..e9008f5 100755 (executable)
@@ -412,7 +412,7 @@ namespace Tizen.NUI
         }
 
 
-        public class Property : global::System.IDisposable
+        public new class Property : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
             protected bool swigCMemOwn;
index ce8e8e7..61080fe 100755 (executable)
@@ -98,7 +98,7 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public Ruler.RulerType GetType()
+        public new Ruler.RulerType GetType()
         {
             Ruler.RulerType ret = (Ruler.RulerType)NDalicPINVOKE.Ruler_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index 548642e..cd2de6a 100755 (executable)
@@ -207,7 +207,7 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public Ruler.RulerType GetType()
+        public new Ruler.RulerType GetType()
         {
             Ruler.RulerType ret = (Ruler.RulerType)NDalicPINVOKE.RulerPtr_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index 361ce7e..db0728a 100755 (executable)
@@ -59,44 +59,44 @@ namespace Tizen.NUI
         public delegate void OnTapDelegate(TapGesture tap);
         public delegate void OnLongPressDelegate(LongPressGesture longPress);
 
-        public OnStageConnectionDelegate OnStageConnection;
-        public OnStageDisconnectionDelegate OnStageDisconnection;
-        public OnChildAddDelegate OnChildAdd;
-        public OnChildRemoveDelegate OnChildRemove;
-        public OnPropertySetDelegate OnPropertySet;
-        public OnSizeSetDelegate OnSizeSet;
-        public OnSizeAnimationDelegate OnSizeAnimation;
+        public new OnStageConnectionDelegate OnStageConnection;
+        public new OnStageDisconnectionDelegate OnStageDisconnection;
+        public new OnChildAddDelegate OnChildAdd;
+        public new OnChildRemoveDelegate OnChildRemove;
+        public new OnPropertySetDelegate OnPropertySet;
+        public new OnSizeSetDelegate OnSizeSet;
+        public new OnSizeAnimationDelegate OnSizeAnimation;
         public OnTouchDelegate OnTouch;
         public OnHoverDelegate OnHover;
         public OnKeyDelegate OnKey;
         public OnWheelDelegate OnWheel;
-        public OnRelayoutDelegate OnRelayout;
-        public OnSetResizePolicyDelegate OnSetResizePolicy;
-        public GetNaturalSizeDelegate GetNaturalSize;
-        public CalculateChildSizeDelegate CalculateChildSize;
-        public GetHeightForWidthDelegate GetHeightForWidth;
-        public GetWidthForHeightDelegate GetWidthForHeight;
+        public new OnRelayoutDelegate OnRelayout;
+        public new OnSetResizePolicyDelegate OnSetResizePolicy;
+        public new GetNaturalSizeDelegate GetNaturalSize;
+        public new CalculateChildSizeDelegate CalculateChildSize;
+        public new GetHeightForWidthDelegate GetHeightForWidth;
+        public new GetWidthForHeightDelegate GetWidthForHeight;
         public RelayoutDependentOnChildrenDimensionDelegate RelayoutDependentOnChildrenDimension;
-        public RelayoutDependentOnChildrenDelegate RelayoutDependentOnChildren;
-        public OnCalculateRelayoutSizeDelegate OnCalculateRelayoutSize;
-        public OnLayoutNegotiatedDelegate OnLayoutNegotiated;
-        public OnControlChildAddDelegate OnControlChildAdd;
-        public OnControlChildRemoveDelegate OnControlChildRemove;
-        public OnStyleChangeDelegate OnStyleChange;
-        public OnAccessibilityActivatedDelegate OnAccessibilityActivated;
-        public OnAccessibilityPanDelegate OnAccessibilityPan;
-        public OnAccessibilityTouchDelegate OnAccessibilityTouch;
-        public OnAccessibilityValueChangeDelegate OnAccessibilityValueChange;
-        public OnAccessibilityZoomDelegate OnAccessibilityZoom;
+        public new RelayoutDependentOnChildrenDelegate RelayoutDependentOnChildren;
+        public new OnCalculateRelayoutSizeDelegate OnCalculateRelayoutSize;
+        public new OnLayoutNegotiatedDelegate OnLayoutNegotiated;
+        public new OnControlChildAddDelegate OnControlChildAdd;
+        public new OnControlChildRemoveDelegate OnControlChildRemove;
+        public new OnStyleChangeDelegate OnStyleChange;
+        public new OnAccessibilityActivatedDelegate OnAccessibilityActivated;
+        public new OnAccessibilityPanDelegate OnAccessibilityPan;
+        public new OnAccessibilityTouchDelegate OnAccessibilityTouch;
+        public new OnAccessibilityValueChangeDelegate OnAccessibilityValueChange;
+        public new OnAccessibilityZoomDelegate OnAccessibilityZoom;
         public OnFocusGainedDelegate OnFocusGained;
         public OnFocusLostDelegate OnFocusLost;
-        public GetNextFocusableViewDelegate GetNextFocusableView;
-        public OnFocusChangeCommittedDelegate OnFocusChangeCommitted;
-        public OnKeyboardEnterDelegate OnKeyboardEnter;
-        public OnPinchDelegate OnPinch;
-        public OnPanDelegate OnPan;
-        public OnTapDelegate OnTap;
-        public OnLongPressDelegate OnLongPress;
+        public new GetNextFocusableViewDelegate GetNextFocusableView;
+        public new OnFocusChangeCommittedDelegate OnFocusChangeCommitted;
+        public new OnKeyboardEnterDelegate OnKeyboardEnter;
+        public new OnPinchDelegate OnPinch;
+        public new OnPanDelegate OnPan;
+        public new OnTapDelegate OnTap;
+        public new OnLongPressDelegate OnLongPress;
 
         internal ViewWrapperImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapperImpl_SWIGUpcast(cPtr), cMemoryOwn)
         {
index 169e598..85fe1c6 100755 (executable)
@@ -480,8 +480,8 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Returns the natural size of the view.
         /// </summary>
-        /// <returns>The view's natural size.</returns>
-        public virtual Size2D GetNaturalSize()
+        /// <returns>The view's natural size</returns>
+        public new virtual Size2D GetNaturalSize()
         {
             return new Size2D(0, 0);
         }
@@ -501,9 +501,9 @@ namespace Tizen.NUI.BaseComponents
         /// This method is called during size negotiation when a height is required for a given width.<br>
         /// Derived classes should override this if they wish to customize the height returned.<br>
         /// </summary>
-        /// <param name="width">The width to use.</param>
-        /// <returns>The height based on the width.</returns>
-        public virtual float GetHeightForWidth(float width)
+        /// <param name="width">Width to use</param>
+        /// <returns>The height based on the width</returns>
+        public new virtual float GetHeightForWidth(float width)
         {
             return viewWrapperImpl.GetHeightForWidthBase(width);
         }
@@ -512,9 +512,9 @@ namespace Tizen.NUI.BaseComponents
         /// This method is called during size negotiation when a width is required for a given height.<br>
         /// Derived classes should override this if they wish to customize the width returned.<br>
         /// </summary>
-        /// <param name="height">The height to use.</param>
-        /// <returns>The width based on the width.</returns>
-        public virtual float GetWidthForHeight(float height)
+        /// <param name="height">Height to use</param>
+        /// <returns>The width based on the width</returns>
+        public new virtual float GetWidthForHeight(float height)
         {
             return viewWrapperImpl.GetWidthForHeightBase(height);
         }
index 34ccd06..c4c87fe 100755 (executable)
@@ -68,7 +68,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int CONTENT_DIRECTION = NDalicPINVOKE.FlexContainer_Property_CONTENT_DIRECTION_get();
             internal static readonly int FLEX_DIRECTION = NDalicPINVOKE.FlexContainer_Property_FLEX_DIRECTION_get();
index b8cf4cd..a5c6202 100755 (executable)
@@ -146,7 +146,7 @@ namespace Tizen.NUI.BaseComponents
             base.Dispose(type);
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int RESOURCE_URL = NDalicPINVOKE.ImageView_Property_RESOURCE_URL_get();
             internal static readonly int IMAGE = NDalicPINVOKE.ImageView_Property_IMAGE_get();
@@ -216,7 +216,7 @@ namespace Tizen.NUI.BaseComponents
         /// Most resources are only loaded when the control is placed on the stage.<br>
         /// True if the resources are loaded and ready, false otherwise.<br>
         /// </summary>
-        public bool IsResourceReady()
+        public new  bool IsResourceReady()
         {
             bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending)
index 3803986..0499a70 100755 (executable)
@@ -301,7 +301,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
 
-        public class Property
+        public new class Property
         {
             public static readonly int OVERSHOOT_EFFECT_COLOR = NDalicPINVOKE.Scrollable_Property_OVERSHOOT_EFFECT_COLOR_get();
             public static readonly int OVERSHOOT_ANIMATION_SPEED = NDalicPINVOKE.Scrollable_Property_OVERSHOOT_ANIMATION_SPEED_get();
index b40f847..0766f75 100755 (executable)
@@ -71,7 +71,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int ROWS = NDalicPINVOKE.TableView_Property_ROWS_get();
             internal static readonly int COLUMNS = NDalicPINVOKE.TableView_Property_COLUMNS_get();
index 42024c8..17185e7 100755 (executable)
@@ -237,7 +237,7 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
             internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
index 82843b6..898ea8d 100755 (executable)
@@ -221,7 +221,7 @@ namespace Tizen.NUI.BaseComponents
 
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
             internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
index de01b8e..32ca8f3 100755 (executable)
@@ -74,7 +74,7 @@ namespace Tizen.NUI.BaseComponents
             base.Dispose(type);
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextLabel_Property_RENDERING_BACKEND_get();
             internal static readonly int TEXT = NDalicPINVOKE.TextLabel_Property_TEXT_get();
index 9659756..a70d5cb 100755 (executable)
@@ -144,7 +144,7 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int VIDEO = NDalicPINVOKE.VideoView_Property_VIDEO_get();
             internal static readonly int LOOPING = NDalicPINVOKE.VideoView_Property_LOOPING_get();
index 4752be2..b65ad88 100755 (executable)
@@ -101,7 +101,7 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public Geometry.Type GetType()
+        public new Geometry.Type GetType()
         {
             Geometry.Type ret = (Geometry.Type)NDalicPINVOKE.Geometry_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index afc6db6..39d86ef 100755 (executable)
@@ -113,8 +113,8 @@ namespace Tizen.NUI
         /// <summary>
         /// Gets the type of the key frame.
         /// </summary>
-        /// <returns>The key frame property type.</returns>
-        public PropertyType GetType()
+        /// <returns>The key frame property type</returns>
+        public new PropertyType GetType()
         {
             PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index 35c1ca2..702c8bc 100755 (executable)
@@ -1439,8 +1439,8 @@ namespace Tizen.NUI
         /// <summary>
         /// Queries the type of this property value.
         /// </summary>
-        /// <returns>The type ID.</returns>
-        public PropertyType GetType()
+        /// <returns>The type ID</returns>
+        public new PropertyType GetType()
         {
             PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index 71e0b6f..1cffbcc 100755 (executable)
@@ -523,7 +523,7 @@ namespace Tizen.NUI.UIComponents
             }
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();
             internal static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();
index 3241f49..55e5b70 100755 (executable)
@@ -340,7 +340,7 @@ namespace Tizen.NUI.UIComponents
             }
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
             internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
index a1f2377..43191d5 100755 (executable)
@@ -171,7 +171,7 @@ namespace Tizen.NUI.UIComponents
             }
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VALUE_get();
             internal static readonly int SECONDARY_PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VALUE_get();
index 6d4079a..d587b67 100755 (executable)
@@ -72,7 +72,7 @@ namespace Tizen.NUI.UIComponents
         }
 
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int UNSELECTED_ICON = NDalicPINVOKE.PushButton_Property_UNSELECTED_ICON_get();
             internal static readonly int SELECTED_ICON = NDalicPINVOKE.PushButton_Property_SELECTED_ICON_get();
@@ -173,7 +173,7 @@ namespace Tizen.NUI.UIComponents
             }
         }
         [Obsolete("Please do not use! this will be deprecated")]
-        public Vector4 LabelPadding
+        public new Vector4 LabelPadding
         {
             get
             {
index 0687957..32844d9 100755 (executable)
@@ -197,7 +197,7 @@ namespace Tizen.NUI.UIComponents
         }
 
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ScrollBar_Property_SCROLL_DIRECTION_get();
             internal static readonly int INDICATOR_HEIGHT_POLICY = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HEIGHT_POLICY_get();
index a545c16..ea6acdc 100755 (executable)
@@ -297,7 +297,7 @@ namespace Tizen.NUI
 
         }
 
-        public class Property
+        public new class Property
         {
             public static readonly int WRAP_ENABLED = NDalicPINVOKE.ScrollView_Property_WRAP_ENABLED_get();
             public static readonly int PANNING_ENABLED = NDalicPINVOKE.ScrollView_Property_PANNING_ENABLED_get();
index a83fff4..928646d 100755 (executable)
@@ -356,7 +356,7 @@ namespace Tizen.NUI.UIComponents
             return ret;
         }
 
-        internal class Property : global::System.IDisposable
+        internal new class Property : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
             protected bool swigCMemOwn;
index fe3eef4..a861e95 100755 (executable)
@@ -65,7 +65,7 @@ namespace Tizen.NUI
             base.Dispose(type);
         }
 
-        public class Property
+        public new class Property
         {
             public static readonly int STATE_VISUALS = NDalicPINVOKE.ToggleButton_Property_STATE_VISUALS_get();
             public static readonly int TOOLTIPS = NDalicPINVOKE.ToggleButton_Property_TOOLTIPS_get();
index 07a3873..a6f99f0 100755 (executable)
@@ -1615,7 +1615,7 @@ namespace Tizen.NUI
         /// Applies to all shapes.<br>
         /// Optional.
         /// </summary>
-        public Color MixColor
+        public new Color MixColor
         {
             get
             {
index 9f95d7a..26c716f 100755 (executable)
@@ -81,7 +81,7 @@ namespace Tizen.NUI
             base.Dispose();
         }
 
-        internal class Property
+        internal new class Property
         {
             internal static readonly int WIDGET_ID = NDalicManualPINVOKE.WidgetView_Property_WIDGET_ID_get();
             internal static readonly int INSTANCE_ID = NDalicManualPINVOKE.WidgetView_Property_INSTANCE_ID_get();