90 references to ExceptionAction
System.Configuration.ConfigurationManager (90)
System\Configuration\BaseConfigurationRecord.cs (73)
526ExceptionAction.Global); 602ExceptionAction.Global); 740ExceptionAction.Global); 1405xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.NonSpecific); 1470xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.NonSpecific); 1778xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Global); 1782xmlUtil.AddErrorUnrecognizedAttribute(ExceptionAction.NonSpecific); 1787xmlUtil.StrictReadToNextElement(ExceptionAction.NonSpecific); 1792xmlUtil.VerifyNoUnrecognizedAttributes(ExceptionAction.NonSpecific); 1818xmlUtil.StrictReadToNextElement(ExceptionAction.NonSpecific); 1837VerifySectionName(tagName, xmlUtil, ExceptionAction.Local, false); 1840xmlUtil.VerifyAndGetNonEmptyStringAttribute(ExceptionAction.Local, out typeName); 1843xmlUtil.AddErrorUnrecognizedAttribute(ExceptionAction.Local); 1850if (!xmlUtil.VerifyRequiredAttribute(tagName, SectionGroupNameAttribute, ExceptionAction.NonSpecific)) 1855xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 1867ExceptionAction.Local); 1883ExceptionAction.Local); 1923VerifySectionName(tagName, xmlUtil, ExceptionAction.Local, false); 1926xmlUtil.VerifyAndGetNonEmptyStringAttribute(ExceptionAction.Local, out typeName); 1930xmlUtil.VerifyAndGetBooleanAttribute(ExceptionAction.Local, true, out allowLocation); 1939xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 1949xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 1953xmlUtil.VerifyAndGetBooleanAttribute(ExceptionAction.Local, true, out restartOnExternalChanges); 1956xmlUtil.VerifyAndGetBooleanAttribute(ExceptionAction.Local, true, out requirePermission); 1970xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 1974xmlUtil.AddErrorUnrecognizedAttribute(ExceptionAction.Local); 1982tagName, SectionNameAttribute, ExceptionAction.NonSpecific)) 1993xmlUtil.AddErrorRequiredAttribute(SectionTypeAttribute, ExceptionAction.Local); 2005ExceptionAction.Local); 2022ExceptionAction.Local); 2031ExceptionAction.Local); 2070xmlUtil.AddErrorUnrecognizedAttribute(ExceptionAction.NonSpecific); 2076name, SectionNameAttribute, ExceptionAction.NonSpecific)) 2077VerifySectionName(name, xmlUtil, ExceptionAction.NonSpecific, false); 2080xmlUtil.VerifyNoUnrecognizedAttributes(ExceptionAction.NonSpecific); 2084xmlUtil.AddErrorUnrecognizedElement(ExceptionAction.NonSpecific); 2085xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2092xmlUtil.StrictReadToNextElement(ExceptionAction.NonSpecific); 2097xmlUtil.AddErrorUnrecognizedElement(ExceptionAction.NonSpecific); 2341xmlUtil.StrictReadToNextElement(ExceptionAction.NonSpecific); 2356ExceptionAction.NonSpecific); 2357xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2365ExceptionAction.Global); 2366xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2398ExceptionAction.Local); 2401VerifySectionName(tagName, xmlUtil, ExceptionAction.Local, false); 2431if (factoryRecord.HasErrors) xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2440xmlUtil.AddErrorReservedAttribute(ExceptionAction.NonSpecific); 2474ExceptionAction.Local); 2489ExceptionAction.Local); 2500xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 2511ExceptionAction.Local); 2528xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 2536ExceptionAction.Local); 2550xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Local); 2559ExceptionAction.Local); 2581ExceptionAction.Local); 2584xmlUtil.StrictSkipToOurParentsEndElement(ExceptionAction.NonSpecific); 2585else xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2613xmlUtil.SchemaErrors.AddError(ex, ExceptionAction.Local); 2627xmlUtil.VerifyIgnorableNodeType(ExceptionAction.NonSpecific); 2628xmlUtil.StrictReadToNextElement(ExceptionAction.NonSpecific); 2641if (!positionedAtNextElement) xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2724ExceptionAction.Global); 2732ExceptionAction.Global, true, out value); 2743xmlUtil), ExceptionAction.Global); 2754ExceptionAction.Global, true, out inheritInChildApp); 2757xmlUtil.AddErrorUnrecognizedAttribute(ExceptionAction.Global); 2788xmlUtil.SchemaErrors.AddError(ce, ExceptionAction.Global); 2794xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2809xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 2842xmlUtil.StrictSkipToNextElement(ExceptionAction.NonSpecific); 3011protected static void VerifySectionName(string name, XmlUtil xmlUtil, ExceptionAction action, bool allowImplicit)
System\Configuration\ConfigurationSchemaErrors.cs (5)
32internal void AddError(ConfigurationException ce, ExceptionAction action) 36case ExceptionAction.Global: 40case ExceptionAction.NonSpecific: 43case ExceptionAction.Local: 55AddError(ce, ExceptionAction.Global);
System\Configuration\XmlUtil.cs (12)
184internal void StrictReadToNextElement(ExceptionAction action) 199internal void StrictSkipToNextElement(ExceptionAction action) 214internal void StrictSkipToOurParentsEndElement(ExceptionAction action) 231internal void VerifyIgnorableNodeType(ExceptionAction action) 248internal void VerifyNoUnrecognizedAttributes(ExceptionAction action) 257internal bool VerifyRequiredAttribute(object requiredAttribute, string attrName, ExceptionAction action) 270internal void AddErrorUnrecognizedAttribute(ExceptionAction action) 279internal void AddErrorRequiredAttribute(string attrib, ExceptionAction action) 288internal void AddErrorReservedAttribute(ExceptionAction action) 297internal void AddErrorUnrecognizedElement(ExceptionAction action) 306internal void VerifyAndGetNonEmptyStringAttribute(ExceptionAction action, out string newValue) 326ExceptionAction action, bool defaultValue, out bool newValue)