public IEnumerator <IntVec3> GetEnumerator() { using (IEnumerator <IntVec3> enumerator = AllCells.GetEnumerator()) { if (enumerator.MoveNext()) { IntVec3 c = enumerator.Current; yield return(c); /*Error: Unable to find new state assignment for yield return*/; } } yield break; IL_00b9: /*Error near IL_00ba: Unexpected return in MoveNext()*/; }
public IEnumerator <PdfReportCellModel> GetEnumerator() => AllCells.GetEnumerator();