Exemple #1
0
 public IDebuggerMethod[] GetMethods(bool checkBaseClasses)
 {
     if (!checkBaseClasses)
     {
         return(Methods);
     }
     return(debugger.Dispatcher.UI(() => {
         var funcs = cls.FindFunctions(checkBaseClasses).ToList();
         var res = new IDebuggerMethod[funcs.Count];
         for (int i = 0; i < res.Length; i++)
         {
             res[i] = new DebuggerMethod(debugger, funcs[i]);
         }
         return res;
     }));
 }
Exemple #2
0
 public IDebuggerMethod[] GetMethods(string name, bool checkBaseClasses) => debugger.Dispatcher.UI(() => {
     var funcs = CorClass.FindFunctions(name, checkBaseClasses).ToList();
     var res   = new IDebuggerMethod[funcs.Count];
     for (int i = 0; i < res.Length; i++)
     {
         res[i] = new DebuggerMethod(debugger, funcs[i]);
     }
     return(res);
 });