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