IsIteratorMethod
Gets a value indicating whether the method is an iterator (i.e., has a yield return
or yield break
statement).
This property evaluates to false
for methods that return an enumerable type but do not use yield
,
and null
for methods that are not defined in the current project.
Declaration
public bool? IsIteratorMethod { get; }
Property Value
Type | Description |
---|---|
bool? |