mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Merge branch 'fix/csv-nullref' of Common/Utils into dev
This commit is contained in:
commit
6b37db3530
2 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||
|
||||
### Changed
|
||||
- Performance improvements when working with xml attributes
|
||||
- Fixed NullReferenceException when writing null strings to CSV
|
||||
|
||||
### Removed
|
||||
- Removed IcdXmlAttribute
|
||||
|
|
|
|||
|
|
@ -79,6 +79,8 @@ namespace ICD.Common.Utils.Csv
|
|||
[PublicAPI]
|
||||
public void AppendValue(string value)
|
||||
{
|
||||
value = value ?? string.Empty;
|
||||
|
||||
if (!m_NewLine)
|
||||
m_Writer.WrappedTextWriter.Write(m_Seperator);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue