Previously this library was using System.Private.Xml on desktop. Commit migrated from https://github.com/dotnet/corefx/commit/519bb93e6a5fd5d8fe4ed441209ef5f1d896b6b5