FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (8)
388else if (element.SchemaType != null)
390if (element.SchemaType is XmlSchemaComplexType)
391mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, identifier, desiredMappingType, baseType, TypeFlags.CanBeElementValue);
393mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false);
415RunSchemaExtensions(mapping, element.SchemaTypeName, element.SchemaType, element, TypeFlags.CanBeElementValue);
1347if (element.SchemaType == null) return null;
1349XmlSchemaType type = element.SchemaType;
1449XmlSchemaType refType = refElement.SchemaType;