a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
274 B
C#
22 lines
274 B
C#
// CS0037: Cannot convert null to `bool' because it is a value type
|
|
// Line: 19
|
|
|
|
|
|
using System;
|
|
|
|
class TestA
|
|
{
|
|
public string Select (Func<TestA, bool> f)
|
|
{
|
|
return "";
|
|
}
|
|
}
|
|
|
|
public class C
|
|
{
|
|
static void Main ()
|
|
{
|
|
string foo = from a in new TestA () select null;
|
|
}
|
|
}
|