PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Internals.​State­Machine Namespace / Base­Generated­Iterator­State­Machine(TElement) Class / Base­Generated­Iterator­State­Machine(TElement) Methods / Base­Generated­Iterator­State­Machine(TElement).​Call­Target­Enumerable­Method Method

BaseGeneratedIteratorStateMachine<TElement>.CallTargetEnumerableMethod Method

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

Namespace:  PostSharp.Aspects.Internals.StateMachine
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public virtual IEnumerable CallTargetEnumerableMethod()

Return Value

Type: IEnumerable
The return value of the target method; or null if the target method returns an enumerator.
See Also