[NUI] fix a CA2200 warning (#2240)
authorYoungbok Shin <id213sin@gmail.com>
Fri, 13 Nov 2020 10:26:48 +0000 (19:26 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 19 Nov 2020 09:36:46 +0000 (18:36 +0900)
Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs

index 8ca6dde..2171a81 100755 (executable)
@@ -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;