Closed SteveDunn closed 3 months ago
Hi @SteveDunn . I wanted to take this issue, if that's alright
That would be great, thank you!
Should record struct
s trigger the analyzer?
Hi, yes I think so. The benefits apply to them too. 👍
On Sun, 18 Aug 2024, 16:09 danigutsch, @.***> wrote:
Should record structs trigger the analyzer?
— Reply to this email directly, view it on GitHub https://github.com/SteveDunn/Vogen/issues/603#issuecomment-2295294082, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACAJ6DHH6M7AJHAIAW7QRDZSC2JFAVCNFSM6AAAAABIJXJXGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGI4TIMBYGI . You are receiving this because you were mentioned.Message ID: @.***>
It is preferable for users to use a
readonly struct
rather than just astruct
. Implement an analyzer to suggest this, and possibly a codefix.This was a result of the following thread.
Originally posted by @Herdo in https://github.com/SteveDunn/Vogen/issues/52#issuecomment-1230748733