2 types derived from XmlSchemaException
System.Xml (2)
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (1)
21public class XmlSchemaInferenceException : XmlSchemaException
System\Xml\Schema\XmlSchemaValidationException.cs (1)
19public class XmlSchemaValidationException : XmlSchemaException {
28 instantiations of XmlSchemaException
System.Web.Extensions (1)
Compilation\WCFModel\MapFileLoader.cs (1)
269throw new XmlSchemaException(String.Format(CultureInfo.CurrentCulture,
System.Xml (27)
System\Xml\Core\XmlTextReaderImpl.cs (1)
2531SendValidationEvent( severity, new XmlSchemaException( code, arg, ps.baseUriStr, lineNo, linePos ) );
System\Xml\Schema\BaseProcessor.cs (7)
183SendValidationEvent(new XmlSchemaException(code, source), XmlSeverityType.Error); 187SendValidationEvent(new XmlSchemaException(code, msg, source), XmlSeverityType.Error); 191SendValidationEvent(new XmlSchemaException(code, new string[] { msg1, msg2 }, source), XmlSeverityType.Error); 195SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.LineNumber, source.LinePosition, source), XmlSeverityType.Error); 199SendValidationEvent(new XmlSchemaException(code, new string[] { msg1, msg2 }, sourceUri, lineNumber, linePosition), XmlSeverityType.Error); 203SendValidationEvent(new XmlSchemaException(code, source), severity); 211SendValidationEvent(new XmlSchemaException(code, msg, source), severity);
System\Xml\Schema\BaseValidator.cs (6)
201SendValidationEvent(new XmlSchemaException(code, args, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition)); 205SendValidationEvent(new XmlSchemaException(code, arg, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition)); 209SendValidationEvent(new XmlSchemaException(code, new string[] { arg1, arg2 }, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition)); 217SendValidationEvent(new XmlSchemaException(code, msg, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition), severity); 221SendValidationEvent(new XmlSchemaException(code, args, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition), severity); 265XmlSchemaException e = new XmlSchemaException(errorResId, name, baseUriStr, lineNumber, linePosition);
System\Xml\Schema\DtdParser.cs (2)
3222SendValidationEvent( severity, new XmlSchemaException( code, arg, BaseUriStr, (int)LineNo, (int)LinePos + ( pos - curPos ) ) ); 3227SendValidationEvent( severity, new XmlSchemaException( code, arg, BaseUriStr, (int)LineNo, (int)LinePos ) );
System\Xml\Schema\FacetChecker.cs (3)
556throw new XmlSchemaException(code, new string[] {ex.Message} , ex, facet.SourceUri, facet.LineNumber, facet.LinePosition, facet); 617throw new XmlSchemaException(errorCode, datatype.TypeCodeString, facet); 623throw new XmlSchemaException(errorCode, facet);
System\Xml\Schema\Parser.cs (1)
80throw new XmlSchemaException(code, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition);
System\Xml\Schema\ParserAsync.cs (1)
40throw new XmlSchemaException(code, reader.BaseURI, positionInfo.LineNumber, positionInfo.LinePosition);
System\Xml\Schema\XdrBuilder.cs (2)
1567SendValidationEvent(new XmlSchemaException(code, args, this._reader.BaseURI, this.positionInfo.LineNumber, this.positionInfo.LinePosition), severity); 1575SendValidationEvent(new XmlSchemaException(code, msg, this._reader.BaseURI, this.positionInfo.LineNumber, this.positionInfo.LinePosition), XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaSet.cs (1)
1328SendValidationEvent(new XmlSchemaException(code,qname.ToString()), XmlSeverityType.Error);
System\Xml\Schema\XsdBuilder.cs (3)
2325SendValidationEvent(new XmlSchemaException(code, new string[] { arg0, arg1, arg2 }, this.reader.BaseURI, this.positionInfo.LineNumber, this.positionInfo.LinePosition)); 2329SendValidationEvent(new XmlSchemaException(code, msg, this.reader.BaseURI, this.positionInfo.LineNumber, this.positionInfo.LinePosition)); 2333SendValidationEvent(new XmlSchemaException(code, args, this.reader.BaseURI, this.positionInfo.LineNumber, this.positionInfo.LinePosition), severity);
83 references to XmlSchemaException
System.ServiceModel (1)
System\ServiceModel\Description\SchemaHelper.cs (1)
146XmlSchemaException ex = args.Exception;
System.Web (4)
Compilation\AssemblyBuilder.cs (1)
487catch (XmlSchemaException e) {
Compilation\BaseResourcesBuildProvider.cs (1)
71(e.InnerException is XmlException || e.InnerException is XmlSchemaException)) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
489catch (XmlSchemaException e) { 598catch (XmlSchemaException e) {
System.Web.Extensions (8)
Compilation\WCFModel\MapFileLoader.cs (2)
263XmlSchemaException schemaException = ex.InnerException as XmlSchemaException;
Compilation\WCFModel\ProxyGenerationError.cs (2)
111public ProxyGenerationError(GeneratorState generatorState, string fileName, XmlSchemaException errorException) 129public ProxyGenerationError(GeneratorState generatorState, string fileName, XmlSchemaException errorException, bool isWarning)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (4)
1462if (ex is XmlSchemaException) 1464generationError = new ProxyGenerationError(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, (XmlSchemaException)ex); 1472System.Xml.Schema.XmlSchemaException schemaException = ex.InnerException as System.Xml.Schema.XmlSchemaException;
System.Web.Services (1)
System\Web\Services\Description\SchemaCompiler.cs (1)
53internal static string WarningDetails(XmlSchemaException exception, string message) {
System.Xml (68)
System\Xml\Core\XmlTextReaderImpl.cs (1)
2534void SendValidationEvent(XmlSeverityType severity, XmlSchemaException exception) {
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
58eventHandler(reader, new ValidationEventArgs((XmlSchemaException)exception, severity));
System\Xml\Schema\BaseProcessor.cs (3)
206protected void SendValidationEvent(XmlSchemaException e) { 214protected void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) { 226protected void SendValidationEventNoThrow(XmlSchemaException e, XmlSeverityType severity) {
System\Xml\Schema\BaseValidator.cs (4)
212protected void SendValidationEvent(XmlSchemaException e) { 224protected void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) { 235XmlSchemaException e = null; 265XmlSchemaException e = new XmlSchemaException(errorResId, name, baseUriStr, lineNumber, linePosition);
System\Xml\Schema\CompiledidEntityConstraint.cs (2)
52catch (XmlSchemaException e) { 63catch (XmlSchemaException e) {
System\Xml\Schema\DataTypeImplementation.cs (4)
3478catch (XmlSchemaException e) { 3514catch (XmlSchemaException e) { 3552catch (XmlSchemaException e) { 3602catch (XmlSchemaException e) {
System\Xml\Schema\DtdParser.cs (1)
3230private void SendValidationEvent( XmlSeverityType severity, XmlSchemaException e ) {
System\Xml\Schema\DtdValidator.cs (6)
172catch (XmlSchemaException e) { 187catch (XmlSchemaException e) { 332catch (XmlSchemaException) { 459XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString()); 497XmlSchemaException e = new XmlSchemaException(Res.Sch_EnumerationValue, typedValue.ToString(), baseUriStr, attdef.ValueLineNumber, attdef.ValueLinePosition); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString());
System\Xml\Schema\Preprocessor.cs (1)
345catch(XmlSchemaException e) {
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
481catch (XmlSchemaException e) { 718catch (XmlSchemaException e) { 1730catch (XmlSchemaException e) { 1778catch (XmlSchemaException e) { 1913catch (XmlSchemaException e) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
206catch(XmlSchemaException e) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
548catch (XmlSchemaException e) { 776catch (XmlSchemaException e) { 2037catch (XmlSchemaException e) { 2124catch (XmlSchemaException e) { 2268catch (XmlSchemaException e) {
System\Xml\Schema\ValidationEventArgs.cs (4)
15XmlSchemaException ex; 18internal ValidationEventArgs( XmlSchemaException ex ) : base() { 23internal ValidationEventArgs( XmlSchemaException ex , XmlSeverityType severity ) : base() { 34public XmlSchemaException Exception {
System\Xml\Schema\XdrBuilder.cs (1)
1578private void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) {
System\Xml\Schema\XdrValidator.cs (6)
237catch (XmlSchemaException e) { 257catch (XmlSchemaException e) { 292catch(XmlSchemaException e) { 442catch (XmlSchemaException) { 494XmlSchemaException e = new XmlSchemaException(Res.Sch_EnumerationValue, typedValue.ToString(), baseUri, lineNo, linePos); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString(), baseUri, lineNo, linePos);
System\Xml\Schema\XmlSchema.cs (1)
110catch(XmlSchemaException e) {
System\Xml\Schema\XmlSchemaCollection.cs (2)
143catch (XmlSchemaException e) { 350private void SendValidationEvent(XmlSchemaException e) {
System\Xml\Schema\XmlSchemaSet.cs (2)
1066catch(XmlSchemaException e) { 1358private void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) {
System\Xml\Schema\XmlSchemaValidator.cs (5)
318catch(XmlSchemaException e) { 1107catch (XmlSchemaException schemaException) { 1560catch(XmlSchemaException e) { 1579catch(XmlSchemaException e) { 2357private void SendValidationEvent(XmlSchemaException e) {
System\Xml\Schema\XsdBuilder.cs (5)
722catch (XmlSchemaException e) { 1417catch (XmlSchemaException e) { 2115catch (XmlSchemaException e) { 2336private void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) { 2347private void SendValidationEvent(XmlSchemaException e) {
System\Xml\Schema\XsdValidator.cs (5)
145catch(XmlSchemaException e) { 434catch (XmlSchemaException e) { 459catch (XmlSchemaException e) { 504catch(XmlSchemaException e) { 620catch (XmlSchemaException) {
System\Xml\Serialization\XmlSchemas.cs (3)
339catch(XmlSchemaException e) { 655catch(XmlSchemaException e) { 661internal static Exception CreateValidationException(XmlSchemaException exception, string message) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
92catch (XmlSchemaException) {