projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs1626.cs
1
// cs01626.cs: Cannot yield a value in the body of a try block with a catch clause
2
// Line: 11
3
4
using System.Collections;
5
6
class C: IEnumerable
7
{
8
public IEnumerator GetEnumerator ()
9
{
10
try {
11
yield return this;
12
}
13
catch {
14
}
15
}
16
}