Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@elgonzo

Description

@elgonzo
Issue body actions

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 priorityIndicates issues/PRs that are medium priorityarea-System.Runtimedoc-enhancementImprove the current contentImprove the current contentdotnet-api/prodwaiting-on-feedbackIndicates PRs that are waiting for feedback from SMEs before they can be mergedIndicates 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.