[NUI] Fix StyleCop warning CA1823 (#2222)
authorJaehyun Cho <29364140+jaehyun0cho@users.noreply.github.com>
Tue, 24 Nov 2020 07:56:48 +0000 (16:56 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 26 Nov 2020 08:19:50 +0000 (17:19 +0900)
To fix CA1823(Avoid unused private fields), the unused private fields
are removed.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: YeongJong Lee <cleanlyj@naver.com>
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/ViewImpl.cs
src/Tizen.NUI/src/internal/WidgetImpl.cs
src/Tizen.NUI/src/public/BaseComponents/AnimatedImageView.cs
src/Tizen.NUI/src/public/FrameCallbackInterface.cs

index 492c27c..0dc9bfa 100755 (executable)
@@ -305,8 +305,6 @@ namespace Tizen.NUI
 
         ReadOnlyCollection<Element> _logicalChildren;
 
-        static SemaphoreSlim SaveSemaphore = new SemaphoreSlim(1, 1);
-
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void SetCurrentApplication(Application value) => Current = value;
 
index 4662acc..267ef59 100755 (executable)
@@ -862,8 +862,6 @@ namespace Tizen.NUI
         private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
         private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
         private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
-        private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
-        private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
         private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
         private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
         private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
@@ -881,4 +879,4 @@ namespace Tizen.NUI
         private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
         private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
     }
-}
\ No newline at end of file
+}
index 18a20c6..8e51242 100755 (executable)
@@ -375,14 +375,5 @@ namespace Tizen.NUI
         private SwigDelegateWidgetImpl_5 swigDelegate5;
         private SwigDelegateWidgetImpl_6 swigDelegate6;
         private SwigDelegateWidgetImpl_7 swigDelegate7;
-
-        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(string), typeof(Window) };
-        private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { typeof(string), typeof(Widget.TerminationType) };
-        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
-        private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
-        private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(Window) };
-        private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(string), typeof(int) };
-        private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
-        private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
     }
 }
index c9cc983..5a56e04 100755 (executable)
@@ -273,7 +273,6 @@ namespace Tizen.NUI.BaseComponents
         int mLoopCount = -1;
         bool mDirtyFlag = false;
         PropertyMap mMap;
-        const string tag = "NUITEST";
         #endregion Private
     }
-}
\ No newline at end of file
+}
index 2d28a3b..20897ed 100755 (executable)
@@ -63,7 +63,6 @@ namespace Tizen.NUI
 
         internal delegate void SwigDelegateFrameCallbackInterface(global::System.IntPtr proxy, float elapsedSeconds);
         private SwigDelegateFrameCallbackInterface swigDelegate0;
-        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(IntPtr), typeof(float) };
 
 
         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
@@ -260,4 +259,4 @@ namespace Tizen.NUI
             Interop.FrameCallbackInterface.FraemCallbackInterface_RemoveFrameCallback(windowCPtr, swigCPtr);
         }
     }
-}
\ No newline at end of file
+}