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); }
public static bool HasNonAbstractBaseMethod(this Class @class, Method method) { var baseMethod = @class.GetBaseMethod(method, true, true); return(baseMethod != null && !baseMethod.IsPure); }