dotnet / dotnet/linker

Recognize and display `init` property accessor

Open
#2,816 0 comments 0 reactions 1 assignee Claimed by @jtschuster View on GitHub
area-Linker: Diagnostic
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.