MonoMod icon indicating copy to clipboard operation
MonoMod copied to clipboard

C# modding swiss army knife, powered by cecil.

Results 69 MonoMod issues
Sort by recently updated
recently updated
newest added

Rain world modding doesn't use Partiality anymore

### Description It appears that on some systems, the `CompileMethodHook` overrides Win32's `LastError` somewhere in the execution of `InvokeRealCompileMethod`. This is observed when initializing `DetourHelper.Runtime` which causes the jit hooks...

bug

### Description Currently applying detours under the upcoming .NET 7 is not working. Based on an investigation in https://github.com/BepInEx/HarmonyX/pull/49, .NET 7 Preview 3 is likely the culprit as there all...

bug

This fixes some nullable return types in anonymous types produced by roslyn which are merged into the source assembly using MonoMod. The error raised by Mono.Cecil at write time is:...

I spent some time debugging over the weekend and figured out the necessary changes for supporting Apple Silicon. I can try to restructure the code a bit and send in...

bug

### Description If the original dll has a private struct with methods, then HookGen creates events to Hook those methods, but it's impossible to subscribe to those events. ### Example...

bug

### Description In specific cases, a System.NullReferenceException exception will be thrown from an ILHook's generated DMD (and sometimes `FastDelegateInvokers.Invoke`) when using a custom delegate type for an instance method. I...

bug

### Description In mono, creating a `DynamicData` instance with a struct containing getters / properties will throw a `System.InvalidProgramException`. MonoMod version: 21.8.19.1 Mono version: ```console $ mono --version Mono JIT...

bug

this contains some partiality code in it for backwards compatibility, but partiality itself is deprecated and will no longer be used.