class Test implements IEnumerable var _records as List cue init base.init def getEnumerator as IEnumerator return _records.getEnumerator def getEnumerator as System.Collections.IEnumerator implements System.Collections.IEnumerable # TODO: the following typecast is not required in C# and should not be in Cobra as well # since IEnumerator