Skip to content

.NET 9 adds a conflicting version of Index #1080

Description

@atifaziz

Index is landing in .NET 9. Unfortunately, it has an incompatible definition of the return value: Index in MoreLINQ returns a KeyValuePair<int, TSource> whereas Index in .NET returns (int Index, TSource Item). This means that the technique of merely hiding the extension method from a targeted build won't work for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions