internal MDbgDebuggerVar(string variableName, CorDebug.CorValue corValue) { // corValue can be null meaning that the variable is not available Debug.Assert(variableName != null); m_name = variableName; m_corValue = corValue; }
/// <summary> /// Sets the EvalResult to the specified CorValue /// </summary> /// <param name="evalValue">What value to set the Result to.</param> /// <returns>Returns true on success else false.</returns> public bool SetEvalResult(CorDebug.CorValue evalValue) { Debug.Assert(evalValue != null); if (evalValue == null) { throw new ArgumentException(); } this["$result"].Value = evalValue; return(true); }