Example #1
0
 public IDebuggerField[] GetFields(string name, bool checkBaseClasses) => debugger.Dispatcher.UI(() => {
     var fields = CorClass.FindFields(name, checkBaseClasses).ToList();
     var res    = new IDebuggerField[fields.Count];
     for (int i = 0; i < res.Length; i++)
     {
         res[i] = new DebuggerField(debugger, fields[i]);
     }
     return(res);
 });
Example #2
0
 public IDebuggerField[] GetFields(bool checkBaseClasses)
 {
     if (!checkBaseClasses)
     {
         return(Fields);
     }
     return(debugger.Dispatcher.UI(() => {
         var fields = CorClass.FindFields(checkBaseClasses).ToList();
         var res = new IDebuggerField[fields.Count];
         for (int i = 0; i < res.Length; i++)
         {
             res[i] = new DebuggerField(debugger, fields[i]);
         }
         return res;
     }));
 }
Example #3
0
 public IDebuggerField[] GetFields(string name, bool checkBaseClasses)
 {
     return debugger.Dispatcher.UI(() => {
         var fields = type.FindFields(name, checkBaseClasses).ToList();
         var res = new IDebuggerField[fields.Count];
         for (int i = 0; i < res.Length; i++)
             res[i] = new DebuggerField(debugger, fields[i]);
         return res;
     });
 }
Example #4
0
		public IDebuggerField[] GetFields(bool checkBaseClasses) {
			if (!checkBaseClasses)
				return Fields;
			return debugger.Dispatcher.UI(() => {
				var fields = cls.FindFields(checkBaseClasses).ToList();
				var res = new IDebuggerField[fields.Count];
				for (int i = 0; i < res.Length; i++)
					res[i] = new DebuggerField(debugger, fields[i]);
				return res;
			});
		}