From 47b66430c253a9a50d17df64199884a01a734c21 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 28 Aug 2021 20:55:23 +0800 Subject: [PATCH] remove unused --- .../EntryPointILPostProcessor/ILPostProcessorHook.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs index 5430d669b..a25b571b3 100644 --- a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs +++ b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs @@ -43,13 +43,6 @@ public override bool WillProcess(ICompiledAssembly compiledAssembly) compiledAssembly.References.Any(filePath => Path.GetFileNameWithoutExtension(filePath) == MirrorRuntimeAssemblyName); } - // searches for Mirror.dll in references. - // note that for Mirror.dll itself, it won't find anything. - string FindMirrorRuntimeReference(ICompiledAssembly compiledAssembly) - { - return compiledAssembly.References.ToList().Find(filePath => Path.GetFileNameWithoutExtension(filePath) == MirrorRuntimeAssemblyName); - } - public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) { //Log.Warning($"Processing {compiledAssembly.Name}");