public void CreateParseInformation() { ParserService.RegisterAvailableParsers(new ParserDescriptor(typeof(TParser), "VBNet", new string[] { ".vb" })); var parser = new VBNetBinding.TParser(); 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); }