Open
Description
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.