C#에서 스택 추적을 잃지 않고 InnerException을 다시 던지는 방법은 무엇입니까? 저는 반성을 통해 예외를 일으킬 수 있는 방법을 요청합니다.래퍼 반사 없이 예외를 발신자에게 전달하려면 어떻게 해야 합니까? InnerException을 재투입하지만 스택 추적이 파괴됩니다. 코드 예제: public void test1() { // Throw an exception for testing purposes throw new ArgumentException("test1"); } void test2() { try { MethodInfo mi = typeof(Program).GetMethod("test1"); mi.Invoke(this, null); } catch (TargetInvocationExcept..