IMethodSymbol.IsIterator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if this method is a source method implemented as an iterator (either sync or async)
public bool IsIterator { get; }
member this.IsIterator : bool
Public ReadOnly Property IsIterator As Boolean