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