From a26a0a39e2eae2572f0d07eb32306ee0f020cbc9 Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 9 Mar 2020 16:22:23 +0100 Subject: [PATCH] syntax --- Assets/Mirror/Editor/Weaver/Extensions.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Assets/Mirror/Editor/Weaver/Extensions.cs b/Assets/Mirror/Editor/Weaver/Extensions.cs index ad0ec7220..48853990e 100644 --- a/Assets/Mirror/Editor/Weaver/Extensions.cs +++ b/Assets/Mirror/Editor/Weaver/Extensions.cs @@ -120,7 +120,6 @@ public static bool CanBeResolved(this TypeReference parent) // Note that calling ArraySegment.get_Count directly gives an invalid IL error public static MethodReference MakeHostInstanceGeneric(this MethodReference self, GenericInstanceType instanceType) { - MethodReference reference = new MethodReference(self.Name, self.ReturnType, instanceType) { CallingConvention = self.CallingConvention,