using Mono.Cecil.Cil; namespace StardewModdingAPI.AssemblyRewriters { /// Finds CIL instructions considered incompatible. public interface IInstructionFinder { /********* ** Accessors *********/ /// A brief noun phrase indicating what the instruction finder matches. string NounPhrase { get; } /********* ** Methods *********/ /// Get whether a CIL instruction matches. /// The IL instruction. /// Whether the mod was compiled on a different platform. bool IsMatch(Instruction instruction, bool platformChanged); } }