You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mono runtime allows running module ctor and class ctors multiple times through reflection #40351
As part of fixing bug #1748 it was discovered that reflection can execute module and class constructors multilple times. As this violates a number of the assumptions that the JIT is taking around behavior of readonly static fields, it was decided to disable that behavior.
The Mono runtime currently allows the class/module constructors to execute multiple times. This bug exists to track that difference and make it simple to disable the new test that checks to verify that such constructors do not run repeatedly.
Activity
SamMonoRT commentedon Jul 16, 2021
Moving to 7.0.0
jkotas commentedon Aug 17, 2022
Fixed by #73955