开发者

CA1008: Enums should have zero value convert to CQL(Code Query Language)

开发者 https://www.devze.com 2023-04-03 16:32 出处:网络
I\'m trying to CQL transforms all Code Analysis for Managed Code Warnings f开发者_StackOverflow社区rom msdn for use in NDepend. The CA1008 which says that enumerations should have a value equal to zer

I'm trying to CQL transforms all Code Analysis for Managed Code Warnings f开发者_StackOverflow社区rom msdn for use in NDepend. The CA1008 which says that enumerations should have a value equal to zero, is giving me problems. Can you help?

Thanks in advance


This cannot be done yet with CQL since it doesn't know about enumeration values numbers.

However, in the CQL Query Explorer panel you'll find a group named .NET Framework Usage that proposes 30 default rules relative to what FxCop is doing.

CA1008: Enums should have zero value convert to CQL(Code Query Language)

0

精彩评论

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