public void CreateParseInformation() { ParserService.RegisterAvailableParsers(new ParserDescriptor(typeof(XamlParser), "XAML", new string[] { ".xaml" })); var parser = new XamlBinding.XamlParser(); parser.LexerTags = new string[0]; var cu = parser.Parse(pc, this.FileName, this.Document); ParserService.RegisterParseInformation(this.FileName, cu); pc.UpdateCompilationUnit(null, cu, this.FileName); }