Many of the recommendations in the book Effective C#: 50 Specific Ways to Improve Your C# can be validated by Roslyn-based analyzers and code fixes.
2
stars
1
forks
source link
Item 16: Never call virtual functions in constructors #59
Closed
rjmurillo closed 4 weeks ago
Related: https://github.com/BillWagner/EffectiveCSharpAnalyzers/issues/16
This is already implemented via CA2214: Do not call overridable methods in constructors