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?
source
share