[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0307-5.cs
1 // CS0307: The property `Test<T,U>.Value' cannot be used with type arguments
2 // Line: 16
3
4 class Test<T, U>
5 {
6         public object Value {
7                 get { return null; }
8         }
9
10         public class B
11         {
12                 public B (object arg)
13                 {
14                 }
15                 
16                 public static B Default = new B (Value<U>.Default);
17         }
18 }