Skip to content

AsyncHelpers used in async thunks may not have references in the ReadyToRun version bubble #121722

@jtschuster

Description

@jtschuster

A number of AsyncHelpers methods are used in the async thunks. These method may not have methodref tokens within assemblies in the R2R version bubble. Some places in crossgen assert this, and generating fixups for these methods isn't possible without a methodref token. These should be dynamically generated in the MutableModule, and the asserts should be updated to ensure any references in generated IL outside the version bubble is a "known" exception that has been accounted for.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions