13 references to BuildElementName
System.Private.Xml (13)
System\Xml\Schema\BaseValidator.cs (2)
187
SendValidationEvent(SR.Sch_InvalidTextInElement, XmlSchemaValidator.
BuildElementName
(context.LocalName!, context.Namespace!));
192
SendValidationEvent(SR.Sch_InvalidTextInElementExpecting, new string[] { XmlSchemaValidator.
BuildElementName
(context.LocalName!, context.Namespace!), XmlSchemaValidator.PrintExpectedElements(names, false) });
System\Xml\Schema\XmlSchemaValidator.cs (11)
776
SendValidationEvent(SR.Sch_InvalidTextInElement,
BuildElementName
(_context.LocalName!, _context.Namespace!));
781
SendValidationEvent(SR.Sch_InvalidTextInElementExpecting, new string[] {
BuildElementName
(_context.LocalName!, _context.Namespace!), PrintExpectedElements(names, true) });
2536
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentComplex, new string[] {
BuildElementName
(context.LocalName!, context.Namespace!), BuildElementName(name), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2540
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContent, new string[] {
BuildElementName
(context.LocalName!, context.Namespace!), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2548
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentExpectingComplex, new string[] {
BuildElementName
(context.LocalName!, context.Namespace!), BuildElementName(name), PrintExpectedElements(names, getParticles), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2552
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentExpecting, new string[] {
BuildElementName
(context.LocalName!, context.Namespace!), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2590
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentComplex, new string?[] {
BuildElementName
(context.LocalName!, context.Namespace!), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2593
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContent,
BuildElementName
(context.LocalName!, context.Namespace!), sourceUri, lineNo, linePos), XmlSeverityType.Error);
2600
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentExpectingComplex, new string?[] {
BuildElementName
(context.LocalName!, context.Namespace!), PrintExpectedElements(names, getParticles), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2604
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentExpecting, new string?[] {
BuildElementName
(context.LocalName!, context.Namespace!), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2765
return
BuildElementName
(qname.Name, qname.Namespace);