2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1625-2.cs
blob0058a28ed906145be0343c25e02e10cdf915ea2d
1 // CS1625: Cannot yield in the body of a finally clause
2 // Line: 16
4 using System;
5 using System.Collections;
7 class X
9 public static IEnumerable Test (int a)
11 try {
13 } finally {
14 try {
15 yield return 0;
17 finally {}