[NUI] Fix build warnings: use the new keyword 42/149442/2
authorhuiyu,eun <huiyu.eun@samsung.com>
Tue, 12 Sep 2017 00:58:27 +0000 (09:58 +0900)
committerhuiyu,eun <huiyu.eun@samsung.com>
Thu, 14 Sep 2017 06:39:07 +0000 (15:39 +0900)
warning CS0108, hides inherited member. user the new keyword if hiding was intended.

Change-Id: I6d2e78406176ee0228dac02cf8dd24ff70a397e8
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
32 files changed:
src/Tizen.NUI/src/internal/Alignment.cs
src/Tizen.NUI/src/internal/Any.cs
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/Camera.cs
src/Tizen.NUI/src/internal/ItemView.cs
src/Tizen.NUI/src/internal/Model3dView.cs
src/Tizen.NUI/src/internal/PageTurnView.cs
src/Tizen.NUI/src/internal/Ruler.cs
src/Tizen.NUI/src/internal/RulerPtr.cs
src/Tizen.NUI/src/internal/ViewWrapperImpl.cs
src/Tizen.NUI/src/public/BaseComponents/CustomView.cs
src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
src/Tizen.NUI/src/public/BaseComponents/TableView.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/VideoView.cs
src/Tizen.NUI/src/public/Geometry.cs
src/Tizen.NUI/src/public/KeyFrames.cs
src/Tizen.NUI/src/public/Property.cs
src/Tizen.NUI/src/public/UIComponents/Button.cs
src/Tizen.NUI/src/public/UIComponents/Popup.cs
src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs
src/Tizen.NUI/src/public/UIComponents/PushButton.cs
src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs
src/Tizen.NUI/src/public/UIComponents/ScrollView.cs
src/Tizen.NUI/src/public/UIComponents/Slider.cs
src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs
src/Tizen.NUI/src/public/VisualMaps.cs
src/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 91b60e4..635c7df 100755 (executable)
@@ -616,7 +616,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 94e182e..dfd3a23 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 3f2d165..fb55ad8 100755 (executable)
@@ -481,7 +481,7 @@ namespace Tizen.NUI.BaseComponents
         /// Return the natural size of the view.
         /// </summary>
         /// <returns>The view's natural size</returns>
-        public virtual Size2D GetNaturalSize()
+        public new virtual Size2D GetNaturalSize()
         {
             return new Size2D(0, 0);
         }
@@ -503,7 +503,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <param name="width">Width to use</param>
         /// <returns>The height based on the width</returns>
-        public virtual float GetHeightForWidth(float width)
+        public new virtual float GetHeightForWidth(float width)
         {
             return viewWrapperImpl.GetHeightForWidthBase(width);
         }
@@ -514,7 +514,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <param name="height">Height to use</param>
         /// <returns>The width based on the width</returns>
-        public virtual float GetWidthForHeight(float height)
+        public new virtual float GetWidthForHeight(float height)
         {
             return viewWrapperImpl.GetWidthForHeightBase(height);
         }
index 05c42a7..9069c99 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 5182c4f..025818c 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 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 37b8cfd..fa96119 100755 (executable)
@@ -271,7 +271,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 48b57d3..a32b258 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 5ccab67..20e4082 100755 (executable)
@@ -232,7 +232,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 ba7d45c..c85459e 100755 (executable)
@@ -211,7 +211,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 4abad84..e6ac419 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 0c8e0de..ea3284f 100755 (executable)
@@ -139,7 +139,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 92abafb..6f67efb 100755 (executable)
@@ -114,7 +114,7 @@ namespace Tizen.NUI
         /// Gets the type of the key frame.
         /// </summary>
         /// <returns>The key frame property type</returns>
-        public PropertyType GetType()
+        public new PropertyType GetType()
         {
             PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index d5852e2..41b15ef 100755 (executable)
@@ -1440,7 +1440,7 @@ namespace Tizen.NUI
         /// Queries the type of this property value.
         /// </summary>
         /// <returns>The type ID</returns>
-        public PropertyType GetType()
+        public new PropertyType GetType()
         {
             PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index a67858d..200d734 100755 (executable)
@@ -488,7 +488,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 24a606d..9d64b47 100755 (executable)
@@ -315,7 +315,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 978e777..bb0f39b 100755 (executable)
@@ -166,7 +166,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 4c8ee8e..b13edfd 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 51417f2..df973d0 100755 (executable)
@@ -187,7 +187,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 b9bb7ea..8c1a48d 100755 (executable)
@@ -292,7 +292,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 a7d6882..2f8c63f 100755 (executable)
@@ -341,7 +341,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 01098c3..3055d0c 100755 (executable)
@@ -1614,7 +1614,7 @@ namespace Tizen.NUI
         /// Applies to ALL shapes.<br>
         /// Optional.
         /// </summary>
-        public Color MixColor
+        public new Color MixColor
         {
             get
             {
index cccc109..f7b63d5 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();