84 references to Error
dotnet-svcutil-lib (84)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (3)
2592
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, null, _ps.LineNo, _ps.LinePos);
4575
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_StandAloneNormalization, attr.GetNameWPrefix(_nameTable), attr.LineNo, attr.LinePos);
4606
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_UnSpecifiedDefaultAttributeInExternalStandalone, qname, _curNode.LineNo, _curNode.LinePos);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (1)
65
else if (_reader.ValidationType != ValidationType.None && severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (3)
803
if (arg.Severity == XmlSeverityType.
Error
)
811
if (arg.Severity == XmlSeverityType.
Error
)
822
else if (arg.Severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (9)
229
SendValidationEvent(new XmlSchemaException(code, source), XmlSeverityType.
Error
);
234
SendValidationEvent(new XmlSchemaException(code, msg, source), XmlSeverityType.
Error
);
239
SendValidationEvent(new XmlSchemaException(code, new string[] { msg1, msg2 }, source), XmlSeverityType.
Error
);
244
SendValidationEvent(new XmlSchemaException(code, args, innerException, source.SourceUri, source.LineNumber, source.LinePosition, source), XmlSeverityType.
Error
);
249
SendValidationEvent(new XmlSchemaException(code, new string[] { msg1, msg2 }, sourceUri, lineNumber, linePosition), XmlSeverityType.
Error
);
259
SendValidationEvent(e, XmlSeverityType.
Error
);
269
if (severity == XmlSeverityType.
Error
)
277
else if (severity == XmlSeverityType.
Error
)
285
if (severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (3)
259
SendValidationEvent(e, XmlSeverityType.
Error
);
278
else if (severity == XmlSeverityType.
Error
)
329
eventHandling.SendEvent(e, XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (22)
433
SendValidationEvent(XmlSeverityType.
Error
, new XmlSchemaException(ResXml.Sch_UndeclaredNotation, un.name, BaseUriStr, (int)un.lineNo, (int)un.linePos));
583
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
643
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
788
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_IdAttrDeclared, elementDecl.Name.ToString());
801
SendValidationEvent(_curPos - 8, XmlSeverityType.
Error
, ResXml.Sch_DupNotationAttribute, elementDecl.Name.ToString()); // 8 == strlen("NOTATION")
809
SendValidationEvent(_curPos - 8, XmlSeverityType.
Error
, ResXml.Sch_NotationAttributeOnEmptyElement, elementDecl.Name.ToString());// 8 == strlen("NOTATION")
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));
918
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_AttListPresence, string.Empty);
956
SendValidationEvent(_curPos - name.Name.Length, XmlSeverityType.
Error
, ResXml.Sch_DupElementDecl, GetNameString());
1100
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1162
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1187
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1199
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_DupElement, name.ToString());
1208
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1344
SendValidationEvent(_curPos - notationName.Name.Length, XmlSeverityType.
Error
, ResXml.Sch_DupNotation, notationName.Name);
1409
SendValidationEvent(XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, null);
1447
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1472
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
1481
SendValidationEvent(_curPos, XmlSeverityType.
Error
, ResXml.Sch_ParEntityRefNesting, string.Empty);
3436
SendValidationEvent(_curPos - entityName.Name.Length - 1, XmlSeverityType.
Error
, ResXml.Xml_UndeclaredParEntity, entityName.Name);
3445
SendValidationEvent(_curPos - entityName.Name.Length - 1, XmlSeverityType.
Error
, ResXml.Xml_UndeclaredEntity, entityName.Name);
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (3)
557
eventHandling.SendEvent(e, XmlSeverityType.
Error
);
606
eventHandling.SendEvent(e, XmlSeverityType.
Error
);
622
eventHandling.SendEvent(e, XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
220
validationEventHandling.SendEvent(new XmlSchemaException(ResXml.Sch_XmlSpace, string.Empty), XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
245
SendValidationEventNoThrow(new XmlSchemaException(ResXml.Sch_CannotLoadSchema, new string[] { schemaLocation, e.Message }, e.SourceUri, e.LineNumber, e.LinePosition), XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\ValidationEventArgs.cs (1)
23
_severity = XmlSeverityType.
Error
;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (2)
1817
SendValidationEvent(new XmlSchemaException(code, msg, _reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.
Error
);
1827
else if (severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
354
SendValidationEvent(ResXml.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (5)
645
SendValidationEvent(new XmlSchemaException(ResXml.Sch_SchemaNotPreprocessed, string.Empty), XmlSeverityType.
Error
);
1253
SendValidationEvent(e, XmlSeverityType.
Error
);
1424
SendValidationEvent(new XmlSchemaException(ResXml.Sch_MismatchTargetNamespaceEx, new string[] { targetNamespace, schema.TargetNamespace }), XmlSeverityType.
Error
);
1587
SendValidationEvent(new XmlSchemaException(code, qname.ToString()), XmlSeverityType.
Error
);
1619
if (e.Severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (19)
348
SendValidationEvent(ResXml.Sch_ComponentAlreadySeenForNS, tns, XmlSeverityType.
Error
);
371
SendValidationEvent(ResXml.Sch_ComponentAlreadySeenForNS, tns, XmlSeverityType.
Error
);
1707
severity = XmlSeverityType.
Error
;
2048
SendValidationEvent(new XmlSchemaValidationException(ResXml.Sch_UndeclaredId, next.Id, _sourceUriString, next.LineNo, next.LinePos), XmlSeverityType.
Error
);
2549
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementContentComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2553
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementContent, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2561
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2565
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementContentExpecting, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2573
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2577
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2602
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_IncompleteContentComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2604
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_IncompleteContent, BuildElementName(context.LocalName, context.Namespace), sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2611
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_IncompleteContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), PrintExpectedElements(names, getParticles), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2615
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(ResXml.Sch_IncompleteContentExpecting, new string[] { BuildElementName(context.LocalName, context.Namespace), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.
Error
);
2842
SendValidationEvent(new XmlSchemaValidationException(code, args, innerException, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.
Error
);
2847
SendValidationEvent(e, XmlSeverityType.
Error
);
2852
SendValidationEvent(new XmlSchemaValidationException(e.GetRes, e.Args, e.SourceUri, e.LineNumber, e.LinePosition), XmlSeverityType.
Error
);
2866
if (severity == XmlSeverityType.
Error
)
2894
else if (severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (3)
746
SendValidationEvent(ResXml.Sch_InvalidXsdAttributeDatatypeValue, new string[] { name, e.Message }, XmlSeverityType.
Error
);
2587
else if (severity == XmlSeverityType.
Error
)
2595
SendValidationEvent(e, XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (2)
167
SendValidationEvent(ResXml.Sch_CannotLoadSchema, new string[] { BaseUri.AbsoluteUri, e.Message }, XmlSeverityType.
Error
);
615
SendValidationEvent(ResXml.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.
Error
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1275
if (args.Severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
581
if (args.Severity == XmlSeverityType.
Error
)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
1151
if (args.Severity == XmlSeverityType.
Error
)
1161
else if (exception != null && args.Severity == XmlSeverityType.
Error
)
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (1)
177
if (args.Severity != XmlSeverityType.
Error
)