Find virtual method call in constructor
ProprietaryDetect calls to virtual or abstract methods within constructors. Derived classes may not be fully initialized when these methods execute.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotCallVirtualMethodInConstructormod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotCallVirtualMethodInConstructorInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.