21 references to XmlSchemaException
System.Private.Xml (21)
System\Xml\Schema\BaseProcessor.cs (1)
230
SendValidationEvent(new
XmlSchemaException
(code, args, innerException, source.SourceUri, source.LineNumber, source.LinePosition, source), XmlSeverityType.Error);
System\Xml\Schema\DataTypeImplementation.cs (2)
535
throw new
XmlSchemaException
(SR.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null);
556
throw new
XmlSchemaException
(SR.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null);
System\Xml\Schema\FacetChecker.cs (2)
371
throw new
XmlSchemaException
(SR.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet!.SourceUri, _pattern_facet.LineNumber, _pattern_facet.LinePosition, _pattern_facet);
673
throw new
XmlSchemaException
(code, new string[] { ex.Message }, ex, facet.SourceUri, facet.LineNumber, facet.LinePosition, facet);
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (2)
49
internal XmlSchemaInferenceException(string res, string arg) :
base
(res, new string[] { arg }, null, null, 0, 0, null)
54
base
(res, null, null, null, lineNumber, linePosition, null)
System\Xml\Schema\Preprocessor.cs (3)
329
SendValidationEvent(new
XmlSchemaException
(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
399
SendValidationEvent(new
XmlSchemaException
(SR.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
409
SendValidationEvent(new
XmlSchemaException
(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
System\Xml\Schema\XmlSchemaException.cs (7)
92
this
((message == null ? SR.Sch_DefaultException : SR.Xml_UserException), new string?[] { message }, innerException, null, lineNumber, linePosition, null)
97
this
(res, args, null, null, 0, 0, null)
101
this
(res, new string?[] { arg }, null, null, 0, 0, null)
105
this
(res, new string?[] { arg }, null, sourceUri, lineNumber, linePosition, null)
109
this
(res, (string?[]?)null, null, sourceUri, lineNumber, linePosition, null)
113
this
(res, args, null, sourceUri, lineNumber, linePosition, null)
125
this
(res, args, null, source.SourceUri, source.LineNumber, source.LinePosition, source)
System\Xml\Schema\XmlSchemaValidationException.cs (4)
51
base
(res, new string?[] { arg }, null, sourceUri, lineNumber, linePosition, null)
56
base
(res, args, null, sourceUri, lineNumber, linePosition, null)
61
base
(res, args, innerException, sourceUri, lineNumber, linePosition, null)
66
base
(res, args, null, null, 0, 0, null)