public static void ComputeMethodDifference(SortedList<string, Method> master, SortedList<string, Method> subset, SortedList<string, Method> output, bool use_design) { // If it's in the master but not the subset, add it to the output foreach (string s in master.Keys) if (!(subset.ContainsKey (s)) && (use_design == false || !s.Contains ("System.Web.UI.Design"))) output[s] = new Method (s); }
public virtual bool Matches(string method, out Method match) { if (data.ContainsKey (method)) { match = data[method]; return true; } match = null; return false; }
public BaseChecker(Stream input) { data = new SortedList<string, Method> (); StreamReader input_reader = new StreamReader (input); string line; while ((line = input_reader.ReadLine ()) != null) data[line] = new Method (line); }
public CheckMonoTodo(Stream input) { data = new SortedList<string, Method> (); StreamReader input_reader = new StreamReader (input); string line; while ((line = input_reader.ReadLine ()) != null) { int split = line.IndexOf ("-"); string method = line.Substring (0, split); string description = line.Substring (split + 1); data[method] = new Method (method, description); } }