Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix throwing exception when calling RunClassConstructor on a generic type with a static constructor #105513

Merged
merged 6 commits into from
Jul 26, 2024

Commits on Jul 25, 2024

  1. Fix throwing exception when calling RunClassConstructor on a generic …

    …type with a static constructor
    
    #99183 seems to have done away with assuming that a generic type's static constructor was
    always "initialized". As a result, if you call RunClassConstructor on it, the runtime would throw an exception.
    
    Fixes #103891
    steveisok committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    3a5a5f0 View commit details
    Browse the repository at this point in the history
  2. PR feedback

    steveisok committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c5dcc03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    241a74f View commit details
    Browse the repository at this point in the history
  4. More feedback

    steveisok committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d1eee5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df18d44 View commit details
    Browse the repository at this point in the history
  6. Shouldn't wing it

    steveisok committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    352caa4 View commit details
    Browse the repository at this point in the history