[NUI] Fix CA1716 build warning
authorMoonhee, Choi <mh0310.choi@samsung.com>
Tue, 29 Dec 2020 06:51:55 +0000 (15:51 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Mon, 11 Jan 2021 05:49:43 +0000 (14:49 +0900)
src/Tizen.NUI/src/internal/DaliEnumConstants.cs
src/Tizen.NUI/src/public/VisualConstants.cs
src/Tizen.NUI/src/public/XamlBinding/Internals/IDynamicResourceHandler.cs

index 9a45d7e..285437d 100755 (executable)
@@ -76,6 +76,7 @@ namespace Tizen.NUI
             /// The properties used for a Tooltip.
             /// </summary>
             /// <since_tizen> 3 </since_tizen>
+           [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1716: Identifiers should not match keywords")]
             public struct Property
             {
                 /// <summary>
index ec18807..82d65c9 100755 (executable)
@@ -451,6 +451,7 @@ namespace Tizen.NUI
         /// This specifies visual properties.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+       [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1716: Identifiers should not match keywords")]
         public struct Property
         {
             /// <summary>
index 8916eae..955c706 100755 (executable)
@@ -9,6 +9,6 @@ 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)]
-        void SetDynamicResource(BindableProperty property, string key);
+        void SetDynamicResource(BindableProperty targetProperty, string key);
     }
 }