2 writes to elementName
System.Xml (2)
System\Xml\Schema\BaseValidator.cs (2)
45elementName = other.elementName; 55elementName = new XmlQualifiedName();
23 references to elementName
System.Xml (23)
System\Xml\Schema\BaseValidator.cs (1)
45elementName = other.elementName;
System\Xml\Schema\DtdValidator.cs (6)
116elementName.Init(reader.LocalName, reader.Prefix); 119(!schemaInfo.DocTypeName.Equals(elementName)) ){ //VC 1 132context.ElementDecl.ContentValidator.ValidateElement(elementName, context, out errorCode); 134XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 202SchemaElementDecl elementDecl = schemaInfo.GetElementDecl(elementName); 203Push(elementName);
System\Xml\Schema\XdrValidator.cs (7)
82elementName.Init(reader.LocalName, XmlSchemaDatatype.XdrCanonizeUri(reader.NamespaceURI, NameTable, SchemaNames)); 84if (SchemaNames.IsXDRRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) { 97context.ElementDecl.ContentValidator.ValidateElement(elementName, context, out errorCode); 99XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 126Push(elementName); 189SchemaElementDecl elementDecl = schemaInfo.GetElementDecl(elementName);
System\Xml\Schema\XsdValidator.cs (9)
154elementName.Init(reader.LocalName, reader.NamespaceURI); 156if (IsXSDRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) { 171SendValidationEvent(Res.Sch_ContentInNill, elementName.ToString()); 174particle = context.ElementDecl.ContentValidator.ValidateElement(elementName, context, out errorCode); 178SendValidationEvent(Res.Sch_AllElement, elementName.ToString()); 180XmlSchemaValidator.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null); 190Push(elementName); 323elementDecl = schemaInfo.GetElementDecl(elementName);