patch_
class doesn't get relinked when used in argument of an attribute
#80
Labels
patch_
class doesn't get relinked when used in argument of an attribute
#80
Description
If a
patch_
class is used in theSystem.Type
argument of an attribute, it will not be relinked to the actual class after patching.MonoMod version: 21.8.19.1
Example
Main project, compiles to
ConsoleApp.exe
:Patcher project, compiles to
ConsoleApp.Mod.mm.dll
:Run
MonoMod.exe ConsoleApp.exe
in command line, and openMONOMODDED_ConsoleApp.exe
, it should outputsConsoleApp.PatchClass
, but it throws this exception instead:The text was updated successfully, but these errors were encountered: