summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1503-18.cs
blob: a9e93375674d9590f9baa584da8e356a79d95188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1503: Argument `#1' cannot convert `int?' expression to type `int'
// Line: 11

class X
{
	public static void Main ()
	{
		string x = null;
		string y = null;

		var res = x?[y?.Length];
	}
}