dotnet / dotnet/dotnet-api-docs

`ref readonly` parameters only say `ref` in signatures

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

Description

### Describe the issue or suggestion

For example the `ReadOnlySpan` constructor takes a `ref readonly T`, however the documentation lists the parameter as `ref T reference` instead, leaving out important information about the signature: https://learn.microsoft.com/en-us/dotnet/api/system.readonlyspan-1.-ctor?view=net-9.0#system-readonlyspan-1-ctor(-0@)

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.