C# Class Jurassic.Compiler.BinderUtilities

This class is public for technical reasons and is intended only for internal use.
Exibir arquivo Open project: paulbartrum/jurassic

Public Methods

Method Description
ResolveOverloads ( RuntimeMethodHandle methodHandles, ScriptEngine engine, object thisValue, object arguments ) : int

Given a set of methods and a set of arguments, determines whether one of the methods can be unambiguously selected. Throws an exception if this is not the case.

Method Details

ResolveOverloads() public static method

Given a set of methods and a set of arguments, determines whether one of the methods can be unambiguously selected. Throws an exception if this is not the case.
public static ResolveOverloads ( RuntimeMethodHandle methodHandles, ScriptEngine engine, object thisValue, object arguments ) : int
methodHandles System.RuntimeMethodHandle An array of handles to the candidate methods.
engine ScriptEngine The associated script engine.
thisValue object The value of the "this" keyword.
arguments object An array of parameter values.
return int