private static IList <PsiOptionSymbol> ReadOptions(BinaryReader reader, IPsiSourceFile sourceFile) { int count = reader.ReadInt32(); var ret = new List <PsiOptionSymbol>(); for (int i = 0; i < count; i++) { var symbol = new PsiOptionSymbol(sourceFile); symbol.Read(reader); ret.Add(symbol); } return(ret); }
private static IList<PsiOptionSymbol> ReadOptions(BinaryReader reader, IPsiSourceFile sourceFile) { int count = reader.ReadInt32(); var ret = new List<PsiOptionSymbol>(); for (int i = 0 ; i < count ; i++) { var symbol = new PsiOptionSymbol(sourceFile); symbol.Read(reader); ret.Add(symbol); } return ret; }