private static IList <PsiRuleSymbol> ReadRules(BinaryReader reader, IPsiSourceFile sourceFile)
        {
            int count = reader.ReadInt32();
            var ret   = new List <PsiRuleSymbol>();

            for (int i = 0; i < count; i++)
            {
                var symbol = new PsiRuleSymbol(sourceFile);
                symbol.Read(reader);
                ret.Add(symbol);
            }

            return(ret);
        }
    private static IList<PsiRuleSymbol> ReadRules(BinaryReader reader, IPsiSourceFile sourceFile)
    {
      int count = reader.ReadInt32();
      var ret = new List<PsiRuleSymbol>();

      for (int i = 0 ; i < count ; i++)
      {
        var symbol = new PsiRuleSymbol(sourceFile);
        symbol.Read(reader);
        ret.Add(symbol);
      }

      return ret;
    }