Remove SRE.UnmanagedMarshal dependency from System.Reflection.
commit5f6941c396ef9ea5d21964aa3113593c7b6215b9
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 5 Nov 2012 19:13:57 +0000 (5 14:13 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 26 Nov 2012 21:12:42 +0000 (26 16:12 -0500)
tree9232572565dd4bf2ed2165ed96c38429efc100c1
parentb00aa90454f0c20f2bcf38e5457155e0cada8864
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/object.c
mono/metadata/reflection.c