Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing whether a property is get-only, get-set, or set-only #7007

Closed
Happypig375 opened this issue Jun 15, 2019 · 0 comments · Fixed by #7016
Closed

Viewing whether a property is get-only, get-set, or set-only #7007

Happypig375 opened this issue Jun 15, 2019 · 0 comments · Fixed by #7016
Milestone

Comments

@Happypig375
Copy link
Member

Is your feature request related to a problem? Please describe.
Consider these three properties:

type C() =
    member __.GetOnly = 3
    member __.GetSet with get () = () and set () = ()
    member __.SetOnly with set () = ()

let c = C()
c.

image

image

image

Describe the solution you'd like
Whether a given property is get-only, get-set, or set-only should be clearly be differentiated. e.g. showing with get, with get, set and with set after the current signature.

Describe alternatives you've considered
Doing nothing. An assignment will need to be tried, which is disturbing and annoying.

Additional context
No

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

Successfully merging a pull request may close this issue.

2 participants