summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0037-6.cs
blob: 6e550a45cbf1c144612b0dd32b43eec47cd78c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0037: Cannot convert null to `bool' because it is a value type
// Line: 13

using System;

public sealed class BoundAttribute : System.Attribute
{
	public bool Dec { set { } get { return false; } }
}

class C
{
	[Bound (Dec = null)]
	double d2;
}