2 writes to _schemaInfo
System.Private.Xml (2)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
161
_schemaInfo
??= new XmlSchemaInfo();
579
_schemaInfo
= new XmlSchemaInfo();
13 references to _schemaInfo
System.Private.Xml (13)
System\Xml\Dom\DocumentSchemaValidator.cs (13)
358
_validator!.ValidateElement(elementNode.LocalName, elementNode.NamespaceURI,
_schemaInfo
, xsiType, xsiNil, null, null);
360
_validator!.ValidateEndOfAttributes(
_schemaInfo
);
370
_validator.ValidateEndElement(
_schemaInfo
);
374
elementNode.XmlName = _document.AddXmlName(elementNode.Prefix, elementNode.LocalName, elementNode.NamespaceURI,
_schemaInfo
);
375
if (
_schemaInfo
!.IsDefault)
377
XmlText textNode = _document.CreateTextNode(
_schemaInfo
.SchemaElement!.ElementDecl!.DefaultValueRaw);
589
ValidateSingleElement(currentElement, false,
_schemaInfo
);
592
currentElement.XmlName = _document.AddXmlName(currentElement.Prefix, currentElement.LocalName, currentElement.NamespaceURI,
_schemaInfo
);
594
ancestorHasWildCard = AncestorTypeHasWildcard(
_schemaInfo
.SchemaElement);
610
ValidateSingleElement(elementToValidate, false,
_schemaInfo
);
613
if (
_schemaInfo
.SchemaElement != null)
615
schemaInfoFound =
_schemaInfo
.SchemaElement;
619
schemaInfoFound =
_schemaInfo
.SchemaType;