summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-09-20 00:33:36 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-09-20 00:33:36 -0400
commitf0e2117f70455bd9883321ae5b0bf40562f2d5de (patch)
tree8d9bf561759e17300685a1275ad40ba97c37f923 /src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs
parent81c42ac77376746ac464a1b1708d08fcc5a55a16 (diff)
downloadSMAPI-f0e2117f70455bd9883321ae5b0bf40562f2d5de.tar.gz
SMAPI-f0e2117f70455bd9883321ae5b0bf40562f2d5de.tar.bz2
SMAPI-f0e2117f70455bd9883321ae5b0bf40562f2d5de.zip
remove mod metadata from instruction handlers, no longer needed (#347)
Diffstat (limited to 'src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs')
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs b/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs
index 1b005869..a20b8bee 100644
--- a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs
+++ b/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs
@@ -32,13 +32,12 @@ namespace StardewModdingAPI.Framework.ModLoading.Rewriters
}
/// <summary>Perform the predefined logic for an instruction if applicable.</summary>
- /// <param name="mod">The mod containing the instruction.</param>
/// <param name="module">The assembly module containing the instruction.</param>
/// <param name="cil">The CIL processor.</param>
/// <param name="instruction">The instruction to handle.</param>
/// <param name="assemblyMap">Metadata for mapping assemblies to the current platform.</param>
/// <param name="platformChanged">Whether the mod was compiled on a different platform.</param>
- public override InstructionHandleResult Handle(IModMetadata mod, ModuleDefinition module, ILProcessor cil, Instruction instruction, PlatformAssemblyMap assemblyMap, bool platformChanged)
+ public override InstructionHandleResult Handle(ModuleDefinition module, ILProcessor cil, Instruction instruction, PlatformAssemblyMap assemblyMap, bool platformChanged)
{
if (!this.IsMatch(instruction))
return InstructionHandleResult.None;