SonarLint for Visual Studio 2.3 发布了。 新版本嵌入了以下4个新的规则: Recursion should not be infinite (Bug) Nullable type comparison should not be redundant (Bug) Jump statements should not be redundant (Code Smells, clumsly) Member initializer values should not be redundant (Code Smells) 而下面的6个规则已经得到改进: Dead stores should be removed Redundant modifiers should be removed by taking into account +=-like assignments when checking for redundant checked and unchecked statements Redundant casts should not be used handles casts with as Runtime type checking should be simplified adds support for as and is Inheritance list should not be redundant doesn’t report false positives Method overrides should not change parameter defaults correctly handles explicit interface implementations 详情请看 SonarLint for Visual Studio 2.3 Released SonarLint for Visual Studio 2.3 发布下载地址