Harmony 2.1
Fixes:
FieldRef
now supports F = underlying integral type for enum field types #361AccessTools.CreateInstance
can now use non-public parameterless constructors #362- Adds missing internal label in debug output 70d4652
- Supports all argument mapping #371
- Prevent recursive assembly scan from AccessTools static initializer #385
- Uses ReaderWriterLockSlim with ReaderWriterLock under NET 3.5 #364
- Makes __state being keyed more unique so same class names do not colide #408
Added:
- Adds support, testing and CI for .NET 5
- Adds bool flag injection to prefixes to find out if original will be skipped #392
- Adds documentation to PatchAll to warn about inlining choosing the wrong assembly #395
New API in AccessTools:
- Adds
AccessTools.CreateInstance<T>()
#362
Misc:
- Update MonoMod.Common to 21.6.21.1
- Adds pointer sizes to debug log header #388
- Improve performance and stability of shared state
- Wording in error message