dotnet / dotnet/dotnet-api-docs
Invalid syntax for MemoryMarshal.AsRef
Open
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
Assessment
This issue has not been assessed yet.