Remove reflection block on methods with MethodAttributes.RequireSecObject flag (...
authorJan Kotas <jkotas@microsoft.com>
Fri, 29 Dec 2017 13:17:57 +0000 (05:17 -0800)
committerGitHub <noreply@github.com>
Fri, 29 Dec 2017 13:17:57 +0000 (05:17 -0800)
commiteb6f5764e7945e0fbb8d3921e9194aa594a0b856
treec020e9c3ac47f1218cc226700d2e70661a5f7f49
parent61f1e4d2e41c982b938b2596a2a4bee4f7a206be
Remove reflection block on methods with MethodAttributes.RequireSecObject flag (#15663)

This is not applicable for CoreCLR since CoreCLR does not have CAS, and this flag was overloaded for other purpose.

Fixes #15662
src/mscorlib/src/System/Reflection/RuntimeConstructorInfo.cs
src/mscorlib/src/System/Reflection/RuntimeMethodInfo.cs