Moved to NSubstitute repository https://github.com/nsubstitute/NSubstitute.Analyzers
PoC of analyzers which prevent usage of NSubstitute setup methods for non-virtual members.
C# example Visual Basic example Original NSubstitute issue - click