Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ValidateChildElement()

object System.Xml.Schema.XsdValidator.ValidateChildElement ( )
inlineprivate

Definition at line 201 of file XsdValidator.cs.

202 {
203 object obj = null;
204 int errorCode = 0;
206 {
207 if (context.IsNill)
208 {
210 return null;
211 }
213 if (obj == null)
214 {
215 _processContents = (context.ProcessContents = XmlSchemaContentProcessing.Skip);
216 if (errorCode == -2)
217 {
219 }
220 XmlSchemaValidator.ElementValidationError(elementName, context, base.EventHandler, reader, reader.BaseURI, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition, null);
221 }
222 }
223 return obj;
224 }
static string Sch_ContentInNill
Definition SR.cs:784
static string Sch_AllElement
Definition SR.cs:594
Definition SR.cs:7
void SendValidationEvent(string code)
XmlValidatingReaderImpl reader
virtual object ValidateElement(XmlQualifiedName name, ValidationState context, out int errorCode)
XmlSchemaContentProcessing _processContents

References System.Xml.Schema.XsdValidator._processContents, System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Schema.SchemaElementDecl.ContentValidator, System.Xml.Schema.BaseValidator.context, System.Xml.Dictionary, System.Xml.Schema.ValidationState.ElementDecl, System.Xml.Schema.BaseValidator.elementName, System.Xml.Schema.XmlSchemaValidator.ElementValidationError(), System.Xml.Schema.ValidationState.IsNill, System.Xml.Schema.ValidationState.NeedValidateChildren, System.obj, System.Xml.Schema.BaseValidator.reader, System.SR.Sch_AllElement, System.SR.Sch_ContentInNill, System.Xml.Schema.BaseValidator.SendValidationEvent(), System.Xml.XmlQualifiedName.ToString(), and System.Xml.Schema.ContentValidator.ValidateElement().

Referenced by System.Xml.Schema.XsdValidator.ValidateElement().