Skip to content

Heads up: (compatibility) rule for dictionary keys IList interface #1759

Open
@iRon7

Description

@iRon7

Just a heads up:
In the (near?) future, dictionary keys are going to support the IList interface.
This would mean that e.g. @($Dictionary.Keys)[0] can be simplified to $Dictionary.Keys[0].
see: #15843 Ordered Dictionary keys are not numerically indexable and linked .Net issue: #56835 OrderedDictionaryKeyValueCollection implement IList
This might lead to (downwards) compatibility issues, therefore a (compatibility) rule for this (future) enhancement could make sense.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions