JaCIL Framework API

CecilHelper.GetParameterType Method 

Returns the parameter definition of the given index into the parameter array. This takes into account the "this" parameter.

public static TypeReference GetParameterType(
   MethodReference method,
   int index
);

Parameters

method
The method to pull from.
index
The parameter index.

Return Value

The cecil type reference.

See Also

CecilHelper Class | JaCIL.Compiler.Util Namespace