6 references to ImportDataType
System.Private.Xml (6)
System\Xml\Serialization\XmlSchemaImporter.cs (6)
332mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false)!; 414mapping = ImportDataType((XmlSchemaSimpleType)type, name.Namespace, name.Name, baseType, flags, false); 1585mapping = ImportDataType((XmlSchemaSimpleType)attribute.SchemaType, ns, identifier, null, TypeFlags.CanBeAttributeValue, false); 1645return ImportDataType(restriction.BaseType, typeNs, identifier, null, flags, false); 1650mapping = ImportDataType(FindDataType(restriction.BaseTypeName, flags)!, restriction.BaseTypeName.Namespace, identifier, null, flags, false); 1663mapping = ImportDataType(list.ItemType, typeNs, identifier, null, flags, true);