FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (6)
393mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false);
543mapping = ImportDataType((XmlSchemaSimpleType)type, name.Namespace, name.Name, baseType, flags, false);
1721mapping = ImportDataType((XmlSchemaSimpleType)attribute.SchemaType, ns, identifier, null, TypeFlags.CanBeAttributeValue, false);
1786return ImportDataType(restriction.BaseType, typeNs, identifier, null, flags, false);
1791mapping = ImportDataType(FindDataType(restriction.BaseTypeName, flags), restriction.BaseTypeName.Namespace, identifier, null, flags, false);
1805mapping = ImportDataType(list.ItemType, typeNs, identifier, null, flags, true);