Show / Hide Table of Contents

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 Source

InnerMethod(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 Source

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
System.Int32[]

Properties

| Improve this Doc View Source

Method

The inner method

Declaration
public MethodInfo Method { get; set; }
Property Value
Type Description
System.Reflection.MethodInfo
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX