Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0202-2.cs
blobbdd9a9e5d34f358c93f74990ce507fce94ba4cd4
1 // CS0202: foreach statement requires that the return type `System.Collections.Generic.IEnumerable<string>' of `Test.GetEnumerator()' must have a suitable public MoveNext method and public Current property
2 // Line: 10
3 using System;
4 using System.Collections.Generic;
6 class Test {
7 static void Main ()
9 Test obj = new Test ();
10 foreach (string s in obj) {
14 public IEnumerable<string> GetEnumerator ()
16 return null;