如何解释形式为“在mynamespace.MyClass + B.A()”的堆栈跟踪

时间:2019-05-21 10:53:42

标签: c#

我的程序中包含一个堆栈跟踪,

 at mynamespace.MyClass+B.A()

我想了解类名后面的+符号的含义。

下面是跟踪详细信息:

01-01 06:58:35.578  8189  8216 E mono    : Unhandled Exception

01-01 06:58:35.578  8189  8216 E mono    : System.NullReferenceException: Object reference not set to an instance of an object

01-01 06:58:35.578  8189  8216 E mono    :   at FTA1769_Bootloader.Classes.FTAStartupStateMachine+B.A () [0x000de] in <32f83d28d4ae43cc80a2c093d1253500>:0 

01-01 06:58:35.578  8189  8216 E mono    : --- End of stack trace from previous location where exception was thrown ---

01-01 06:58:35.578  8189  8216 E mono    :   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a5d9585e686a4a1bbce8735d2cf30fa7>:0 

01-01 06:58:35.578  8189  8216 E mono    :   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1 (System.Object state) [0x00000] in <a5d9585e686a4a1bbce8735d2cf30fa7>:0 

01-01 06:58:35.578  8189  8216 E mono    :   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <a5d9585e686a4a1bbce8735d2cf30fa7>:0 
...

问题是我的班级没有任何已声明的内部类。它确实声明了一个内部枚举。可以吗? (代码很模糊,我很难识别元素)

0 个答案:

没有答案