[NUI] Fix build warning CA1507
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / XamlBinding / Style.cs
index e5841cb..b62114e 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.NUI.Binding
         public Style([TypeConverter(typeof(TypeTypeConverter))] [Parameter("TargetType")] Type targetType)
         {
             if (targetType == null)
-                throw new ArgumentNullException("targetType");
+                throw new ArgumentNullException(nameof(targetType));
 
             TargetType = targetType;
             Setters = new List<Setter>();