From: Moonhee, Choi Date: Tue, 8 Dec 2020 08:57:54 +0000 (+0900) Subject: [NUI] Remove build warning - CA1041 X-Git-Tag: accepted/tizen/unified/20210219.040944~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b89e8f848d68c07017b516e9bab3eeba01a0df12;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Remove build warning - CA1041 --- diff --git a/src/Tizen.NUI/src/public/Xaml/XamlServiceProvider.cs b/src/Tizen.NUI/src/public/Xaml/XamlServiceProvider.cs index 4164b79..064ccd7 100755 --- a/src/Tizen.NUI/src/public/Xaml/XamlServiceProvider.cs +++ b/src/Tizen.NUI/src/public/Xaml/XamlServiceProvider.cs @@ -325,7 +325,7 @@ namespace Tizen.NUI.Xaml /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete] + [ObsoleteAttribute(" ", false)] public class NameScopeProvider : INameScopeProvider { /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. diff --git a/src/Tizen.NUI/src/public/XamlBinding/BindableObjectExtensions.cs b/src/Tizen.NUI/src/public/XamlBinding/BindableObjectExtensions.cs index 53191c0..bc985ee 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/BindableObjectExtensions.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/BindableObjectExtensions.cs @@ -24,7 +24,7 @@ namespace Tizen.NUI.Binding /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete] + [ObsoleteAttribute(" ", false)] public static void SetBinding(this BindableObject self, BindableProperty targetProperty, Expression> sourceProperty, BindingMode mode = BindingMode.Default, IValueConverter converter = null, string stringFormat = null) { diff --git a/src/Tizen.NUI/src/public/XamlBinding/Binding.cs b/src/Tizen.NUI/src/public/XamlBinding/Binding.cs index 3af0685..925b317 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/Binding.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/Binding.cs @@ -112,7 +112,7 @@ namespace Tizen.NUI.Binding /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete] + [ObsoleteAttribute(" ", false)] public static Binding Create(Expression> propertyGetter, BindingMode mode = BindingMode.Default, IValueConverter converter = null, object converterParameter = null, string stringFormat = null) { diff --git a/src/Tizen.NUI/src/public/XamlBinding/Internals/INameScope.cs b/src/Tizen.NUI/src/public/XamlBinding/Internals/INameScope.cs index 93cc0dc..cf71650 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/Internals/INameScope.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/Internals/INameScope.cs @@ -22,6 +22,7 @@ namespace Tizen.NUI.Binding.Internals /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete] void RegisterName(string name, object scopedElement, IXmlLineInfo xmlLineInfo); + [ObsoleteAttribute(" ", false)] + void RegisterName(string name, object scopedElement, IXmlLineInfo xmlLineInfo); } } diff --git a/src/Tizen.NUI/src/public/XamlBinding/Internals/NameScope.cs b/src/Tizen.NUI/src/public/XamlBinding/Internals/NameScope.cs index ae81b77..15af194 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/Internals/NameScope.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/Internals/NameScope.cs @@ -32,7 +32,7 @@ namespace Tizen.NUI.Binding.Internals _names[name] = scopedElement; } - [Obsolete] + [ObsoleteAttribute(" ", false)] void INameScope.RegisterName(string name, object scopedElement, IXmlLineInfo xmlLineInfo) { try