Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs1621.cs
blob420e3772d7f52aef428f1cfb5759d4d623c6a5fd
1 // CS01621: The yield statement cannot be used inside anonymous method blocks
2 // Line: 13
4 using System.Collections;
6 delegate object D ();
8 class C: IEnumerable
10 public IEnumerator GetEnumerator ()
12 D d = delegate {
13 yield return this;