Class InnerMethod
Occcurances of a method that is called inside some outer method
Inheritance
System.Object
InnerMethod
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
[Serializable]
public class InnerMethod
Constructors
| Improve this Doc View SourceInnerMethod(MethodInfo, Int32[])
Creates an InnerMethod
Declaration
public InnerMethod(MethodInfo method, params int[] positions)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodInfo | method | The inner method |
System.Int32[] | positions | Which occcurances (1-based) of the method, negative numbers are counting from the end, empty array means all occurances |
Fields
| Improve this Doc View Sourcepositions
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 |
---|---|
System.Int32[] |
Properties
| Improve this Doc View SourceMethod
The inner method
Declaration
public MethodInfo Method { get; set; }
Property Value
Type | Description |
---|---|
System.Reflection.MethodInfo |