20 references to XmlSchemaException
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (1)
2821
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, _ps.baseUriStr, lineNo, linePos));
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (5)
249
SendValidationEvent(new
XmlSchemaException
(code, arg, reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition));
264
SendValidationEvent(new
XmlSchemaException
(code, msg, reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
291
e = new
XmlSchemaException
(ResXml.Sch_UndeclaredEntity, name, baseUri, lineNumber, linePosition);
295
e = new
XmlSchemaException
(ResXml.Sch_UnparsedEntityRef, name, baseUri, lineNumber, linePosition);
325
XmlSchemaException e = new
XmlSchemaException
(errorResId, name, baseUriStr, lineNumber, linePosition);
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (5)
433
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(ResXml.Sch_UndeclaredNotation, un.name, BaseUriStr, (int)un.lineNo, (int)un.linePos));
834
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(ResXml.Xml_AttlistDuplNotationValue, notationName, BaseUriStr, (int)LineNo, (int)LinePos));
873
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(ResXml.Xml_AttlistDuplEnumValue, nmtoken, BaseUriStr, (int)LineNo, (int)LinePos));
3475
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, BaseUriStr, (int)LineNo, (int)LinePos + (pos - _curPos)));
3481
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, BaseUriStr, (int)LineNo, (int)LinePos));
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (2)
491
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
605
XmlSchemaException e = new
XmlSchemaException
(ResXml.Sch_EnumerationValue, typedValue.ToString(), baseUriStr, attdef.ValueLineNumber, attdef.ValueLinePosition);
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (1)
1817
SendValidationEvent(new
XmlSchemaException
(code, msg, _reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (3)
604
XmlSchemaException e = new
XmlSchemaException
(ResXml.Sch_EnumerationValue, typedValue.ToString(), baseUri, lineNo, linePos);
624
XmlSchemaException e = new
XmlSchemaException
(ResXml.Sch_AttributeDefaultDataType, attdef.Name.ToString(), baseUri, lineNo, linePos);
685
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2571
SendValidationEvent(new
XmlSchemaException
(code, msg, _reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition));
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (2)
833
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
1093
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_MissingKey, constraints[i].constraint.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol));