Exemplo n.º 1
0
        protected override void InitApi()
        {
            if (_sos == null)
            {
                var dac = _library.DacInterface;
                if (!(dac is ISOSNative))
                    throw new ClrDiagnosticsException("This version of mrt100 is too old.", ClrDiagnosticsException.HR.DataRequestError);

                _sos = (ISOSNative)dac;
            }
        }
Exemplo n.º 2
0
        protected override void InitApi()
        {
            if (_sos == null)
            {
                var dac = _library.DacInterface;
                if (!(dac is ISOSNative))
                {
                    throw new ClrDiagnosticsException("This version of mrt100 is too old.", ClrDiagnosticsException.HR.DataRequestError);
                }

                _sos = (ISOSNative)dac;
            }
        }
Exemplo n.º 3
0
        protected override void InitApi()
        {
            if (_sos == null)
            {
                var dac = DacLibrary.DacPrivateInterface;
                if (!(dac is ISOSNative))
                {
                    throw new ClrDiagnosticsException("This version of mrt100 is too old.", ClrDiagnosticsException.HR.DataRequestError);
                }

                _sos = (ISOSNative)dac;
            }

            _sosNativeSerializedExceptionSupport = DacLibrary.DacPrivateInterface as ISOSNativeSerializedExceptionSupport;
        }