Skip to content

Span<T> indexer getter and setter, or only getter? #1533

Open
@elgonzo

Description

@elgonzo

The documentation can't make up its mind whether the Span<T> indexer only has a getter or both a getter and a setter.

It starts with "Gets or sets the element at the specified zero-based index.", directly followed by showing the declaration having only a getter.

If the availability of the setter depends on certain platform versions, then this should be made clear in this documentation page.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 7df2a61b-7d80-7dbd-6acd-213e3c80f715
  • Version Independent ID: eb1b0d55-1d9b-1dcb-c51e-46d2f5937ea8
  • Content: Span<T>.Item[Int32] Property (System)
  • Content Source: [xml/System/Span1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Span1.xml)
  • Product: dotnet-api
  • GitHub Login: @dotnet-bot
  • Microsoft Alias: dotnetcontent

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri2Indicates issues/PRs that are medium priorityarea-System.Runtimedoc-enhancementImprove the current contentdotnet-api/prodwaiting-on-feedbackIndicates PRs that are waiting for feedback from SMEs before they can be merged

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions