Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / errors / dcs1981.cs
1 // CS1981: Using `is' to test compatibility with `dynamic' is identical to testing compatibility with `object'
2 // Line: 10
3 // Compiler options: -warnaserror
4
5 class C
6 {
7         public static void Main ()
8         {
9                 object o = null;
10                 bool b = o is dynamic;
11         }
12 }