repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0037-10.cs
blob
56639c2104fe42fad10e6739ef0051cf8386f76d
1
// CS0037: Cannot convert null to `bool' because it is a value type
2
// Line: 19
3
4
5
using
System
;
6
7
class
TestA
8
{
9
public string
Select
(
Func
<
TestA
,
bool
>
f
)
10
{
11
return
""
;
12
}
13
}
14
15
public class
C
16
{
17
static void
Main
()
18
{
19
string
foo
=
from
a
in new
TestA
()
select null
;
20
}
21
}