Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with MpCompatSyncFieldAttribute (#482)
Fixes: - The field is accessed `AccessTools.Field` rather than `AccessTools.DeclaredField` - The thrown exception if the `field` is null is now `MissingFieldException` rather than `MissingMethodException` - The exception that's thrown if the `field` is null now uses `fieldName` rather than `field` in its message
- Loading branch information