Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.
|
1-1 of 1Patches
< Previous 1 Next >
|
|
Declined Aug 13 2007
|
191 |
Aug 7 2007 at 7:37 PM
|
leppie |
Allows creation of delegates with Ast.New.
Usage: MethodInfo mi = type.GetMethod(name); Type ct = Utils.Reflection.GetDelegateType(Utils.Reflection.GetParameterTypes(mi.GetParameters()), mi.ReturnType); //or use Function/Action ConstructorInfo ci = ct.GetConstructor(new Type[] { typeof(object), typeof(IntPtr) }); return Mast.New(ci, instanceexpr, Mast.Constant(mi));
I could not find any reference to 'ldftn', hence the requirement.
|
|
|
|
1-1 of 1Patches
< Previous 1 Next >
|
|