SergeyTeplyakov / ErrorProne.NET

Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)
MIT License
894 stars 43 forks source link

Support readonly members for structs #187

Closed SergeyTeplyakov closed 4 years ago

SergeyTeplyakov commented 4 years ago

Readonly members are special because they do not cause hidden copies in "readonly" contexts.

SergeyTeplyakov commented 4 years ago

Fixes #183, #182 and #158