summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0173-5.cs
blob: fd094cb87ee0957660a2700a283e23afec23cc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `dynamic' and `void'
// Line: 19

class X
{
	static void Main ()
	{
		dynamic d = null;
		dynamic t = true ? d : Main ();
	}
}