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