-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
Description
The signatures for indexers of Span<T> and ReadOnlySpan<T> don't show correctly in API reference.
public T this[int index] { get; }When it should be:
public ref T this[int index] { get; }For ReadOnlySpan<T>, it shows as:
public T& this[int index] { get; }When it should be:
public ref readonly T this[int index] { get; }This seems to be caused by incorrect behavior of mdoc, so I have created and issue about this there: mono/api-doc-tools#249. But I thought it might make sense to also track fixing the output here (if and when mdoc is fixed), which is why I created this issue.