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

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

private GetCorrectCallableReference ( Node sourceNode, Boo.Lang.Compiler.Ast.ExpressionCollection args, IEntity candidates ) : IEntity
sourceNode Node
args Boo.Lang.Compiler.Ast.ExpressionCollection
candidates IEntity
Результат IEntity
        IEntity GetCorrectCallableReference(Node sourceNode, ExpressionCollection args, IEntity[] candidates)
        {
            // BOO-844: Ensure all candidates were visited (to make property setters have correct signature)
            EnsureRelatedNodesWereVisited(sourceNode, candidates);

            var found = CallableResolutionService.ResolveCallableReference(args, candidates);
            if (found == null)
                EmitCallableResolutionError(sourceNode, candidates, args);
            else
                BindNullableParameters(args, ((IMethodBase) found).CallableType);

            return found;
        }
ProcessMethodBodies