Method | Description | |
---|---|---|
GetAnyStaticMethodValidated ( this type, string name, Type types ) : |
Returns the matching method if the parameter types are reference assignable from the provided type arguments, otherwise null.
|
|
GetReturnType ( this mi ) : Type | ||
GetTypeCode ( this type ) : TypeCode |
Method | Description | |
---|---|---|
GetParametersCached ( this method ) : System.Reflection.ParameterInfo[] | ||
IsByRefParameter ( this pi ) : bool | ||
MatchesArgumentTypes ( this mi, Type argTypes ) : bool |
Returns true if the method's parameter types are reference assignable from the argument types, otherwise false. An example that can make the method return false is that typeof(double).GetMethod("op_Equality", ..., new[] { typeof(double), typeof(int) }) returns a method with two double parameters, which doesn't match the provided argument types.
|
public static GetAnyStaticMethodValidated ( this type, string name, Type types ) : |
||
type | this | |
name | string | |
types | Type | |
return |
public static GetReturnType ( this mi ) : Type | ||
mi | this | |
return | Type |
public static GetTypeCode ( this type ) : TypeCode | ||
type | this | |
return | TypeCode |