Platform & Implementation dependent (unit test) code ToString, GetHashCode
description
All ToString methods where XmlWriterSettings class is used will produce different strings on Windows, Mac and Linux (because of different newline sequences)
GetHashCode overrides implemented as this.ToString().GetHashCode() will return (expectedly) different results on different platform implementations (ms .net, mono etc). That is why many GetHashCode unit tests fail.