public MethodEntry GetMethod(int index) { if ((index < 1) || (index > ot.MethodCount)) throw new ArgumentException (); if (reader == null) throw new InvalidOperationException (); lock (this) { read_methods (); return method_list [index - 1]; } }