projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs1622-2.cs
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
}