<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.0" />

LocationSectionRecord

using System.Collections.Generic; using System.Diagnostics; namespace System.Configuration { [DebuggerDisplay("LocationSectionRecord {ConfigKey}")] internal class LocationSectionRecord { private List<ConfigurationException> _errors; internal string ConfigKey => SectionXmlInfo.ConfigKey; internal SectionXmlInfo SectionXmlInfo { get; } internal ICollection<ConfigurationException> Errors => _errors; internal List<ConfigurationException> ErrorsList => _errors; internal bool HasErrors => ErrorsHelper.GetHasErrors(_errors); internal LocationSectionRecord(SectionXmlInfo sectionXmlInfo, List<ConfigurationException> errors) { SectionXmlInfo = sectionXmlInfo; _errors = errors; } internal void AddError(ConfigurationException e) { ErrorsHelper.AddError(ref _errors, e); } } }