Skip to content

FindAllReferences and target-typed new #42555

@jcouv

Description

@jcouv

Like var, new() expressions are difficult to index efficiently. They are both currently excluded from FAR (a simple implementation is available in commit 6808612).

Should we offer an "advanced FAR" that would find all references to a type, even those that are not spelled out?

If we couldn't resolve this issue before C# 9 ships, then we need to rediscuss this with LDM.

Relates to #28489 (target-typed new feature)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Complete

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions