What does the MoveNext prefix on the stack mean?

A .NET application crashes with a stack trace:

Call stack:

Layouts!Layouts.Ribbon.SizeAndPositionControlViewModel+OnLayoutSelectionChanged>d__5.MoveNext() 
mscorlib_ni!System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(System.Object)
WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 

The rest of the call is Windows code and does not matter.

Here, the first call means: In the async method OnLayoutSelectionChanged()in the instance, SizeAndPositionControlViewModelit did not pass in the method MoveNext(). MoveNext()is the Microsoft code in the LINQ method method Any.

What does d__5 mean?

+4
source share
3 answers

d__5 , #, /. d , async, (d ).

+6

-, ( ).

0

IEnumerable "" . , , . . , .

0

All Articles