Skip to content

.NET 9 adds a conflicting version of Index #1080

Open
@atifaziz

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.

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