forgot to save

This commit is contained in:
vis2k 2021-08-23 19:28:13 +08:00
parent 9d812051a6
commit 71d19aaff3

View File

@ -79,7 +79,7 @@ public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly)
// NullReferenceException in WeaverTypes.ctor // NullReferenceException in WeaverTypes.ctor
// when Resolve() is called on the first Mirror type. // when Resolve() is called on the first Mirror type.
// need to add the AssemblyDefinition itself to use. // need to add the AssemblyDefinition itself to use.
asmResolver.AddAssemblyDefinitionForCompiledAssembly(asmDef); asmResolver.SetAssemblyDefinitionForCompiledAssembly(asmDef);
// weave this assembly. // weave this assembly.
Weaver weaver = new Weaver(Log); Weaver weaver = new Weaver(Log);