Do not materialize CAS PseudoCustomAttribute (dotnet/coreclr#7794)
authorJan Kotas <jkotas@microsoft.com>
Tue, 25 Oct 2016 16:02:38 +0000 (09:02 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Oct 2016 16:02:38 +0000 (09:02 -0700)
commitbb3c384ccc42c45d88ff94b9b0e3807f11517bb4
treebfbb80b1fe68b21044bef2d1bc28b2293ebd6774
parent1087bcaa1e1e63110ea5ef7eace171132c2ee686
Do not materialize CAS PseudoCustomAttribute (dotnet/coreclr#7794)

Do not materialize CAS permissionsets as custom attributes in reflection. We are just providing the CAS types in corefx to make things compile, but nothing else.

Fix https://github.com/dotnet/corefx/issues/12759

Commit migrated from https://github.com/dotnet/coreclr/commit/565efeadebc4e57adda634396933e958ffd51bb0
src/coreclr/src/mscorlib/src/System/Reflection/CustomAttribute.cs
src/coreclr/src/vm/customattribute.cpp
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/securityattributes.cpp
src/coreclr/src/vm/securitydeclarativecache.cpp