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