Skip to content

Add analyzer and documentation to migrate customers from MonoPInvokeCallbackAttribute to UnmanagedCallersOnlyAttribute #47177

@CoffeeFlux

Description

@CoffeeFlux

We are recommending use of UnmanagedCallersOnlyAttribute moving forward, but its usage isn't quite the same. We should have an analyzer to detect use of MonoPInvokeCallbackAttribute and documentation on how to migrate over where appropriate.

cc: @marek-safar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions