Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0612-6.cs
blob918df4a8a208e3522b845b8ae412766bf8a4a20d
1 // CS0612: `E.GetEnumerator()' is obsolete
2 // Line: 22
3 // Compiler options: -warnaserror
5 using System.Collections;
6 using System;
8 class E : IEnumerable
10 [Obsolete]
11 public IEnumerator GetEnumerator ()
13 throw new System.NotImplementedException ();
17 class C
19 public static void Main ()
21 var e = new E ();
22 foreach (var entry in e) {