void Error_WrongEnumerator (ResolveContext rc, MethodSpec enumerator)
{
rc.Report.SymbolRelatedToPreviousError (enumerator);
rc.Report.Error (202, loc,
"foreach statement requires that the return type `{0}' of `{1}' must have a suitable public MoveNext method and public Current property",
enumerator.ReturnType.GetSignatureForError (), enumerator.GetSignatureForError ());
}