Skip to content

Check if ModuleCancellationInstrumenter gracefully handles ref kind differences between original and replacement methods #74393

Open

Description

@RikkiGibson

I am wondering if any unexpected behavior changes could occur if:

  • the original method was a readonly struct method and the replacement method was not, for example.
  • Or, the other way around, the original is non-readonly and the replacement is readonly.

Since it seems like we are not checking the readonly-ness of the this parameter in these checks.

Since this PR is already merged some time ago, I will open a new issue based on this comment.

Originally posted by @RikkiGibson in #71896 (comment)

Activity

  1. ghost added
    untriaged
    on Jul 15, 2024
  2. RikkiGibson commented on Jul 15, 2024

    @RikkiGibson
    MemberAuthor
  3. removed
    untriaged
    on Nov 26, 2024
  4. added this to the Backlog milestone on Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions