[sre] Implement DynamicMethod.GetCustomAttributes() and IsDefined ()
authorAleksey Kliger <aleksey@xamarin.com>
Tue, 13 Dec 2016 17:27:13 +0000 (12:27 -0500)
committerAleksey Kliger <aleksey@xamarin.com>
Tue, 13 Dec 2016 21:34:18 +0000 (16:34 -0500)
commit789fb679beb9ed9e729833c946585ea4d096ee98
tree1f12eb7a6f181b4628722a817752146ef48943c8
parent57527cb400ef3066e61bba45b929a9c25088f6ad
[sre] Implement DynamicMethod.GetCustomAttributes() and IsDefined ()

Per .NET documentation, DynamicMethod does not support custom attributes
exception the MethodImplAttribute pseudo-custom attribute.

Also change GetMethodImplementationFlags to include NoInlining as on .NET

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=49686
mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs