예제 #1
0
 public override void Clear()
 {
     localsProvider.Clear();
     extraLocals.Clear();
     localsProvider     = null !;
     realLocalVariables = null !;
     localVariables     = null !;
 }
예제 #2
0
		public override void Clear(DbgDotNetValue returnValue) {
			context = null;
			frame = null;
			cancellationToken = default;
			canFuncEval = false;
			foreach (var v in valuesToDispose) {
				if (v != returnValue && argumentsProvider.CanDispose(v) && localsProvider.CanDispose(v))
					v.Dispose();
			}
			valuesToDispose.Clear();
			argumentsProvider.Clear();
			localsProvider.Clear();
			argumentsProvider = null;
			localsProvider = null;
			reflectionAppDomain = null;
		}
예제 #3
0
 public override void Clear(DbgDotNetValue returnValue)
 {
     evalInfo    = null;
     canFuncEval = false;
     foreach (var v in valuesToDispose)
     {
         if (v != returnValue && argumentsProvider.CanDispose(v) && interpreterLocalsProvider.CanDispose(v))
         {
             v.Dispose();
         }
     }
     valuesToDispose.Clear();
     argumentsProvider.Clear();
     interpreterLocalsProvider.Clear();
     argumentsProvider = null;
 }