public void SetThread(CorThread thread) { if (thread == null) { throw new InvalidOperationException(); } ICorDebugEval ce; int hr = thread.RawObject.CreateEval(out ce); if (hr < 0 || ce == null) { throw new EvalException(hr, string.Format("Could not create an evaluator, HR=0x{0:X8}", hr)); } this.thread = thread; this.eval = new CorEval(ce); }
public bool Equals(CorEval other) { return(!ReferenceEquals(other, null) && RawObject == other.RawObject); }