Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix class construction recursion issue in
Lock
on NativeAOT
- The `Monitor` type was being constructed due to the use of `Monitor.DebugBlockingScope`, added that to the initialization phase - If necessary, an alternative may be to move `DebugBlockingScope` to be under `Lock`. Based on the comments the thread-static field is apparently bound-to in debugging scenarios. - Fixes dotnet#94227
- Loading branch information