private ConfigurationException[] GetReadOnlyErrorsList() {
ArrayList arrayList;
int count;
ConfigurationException[] exceptionList;
arrayList = _thisElement.GetErrorsList();
count = arrayList.Count;
// Create readonly array
exceptionList = new ConfigurationException[arrayList.Count];
if (count != 0) {
arrayList.CopyTo(exceptionList, 0);
}
return exceptionList;
}