From d44b98395d706d9410cceefbeb60e2474bdcef81 Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 23 Aug 2021 17:11:44 +0800 Subject: [PATCH] comment --- .../Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs index b1a5ca3bc..e26dab0e1 100644 --- a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs +++ b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs @@ -74,6 +74,10 @@ public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) }; using (AssemblyDefinition asmDef = AssemblyDefinition.ReadAssembly(stream, readerParameters)) { + // TODO see if we need this. + // supposedly fixes resolving a type from Mirror.dll while processing Mirror.dll? + // asmResolver.AddAssemblyDefinitionBeingOperatedOn(asmDef); + Weaver weaver = new Weaver(Log); // TODO add dependencies?