Beispiel #1
0
        static public Type GetReturnType(this MethodBase item)
        {
            MethodInfo cast;

            if (item.Convert <MethodInfo>(out cast))
            {
                return(cast.ReturnType);
            }

            return(typeof(void));
        }