summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1981.cs
blob: 6507a09c49b5121b8ceee0b9e92515bb7fa46528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1981: Using `is' to test compatibility with `dynamic' is identical to testing compatibility with `object'
// Line: 10
// Compiler options: -warnaserror

class C
{
	public static void Main ()
	{
		object o = null;
		bool b = o is dynamic;
	}
}