Пример #1
0
        public CorDebugValue NewArray(CorEvaluationContext ctx, CorDebugType elemType, int size)
        {
            return(null);
//			ManualResetEvent doneEvent = new ManualResetEvent (false);
//			CorDebugValue result = null;
//
//			EvalEventHandler completeHandler = delegate (object o, CorEvalEventArgs eargs) {
//				OnEndEvaluating ();
//				result = eargs.Eval.Result;
//				doneEvent.Set ();
//				eargs.Continue = false;
//			};
//
//			EvalEventHandler exceptionHandler = delegate (object o, CorEvalEventArgs eargs) {
//				OnEndEvaluating ();
//				result = eargs.Eval.Result;
//				doneEvent.Set ();
//				eargs.Continue = false;
//			};
//
//			try {
//				process.OnEvalComplete += completeHandler;
//				process.OnEvalException += exceptionHandler;
//
//				ctx.Eval.NewParameterizedArray (elemType, 1, 1, 0);
//				process.SetAllThreadsDebugState (CorDebugThreadState.THREAD_SUSPEND, ctx.Thread);
//				OnStartEvaluating ();
//				ClearEvalStatus ();
//				process.Continue (false);
//
//				if (doneEvent.WaitOne (ctx.Options.EvaluationTimeout, false))
//					return result;
//				else
//					return null;
//			} finally {
//				process.OnEvalComplete -= completeHandler;
//				process.OnEvalException -= exceptionHandler;
//			}
        }
Пример #2
0
 public StringAdaptor(EvaluationContext ctx, CorValRef obj, CorDebugValueString str)
 {
     this.ctx = (CorEvaluationContext)ctx;
     this.str = str;
     this.obj = obj;
 }
Пример #3
0
 public ArrayAdaptor(EvaluationContext ctx, CorValRef obj, CorDebugValueArray array)
 {
     this.ctx   = (CorEvaluationContext)ctx;
     this.array = array;
     this.obj   = obj;
 }
Пример #4
0
 public CorDebugValue RuntimeInvoke(CorEvaluationContext corEvaluationContext, CorDebugFunction function, CorDebugType[] typeArgs, CorDebugValue thisObj, CorDebugValue[] arguments)
 {
     return(null);
 }
		public StringAdaptor (EvaluationContext ctx, CorValRef obj, CorDebugValueString str)
		{
			this.ctx = (CorEvaluationContext)ctx;
			this.str = str;
			this.obj = obj;
		}
		public ArrayAdaptor (EvaluationContext ctx, CorValRef obj, CorDebugValueArray array)
		{
			this.ctx = (CorEvaluationContext)ctx;
			this.array = array;
			this.obj = obj;
		}
		public CorDebugValue RuntimeInvoke (CorEvaluationContext corEvaluationContext, CorDebugFunction function, CorDebugType[] typeArgs, CorDebugValue thisObj, CorDebugValue[] arguments)
		{
			return null;
		}
		public CorDebugValue NewArray (CorEvaluationContext ctx, CorDebugType elemType, int size)
		{
			return null;
//			ManualResetEvent doneEvent = new ManualResetEvent (false);
//			CorDebugValue result = null;
//
//			EvalEventHandler completeHandler = delegate (object o, CorEvalEventArgs eargs) {
//				OnEndEvaluating ();
//				result = eargs.Eval.Result;
//				doneEvent.Set ();
//				eargs.Continue = false;
//			};
//
//			EvalEventHandler exceptionHandler = delegate (object o, CorEvalEventArgs eargs) {
//				OnEndEvaluating ();
//				result = eargs.Eval.Result;
//				doneEvent.Set ();
//				eargs.Continue = false;
//			};
//
//			try {
//				process.OnEvalComplete += completeHandler;
//				process.OnEvalException += exceptionHandler;
//
//				ctx.Eval.NewParameterizedArray (elemType, 1, 1, 0);
//				process.SetAllThreadsDebugState (CorDebugThreadState.THREAD_SUSPEND, ctx.Thread);
//				OnStartEvaluating ();
//				ClearEvalStatus ();
//				process.Continue (false);
//
//				if (doneEvent.WaitOne (ctx.Options.EvaluationTimeout, false))
//					return result;
//				else
//					return null;
//			} finally {
//				process.OnEvalComplete -= completeHandler;
//				process.OnEvalException -= exceptionHandler;
//			}
		}
Пример #9
0
 public void SetValue(CorEvaluationContext ctx, CorValRef corValRef)
 {
     throw new NotImplementedException();
 }
Пример #10
0
		public void SetValue (CorEvaluationContext ctx, CorValRef corValRef)
		{
			throw new NotImplementedException ();
		}