7 writes to BaseTypeName
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
432restriction.BaseTypeName = StringQualifiedName;
System.Private.Xml (6)
System\Xml\Schema\DataTypeImplementation.cs (1)
196restContent.BaseTypeName = baseType.QualifiedName;
System\Xml\Schema\Preprocessor.cs (1)
443r.BaseTypeName = new XmlQualifiedName("NCName", XmlReservedNs.NsXs);
System\Xml\Schema\XmlSchemaSimpleTypeRestriction.cs (1)
49newRestriction.BaseTypeName = _baseTypeName.Clone();
System\Xml\Schema\XsdBuilder.cs (1)
1566builder._simpleTypeRestriction!.BaseTypeName = builder.ParseQName(value, "base");
System\Xml\Serialization\Types.cs (1)
644restriction.BaseTypeName = baseTypeName;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1156restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
39 references to BaseTypeName
System.Data.Common (4)
System\Data\SimpleType.cs (4)
66if (content.BaseTypeName.Namespace == Keywords.XSDNS) 67_baseType = content.BaseTypeName.Name; 69_baseType = content.BaseTypeName.ToString(); 78_xmlBaseType = content.BaseTypeName;
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaImporter.cs (5)
551if (restriction.BaseTypeName != XmlQualifiedName.Empty) 553return ((restriction.BaseTypeName == expectedBase && restriction.Facets.Count > 0) || ImportType(restriction.BaseTypeName) is EnumDataContract); 1228if (!restriction.BaseTypeName.IsEmpty) 1229dataContract = ImportType(restriction.BaseTypeName);
System.Private.Xml (30)
System\Xml\Schema\Preprocessor.cs (4)
1100if (restriction.BaseTypeName == stype.QualifiedName) 1559if (!restriction.BaseTypeName.IsEmpty) 1567if (restriction.BaseTypeName.IsEmpty) 1573ValidateQNameAttribute(restriction, "base", restriction.BaseTypeName);
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
565if (restriction.BaseTypeName.IsEmpty) 571else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.QualifiedName) 579if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 581throw new XmlSchemaException(SR.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 583XmlSchemaSimpleType? type = GetSimpleType(restriction.BaseTypeName); 595throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), simpleType);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
776if (restriction.BaseTypeName == stype.QualifiedName) 1226if (!restriction.BaseTypeName.IsEmpty) 1234if (restriction.BaseTypeName.IsEmpty) 1240ValidateQNameAttribute(restriction, "base", restriction.BaseTypeName);
System\Xml\Schema\SchemaSetCompiler.cs (6)
651if (restriction.BaseTypeName.IsEmpty) 657else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.QualifiedName) 665if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 670throw new XmlSchemaException(SR.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 673XmlSchemaSimpleType? type = GetSimpleType(restriction.BaseTypeName); 685throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), restriction);
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
38return ((XmlSchemaSimpleTypeRestriction)_content).BaseTypeName;
System\Xml\Serialization\ImportContext.cs (1)
319baseName = ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName;
System\Xml\Serialization\SchemaObjectWriter.cs (2)
639if (!o.@BaseTypeName.IsEmpty) 641WriteAttribute(@"base", @"", o.@BaseTypeName);
System\Xml\Serialization\XmlSchemaImporter.cs (6)
1687AddReference(restriction.BaseTypeName, TypesInUse, SR.XmlCircularTypeReference); 1688mapping = ImportDataType(FindDataType(restriction.BaseTypeName, flags)!, restriction.BaseTypeName.Namespace, identifier, null, flags, false); 1689if (restriction.BaseTypeName.Namespace != XmlSchema.Namespace) 1690RemoveReference(restriction.BaseTypeName, TypesInUse); 1878return ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName;