有下一个代码:
Func(); // I want debugger to highlight this line when exception is happened within Func.
[DebuggerHidden]
private static void Func() {
Action act = () => throw new Exception(); // But debugger highlights this line.
act();
}
两个问题:为什么以及如何解决它?