<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-preview.2.26159.112" />

System.Configuration.ConfigXmlDocument

Wraps the corresponding XmlDocument type and also carries the necessary information for reporting file-name and line numbers.
namespace System.Configuration { public sealed class ConfigXmlDocument : XmlDocument, IConfigErrorInfo { public int LineNumber { get; } public string Filename { get; } public void LoadSingleElement(string filename, XmlTextReader sourceReader); public ConfigXmlDocument(); } }