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

Recognize and display init property accessor #2816

Open
vitek-karas opened this issue Jun 1, 2022 · 0 comments
Open

Recognize and display init property accessor #2816

vitek-karas opened this issue Jun 1, 2022 · 0 comments
Assignees
Milestone

Comments

@vitek-karas
Copy link
Member

C# now allows the init property accessor, in addition to get and set. In warning messages linker will show getter like Type.Property.get and setter like Type.Property.set. But it doesn't recognize init, it will see it as set instead.
Ideally for init accessor it would show Type.Property.init.
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants