Table of Contents

Method FindNext

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

FindNext(out ILCursor[], params Func<Instruction, bool>[])

Find the next occurences of a series of instructions matching the given set of predicates with gaps permitted.
public void FindNext(out ILCursor[] cursors, params Func<Instruction, bool>[] predicates)

Parameters

cursors ILCursor[]
An array of cursors corresponding to each found instruction (MoveType.Before)
predicates Func<Instruction, bool>[]

Exceptions

KeyNotFoundException
If no match is found