Boo.Lang.Compiler.Steps.ProcessMethodBodies.IsApplicable C# (CSharp) Метод

IsApplicable() приватный Метод

private IsApplicable ( IEntity entity, Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : bool
entity IEntity
node Boo.Lang.Compiler.Ast.MemberReferenceExpression
Результат bool
        private bool IsApplicable(IEntity entity, MemberReferenceExpression node)
        {
            //ProcessLenInvocation - Visit(resultingNode), call for node without parent
            if (node == null || node.ParentNode == null)
                return true;
            if (AstUtil.IsTargetOfMethodInvocation(node)
                && !IsCallableEntity(entity))
                return false;

            return true;
        }
ProcessMethodBodies