开发者

Is it possible to suppress all naming errors from FxCop for a specific class?

Due to reasons beyond my control (them being a DB of another system whose members follow different naming conventions) I have to make a class with a dozen of members that each fail 3 to 4 naming rules each, not to mention methods, which also take parameters that break the same rules. As such this results in about 80 pointless and annoying warnings.

Is there any way开发者_如何学Go (short of GeneratedCodeAttribute) to suppress them all?


Unfortunately the GeneratedCodeAttribute is the only way to automatically suppress an entire class.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜