You ask the element for its type. You cast the type to XmlSchemaComplexType.
You ask it for for the particle. You cast that to XmlSchemaSequence. And the elements are in the sequence.
You ask the element for its type. You cast the type to XmlSchemaComplexType.
You ask it for for the particle. You cast that to XmlSchemaSequence. And the elements are in the sequence.