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
2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0037-2.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
}