Skip to content

struct Range: invalid parameter names #555

Description

@ns88ns

The struct Range constructor parameter names mismatch the official documentation:

defined in the Polyfill as:

readonly record struct Range(Index Start, Index End)

  • parameter names are capitalized

in the MS doc:

public Range(Index start, Index end);

  • all parameter names are lowercase.

When named parameters are used in code - it causes CS1739 (expectedly).

Regards.

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

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions