我收到了一份错误报告,其中堆栈跟踪的顶部类似于:
System.NullReferenceException: <...> at MyApplication.MyType.SomeMethod(String arg) in MyType.cs:<b>line 0</b>
重点是行号为
0
。是什么导致了这样的堆栈跟踪行为?我收到了一份错误报告,其中堆栈跟踪的顶部类似于:
System.NullReferenceException: <...> at MyApplication.MyType.SomeMethod(String arg) in MyType.cs:<b>line 0</b>
0
。是什么导致了这样的堆栈跟踪行为?