System\Xml\Serialization\XmlSchemaImporter.cs (7)
455if (type.DerivedFrom == baseName && TypesInUse[type.Name, schema.TargetNamespace] == null) {
473AddReference(name, TypesInUse, Res.XmlCircularTypeReference);
483RemoveReference(name, TypesInUse);
1559AddReference(restriction.BaseTypeName, TypesInUse, Res.XmlCircularTypeReference);
1562RemoveReference(restriction.BaseTypeName, TypesInUse);
1742AddReference(qname, TypesInUse, Res.XmlCircularTypeReference);
1745RemoveReference(qname, TypesInUse);