Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0219-6.cs
bloba5246cdd8dfbe2b795a521b9605c700bf6c0fa51
1 // CS0219: The variable `i' is assigned but its value is never used
2 // Line: 14
3 // Compiler options: -warn:3 -warnaserror
5 using System.Collections.Generic;
7 class C
9 IEnumerable<int> Test ()
11 try {
12 yield return 1;
13 } finally {
14 int i = 100;