Search code examples
visual-studio-2010code-analysis

Can the new phoenix code analysis engine in vs2010 analyze source level or catch preprocessor calls?


I'm hoping there is someway built into VS2010 to have custom rules involving preprocessor usage, and source-level style/member ordering.

Does it do source level, or catch preprocessor calls?


Solution

  • No. Like the introspection engine, the Phoenix-based data flow engine analyzes IL, not source code. If you're interested in writing rules that work against source code, StyleCop would be a better candidate tool than FxCop.