Skip to content

FindAllReferences on Length property or Slice method misses usages in list-patterns  #58190

@jcouv

Description

@jcouv

FAR doesn't understand properties/indexers/methods that are used in list-patterns yet.

_ = new Collection() is [1, 2];
class Collection
{
   public int Length => 0;
   public object this[int i] => null;
   public Collection Slice(int i, int j) => null;
}

Relates to test plan #51289

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions