Fixed some code in DefaultSchemaGenerator that was adding a complex type to the wrong collection, namely as an element. Not sure if this bug had any visible consequences, but it was discovered while preparing to migrate to XmlSchema 2.0.

1 file changed