Table of Contents

Method GetStateMachineTarget

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

GetStateMachineTarget(MethodInfo)

Get the method of interest for a given state machine method.
public static MethodInfo? GetStateMachineTarget(this MethodInfo method)

Parameters

method MethodInfo
The method creating the state machine.

Returns

MethodInfo
The "main" method in the state machine.