ReSharper 2026.3 Help

代码检查:冗余名称限定符

In C#, you can qualify instance members with the this keyword, and qualify static members with type name or a base type name. 这些限定符可以帮助您区分被 局部变量或 方法参数隐藏的成员。 In all other cases, these qualifiers are optional, and you can decide for yourself whether to use them or not. 使用 ReSharper,您可以配置使用可选修饰符的偏好并强制执行这些偏好。

默认情况下,ReSharper 将所有可选成员限定符视为冗余,并建议将其删除。

2026年 11月 6日