PostSharpAPI ReferencePost­Sharp.​Aspects.​Internals.​State­MachineBase­Generated­Iterator­State­Machine<TElement>Move­Next
Open sandboxFocus

BaseGeneratedIteratorStateMachine<TElement>.MoveNext Method

MoveNext()

Advances this (as an enumerator) to the next element by calling MoveNext() on the decorated enumerator, then accesses its Current and stores it, so that it can be read and modified by OnYield(MethodExecutionArgs) advices.

Declaration
public virtual bool MoveNext()
Returns
Type Description
Boolean

Whatever the decorated enumerator returns.