gremit
gremit copied to clipboard
.NET Reflection.Emit extensions
 IRemoteMessageSenderDelegate BuildSenderDelegate(MethodInfo methodInfo, Type inputType) { return (IRemoteMessageSenderDelegate)Activator.CreateInstance(typeof(RemoteMessageSenderDelegate).MakeGenericType(inputType ?? typeof(object), methodInfo.ReturnType), methodInfo, OxygenIocContainer.Resolve()); }
We are trying to emit Ldftn instruction. In some cases we see exception System.ArgumentException. Look at this code: ```C# public class Dummy { public static int Add10(int x) { return...
Fixes #31. This is my first edit to gremit, so I'm not 100% sure this is correct, although it's pretty straightforward. It does seem to work correctly for me, and...
Coverage of OpCodes is pretty good, but I noticed that Unbox isn't supported, even though Unbox_Any is there. Is this just an oversight?