static public Type GetReturnType(this MethodBase item) { MethodInfo cast; if (item.Convert <MethodInfo>(out cast)) { return(cast.ReturnType); } return(typeof(void)); }