summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-26 21:55:08 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-26 21:55:08 -0400
commit16161a214fddea19b908d7ca3dc0d39f81c259c8 (patch)
treee5cb86f44a675bf66dd2022644c9b4698d7e474b /src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs
parentfd6835555ccdfecc09d87aab29b9c5cec3820720 (diff)
downloadSMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.tar.gz
SMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.tar.bz2
SMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.zip
remove now-unused instruction replace callback
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs
index e6e7a847..89c8ede7 100644
--- a/src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs
+++ b/src/SMAPI/Framework/ModLoading/Rewriters/MethodWithMissingOptionalParameterRewriter.cs
@@ -1,4 +1,3 @@
-using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
@@ -29,7 +28,7 @@ namespace StardewModdingAPI.Framework.ModLoading.Rewriters
}
/// <inheritdoc />
- public override bool Handle(ModuleDefinition module, ILProcessor cil, Instruction instruction, Action<Instruction> replaceWith)
+ public override bool Handle(ModuleDefinition module, ILProcessor cil, Instruction instruction)
{
// get method ref
MethodReference methodRef = RewriteHelper.AsMethodReference(instruction);