public void Reload() { if (loader != null) { // Obsolete value, get a new one CorDebugValue v = loader(); version = MicroFrameworkDebuggerSession.EvaluationTimestamp; if (v != null) { val = v; } } }
private ClrValue[] GetValueList(ICorDebugValueEnum valueEnum) { uint count; valueEnum.GetCount(out count); ClrValue[] result = new ClrValue[count]; ICorDebugValue[] tmp = new ICorDebugValue[1]; uint fetched; int i = 0; while (i < result.Length && valueEnum.Next(1, tmp, out fetched) >= 0 && fetched == 1) { result[i] = new CorDebugValue(_runtime, tmp[0]); i++; } return(result); }
public CorDebugValue RuntimeInvoke(CorEvaluationContext corEvaluationContext, CorDebugFunction function, CorDebugType[] typeArgs, CorDebugValue thisObj, CorDebugValue[] arguments) { return(null); }
public CorDebugValue RuntimeInvoke(CorDebugFunction function, CorDebugType[] typeArgs, CorDebugValue thisObj, CorDebugValue[] arguments) { return(Session.RuntimeInvoke(this, function, typeArgs, thisObj, arguments)); }
public CorValRef(ValueLoader loader) { this.val = loader(); this.loader = loader; this.version = MicroFrameworkDebuggerSession.EvaluationTimestamp; }
public CorValRef(CorDebugValue val) { this.val = val; this.version = MicroFrameworkDebuggerSession.EvaluationTimestamp; }