Skip to content

To add, or not to add, a Note to §15.6.10 Extension methods #1361

@Nigel-Ecma

Description

@Nigel-Ecma

This is spun off from #1209, where a comment contains:

In the preexisting text I did notice that a reference parameter can be of a generic type constrained to a struct, an input parameter cannot be, and there appears to be no explanation why. The answer can be found in the Readonly references proposal, should something (normative or informative) be added?

This is referring to the bullet list in §15.6.10 Extension methods and the section in extensions and generics in the Readonly references proposal.

Should something normative or informative be added to justify this difference?

Metadata

Metadata

Assignees

No one assigned

    Labels

    meeting: discussThis issue should be discussed at the next TC49-TG2 meeting

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions