* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0612-2.cs
1 // cs0612-2.cs: `Foo.Bar' is obsolete
2 // Line: 8
3 // Compiler options: -r:CS0612-2-lib.dll -warnaserror
4
5 public class Bar {
6         public static int Main ()
7         {
8                 Foo foo = new Foo ();
9                 return foo.Bar;
10         }
11 }