Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Could reflection based instances be exposed from FSharpMemberOrVal for Properties, Events, Methods, Vals #190

Closed
@7sharp9

Description

@7sharp9

Looking through the symbol code for FSharpMemberOrVal it looks like Properties could be exposed via something like this in FSharpMemberOrVal

    member x.TryGetPropertyInfo =
        match d with
        | P p -> Some (p.GetterMethod, p.SetterMethod)
        | _ -> None

However, Im unsure on how I would gain access to Events, Methods, and Vals.

This would enable a direct correlation of FSharp symbols and their corresponding entities in terms of reflection. this would enable tooling such are returning symbols fro a specific location and also bing able to retrieve its value or other reflective properties etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions