1 type derived from ConfigurationException
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationErrorsException.cs (1)
18public class ConfigurationErrorsException : ConfigurationException
78 references to ConfigurationException
Microsoft.Build (1)
Definition\ToolsetConfigurationReader.cs (1)
137catch (ConfigurationException ex)
Microsoft.Build.Tasks.Core (4)
GenerateResource.cs (1)
3530(e is ConfigurationException || e is SecurityException)
ResGen.cs (1)
298catch (System.Configuration.ConfigurationException)
WriteCodeFragment.cs (1)
154(e is ConfigurationException || e is SecurityException)
XamlTaskFactory\TaskGenerator.cs (1)
415catch (ConfigurationException e)
System (1)
src\libraries\shims\System\ref\System.cs (1)
420[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.ConfigurationException))]
System.Configuration.ConfigurationManager (72)
System\Configuration\BaseConfigurationRecord.cs (11)
1403catch (ConfigurationException ce) 1468catch (ConfigurationException ce) 1937catch (ConfigurationException ce) 1947catch (ConfigurationException ce) 1968catch (ConfigurationException ce) 2498catch (ConfigurationException ce) 2526catch (ConfigurationException ce) 2548catch (ConfigurationException ce) 2611catch (ConfigurationException ex) 2637List<ConfigurationException> localErrors = 2928catch (ConfigurationException e)
System\Configuration\ConfigurationElement.cs (2)
1568catch (ConfigurationException e) 1773catch (ConfigurationException)
System\Configuration\ConfigurationErrorsException.cs (15)
27private readonly ConfigurationException[] _errors; 82internal ConfigurationErrorsException(ConfigurationException e) : 86internal ConfigurationErrorsException(ICollection<ConfigurationException> coll) : 91_errors = new ConfigurationException[coll.Count]; 97this((ConfigurationException)(coll.Count > 0 ? coll[0] : null)) 100_errors = new ConfigurationException[coll.Count]; 124_errors = new ConfigurationException[count]; 133if ((currentExceptionType != typeof(ConfigurationException)) && 137_errors[i] = (ConfigurationException)info.GetValue(numPrefix + SerializationParamErrorData, currentExceptionType); 174ConfigurationException[] a = { e }; 179internal ICollection<ConfigurationException> ErrorsGeneric => (ICollection<ConfigurationException>)Errors; 192private static ConfigurationException GetFirstException(ICollection<ConfigurationException> coll) 194foreach (ConfigurationException e in coll) return e;
System\Configuration\ConfigurationSchemaErrors.cs (8)
13private List<ConfigurationException> _errorsAll; 16private List<ConfigurationException> _errorsGlobal; 22private List<ConfigurationException> _errorsLocal; 32internal void AddError(ConfigurationException ce, ExceptionAction action) 49internal void SetSingleGlobalError(ConfigurationException ce) 78internal List<ConfigurationException> RetrieveAndResetLocalErrors(bool keepLocalErrors) 80List<ConfigurationException> list = _errorsLocal; 88internal void AddSavedLocalErrors(ICollection<ConfigurationException> coll)
System\Configuration\ElementInformation.cs (4)
11private ConfigurationException[] _errors; 68private ConfigurationException[] GetReadOnlyErrorsList() 76ConfigurationException[] exceptionList = new ConfigurationException[arrayList.Count];
System\Configuration\ErrorsHelper.cs (11)
11internal static int GetErrorCount(List<ConfigurationException> errors) 16internal static bool GetHasErrors(List<ConfigurationException> errors) 21internal static void AddError(ref List<ConfigurationException> errors, ConfigurationException e) 26errors ??= new List<ConfigurationException>(); 32ICollection<ConfigurationException> col = ce.ErrorsGeneric; 38internal static void AddErrors(ref List<ConfigurationException> errors, ICollection<ConfigurationException> coll) 46foreach (ConfigurationException e in coll) AddError(ref errors, e); 49internal static ConfigurationErrorsException GetErrorsException(List<ConfigurationException> errors) 57internal static void ThrowOnErrors(List<ConfigurationException> errors)
System\Configuration\ExceptionUtil.cs (2)
54ConfigurationException deprecatedException = e as ConfigurationException;
System\Configuration\FactoryRecord.cs (4)
23private List<ConfigurationException> _errors; // errors 39ICollection<ConfigurationException> errors) 156internal List<ConfigurationException> Errors => _errors; 256internal void AddErrors(ICollection<ConfigurationException> coll)
System\Configuration\InvalidPropValue.cs (2)
9internal InvalidPropValue(string value, ConfigurationException error) 15internal ConfigurationException Error { get; }
System\Configuration\LocationSectionRecord.cs (5)
12private List<ConfigurationException> _errors; // errors 14internal LocationSectionRecord(SectionXmlInfo sectionXmlInfo, List<ConfigurationException> errors) 25internal ICollection<ConfigurationException> Errors => _errors; 27internal List<ConfigurationException> ErrorsList => _errors; 31internal void AddError(ConfigurationException e)
System\Configuration\SectionInput.cs (3)
16private readonly List<ConfigurationException> _errors; 21internal SectionInput(SectionXmlInfo sectionXmlInfo, List<ConfigurationException> errors) 53internal ICollection<ConfigurationException> Errors => _errors;
System\Configuration\SectionRecord.cs (2)
274private List<ConfigurationException> GetAllErrors() 276List<ConfigurationException> allErrors = null;
System\Configuration\TypeUtil.cs (1)
62Assembly configurationAssembly = typeof(ConfigurationException).Assembly;
System\Configuration\XmlUtil.cs (2)
237ConfigurationException ex = new ConfigurationErrorsException( 313ConfigurationException ex = new ConfigurationErrorsException(