Skip to content

COR_PRF_MONITOR_CODE_TRANSITIONS causes InvalidProgramException #45411

Description

@davmason

#43386 added some checks for illegal implicit casts in IL, after that went in COR_PRF_MONITOR_CODE_TRANSITIONS will trigger an InvalidProgramException.

I haven't debugged fully, but the likely cause is that NDirectStubLinker::EmitProfilerBeginTransitionCallback or NDirectStubLinker::EmitProfilerEndTransitionCallback (or both) have always emitted invalid IL and need to be fixed.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions