Boo.Lang.Compiler.Ast.AstNodePredicates.IsTargetOfMethodInvocation C# (CSharp) 메소드

IsTargetOfMethodInvocation() 공개 정적인 메소드

public static IsTargetOfMethodInvocation ( this node ) : bool
node this
리턴 bool
        public static bool IsTargetOfMethodInvocation(this Expression node)
        {
            var parentExpression = node.ParentNode as MethodInvocationExpression;
            if (parentExpression == null)
                return false;
            return node == parentExpression.Target;
        }