Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs8154.cs
blobed98513e65eb02107bcd360e3f73614df821a139
1 // CS8154: The body of `TestClass.TestFunction()' cannot be an iterator block because the method returns by reference
2 // Line: 10
4 class TestClass
6 int x;
8 ref int TestFunction()
10 yield return x;