diff options
Diffstat (limited to 'src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs')
-rw-r--r-- | src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs b/src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs index 5c24acb6..f99a0a5a 100644 --- a/src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs +++ b/src/StardewModdingAPI.AssemblyRewriters/IInstructionRewriter.cs @@ -4,13 +4,8 @@ using Mono.Cecil.Cil; namespace StardewModdingAPI.AssemblyRewriters { /// <summary>Rewrites a CIL instruction for compatibility.</summary> - public interface IInstructionRewriter + public interface IInstructionRewriter : IInstructionFinder { - /// <summary>Get whether a CIL instruction should be rewritten.</summary> - /// <param name="instruction">The IL instruction.</param> - /// <param name="platformChanged">Whether the mod was compiled on a different platform.</param> - bool ShouldRewrite(Instruction instruction, bool platformChanged); - /// <summary>Rewrite a CIL instruction for compatibility.</summary> /// <param name="module">The module being rewritten.</param> /// <param name="cil">The CIL rewriter.</param> |