void Error_ReturnFromIterator (ResolveContext rc) { rc.Report.Error (1622, loc, "Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration"); }