Microsoft.Cci.AggregatingLocalScopeProvider.IsIterator C# (CSharp) Method

IsIterator() public method

Returns true if the method body is an iterator.
public IsIterator ( IMethodBody methodBody ) : bool
methodBody IMethodBody
return bool
    public bool IsIterator(IMethodBody methodBody) {
      var provider = this.GetProvider(methodBody.MethodDefinition);
      if (provider == null) return false;
      return provider.IsIterator(methodBody);
    }