DebuggerStepThrough - pdejonghe/DebuggerAttributesConsole GitHub Wiki
DebuggerStepThrough attribute on Microsoft Docs
This attribute avoids having to step into compiler-provided code and only steps into developer-provided code. For example, if you are stepping through code by using the F11 (Step Into) key, the attribute will cause the step to behave like an F10 (Step Over) key for compiler-provided code. The method won't be stepped into (even if a breakpoint is set inside the block!), but it will be executed. It will also be visible in the CallStack.
You can apply this attribute on:
- Class
- Struct
- Constructor
- Method
This attribute is not inherited by descendant classes.