public MethodInfo GetMethod(String name,Type[] types)
{
if (name == null)
throw new ArgumentNullException("name");
if (types == null)
throw new ArgumentNullException("types");
for (int i =0;i < types.Length;i++)
{
if (types[i] == null)
throw new ArgumentNullException("types");
}
return GetMethodImpl(name, Module.DefaultLookup, null, CallingConventions.Any, types, null);
}