Skip to content

Allow adding scoped or removing [UnscopedRef] for override, interface implementation, or delegate conversion #62340

@cston

Description

@cston

From spec:

The signature for an override, interface implementation or delegate conversion can:

  • Add scoped to a ref or in parameter
  • Add scoped to a ref struct parameter
  • Remove [UnscopedRef] from an out parameter
  • Remove [UnscopedRef] from a ref parameter of a ref struct type

Any other difference with respect to scoped will be considered an error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions