Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 Visual Studio 2008 代码指标中排除生成的代码,如 Windows 窗体设计器相关代码?
我一直在挖掘,但我没有找到任何解决方案。DebuggerHidden并且DebuggerNonUserCode没有效果。
DebuggerHidden
DebuggerNonUserCode
尝试GeneratedCodeAttribute。