Table of Contents

Method FindPrev

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

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

Search backwards for occurences of a series of instructions matching the given set of predicates with gaps permitted.
public void FindPrev(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