public static MethodInfo GetRuntimeMethod(this CType type, String name, CType[] parameters)
 {
     return(type.GetMethod(name, parameters));
 }
Exemple #2
0
 public static TDelegate CreateDelegate <TDelegate> (CType target, string method) where TDelegate : class
 {
     return(CDelegate.CreateDelegate(typeof(TDelegate), null, target.GetMethod(method)) as TDelegate);
 }
 public override MethodInfo GetMethod(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, CType[] types, ParameterModifier[] modifiers)
 {
     return(typeImpl.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers));
 }