C# Class NCop.Core.MethodComparer

Show file Open project: sagifogel/NCop

Public Methods

Method Description
IsMatchedTo ( this firstMethod, MethodInfo secondMethod ) : bool
MatchParameter ( ParameterInfo firstParameter, ParameterInfo secondParameter ) : bool
MatchParameters ( ParameterInfo firstParameters, ParameterInfo secondParameters ) : bool
MatchReturnType ( Type firstReturnType, Type secondReturnType ) : bool

Method Details

IsMatchedTo() public static method

public static IsMatchedTo ( this firstMethod, MethodInfo secondMethod ) : bool
firstMethod this
secondMethod System.Reflection.MethodInfo
return bool

MatchParameter() public static method

public static MatchParameter ( ParameterInfo firstParameter, ParameterInfo secondParameter ) : bool
firstParameter System.Reflection.ParameterInfo
secondParameter System.Reflection.ParameterInfo
return bool

MatchParameters() public static method

public static MatchParameters ( ParameterInfo firstParameters, ParameterInfo secondParameters ) : bool
firstParameters System.Reflection.ParameterInfo
secondParameters System.Reflection.ParameterInfo
return bool

MatchReturnType() public static method

public static MatchReturnType ( Type firstReturnType, Type secondReturnType ) : bool
firstReturnType System.Type
secondReturnType System.Type
return bool