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();
}
}