From: Jaehyun Cho Date: Wed, 11 Nov 2020 08:09:26 +0000 (+0900) Subject: [NUI] Remove StyleCop CA1715 warning messages X-Git-Tag: citest_t1~220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=976121e4bb3fce19a579ecc3f4a45705e7939512;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Remove StyleCop CA1715 warning messages Since T, U, R are commonly used as generic type parameter names and not to do ACR, StyleCop CA1715 warning messages in DaliEventHandler.cs are removed. --- diff --git a/src/Tizen.NUI/src/internal/Common/DaliEventHandler.cs b/src/Tizen.NUI/src/internal/Common/DaliEventHandler.cs index 883a980..e8a976b 100755 --- a/src/Tizen.NUI/src/internal/Common/DaliEventHandler.cs +++ b/src/Tizen.NUI/src/internal/Common/DaliEventHandler.cs @@ -16,6 +16,7 @@ */ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Tizen.NUI @@ -25,6 +26,9 @@ namespace Tizen.NUI /// /// 3 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [SuppressMessage("Microsoft.Naming", + "CA1715:IdentifiersShouldHaveCorrectPrefix", + Justification = "T, U, R are commonly used as generic type parameter names.")] public delegate R DaliEventHandlerWithReturnType(T source, U e); /// @@ -43,6 +47,9 @@ namespace Tizen.NUI /// /// 3 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [SuppressMessage("Microsoft.Naming", + "CA1715:IdentifiersShouldHaveCorrectPrefix", + Justification = "T, U are commonly used as generic type parameter names.")] public delegate void DaliEventHandler(T source, U e); /// @@ -50,6 +57,9 @@ namespace Tizen.NUI /// /// 3 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [SuppressMessage("Microsoft.Naming", + "CA1715:IdentifiersShouldHaveCorrectPrefix", + Justification = "T, U, R are commonly used as generic type parameter names.")] public delegate R EventHandlerWithReturnType(T source, U e); ///