C# modding swiss army knife, powered by cecil.
Long overdue maintenance release of the old branch for those who need it. Check the commit log for changes.
Please follow @nike4613's progress with the reorganize
branch.
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
ReflectionHelper.IsMono
and IsCore
, check for Mono.RuntimeStructs
(modern mono).DynDll
act as a shim for NativeLibrary
on .NET Core.ICorJitCompiler
compileMethod
switched from StdCall
to ThisCall
for this specific version of the .NET runtime despite no changes to the function definition, presumably due to minor compile-time differences.NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
RuntimeHelpers.CompileMethod(RuntimeMethodHandleInternal)
signature found in .NET 5 and newer.
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
ILPatternMatchingExt.Match<T>(Instruction, OpCode, out T)
(always returned false).callvirt get_Assembly
(Mono vs .NET) fix for DMDEmit as well (Thanks, @ghorsington!).NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
TryMemAllocScratchCloseTo
, fixing problems in some Unity environments.NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release