开发者

How can I get the Agent Smith ReSharper plugin to recognize that Status is not plural

When using the Agent Smith plugin for ReSharper, I get 开发者_高级运维the warning "Enums that are not flags should not have plural names" for an enum that ends in Status. For example:

public enum SomeStatus
{
    Success,
    Failed
}

In fact Status is not plural, so this isn't really in violation of the naming rule. I found this ticket from 2008 bringing up the issue, but it doesn't look like it has been fixed.

Is there any clever way to work around this (e.g. some kind of custom configurable regex)?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜