2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / errors / cs8208.cs
1 // cs8208.cs: yield can not appear inside the finally clause.
2 // Line:
3 using System.Collections;
4 class X {
5
6         IEnumerator GetEnum ()
7         {
8                 try {
9                 } finally {
10                         yield 1;
11                 }
12         }
13         
14         static void Main ()
15         {
16         }
17 }