blob: 1165409b574fa9451e659d606ca099b1ade79829 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS1626: Cannot yield a value in the body of a try block with a catch clause
// Line: 11
using System.Collections;
class C: IEnumerable
{
public IEnumerator GetEnumerator ()
{
try {
yield return this;
}
catch {
}
}
}
|