* ModuleBuilder.cs: Implement GetMethodImpl.
svn path=/trunk/mcs/; revision=154661
+2010-04-01 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * ModuleBuilder.cs: Implement GetMethodImpl.
+
2010-04-01 Rodrigo Kumpera <rkumpera@novell.com>
* ModuleBuilder.cs (DefineType): Raise the correct exception
{
return false;
}
+
+ protected override MethodInfo GetMethodImpl (string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
+ {
+ if (global_type_created == null)
+ return null;
+ if (types == null)
+ return global_type_created.GetMethod (name);
+ return global_type_created.GetMethod (name, bindingAttr, binder, callConvention, types, modifiers);
+ }
#endif
}