From: Eunki Hong Date: Tue, 24 Oct 2023 14:20:08 +0000 (+0900) Subject: [NUI.Components] Remove build warning for Control.Preload() X-Git-Tag: accepted/tizen/unified/20231205.024657~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=609c20000bcadfea43034649457d0260394778a1;hp=ec95af606d3c791af5ac8b2fdb3c16e245e3883f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI.Components] Remove build warning for Control.Preload() 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 --- diff --git a/src/Tizen.NUI.Components/Controls/Control.cs b/src/Tizen.NUI.Components/Controls/Control.cs index 3145db3..3007d93 100755 --- a/src/Tizen.NUI.Components/Controls/Control.cs +++ b/src/Tizen.NUI.Components/Controls/Control.cs @@ -72,7 +72,7 @@ namespace Tizen.NUI.Components /// This is used to improve theme performance. /// [EditorBrowsable(EditorBrowsableState.Never)] - static public void Preload() + static public new void Preload() { DefaultThemeCreator.Preload(); }