From 6201184fab10c8784a45d0e89430a833733b63a9 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 24 Jun 2019 12:42:29 -0400 Subject: [PATCH 1/2] feat: IcdXmlException exposes LineNumber and LinePosition --- ICD.Common.Utils/Xml/IcdXmlException.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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. From 1be852685d64d4d8b939084ecd35d8123c760493 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 24 Jun 2019 12:49:39 -0400 Subject: [PATCH 2/2] chore: Updating changelog, incrementing minor version --- CHANGELOG.md | 4 ++++ ICD.Common.Utils/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f558c9e..188161c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [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/Properties/AssemblyInfo.cs b/ICD.Common.Utils/Properties/AssemblyInfo.cs index a97d33a..4c7d0d4 100644 --- a/ICD.Common.Utils/Properties/AssemblyInfo.cs +++ b/ICD.Common.Utils/Properties/AssemblyInfo.cs @@ -4,4 +4,4 @@ using System.Reflection; [assembly: AssemblyCompany("ICD Systems")] [assembly: AssemblyProduct("ICD.Common.Utils")] [assembly: AssemblyCopyright("Copyright © ICD Systems 2019")] -[assembly: AssemblyVersion("8.6.1.0")] +[assembly: AssemblyVersion("8.7.0.0")]