示例#1
0
        public static bool HasCallableBaseMethodInPrimaryBase(this Class @class, Method method)
        {
            var baseMethod = @class.GetBaseMethod(method, true, true);

            return(baseMethod != null && !baseMethod.IsPure && baseMethod.IsGenerated &&
                   !((Class)baseMethod.OriginalNamespace).IsInterface);
        }
示例#2
0
        public static bool HasNonAbstractBaseMethod(this Class @class, Method method)
        {
            var baseMethod = @class.GetBaseMethod(method, true, true);

            return(baseMethod != null && !baseMethod.IsPure);
        }