[NUI] Fix build warning (CA1032)
authorWonsik Jung <sidein@samsung.com>
Mon, 14 Dec 2020 10:57:58 +0000 (19:57 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 21 Dec 2020 12:05:23 +0000 (21:05 +0900)
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1032

src/Tizen.NUI/src/public/Xaml/XamlParseException.cs

index a879d73..87ea6c6 100755 (executable)
@@ -27,6 +27,26 @@ namespace Tizen.NUI.Xaml
             return ret;
         }
 
+        /// <summary> Initializes a new instance. </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public XamlParseException()
+        {
+        }
+
+        /// <summary> Initializes a new instance with message. </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public XamlParseException(string message) : base(message)
+        {
+           _unformattedMessage = message;
+        }
+
+        /// <summary> Initializes a new instance with message and inner exception. </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public XamlParseException(string message, Exception innerException = null) : base(message, innerException)
+        {
+           _unformattedMessage = message;
+        }
+
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
         public XamlParseException(string message, IXmlLineInfo xmlInfo, Exception innerException = null) : base(FormatMessage(message + GetStackInfo(), xmlInfo), innerException)