public static Attribute[] GetMethodAttributes(this IDotnetExpander expander, string name, string methodName) { string assemblyName, typeName, value; expander.ParseName(name, out assemblyName, out typeName, out value); return(expander.GetMethodAttributes(assemblyName, typeName, methodName)); }