From ce163629f37f0360d246e74ae708173f2c098cb2 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Thu, 7 Jun 2018 16:32:09 -0400 Subject: [PATCH] refactor: Removing redundant code --- ICD.Common.Utils/Xml/IcdXmlReader.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ICD.Common.Utils/Xml/IcdXmlReader.cs b/ICD.Common.Utils/Xml/IcdXmlReader.cs index adf398b..2be8975 100644 --- a/ICD.Common.Utils/Xml/IcdXmlReader.cs +++ b/ICD.Common.Utils/Xml/IcdXmlReader.cs @@ -117,18 +117,11 @@ namespace ICD.Common.Utils.Xml if (m_Reader == null) return; - try - { #if SIMPLSHARP m_Reader.Dispose(true); #else m_Reader.Dispose(); #endif - } - catch (XmlException e) - { - throw new IcdXmlException(e); - } } public void Skip()