From 769d0156f45517f21bb6a4f3c0a4733d39fa22ae Mon Sep 17 00:00:00 2001 From: Wonsik Jung Date: Mon, 14 Dec 2020 19:57:58 +0900 Subject: [PATCH] [NUI] Fix build warning (CA1032) https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1032 --- src/Tizen.NUI/src/public/Xaml/XamlParseException.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Tizen.NUI/src/public/Xaml/XamlParseException.cs b/src/Tizen.NUI/src/public/Xaml/XamlParseException.cs index a879d73..87ea6c6 100755 --- a/src/Tizen.NUI/src/public/Xaml/XamlParseException.cs +++ b/src/Tizen.NUI/src/public/Xaml/XamlParseException.cs @@ -27,6 +27,26 @@ namespace Tizen.NUI.Xaml return ret; } + /// Initializes a new instance. + [EditorBrowsable(EditorBrowsableState.Never)] + public XamlParseException() + { + } + + /// Initializes a new instance with message. + [EditorBrowsable(EditorBrowsableState.Never)] + public XamlParseException(string message) : base(message) + { + _unformattedMessage = message; + } + + /// Initializes a new instance with message and inner exception. + [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) -- 2.7.4