Skip to content

Provide macros for QCall contracts with SupressGCTransition #36238

@jkoritzinsky

Description

@jkoritzinsky

Our guidance for managed->native calls that need FCall-like performance and are very small is to use QCalls with the SupressGCTransitionAttribute attribute. However, the current QCall contract and check macros assert that the GC mode transitions.

We should provide additional contract/check macros for “suppress GC transition + QCall” method implementations to simplify specifying contracts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions