6 references to PrintExpectedElements
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (1)
186
SendValidationEvent(ResXml.Sch_InvalidTextInElementExpecting, new string[] { XmlSchemaValidator.BuildElementName(context.LocalName, context.Namespace), XmlSchemaValidator.
PrintExpectedElements
(names, false) });
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (5)
829
SendValidationEvent(ResXml.Sch_InvalidTextInElementExpecting, new string[] { BuildElementName(_context.LocalName, _context.Namespace),
PrintExpectedElements
(names, true) });
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);
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);