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

◆ SkipToEndElement()

void System.Xml.Schema.XmlSchemaValidator.SkipToEndElement ( XmlSchemaInfo? schemaInfo)
inline

Definition at line 936 of file XmlSchemaValidator.cs.

937 {
938 if (_validationStack.Length <= 1)
939 {
941 }
942 CheckStateTransition(ValidatorState.SkipToEndElement, s_methodNames[10]);
943 if (schemaInfo != null)
944 {
945 SchemaElementDecl elementDecl = _context.ElementDecl;
946 if (elementDecl != null)
947 {
950 }
951 else
952 {
955 }
960 }
962 _currentState = ValidatorState.SkipToEndElement;
963 Pop();
964 }
static string Sch_InvalidEndElementMultiple
Definition SR.cs:1190
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7
void CheckStateTransition(ValidatorState toState, string methodName)

References System.Xml.Schema.XmlSchemaValidator._context, System.Xml.Schema.XmlSchemaValidator._currentState, System.Xml.Schema.XmlSchemaValidator._validationStack, System.Xml.Schema.XmlSchemaValidator.CheckStateTransition(), System.Xml.Dictionary, System.Xml.Schema.ValidationState.ElementDecl, System.SR.Format(), System.Xml.Schema.XmlSchemaValidator.GetSchemaElement(), System.Xml.Schema.ValidationState.IsDefault, System.Xml.Schema.ValidationState.IsNill, System.Xml.HWStack.Length, System.Xml.Schema.XmlSchemaValidator.Pop(), System.Xml.Schema.XmlSchemaValidator.s_methodNames, System.SR.Sch_InvalidEndElementMultiple, and System.Xml.Schema.ValidationState.Validity.

Referenced by System.Xml.XsdValidatingReader.Skip(), System.Xml.XsdValidatingReader.SkipAsync(), and System.Xml.DocumentSchemaValidator.ValidateSingleElement().