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

◆ ExpectedParticles()

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

Reimplemented from System.Xml.Schema.ContentValidator.

Definition at line 91 of file DfaContentValidator.cs.

92 {
94 int[] array = _transitionTable[context.CurrentState.State];
95 if (array != null)
96 {
97 for (int i = 0; i < array.Length - 1; i++)
98 {
99 if (array[i] != -1)
100 {
101 XmlSchemaParticle xmlSchemaParticle = (XmlSchemaParticle)_symbols.GetParticle(i);
102 if (xmlSchemaParticle != null)
103 {
104 ContentValidator.AddParticleToExpected(xmlSchemaParticle, schemaSet, arrayList);
105 }
106 }
107 }
108 }
109 return arrayList;
110 }
ContentValidator(XmlSchemaContentType contentType)

References System.Xml.Schema.DfaContentValidator._symbols, System.Xml.Schema.DfaContentValidator._transitionTable, System.Xml.Schema.ContentValidator.AddParticleToExpected(), System.array, System.Xml.Schema.ValidationState.CurrentState, System.Xml.Dictionary, System.Xml.Schema.SymbolsDictionary.GetParticle(), and System.Xml.Schema.StateUnion.State.