dotnet / dotnet/dotnet-api-docs

Ref Structs are not shown as 'ref struct'

Open
#4,975 1 comment 7 reactions 0 assignees View on GitHub
area-Infrastructure Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

If a struct is a 'ref struct' it should show this in the docs. Take a look (for example) at [Span](https://docs.microsoft.com/en-us/dotnet/api/system.span-1?view=netcore-3.1).

![image](https://user-images.githubusercontent.com/9335559/95865796-5abc1400-0d67-11eb-8b3d-962aec96c240.png)

I expected:
```cs
public ref struct Span
```

The **ref** keyword is missing. This is a general problem for all ref structs in the framework.

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.