repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs1622-2.cs
blob
55ce8453348a4516bb8213a34f0eb61586e16761
1
// CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
2
// Line: 14
3
4
using
System
.
Collections
;
5
6
public class
C
7
{
8
internal static
IEnumerable PrivateBinPath
9
{
10
get
11
{
12
string
a
=
"a"
;
13
if
(
a
==
null
)
14
return false
;
15
yield return
a
;
16
}
17
}
18
}