4 writes to LocalName
System.Xml (4)
System\Xml\Schema\DtdValidator.cs (1)
420
context.
LocalName
= elementName.Name;
System\Xml\Schema\XdrValidator.cs (1)
542
context.
LocalName
= elementName.Name;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1296
context.
LocalName
= elementName.Name;
System\Xml\Schema\XsdValidator.cs (1)
657
context.
LocalName
= elementName.Name;
52 references to LocalName
System.Xml (52)
System\Xml\Schema\BaseValidator.cs (4)
144
SendValidationEvent(Res.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
152
SendValidationEvent(Res.Sch_InvalidTextInElement, XmlSchemaValidator.BuildElementName(context.
LocalName
, context.Namespace));
156
SendValidationEvent(Res.Sch_InvalidTextInElementExpecting, new string[] { XmlSchemaValidator.BuildElementName(context.
LocalName
, context.Namespace), XmlSchemaValidator.PrintExpectedElements(names, false) });
172
SendValidationEvent(Res.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
System\Xml\Schema\DtdValidator.cs (4)
212
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
262
AddID(name, context.
LocalName
);
328
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
337
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
System\Xml\Schema\XdrValidator.cs (4)
192
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
348
AddID(name, context.
LocalName
);
438
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
447
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
System\Xml\Schema\XmlSchemaValidator.cs (31)
682
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.
LocalName
, context.Namespace));
707
SendValidationEvent(Res.Sch_InvalidTextInElement, BuildElementName(context.
LocalName
, context.Namespace));
711
SendValidationEvent(Res.Sch_InvalidTextInElementExpecting, new string[] { BuildElementName(context.
LocalName
, context.Namespace), PrintExpectedElements(names, true) });
749
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.
LocalName
, context.Namespace));
905
SendValidationEvent(Res.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(context.
LocalName
, context.Namespace)});
1126
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.
LocalName
, context.Namespace));
1131
SendValidationEvent(Res.Sch_ElementInMixedWithFixed, QNameString(context.
LocalName
, context.Namespace));
1219
SendValidationEvent(Res.Sch_InvalidElementDefaultValue, new string[] { currentElementDecl.DefaultValueRaw, QNameString(context.
LocalName
, context.Namespace) });
1258
SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.
LocalName
, context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception);
1262
SendValidationEvent(Res.Sch_FixedElementValue, QNameString(context.
LocalName
, context.Namespace));
1411
SendValidationEvent(Res.Sch_AbstractElement, QNameString(context.
LocalName
, context.Namespace));
1442
SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiTypeName.ToString(), QNameString(context.
LocalName
, context.Namespace) });
1469
SendValidationEvent(Res.Sch_UndeclaredElement, QNameString(context.
LocalName
, context.Namespace));
1472
SendValidationEvent(Res.Sch_NoElementSchemaFound, QNameString(context.
LocalName
, context.Namespace), XmlSeverityType.Warning);
1478
SendValidationEvent(Res.Sch_AbstractElement, QNameString(context.
LocalName
, context.Namespace));
1600
IDs.Add(name, context.
LocalName
);
1661
SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.
LocalName
, context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception);
1665
SendValidationEvent(Res.Sch_FixedElementValue, QNameString(context.
LocalName
, context.Namespace));
1846
SendValidationEvent(Res.Sch_RefNotInScope, QNameString(context.
LocalName
, context.Namespace));
1860
string localName = context.
LocalName
;
1944
string localName = context.
LocalName
;
2118
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentComplex, new string[] { BuildElementName(context.
LocalName
, context.Namespace), BuildElementName(name), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2121
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContent, new string[] { BuildElementName(context.
LocalName
, context.Namespace), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2127
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentExpectingComplex, new string[] { BuildElementName(context.
LocalName
, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2130
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentExpecting, new string[] { BuildElementName(context.
LocalName
, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2136
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.
LocalName
, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2139
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.
LocalName
, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2159
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentComplex, new string[] { BuildElementName(context.
LocalName
, context.Namespace), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2161
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContent, BuildElementName(context.
LocalName
, context.Namespace), sourceUri, lineNo, linePos), XmlSeverityType.Error);
2166
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentExpectingComplex, new string[] { BuildElementName(context.
LocalName
, context.Namespace), PrintExpectedElements(names, getParticles), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2169
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentExpecting, new string[] { BuildElementName(context.
LocalName
, context.Namespace), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
System\Xml\Schema\XsdValidator.cs (9)
201
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
204
SendValidationEvent(Res.Sch_NoElementSchemaFound, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace), XmlSeverityType.Warning);
328
SendValidationEvent(Res.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
348
SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiType.ToString(), XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace) });
373
SendValidationEvent(Res.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
561
AddID(name, context.
LocalName
);
612
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
625
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));
748
SendValidationEvent(Res.Sch_RefNotInScope, XmlSchemaValidator.QNameString(context.
LocalName
, context.Namespace));