From c5af18d9fc994f107b527f9a256689ad50ca3ffa Mon Sep 17 00:00:00 2001 From: bshsqa <32317749+bshsqa@users.noreply.github.com> Date: Tue, 15 Dec 2020 10:44:12 +0900 Subject: [PATCH] [NUI] Fix build warning CA1724 (#2394) - https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1724 - This warning requires to discuss to fix the name of the Class. Signed-off-by: seungho --- src/Tizen.NUI/src/public/Accessibility/Accessibility.cs | 2 ++ src/Tizen.NUI/src/public/Xaml/ViewExtensions.cs | 2 ++ src/Tizen.NUI/src/public/XamlBinding/Binding.cs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/Tizen.NUI/src/public/Accessibility/Accessibility.cs b/src/Tizen.NUI/src/public/Accessibility/Accessibility.cs index 9bf85c0..4164a79 100755 --- a/src/Tizen.NUI/src/public/Accessibility/Accessibility.cs +++ b/src/Tizen.NUI/src/public/Accessibility/Accessibility.cs @@ -19,6 +19,7 @@ using global::System; using System.ComponentModel; using System.Runtime.InteropServices; using Tizen.NUI.BaseComponents; +using System.Diagnostics.CodeAnalysis; #if (NUI_DEBUG_ON) using tlog = Tizen.Log; #endif @@ -29,6 +30,7 @@ namespace Tizen.NUI.Accessibility /// Accessibility provides Dali-ATSPI interface which has funtionality of Screen-Reader and general accessibility /// // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API) + [SuppressMessage("Microsoft.Design", "CA1724: Type names should not match namespaces")] [EditorBrowsable(EditorBrowsableState.Never)] public class Accessibility : IDisposable { diff --git a/src/Tizen.NUI/src/public/Xaml/ViewExtensions.cs b/src/Tizen.NUI/src/public/Xaml/ViewExtensions.cs index 65eca2e..61cab94 100755 --- a/src/Tizen.NUI/src/public/Xaml/ViewExtensions.cs +++ b/src/Tizen.NUI/src/public/Xaml/ViewExtensions.cs @@ -29,12 +29,14 @@ using System; using System.Reflection; using System.ComponentModel; using Tizen.NUI.Binding; +using System.Diagnostics.CodeAnalysis; namespace Tizen.NUI.Xaml { /// /// Extension class for View defining Tizen.NUI.Xaml.Extensions.LoadFromXaml{TView} method. /// + [SuppressMessage("Microsoft.Design", "CA1724: Type names should not match namespaces")] [EditorBrowsable(EditorBrowsableState.Never)] public static class Extensions { diff --git a/src/Tizen.NUI/src/public/XamlBinding/Binding.cs b/src/Tizen.NUI/src/public/XamlBinding/Binding.cs index 925b317..40bdd80 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/Binding.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/Binding.cs @@ -7,10 +7,12 @@ using System.Linq.Expressions; using System.Reflection; using System.Text; using Tizen.NUI.Binding.Internals; +using System.Diagnostics.CodeAnalysis; 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. + [SuppressMessage("Microsoft.Design", "CA1724: Type names should not match namespaces")] [EditorBrowsable(EditorBrowsableState.Never)] public sealed class Binding : BindingBase { -- 2.7.4