protected virtual void Dispose(bool disposing) { if (!_isDisposed) { if (disposing) { if (_logger != null) { _logger.AnalysisStopped(RuntimeConditions.NoErrors); _logger.Dispose(); } } _isDisposed = true; } }