Introduce substitute refactoring comes to NSubstitute.Analyzers

I am glad to announce the newest version of NSubstitute.Analyzers comes with “introduce substitute” refactoring, which allows you to automatically create substitutes for constructor arguments as fields or local variables. As an image is worth a thousand words here is a quick demo of C# version

and VisualBasic one

Introduce substitute refactoring comes to NSubstitute.Analyzers

Leave a Reply

Your email address will not be published. Required fields are marked *