add this
[mono.git] / mcs / errors / cs8209.cs
1 // cs8209.cs: yield can not appear inside the catch clause.
2 // Line: 10
3 using System.Collections;
4 class X {
5
6         IEnumerator GetEnum ()
7         {
8                 try {
9                 } catch {
10                         yield 1;
11                 }
12         }
13         
14         static void Main ()
15         {
16         }
17 }