C# How to exclude generated code from VS2008 code metrics?
-
05-09-2019 - |
Question
How can I exclude generated code, like Windows Forms Designer related code, from Visual Studio 2008 code metrics?
I've been digging around but I didn't found any solution. DebuggerHidden
and DebuggerNonUserCode
have no effect.
Solution
Try the GeneratedCodeAttribute.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow