4 writes to LocalName
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (1)
509
context.
LocalName
= elementName.Name;
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
662
context.
LocalName
= elementName.Name;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
1550
_context.
LocalName
= elementName.Name;
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
801
context.
LocalName
= elementName.Name;
52 references to LocalName
dotnet-svcutil-lib (52)
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (4)
171
SendValidationEvent(ResXml.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
181
SendValidationEvent(ResXml.Sch_InvalidTextInElement, XmlSchemaValidator.BuildElementName(context.
LocalName
, context.Namespace));
186
SendValidationEvent(ResXml.Sch_InvalidTextInElementExpecting, new string[] { XmlSchemaValidator.BuildElementName(context.
LocalName
, context.Namespace), XmlSchemaValidator.PrintExpectedElements(names, false) });
207
SendValidationEvent(ResXml.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (4)
250
SendValidationEvent(ResXml.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
313
AddID(name, context.
LocalName
);
394
SendValidationEvent(ResXml.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
406
SendValidationEvent(ResXml.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (4)
230
SendValidationEvent(ResXml.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
423
AddID(name, context.
LocalName
);
535
SendValidationEvent(ResXml.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
547
SendValidationEvent(ResXml.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (31)
794
SendValidationEvent(ResXml.Sch_ContentInNill, QNameString(_context.
LocalName
, _context.Namespace));
824
SendValidationEvent(ResXml.Sch_InvalidTextInElement, BuildElementName(_context.
LocalName
, _context.Namespace));
829
SendValidationEvent(ResXml.Sch_InvalidTextInElementExpecting, new string[] { BuildElementName(_context.
LocalName
, _context.Namespace), PrintExpectedElements(names, true) });
877
SendValidationEvent(ResXml.Sch_ContentInNill, QNameString(_context.
LocalName
, _context.Namespace));
1074
SendValidationEvent(ResXml.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(_context.
LocalName
, _context.Namespace) });
1343
SendValidationEvent(ResXml.Sch_ContentInNill, QNameString(_context.
LocalName
, _context.Namespace));
1349
SendValidationEvent(ResXml.Sch_ElementInMixedWithFixed, QNameString(_context.
LocalName
, _context.Namespace));
1458
SendValidationEvent(ResXml.Sch_InvalidElementDefaultValue, new string[] { currentElementDecl.DefaultValueRaw, QNameString(_context.
LocalName
, _context.Namespace) });
1505
SendValidationEvent(ResXml.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(_context.
LocalName
, _context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception);
1510
SendValidationEvent(ResXml.Sch_FixedElementValue, QNameString(_context.
LocalName
, _context.Namespace));
1697
SendValidationEvent(ResXml.Sch_AbstractElement, QNameString(_context.
LocalName
, _context.Namespace));
1736
SendValidationEvent(ResXml.Sch_XsiTypeBlockedEx, new string[] { xsiTypeName.ToString(), QNameString(_context.
LocalName
, _context.Namespace) });
1768
SendValidationEvent(ResXml.Sch_UndeclaredElement, QNameString(_context.
LocalName
, _context.Namespace));
1772
SendValidationEvent(ResXml.Sch_NoElementSchemaFound, QNameString(_context.
LocalName
, _context.Namespace), XmlSeverityType.Warning);
1780
SendValidationEvent(ResXml.Sch_AbstractElement, QNameString(_context.
LocalName
, _context.Namespace));
1931
_IDs.Add(name, _context.
LocalName
);
2001
SendValidationEvent(ResXml.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(_context.
LocalName
, _context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception);
2006
SendValidationEvent(ResXml.Sch_FixedElementValue, QNameString(_context.
LocalName
, _context.Namespace));
2234
SendValidationEvent(ResXml.Sch_RefNotInScope, QNameString(_context.
LocalName
, _context.Namespace));
2249
string localName = _context.
LocalName
;
2351
string localName = _context.
LocalName
;
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);
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (9)
236
SendValidationEvent(ResXml.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
240
SendValidationEvent(ResXml.Sch_NoElementSchemaFound, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace), XmlSeverityType.Warning);
397
SendValidationEvent(ResXml.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
423
SendValidationEvent(ResXml.Sch_XsiTypeBlockedEx, new string[] { xsiType.ToString(), XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace) });
456
SendValidationEvent(ResXml.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
684
AddID(name, context.
LocalName
);
746
SendValidationEvent(ResXml.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
763
SendValidationEvent(ResXml.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
914
SendValidationEvent(ResXml.Sch_RefNotInScope, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));