Skip to content

FindUsesOfSymbol returns None for properties with explicit getters and setters #79

Closed

Description

@vasily-kirichenko

x.Name here:

type TypeWithProperties() =
        member x.Name
            with get() = 0
            and set (v: int) = ()

Activity

  1. ghost added on Mar 19, 2014
  2. vasily-kirichenko commented on May 3, 2014

    @vasily-kirichenko
    ContributorAuthor

    Any progress on this?

  3. quasilord commented on May 17, 2014

    @quasilord
    Contributor

    Not yet, agreed it is important to fix

  4. quasilord commented on Jun 5, 2014

    @quasilord
    Contributor

    In FCS 0.0.50, the location reported for the getter and setter symbols for F# property definitions has been moved to the "identifier" for the definition rather than "get" and "set" identifiers. See 1bad1ba#diff-b7b17a5c883fd3df717ffad57586ecf6R3222

    The reported symbols are still imperfect - it seems a "Property" symbol should be reported at that location instead of a "isGetterMethod" and/or "IsSetterMethod" method. But this change should help locate the method symbols for the definition at the right point for rename refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions