Show / Hide Table of Contents

    Class MoveType

    Specifies where a ILCursor should be positioned in relation to the target of a search function

    Inheritance
    System.Object
    MoveType
    Namespace: MonoMod.Cil
    Assembly: MonoMod.Utils.dll
    Syntax
    public sealed class MoveType : Enum

    Fields

    After

    Move the cursor after the last instruction in the match

    Declaration
    public const MoveType After
    Field Value
    Type Description
    MoveType

    AfterLabel

    Equivalent to Before with cursor.MoveAfterLabels() causing emitted instructions to become the target of incoming labels

    Declaration
    public const MoveType AfterLabel
    Field Value
    Type Description
    MoveType

    Before

    Move the cursor before the first instruction in the match

    Declaration
    public const MoveType Before
    Field Value
    Type Description
    MoveType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Yet another C# modding swiss army knife.