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
/
gcs0037-2.cs
1
// CS0037: Cannot convert null to `bool' because it is a value type
2
// Line: 19
3
// Compiler options: -langversion:linq
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
}