From: Youngbok Shin Date: Fri, 13 Nov 2020 10:26:48 +0000 (+0900) Subject: [NUI] fix a CA2200 warning (#2240) X-Git-Tag: accepted/tizen/unified/20210219.040944~271 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=391cd1ba04e2655ec3ad4dc0eb7da1b8db1b1f20;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] fix a CA2200 warning (#2240) Co-authored-by: Youngbok Shin --- diff --git a/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs index 8ca6dde..2171a81 100755 --- a/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs @@ -32,7 +32,7 @@ namespace Tizen.NUI.Xaml catch (ArgumentException ae) { if (ae.ParamName != "name") - throw ae; + throw; throw new XamlParseException($"An element with the name \"{(string)node.Value}\" already exists in this NameScope", node); } var element = Values[parentNode] as Element;