private List<ConfigurationException> GetAllErrors() {
List<ConfigurationException> allErrors = null;
ErrorsHelper.AddErrors(ref allErrors, _errors);
if (HasLocationInputs) {
foreach (SectionInput input in LocationInputs) {
ErrorsHelper.AddErrors(ref allErrors, input.Errors);
}
}
if (HasFileInput) {
ErrorsHelper.AddErrors(ref allErrors, FileInput.Errors);
}
return allErrors;
}