2 writes to elementName
System.Private.Xml (2)
System\Xml\Schema\BaseValidator.cs (2)
44elementName = other.elementName; 55elementName = new XmlQualifiedName();
23 references to elementName
System.Private.Xml (23)
System\Xml\Schema\BaseValidator.cs (1)
44elementName = other.elementName;
System\Xml\Schema\DtdValidator.cs (6)
133elementName.Init(reader.LocalName, reader.Prefix); 136(!schemaInfo.DocTypeName.Equals(elementName))) 153context.ElementDecl!.ContentValidator!.ValidateElement(elementName, context, out errorCode); 156XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 241SchemaElementDecl? elementDecl = schemaInfo!.GetElementDecl(elementName); 242Push(elementName);
System\Xml\Schema\XdrValidator.cs (7)
93elementName.Init(reader.LocalName, XmlSchemaDatatype.XdrCanonizeUri(reader.NamespaceURI, NameTable, SchemaNames)); 95if (SchemaNames.IsXDRRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) 112context.ElementDecl!.ContentValidator!.ValidateElement(elementName, context, out errorCode); 115XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 149Push(elementName); 227SchemaElementDecl? elementDecl = schemaInfo!.GetElementDecl(elementName);
System\Xml\Schema\XsdValidator.cs (9)
173elementName.Init(reader.LocalName, reader.NamespaceURI); 175if (IsXSDRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) 195SendValidationEvent(SR.Sch_ContentInNill, elementName.ToString()); 198particle = context.ElementDecl!.ContentValidator!.ValidateElement(elementName, context, out errorCode); 204SendValidationEvent(SR.Sch_AllElement, elementName.ToString()); 206XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 217Push(elementName); 382elementDecl ??= schemaInfo!.GetElementDecl(elementName);