summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-26 19:01:35 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-26 19:01:35 -0400
commit85ed48809032fdbb8461ce4c34acfbe06f68652b (patch)
tree957c768ddcb8d3a7dc4928803aae775e9b632970 /src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs
parent23443721cd2cc5391510a6e65b4e6559037e5b5e (diff)
downloadSMAPI-85ed48809032fdbb8461ce4c34acfbe06f68652b.tar.gz
SMAPI-85ed48809032fdbb8461ce4c34acfbe06f68652b.tar.bz2
SMAPI-85ed48809032fdbb8461ce4c34acfbe06f68652b.zip
merge CIL finders & rewriters into one interface (#254)
Diffstat (limited to 'src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs')
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs b/src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs
deleted file mode 100644
index cc3006b9..00000000
--- a/src/StardewModdingAPI.AssemblyRewriters/IInstructionFinder.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using Mono.Cecil.Cil;
-
-namespace StardewModdingAPI.AssemblyRewriters
-{
- /// <summary>Finds CIL instructions considered incompatible.</summary>
- public interface IInstructionFinder
- {
- /*********
- ** Accessors
- *********/
- /// <summary>A brief noun phrase indicating what the instruction finder matches.</summary>
- string NounPhrase { get; }
-
-
- /*********
- ** Methods
- *********/
- /// <summary>Get whether a CIL instruction matches.</summary>
- /// <param name="instruction">The IL instruction.</param>
- /// <param name="platformChanged">Whether the mod was compiled on a different platform.</param>
- bool IsMatch(Instruction instruction, bool platformChanged);
- }
-}