C# Class Boo.Lang.Runtime.CandidateMethod

Show file Open project: boo/boo-lang Class Usage Examples

Public Methods

Method Description
CalculateArgumentScore ( Type paramType, Type argType ) : int
CandidateMethod ( MethodInfo method, int argumentCount, bool varArgs ) : System
GetParameterType ( int i ) : Type
IsNumericPromotion ( Type paramType, Type argType ) : bool

Private Methods

Method Description
RequiresConversion ( int score ) : bool

Method Details

CalculateArgumentScore() public static method

public static CalculateArgumentScore ( Type paramType, Type argType ) : int
paramType System.Type
argType System.Type
return int

CandidateMethod() public method

public CandidateMethod ( MethodInfo method, int argumentCount, bool varArgs ) : System
method System.Reflection.MethodInfo
argumentCount int
varArgs bool
return System

GetParameterType() public method

public GetParameterType ( int i ) : Type
i int
return System.Type

IsNumericPromotion() public static method

public static IsNumericPromotion ( Type paramType, Type argType ) : bool
paramType System.Type
argType System.Type
return bool