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

◆ Initialize() [2/2]

void System.Xml.Schema.XmlSchemaValidator.Initialize ( XmlSchemaObject partialValidationType)
inline

Definition at line 465 of file XmlSchemaValidator.cs.

466 {
467 if (_currentState != 0 && _currentState != ValidatorState.Finish)
468 {
470 object[] args = new string[2]
471 {
474 };
476 }
477 if (partialValidationType == null)
478 {
479 throw new ArgumentNullException("partialValidationType");
480 }
481 if (!(partialValidationType is XmlSchemaElement) && !(partialValidationType is XmlSchemaAttribute) && !(partialValidationType is XmlSchemaType))
482 {
484 }
485 _currentState = ValidatorState.Start;
486 Reset();
488 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Sch_InvalidStateTransition
Definition SR.cs:1182
static string Sch_InvalidPartialValidationType
Definition SR.cs:1194
Definition SR.cs:7

References System.Xml.Schema.XmlSchemaValidator._currentState, System.Xml.Schema.XmlSchemaValidator._partialValidationType, System.Xml.ArgumentException, System.Xml.Dictionary, System.SR.Format(), System.Xml.Schema.XmlSchemaValidator.Reset(), System.Xml.Schema.XmlSchemaValidator.s_methodNames, System.SR.Sch_InvalidPartialValidationType, and System.SR.Sch_InvalidStateTransition.