Remove build warning for Control.Preload()
authorEunki Hong <eunkiki.hong@samsung.com>
Tue, 24 Oct 2023 14:20:08 +0000 (23:20 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 31 Oct 2023 14:07:28 +0000 (23:07 +0900)
We implement View.Preload() API now. So compiler can feel dizzy
which one is Control.Preload() should do.

To avoid this compilation warning, let we add 'new' keyword for it.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI.Components/Controls/Control.cs

index 3145db3..3007d93 100755 (executable)
@@ -72,7 +72,7 @@ namespace Tizen.NUI.Components
         /// This is used to improve theme performance.
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        static public void Preload()
+        static public new void Preload()
         {
             DefaultThemeCreator.Preload();
         }