C# Class Boo.Lang.Runtime.CandidateMethod

Afficher le fichier Open project: boo/boo-lang Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
RequiresConversion ( int score ) : bool

Method Details

CalculateArgumentScore() public static méthode

public static CalculateArgumentScore ( Type paramType, Type argType ) : int
paramType System.Type
argType System.Type
Résultat int

CandidateMethod() public méthode

public CandidateMethod ( MethodInfo method, int argumentCount, bool varArgs ) : System
method System.Reflection.MethodInfo
argumentCount int
varArgs bool
Résultat System

GetParameterType() public méthode

public GetParameterType ( int i ) : Type
i int
Résultat System.Type

IsNumericPromotion() public static méthode

public static IsNumericPromotion ( Type paramType, Type argType ) : bool
paramType System.Type
argType System.Type
Résultat bool