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

◆ ExpectedParticles()

override ArrayList System.Xml.Schema.NfaContentValidator.ExpectedParticles ( ValidationState context,
bool isRequiredOnly,
XmlSchemaSet schemaSet )
inlinevirtual

Reimplemented from System.Xml.Schema.ContentValidator.

Definition at line 106 of file NfaContentValidator.cs.

107 {
109 BitSet bitSet = context.CurPos[context.CurrentState.CurPosIndex];
110 for (int num = bitSet.NextSet(-1); num != -1; num = bitSet.NextSet(num))
111 {
112 XmlSchemaParticle xmlSchemaParticle = (XmlSchemaParticle)_positions[num].particle;
113 if (xmlSchemaParticle != null)
114 {
115 ContentValidator.AddParticleToExpected(xmlSchemaParticle, schemaSet, arrayList);
116 }
117 }
118 return arrayList;
119 }
ContentValidator(XmlSchemaContentType contentType)

References System.Xml.Schema.NfaContentValidator._positions, System.Xml.Schema.ContentValidator.AddParticleToExpected(), System.Xml.Schema.ValidationState.CurPos, System.Xml.Schema.StateUnion.CurPosIndex, System.Xml.Schema.ValidationState.CurrentState, and System.Xml.Dictionary.