コード例 #1
0
ファイル: ClassExtensions.cs プロジェクト: CloudIDEaaS/hydra
        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
ファイル: ClassExtensions.cs プロジェクト: CSRedRat/CppSharp
        public static bool HasNonAbstractBaseMethod(this Class @class, Method method)
        {
            var baseMethod = @class.GetBaseMethod(method, true, true);

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