[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1626-2.cs
blob8894ad780f58510eeca04b81266602f7a1ffc657
1 // CS1626: Cannot yield a value in the body of a try block with a catch clause
2 // Line: 11
4 using System.Collections;
6 class C: IEnumerable
8 public IEnumerator GetEnumerator ()
10 try {
11 try {
12 yield return this;
14 finally {}
16 catch (System.Exception) {