add SafeSerializationEventArgs
[mcs.git] / tests / test-570.cs
blob938abb24a9726a3ce411044e2dd4462b608aa19b
1 //Compiler options: -warnaserror -warn:4
3 using System;
4 interface IFoo
8 class Bar
12 class Program
14 public static void Main()
16 IFoo foo = null;
17 if (foo is IFoo)
18 Console.WriteLine("got an IFoo"); // never prints
20 Bar bar = null;
21 if (bar is Bar)
22 Console.WriteLine("got a bar"); // never prints