6 references to ImportDataType
System.Xml (6)
System\Xml\Serialization\XmlSchemaImporter.cs (6)
354mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false); 478mapping = ImportDataType((XmlSchemaSimpleType)type, name.Namespace, name.Name, baseType, flags, false); 1503mapping = ImportDataType((XmlSchemaSimpleType)attribute.SchemaType, ns, identifier, null, TypeFlags.CanBeAttributeValue, false); 1556return ImportDataType(restriction.BaseType, typeNs, identifier, null, flags, false); 1560mapping = ImportDataType(FindDataType(restriction.BaseTypeName, flags), restriction.BaseTypeName.Namespace, identifier, null, flags, false); 1571mapping = ImportDataType(list.ItemType, typeNs, identifier, null, flags, true);