Class InnerMethod
Occcurances of a method that is called inside some outer method
Inheritance
object
    InnerMethod
  Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class InnerMethod
  Constructors
InnerMethod(MethodInfo, params int[])
Creates an InnerMethod
Declaration
public InnerMethod(MethodInfo method, params int[] positions)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MethodInfo | method | The inner method  | 
      
| int[] | positions | Which occcurances (1-based) of the method, negative numbers are counting from the end, empty array means all occurances  | 
      
Fields
positions
Which occcurances (1-based) of the method, negative numbers are counting from the end, empty array means all occurances
Declaration
public int[] positions
  Field Value
| Type | Description | 
|---|---|
| int[] | 
Properties
Method
The inner method
Declaration
public MethodInfo Method { get; set; }
  Property Value
| Type | Description | 
|---|---|
| MethodInfo |