dotnet / dotnet/csharplang

[Proposal]: Let ref structs implement interfaces and substitute into type parameters (VS 17.11, .NET 9)

Open
#7,608 57 comments 47 reactions 1 assignee Claimed by @agocke View on GitHub
Implemented Needs ECMA Spec Proposal Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

# Ref structs implementing interfaces

* [x] Proposed
* [ ] Prototype: Not Started
* [ ] Implementation: Not Started
* [x] Specification: https://github.com/dotnet/csharplang/blob/main/proposals/ref-struct-interfaces.md

## Related Issues

- [Runtime Feature Tracking](https://github.com/dotnet/runtime/issues/65112)
- Related Requests
- https://github.com/dotnet/csharplang/issues/1148
- https://github.com/dotnet/runtime/issues/27229

## Design meetings

https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-02-26.md#ref-structs-in-generics
https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-06-10.md#ref-structs-implementing-interfaces-and-in-generics
https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-07-22.md#ref-structs-implementing-interfaces

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.