Skip to content

Find all references of records should include copy-and-update and construction #15290

@kerams

Description

@kerams
type Model = { V: string; I: int }

let m = { V = ""; I = 0 }
let m1 = { m with V = "m" }

type R = { M: Model }

Find all references on Model returns the reference on the last line.

Describe the solution you'd like

I'd additionally like to see the places where record constructors are implicitly called, even though there's no symbol reference on the particular line. Maybe have a setting that would enable this behavior?

Additional context

VS 17.7 Preview 1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions