Updated with review feedback.
[mono.git] / mcs / errors / cs1503-18.cs
1 // CS1503: Argument `#1' cannot convert `int?' expression to type `int'
2 // Line: 11
3
4 class X
5 {
6         public static void Main ()
7         {
8                 string x = null;
9                 string y = null;
10
11                 var res = x?[y?.Length];
12         }
13 }