I’m trying to CQL transforms all Code Analysis for Managed Code Warnings from 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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.