[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1625-2.cs
1 // CS1625: Cannot yield in the body of a finally clause
2 // Line: 16
3
4 using System;
5 using System.Collections;
6
7 class X
8 {
9         public static IEnumerable Test (int a)
10         {
11                 try {
12                         ;
13                 } finally {
14                     try {
15                         yield return 0;
16                     }
17                     finally {}
18                 }
19         }
20 }