Boo.Lang.Compiler.Steps.ProcessMethodBodiesWithDuckTyping.NormalizeMethodInvocationTarget C# (CSharp) Метод

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

private NormalizeMethodInvocationTarget ( MethodInvocationExpression node ) : void
node Boo.Lang.Compiler.Ast.MethodInvocationExpression
Результат void
        void NormalizeMethodInvocationTarget(MethodInvocationExpression node)
        {
            if (node.Target.NodeType != NodeType.ReferenceExpression) return;

            node.Target = MemberReferenceFromReference(
                            (ReferenceExpression)node.Target,
                            ((CallableResolutionService.Candidate)_callableResolution.ValidCandidates[0]).Method);
        }