30 references to XmlSchemaException
dotnet-svcutil-lib (30)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
244
SendValidationEvent(new
XmlSchemaException
(code, args, innerException, source.SourceUri, source.LineNumber, source.LinePosition, source), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (2)
553
throw new
XmlSchemaException
(ResXml.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null);
571
throw new
XmlSchemaException
(ResXml.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null);
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (2)
370
throw new
XmlSchemaException
(ResXml.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet.SourceUri, _pattern_facet.LineNumber, _pattern_facet.LinePosition, _pattern_facet);
676
throw new
XmlSchemaException
(code, new string[] { ex.Message }, ex, facet.SourceUri, facet.LineNumber, facet.LinePosition, facet);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\XmlSchemaInferenceException.cs (6)
37
internal XmlSchemaInferenceException(string res, string[] args) :
base
(res, args, null, null, 0, 0, null)
41
internal XmlSchemaInferenceException(string res, string arg) :
base
(res, new string[] { arg }, null, null, 0, 0, null)
45
base
(res, new string[] { arg }, null, sourceUri, lineNumber, linePosition, null)
50
base
(res, (string[])null, null, sourceUri, lineNumber, linePosition, null)
55
base
(res, args, null, sourceUri, lineNumber, linePosition, null)
60
base
(res, null, null, null, lineNumber, linePosition, null)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (3)
349
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
418
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
428
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (7)
52
this
((message == null ? ResXml.Sch_DefaultException : ResXml.Xml_UserException), new string[] { message }, innerException, null, lineNumber, linePosition, null)
57
this
(res, args, null, null, 0, 0, null)
61
this
(res, new string[] { arg }, null, null, 0, 0, null)
65
this
(res, new string[] { arg }, null, sourceUri, lineNumber, linePosition, null)
69
this
(res, (string[])null, null, sourceUri, lineNumber, linePosition, null)
73
this
(res, args, null, sourceUri, lineNumber, linePosition, null)
85
this
(res, args, null, source.SourceUri, source.LineNumber, source.LinePosition, source)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidationException.cs (9)
41
internal XmlSchemaValidationException(string res, string[] args) :
base
(res, args, null, null, 0, 0, null)
45
internal XmlSchemaValidationException(string res, string arg) :
base
(res, new string[] { arg }, null, null, 0, 0, null)
50
base
(res, new string[] { arg }, null, sourceUri, lineNumber, linePosition, null)
55
base
(res, (string[])null, null, sourceUri, lineNumber, linePosition, null)
60
base
(res, args, null, sourceUri, lineNumber, linePosition, null)
65
base
(res, args, innerException, sourceUri, lineNumber, linePosition, null)
70
base
(res, args, null, null, 0, 0, null)
76
base
(res, args, null, sourceUri, 0, 0, null)
82
base
(res, args, null, sourceUri, lineNumber, linePosition, source)