Fix StyleCop warning SA2200 (throwing caught exception)
authorStephen Toub <stoub@microsoft.com>
Thu, 8 Aug 2019 19:03:12 +0000 (15:03 -0400)
committerStephen Toub <stoub@microsoft.com>
Fri, 9 Aug 2019 11:54:53 +0000 (07:54 -0400)
Commit migrated from https://github.com/dotnet/coreclr/commit/53b2b7eedb9c297cdd1f7ebaeea12a168cc3d8b5

src/coreclr/src/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs

index 0d36a71..5c16890 100644 (file)
@@ -3308,7 +3308,7 @@ namespace System
             catch (TypeLoadException e)
             {
                 ValidateGenericArguments(this, instantiationRuntimeType, e);
-                throw e;
+                throw;
             }
 
             return ret;