dotnet / dotnet/dotnet-api-docs

Invalid syntax for MemoryMarshal.AsRef

Open
#2,804 2 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime.InteropServices docs-experience external Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

https://github.com/dotnet/dotnet-api-docs/blob/83de65adeb0602b261d144e74a5d9c1ef5568eec/xml/System.Runtime.InteropServices/MemoryMarshal.xml#L175-L180

All of these show the return type as `T&`, but I think only ILAsm should have the ampersand. C# shows a ref type with the `ref` keyword; I'm not sure about the others.

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.