Skip to content

APIs that return tokens should be marked RequiresUnreferencedCode #94514

Open

Description

Trimming shuffles the tokens so the number returned from here are different after trimming. Differences in behavior need to be flagged.

MemberInfo.MetadataToken
ParameterInfo.MetadataToken

Module.MetadataToken might be fine.

We already flag APIs that resolve things from tokens but this was missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions