projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
[mono.git]
/
mcs
/
errors
/
cs1631.cs
1
// cs1631.cs: Cannot yield a value in the body of a catch clause
2
// Line: 13
3
using System;
4
using System.Collections;
5
6
class X
7
{
8
public static IEnumerable Test (int a)
9
{
10
try {
11
;
12
} catch {
13
yield return 0;
14
}
15
}
16
17
static void Main ()
18
{
19
IEnumerable a = Test (3);
20
Console.WriteLine (a);
21
}
22
}