Skip to content

HookTargetRecords.HookTargetInfo Class

Information about a hook target method.

C#
public class HookTargetRecords.HookTargetInfo

Inheritance object

Information relevant to Prefix hooks.

C#
public HookTargetRecords.TargetPrefixInfo PrefixInfo { get; }

Information relevant to Postfix hooks.

C#
public HookTargetRecords.TargetPostfixInfo PostfixInfo { get; }

The local variable containing the return value of the method.

C#
public VariableDefinition? ReturnValue { get; }

A list of the original instructions before the method was manipulated.

C#
public ReadOnlyCollection<Instruction> OriginalInstructions { get; }

This list has the same instruction instances as the current MonoMod.Cil.ILContext, meaning some may have been modified.