Invalid Code public class Test { public void iterator () { return; } } void main () { Test test = null; foreach (var t in test) { } }