[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0037-6.cs
1 // CS0037: Cannot convert null to `bool' because it is a value type
2 // Line: 13
3
4 using System;
5
6 public sealed class BoundAttribute : System.Attribute
7 {
8         public bool Dec { set { } get { return false; } }
9 }
10
11 class C
12 {
13         [Bound (Dec = null)]
14         double d2;
15 }