dotnet / dotnet/roslyn

Remove `MetadataHelpers.GenericParameterAttributesAllowByRefLike` in favor of `GenericParameterAttributes.AllowByRefLike`

Open
#73,548 1 comment 0 reactions 1 assignee Claimed by @AlekseyTs View on GitHub
Area-Compilers Bug Feature - RefStructInterfaces
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

```
// PROTOTYPE(RefStructInterfaces): Remove this constant and refer to GenericParameterAttributes.AllowByRefLike directly once the new enum member becomes available.
// See // https://github.com/dotnet/runtime/issues/68002#issuecomment-1942166436 for more details.
public const System.Reflection.GenericParameterAttributes GenericParameterAttributesAllowByRefLike = (System.Reflection.GenericParameterAttributes)0x0020;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.