Show / Hide Table of Contents

    Class SearchTarget

    Indicates whether the position of a ILCursor is the result of a search function and if the next search should ignore the instruction preceeding or following this cursor.

    SearchTarget.Next is the result of searching with MoveType.Before, and SearchTarget.Prev from MoveType.After

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

    Fields

    Next

    A foward searching function cannot match the Next instruction and must move the cursor forward

    Declaration
    public const SearchTarget Next
    Field Value
    Type Description
    SearchTarget

    None

    Declaration
    public const SearchTarget None
    Field Value
    Type Description
    SearchTarget

    Prev

    A reverse searching function cannot match the Next instruction and must move the cursor backward

    Declaration
    public const SearchTarget Prev
    Field Value
    Type Description
    SearchTarget

    value__

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