Remove SRE.UnmanagedMarshal dependency from System.Reflection.
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 5 Nov 2012 19:13:57 +0000 (14:13 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 5 Nov 2012 19:16:12 +0000 (14:16 -0500)
commit301b6c6fd8a42f7710bd0bdd95c6ac97efcdc559
tree33f244a614a822fb4076193fd7eac5ef3a6ab693
parentc3e6485245c5071245542cf66a5f616f73df8bdc
Remove SRE.UnmanagedMarshal dependency from System.Reflection.

* FieldInfo.cs:
* MonoMethod.cs:
* ParameterInfo.cs: Remove silly dep on UnmanagedMarshal to use
MarshalAsAttribute which is what we need in the end.

* icall.c:
* reflection.c: Use the custom attribute type instead of the SRE
one. This allows FULL_AOT_RUNTIME to work with stuff that uses
MarshalAs.
mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.cs
mcs/class/corlib/System.Reflection/FieldInfo.cs
mcs/class/corlib/System.Reflection/MonoMethod.cs
mcs/class/corlib/System.Reflection/ParameterInfo.cs
mcs/class/corlib/System/Environment.cs
mono/metadata/appdomain.c
mono/metadata/icall-def.h
mono/metadata/icall.c
mono/metadata/object-internals.h
mono/metadata/reflection.c