New APIs to support "Ref Struct Interfaces" feature #73330
Labels
api-approved
API was approved in API review, it can be implemented
Area-Compilers
Concept-API
This issue involves adding, removing, clarification, or modification of an API.
Feature Request
New Feature - RefStructInterfaces
untriaged
Issues and PRs which have not yet been triaged by a lead
Background and Motivation
https://github.com/dotnet/csharplang/blob/main/proposals/ref-struct-interfaces.md
Proposed API
The name of the new enum item matches the name of the field from BCL -
System.Runtime.CompilerServices.RuntimeFeature.ByRefLikeGenerics
(see https://github.com/dotnet/csharplang/blob/main/proposals/ref-struct-interfaces.md#representation-in-metadata).The new property is named after a flag in BCL
System.Reflection.GenericParameterAttributes.AllowByRefLike
(see https://github.com/dotnet/csharplang/blob/main/proposals/ref-struct-interfaces.md#representation-in-metadata).The text was updated successfully, but these errors were encountered: