protected override void InitApi() { if (m_sos == null) { var dac = m_library.DacInterface; if (!(dac is ISOSRedhawk)) throw new ClrDiagnosticsException("This version of mrt100 is too old.", ClrDiagnosticsException.HR.DataRequestError); m_sos = (ISOSRedhawk)dac; } }
protected override void InitApi() { if (m_sos == null) { var dac = m_library.DacInterface; if (!(dac is ISOSRedhawk)) { throw new ClrDiagnosticsException("This version of mrt100 is too old.", ClrDiagnosticsException.HR.DataRequestError); } m_sos = (ISOSRedhawk)dac; } }