PostSharpAPI ReferencePost­Sharp.​Aspects.​Internals.​State­MachineBase­Generated­Iterator­State­Machine<TElement>Call­Target­Enumerable­Method
Open sandboxFocus

BaseGeneratedIteratorStateMachine<TElement>.CallTargetEnumerableMethod Method

CallTargetEnumerableMethod()

Calls the target method, possibly with some arguments changed. This method is only overridden if the target method has System.Collections.IEnumerable or System.Collections.Generic.IEnumerable<> as the return type.

Declaration
public virtual IEnumerable CallTargetEnumerableMethod()
Returns
Type Description
System.Collections.IEnumerable

The return value of the target method; or null if the target method returns an enumerator.