diff --git a/CHANGELOG.md b/CHANGELOG.md index b77f9fa..37a290b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Better VC-4 support for IcdConsole - JSON refactoring for simpler deserialization +## [8.7.0] - 2019-06-24 +### Added + - IcdXmlException exposes line number and position properties + ## [8.6.1] - 2019-06-14 ### Changed - Fixed a bug where stopped timers on NetStandard would still have a periodic callback duration diff --git a/ICD.Common.Utils/Xml/IcdXmlException.cs b/ICD.Common.Utils/Xml/IcdXmlException.cs index 984fbb4..5eb75d0 100644 --- a/ICD.Common.Utils/Xml/IcdXmlException.cs +++ b/ICD.Common.Utils/Xml/IcdXmlException.cs @@ -9,8 +9,12 @@ namespace ICD.Common.Utils.Xml { public sealed class IcdXmlException : Exception { - private int m_LineNumber; - private int m_LinePosition; + private readonly int m_LineNumber; + private readonly int m_LinePosition; + + public int LineNumber { get { return m_LineNumber; } } + + public int LinePosition { get { return m_LinePosition; } } /// /// Constructor.