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.
精彩评论