2005-08-26 Iain McCoy <iain@mccoy.id.au>
[mono.git] / mcs / tools / xamlc / demo / runtimetest.cs
index fc310b6e71232df0226899cabe74e12e5163704a..e8c20e16a06672d286a0a3a403ae490d4fcfc14d 100644 (file)
@@ -1,11 +1,10 @@
 using Xaml.TestVocab.Console;
 using System.Xml;
 using System.Windows.Serialization;
-using Mono.Windows.Serialization;
 
 class RuntimeTest {
        public static void Main(string[] args) {
-               ConsoleApp c = (ConsoleApp)ObjectWriter.Parse(new XmlTextReader("runtimetest.xaml"));
+               ConsoleApp c = (ConsoleApp)Parser.LoadXml(new XmlTextReader("runtimetest.xaml"));
 
                c.Run();
        }