257 instantiations of ConfigurationErrorsException
Microsoft.Build (3)
ToolsetElement.cs (3)
292throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber); 462throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber); 633throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber);
Microsoft.Build.Utilities.Core (3)
ToolsetElement.cs (3)
292throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber); 462throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber); 633throw new ConfigurationErrorsException(message, element.ElementInformation.Source, element.ElementInformation.LineNumber);
System.Configuration.ConfigurationManager (251)
System\Configuration\ApplicationSettingsBase.cs (4)
473throw new ConfigurationErrorsException(SR.Format(SR.ProviderTypeLoadFailed, providerTypeName)); 480throw new ConfigurationErrorsException(SR.Format(SR.ProviderInstantiationFailed, providerTypeName)); 626throw new ConfigurationErrorsException(SR.Format(SR.ProviderInstantiationFailed, providerTypeName)); 631throw new ConfigurationErrorsException(SR.Format(SR.ProviderTypeLoadFailed, providerTypeName));
System\Configuration\AppSettingsSection.cs (3)
112throw new ConfigurationErrorsException( 124throw new ConfigurationErrorsException(SR.Config_source_file_format, xmlUtil); 134throw new ConfigurationErrorsException(
System\Configuration\BaseConfigurationRecord.cs (53)
1374throw new ConfigurationErrorsException(SR.Config_file_has_changed, 1498throw new ConfigurationErrorsException( 1506throw new ConfigurationErrorsException(SR.Config_source_file_format, xmlUtil); 1515throw new ConfigurationErrorsException(SR.Protection_provider_syntax_error, xmlUtil); 1530throw new ConfigurationErrorsException(SR.Config_source_file_format, xmlUtil); 1601throw new ConfigurationErrorsException(SR.Format(SR.ProtectedConfigurationProvider_not_found, 1629throw new ConfigurationErrorsException(SR.Config_object_is_null, filename, line); 1758throw new ConfigurationErrorsException( 1775ConfigurationErrorsException ce = new ConfigurationErrorsException( 1866new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined_at_this_level, tagName), xmlUtil), 1882new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, tagName), xmlUtil), 2002new ConfigurationErrorsException( 2020new ConfigurationErrorsException( 2030new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, tagName), xmlUtil), 2118_ => throw new ConfigurationErrorsException( 2130_ => throw new ConfigurationErrorsException( 2355new ConfigurationErrorsException(SR.Format(SR.Config_client_config_too_many_configsections_elements, tagName), xmlUtil), 2364new ConfigurationErrorsException(SR.Config_location_location_not_allowed, xmlUtil), 2396new ConfigurationErrorsException( 2472new ConfigurationErrorsException( 2487new ConfigurationErrorsException( 2510new ConfigurationErrorsException(SR.Config_section_locked, xmlUtil), 2535new ConfigurationErrorsException(SR.Config_source_syntax_error, xmlUtil), 2557new ConfigurationErrorsException( 2580new ConfigurationErrorsException(SR.Config_source_syntax_error, xmlUtil), 2723new ConfigurationErrorsException(SR.Invalid_override_mode_declaration, xmlUtil), 2742new ConfigurationErrorsException(SR.Invalid_override_mode_declaration, 2781throw new ConfigurationErrorsException( 2906new ConfigurationErrorsException( 2912new ConfigurationErrorsException( 2979locationSectionRecord.AddError(new ConfigurationErrorsException( 3028throw new ConfigurationErrorsException(SR.Config_tag_name_invalid, errorInfo); 3052throw new ConfigurationErrorsException( 3057throw new ConfigurationErrorsException(SR.Config_tag_name_cannot_begin_with_config, errorInfo); 3060throw new ConfigurationErrorsException(SR.Config_tag_name_cannot_be_location, errorInfo); 3082throw new ConfigurationErrorsException(SR.Config_location_path_invalid_first_character, errorInfo); 3086throw new ConfigurationErrorsException(SR.Config_location_path_invalid_first_character, errorInfo); 3092throw new ConfigurationErrorsException(SR.Config_location_path_invalid_last_character, errorInfo); 3096throw new ConfigurationErrorsException(SR.Config_location_path_invalid_last_character, errorInfo); 3100throw new ConfigurationErrorsException(SR.Config_location_path_invalid_character, errorInfo); 3199throw new ConfigurationErrorsException(SR.Config_source_invalid_format, errorInfo); 3203throw new ConfigurationErrorsException(SR.Config_source_invalid_format, errorInfo); 3206throw new ConfigurationErrorsException(SR.Config_source_invalid_format, errorInfo); 3212throw new ConfigurationErrorsException(SR.Config_source_invalid_format, errorInfo); 3229throw new ConfigurationErrorsException(SR.Format(SR.Config_source_cannot_be_shared, 3315throw new ConfigurationErrorsException( 3341throw new ConfigurationErrorsException( 3558throw new ConfigurationErrorsException(SR.Protection_provider_invalid_format, errorInfo); 3579throw new ConfigurationErrorsException(SR.EncryptedNode_not_found, filename, lineNumber); 3595throw new ConfigurationErrorsException(SR.EncryptedNode_not_found, filename, lineNumber); 3600throw new ConfigurationErrorsException(SR.EncryptedNode_is_in_invalid_format, filename, lineNumber); 3616throw new ConfigurationErrorsException( 3630throw new ConfigurationErrorsException(SR.EncryptedNode_is_in_invalid_format, filename, lineNumber);
System\Configuration\ClientConfigurationHost.cs (3)
361ConfigurationAllowExeDefinition.MachineOnly => new ConfigurationErrorsException( 363ConfigurationAllowExeDefinition.MachineToApplication => new ConfigurationErrorsException( 365ConfigurationAllowExeDefinition.MachineToRoamingUser => new ConfigurationErrorsException(
System\Configuration\ClientConfigurationSystem.cs (2)
163new ConfigurationErrorsException(SR.Config_client_config_init_error, e); 218_initError = new ConfigurationErrorsException(SR.Config_client_config_init_error, ex);
System\Configuration\ClientSettingsStore.cs (4)
158throw new ConfigurationErrorsException(SR.UserSettingsNotSupported); 176throw new ConfigurationErrorsException(SR.UserSettingsNotSupported); 208throw new ConfigurationErrorsException(SR.Format(SR.SettingsSaveFailed, ex.Message), ex); 213throw new ConfigurationErrorsException(SR.SettingsSaveFailedNoSection);
System\Configuration\ConfigurationElement.cs (31)
109throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, LockItemKey)); 213throw new ConfigurationErrorsException(SR.Config_element_no_context); 396throw new ConfigurationErrorsException( 489ConfigurationErrorsException e = new ConfigurationErrorsException(errorsList); 523throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, elementName), 801throw new ConfigurationErrorsException( 829if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 838throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, prop.Name)); 1081throw new ConfigurationErrorsException(SR.Format( 1170throw new ConfigurationErrorsException( 1265throw new ConfigurationErrorsException( 1270throw new ConfigurationErrorsException(SR.Format(format, 1286throw new ConfigurationErrorsException(SR.Format(SR.Empty_attribute, LockAttributesKey), 1289throw new ConfigurationErrorsException(SR.Format(SR.Empty_attribute, LockElementsKey), 1292throw new ConfigurationErrorsException( 1296throw new ConfigurationErrorsException( 1352throw new ConfigurationErrorsException( 1413throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, reader.Name), reader); 1429throw new ConfigurationErrorsException( 1439throw new ConfigurationErrorsException( 1460throw new ConfigurationErrorsException( 1484throw new ConfigurationErrorsException( 1517throw new ConfigurationErrorsException( 1532throw new ConfigurationErrorsException( 1545throw new ConfigurationErrorsException( 1557throw new ConfigurationErrorsException( 1572throw new ConfigurationErrorsException(e.Message, reader); // give it some info 1731if (string.IsNullOrEmpty(ce.Filename)) ce = new ConfigurationErrorsException(ce.Message, reader); 1764throw new ConfigurationErrorsException(SR.Format(SR.Validator_does_not_support_elem_type, 1780throw new ConfigurationErrorsException(SR.Format(SR.Validator_element_not_valid, elem.ElementTagName, 1833throw new ConfigurationErrorsException(SR.Format(SR.Config_base_required_attribute_missing, name),
System\Configuration\ConfigurationElementCollection.cs (35)
82if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 507if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 510throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, _addElement)); 520throw new ConfigurationErrorsException(SR.Config_base_collection_item_locked); 526throw new ConfigurationErrorsException( 619if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 648throw new ConfigurationErrorsException(SR.Config_base_cannot_add_items_below_inherited_items); 655throw new ConfigurationErrorsException(SR.Config_base_cannot_add_items_above_inherited_items); 664throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 682if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 683if (index < -1) throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 713throw new ConfigurationErrorsException( 733throw new ConfigurationErrorsException(SR.Config_base_read_only); 744throw new ConfigurationErrorsException( 751throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, key)); 766throw new ConfigurationErrorsException( 774throw new ConfigurationErrorsException( 790throw new ConfigurationErrorsException(SR.Config_base_collection_entry_already_removed); 796throw new ConfigurationErrorsException( 816throw new ConfigurationErrorsException(SR.Format(SR.Config_base_collection_entry_not_found, key)); 851if (index < 0) throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 869throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 889if (index < 0) throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 903if (entry == null) throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 910if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 941throw new ConfigurationErrorsException(SR.Config_base_collection_item_locked_cannot_clear); 963if (IsReadOnly()) throw new ConfigurationErrorsException(SR.Config_base_read_only); 978if (entry == null) throw new ConfigurationErrorsException(SR.Format(SR.IndexOutOfRange, index)); 981throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, 996throw new ConfigurationErrorsException(SR.Config_base_cannot_remove_inherited_items); 999throw new ConfigurationErrorsException(SR.Config_base_cannot_remove_inherited_items); 1016throw new ConfigurationErrorsException(SR.Config_base_collection_entry_already_removed); 1021throw new ConfigurationErrorsException(SR.Config_base_collection_elements_may_not_be_removed); 1124throw new ConfigurationErrorsException( 1193throw new ConfigurationErrorsException(SR.Config_base_invalid_element_key);
System\Configuration\ConfigurationErrorsException.cs (1)
171ConfigurationErrorsException e = new ConfigurationErrorsException(BareMessage, InnerException,
System\Configuration\ConfigurationLockCollection.cs (5)
129throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, name)); 162throw new ConfigurationErrorsException(SR.Format(SR.Config_base_required_attribute_lock_attempt, 253throw new ConfigurationErrorsException(SR.Format(SR.Config_base_collection_entry_not_found, name)); 261throw new ConfigurationErrorsException(SR.Format(SR.Config_base_attribute_locked, name)); 324throw new ConfigurationErrorsException(SR.Format(SR.Config_base_collection_entry_not_found, name));
System\Configuration\ConfigurationManager.cs (3)
42throw new ConfigurationErrorsException(SR.Config_appsettings_declaration_invalid); 60throw new ConfigurationErrorsException(SR.Config_connectionstrings_declaration_invalid); 109new ConfigurationErrorsException(SR.Config_client_config_init_error, e);
System\Configuration\ConfigurationProperty.cs (9)
102throw new ConfigurationErrorsException( 227throw new ConfigurationErrorsException( 259throw new ConfigurationErrorsException(SR.Format(SR.Validator_does_not_support_prop_type, Name)); 281throw new ConfigurationErrorsException(SR.Format(SR.Default_value_wrong_type, Name)); 309throw new ConfigurationErrorsException(SR.Format(SR.Default_value_conversion_error_from_string, 340throw new ConfigurationErrorsException(SR.Format(SR.Top_level_conversion_error_from_string, Name, 363throw new ConfigurationErrorsException( 376throw new ConfigurationErrorsException( 405throw new ConfigurationErrorsException(SR.Format(SR.No_converter, Name, Type.Name));
System\Configuration\ConfigurationSchemaErrors.cs (2)
71throw new ConfigurationErrorsException(_errorsGlobal); 75throw new ConfigurationErrorsException(_errorsAll);
System\Configuration\ConfigurationSection.cs (1)
40throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, reader);
System\Configuration\ConfigurationSectionGroup.cs (1)
55throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined,
System\Configuration\DefaultSection.cs (1)
52throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, xmlReader);
System\Configuration\DpapiProtectedConfigurationProvider.cs (6)
23throw new ConfigurationErrorsException(SR.DPAPI_bad_data); 28throw new ConfigurationErrorsException(SR.DPAPI_bad_data); 32throw new ConfigurationErrorsException(SR.DPAPI_bad_data); 36throw new ConfigurationErrorsException(SR.DPAPI_bad_data); 100throw new ConfigurationErrorsException(SR.Format(SR.Unrecognized_initialization_value, configurationValues.GetKey(0))); 133throw new ConfigurationErrorsException(SR.Format(SR.Config_invalid_boolean_attribute, valueName));
System\Configuration\ErrorsHelper.cs (1)
54return new ConfigurationErrorsException(errors);
System\Configuration\ExceptionUtil.cs (4)
56return new ConfigurationErrorsException( 68return new ConfigurationErrorsException(xe.Message, xe, filename, line); 74return new ConfigurationErrorsException( 82return new ConfigurationErrorsException(
System\Configuration\HandlerBase.cs (10)
18throw new ConfigurationErrorsException( 52throw new ConfigurationErrorsException( 74throw new ConfigurationErrorsException( 84throw new ConfigurationErrorsException( 102throw new ConfigurationErrorsException( 134throw new ConfigurationErrorsException( 141throw new ConfigurationErrorsException( 153throw new ConfigurationErrorsException(SR.Config_base_elements_only, node); 173throw new ConfigurationErrorsException(SR.Config_base_no_child_nodes, node.FirstChild); 179throw new ConfigurationErrorsException(SR.Config_base_unrecognized_element, node);
System\Configuration\IgnoreSection.cs (1)
52throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, xmlReader);
System\Configuration\Internal\InternalConfigHost.cs (2)
237throw new ConfigurationErrorsException(SR.Config_no_stream_to_write); 272throw new ConfigurationErrorsException(SR.Format(SR.Config_write_failed, streamName), e);
System\Configuration\Internal\WriteFileContext.cs (1)
179throw new ConfigurationErrorsException(SR.Format(SR.Config_write_failed, target));
System\Configuration\LocalFileSettingsProvider.cs (4)
111throw new ConfigurationErrorsException(SR.UserSettingsNotSupported); 281throw new ConfigurationErrorsException(SR.UserSettingsNotSupported); 426throw new ConfigurationErrorsException(SR.Format(SR.BothScopeAttributes, setting.Name)); 430throw new ConfigurationErrorsException(SR.Format(SR.NoScopeAttributes, setting.Name));
System\Configuration\MgmtConfigurationRecord.cs (21)
199throw new ConfigurationErrorsException(SR.Format(SR.Config_unrecognized_configuration_section, 270throw new ConfigurationErrorsException( 416throw new ConfigurationErrorsException( 487throw new ConfigurationErrorsException( 546throw new ConfigurationErrorsException(SR.Config_source_requires_file); 569throw new ConfigurationErrorsException( 607throw new ConfigurationErrorsException(SR.Format(SR.Config_unexpected_node_type, reader.NodeType)); 613throw new ConfigurationErrorsException(SR.Format(SR.Config_unexpected_element_name, reader.Name)); 622throw new ConfigurationErrorsException(SR.Config_unexpected_element_end, 634throw new ConfigurationErrorsException(SR.Config_invalid_node_type, reader); 640throw new ConfigurationErrorsException(SR.Config_more_data_than_expected, reader); 1020throw new ConfigurationErrorsException(SR.Config_file_has_changed, 1027throw new ConfigurationErrorsException(SR.Config_data_read_count_mismatch); 1049throw new ConfigurationErrorsException(SR.Config_file_has_changed, changedStreamName, 0); 1116throw new ConfigurationErrorsException(SR.Config_file_has_changed, 1576throw new ConfigurationErrorsException( 1676throw new ConfigurationErrorsException( 1696throw new ConfigurationErrorsException( 1706throw new ConfigurationErrorsException(SR.Config_section_locked, (IConfigErrorInfo)null); 1884throw new ConfigurationErrorsException( 2996if (count != streamRead.Length) throw new ConfigurationErrorsException();
System\Configuration\NameValueFileSectionHandler.cs (2)
53throw new ConfigurationErrorsException(e.Message, e, sourceFileFullPath, e.LineNumber); 58throw new ConfigurationErrorsException(
System\Configuration\OverrideModeSetting.cs (2)
66_ => throw new ConfigurationErrorsException( 333throw new ConfigurationErrorsException(SR.Cannot_change_both_AllowOverride_and_OverrideMode);
System\Configuration\RuntimeConfigurationRecord.cs (2)
73throw new ConfigurationErrorsException( 129throw new ConfigurationErrorsException(
System\Configuration\SectionInformation.cs (9)
96throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 117throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 138throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 164throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 328throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 349throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, ConfigKey)); 379throw new ConfigurationErrorsException(SR.Format(SR.Config_tag_name_already_defined, 586throw new ConfigurationErrorsException(SR.Format(SR.Cannot_declare_or_remove_implicit_section, SectionName)); 590throw new ConfigurationErrorsException(
System\Configuration\SectionRecord.cs (1)
294if (HasErrors) throw new ConfigurationErrorsException(GetAllErrors());
System\Configuration\StringAttributeCollection.cs (2)
75if (IsReadOnly) throw new ConfigurationErrorsException(SR.Config_base_read_only); 81throw new ConfigurationErrorsException(SR.Format(SR.Config_base_value_cannot_contain, ","));
System\Configuration\XmlUtil.cs (8)
92throw new ConfigurationErrorsException(SR.Config_base_unrecognized_element, this); 237ConfigurationException ex = new ConfigurationErrorsException( 272ConfigurationErrorsException ex = new ConfigurationErrorsException( 281ConfigurationErrorsException ex = new ConfigurationErrorsException( 290ConfigurationErrorsException ex = new ConfigurationErrorsException( 299ConfigurationErrorsException ex = new ConfigurationErrorsException( 313ConfigurationException ex = new ConfigurationErrorsException( 339new ConfigurationErrorsException(SR.Format(SR.Config_invalid_boolean_attribute, Reader.Name), this),
System\Diagnostics\ListenerElementsCollection.cs (8)
188throw new ConfigurationErrorsException(SR.Format(SR.Reference_listener_cant_have_properties, Name)); 193throw new ConfigurationErrorsException(SR.Format(SR.Reference_to_nonexistent_listener, Name)); 199throw new ConfigurationErrorsException(SR.Format(SR.Reference_to_nonexistent_listener, Name)); 225throw new ConfigurationErrorsException(SR.Format(SR.Could_not_create_listener, Name), e); 314throw new ConfigurationErrorsException(SR.Format(SR.Reference_listener_cant_have_properties, Name)); 319throw new ConfigurationErrorsException(SR.Format(SR.Reference_to_nonexistent_listener, Name)); 325throw new ConfigurationErrorsException(SR.Format(SR.Reference_to_nonexistent_listener, Name)); 365throw new ConfigurationErrorsException(SR.Format(SR.Could_not_create_listener, Name), e);
System\Diagnostics\SourceElementsCollection.cs (1)
77throw new ConfigurationErrorsException(SR.Format(SR.Only_specify_one, Name));
System\Diagnostics\TraceUtils.cs (8)
25throw new ConfigurationErrorsException(SR.EmptyTypeName_NotAllowed); 41throw new ConfigurationErrorsException(SR.Format(SR.Could_not_find_type, className)); 46throw new ConfigurationErrorsException(SR.Format(SR.Incorrect_base_type, className, baseType.FullName)); 54throw new ConfigurationErrorsException(SR.TL_InitializeData_NotSpecified); 59throw new ConfigurationErrorsException(SR.Format(SR.Could_not_get_constructor, className)); 95throw new ConfigurationErrorsException(SR.Format(SR.Could_not_get_constructor, className)); 135throw new ConfigurationErrorsException(SR.Format(SR.Could_not_create_type_instance, className), innerException); 138throw new ConfigurationErrorsException(SR.Format(SR.Could_not_create_type_instance, className));
35 references to ConfigurationErrorsException
Microsoft.Build.Engine.UnitTests (9)
Definition\ToolsetConfigurationReader_Tests.cs (9)
202Assert.Throws<ConfigurationErrorsException>(() => 230Assert.Throws<ConfigurationErrorsException>(() => 258Assert.Throws<ConfigurationErrorsException>(() => 325Assert.Throws<ConfigurationErrorsException>(() => 350Assert.Throws<ConfigurationErrorsException>(() => 375Assert.Throws<ConfigurationErrorsException>(() => 401Assert.Throws<ConfigurationErrorsException>(() => 601Assert.Throws<ConfigurationErrorsException>(() => 636Assert.Throws<ConfigurationErrorsException>(() =>
PresentationCore (1)
System\Windows\CoreCompatibilityPreferences.cs (1)
23catch (ConfigurationErrorsException)
PresentationFramework (2)
MS\Win32\UxThemeWrapper.cs (1)
278catch (ConfigurationErrorsException)
System\Windows\FrameworkCompatibilityPreferences.cs (1)
34catch (ConfigurationErrorsException)
System.Configuration (1)
System.Configuration.cs (1)
18[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.ConfigurationErrorsException))]
System.Configuration.ConfigurationManager (22)
System\Configuration\BaseConfigurationRecord.cs (3)
1775ConfigurationErrorsException ce = new ConfigurationErrorsException( 2786catch (ConfigurationErrorsException ce) 3017catch (ConfigurationErrorsException ce)
System\Configuration\ClientSettingsStore.cs (1)
205catch (ConfigurationErrorsException ex)
System\Configuration\ConfigurationElement.cs (3)
483internal ConfigurationErrorsException GetErrors() 489ConfigurationErrorsException e = new ConfigurationErrorsException(errorsList); 1728catch (ConfigurationErrorsException ce)
System\Configuration\ConfigurationErrorsException.cs (2)
134(currentExceptionType != typeof(ConfigurationErrorsException))) 171ConfigurationErrorsException e = new ConfigurationErrorsException(BareMessage, InnerException,
System\Configuration\ErrorsHelper.cs (4)
28ConfigurationErrorsException ce = e as ConfigurationErrorsException; 49internal static ConfigurationErrorsException GetErrorsException(List<ConfigurationException> errors) 59ConfigurationErrorsException e = GetErrorsException(errors);
System\Configuration\ExceptionUtil.cs (4)
38internal static ConfigurationErrorsException WrapAsConfigException(string outerMessage, Exception e, 46internal static ConfigurationErrorsException WrapAsConfigException(string outerMessage, Exception e, 50ConfigurationErrorsException ce = e as ConfigurationErrorsException;
System\Configuration\RuntimeConfigurationRecord.cs (1)
159ConfigurationErrorsException errors = configSection.GetErrors();
System\Configuration\XmlUtil.cs (4)
272ConfigurationErrorsException ex = new ConfigurationErrorsException( 281ConfigurationErrorsException ex = new ConfigurationErrorsException( 290ConfigurationErrorsException ex = new ConfigurationErrorsException( 299ConfigurationErrorsException ex = new ConfigurationErrorsException(