Mercurial > pub > ImplabNet
diff Implab/Xml/JsonXmlReader.cs @ 251:7c7e9ad6fe4a v3
Prerelease version of RunnableComponent
Added draft messaging interfaces
Added more more helpers to Xml/SerializationHelpers
author | cin |
---|---|
date | Sun, 11 Feb 2018 00:49:51 +0300 |
parents | 302ca905c19e |
children | 3a6e18c432be |
line wrap: on
line diff
--- a/Implab/Xml/JsonXmlReader.cs Thu Feb 01 02:43:35 2018 +0300 +++ b/Implab/Xml/JsonXmlReader.cs Sun Feb 11 00:49:51 2018 +0300 @@ -163,7 +163,7 @@ } public override string GetAttribute(int i) { - Safe.ArgumentInRange(i, 0, AttributeCount - 1, nameof(i)); + Safe.ArgumentInRange(i >= 0 && i < AttributeCount, nameof(i)); return m_attributes[i].Value; }