Aaronontheweb / EvilRoslynAnalyzers

Has your boss gone insane and banned LINQ at work? Why stop there - use this Roslyn Analyzer to ban extension methods altogether!
https://www.reddit.com/r/dotnet/comments/1c4hz1z/linq_forbidden/
Apache License 2.0
31 stars 2 forks source link

Feature idea: all classes must be marked as `partial` #15

Open Aaronontheweb opened 4 months ago

Aaronontheweb commented 4 months ago

In order to make our software open for extension, without the use of evil extension methods, we need to make sure we're using the partial keyword everywhere just in case we want the option to modify them.

TenCoKaciStromy commented 4 months ago

Not just classes, but other types too!

Tornhoof commented 4 months ago

Funny Thing, in modern c# they tend to be partial because of source Generators.