1 write to BaseType
System.Private.Xml (1)
System\Xml\Schema\XsdBuilder.cs (1)
1468builder._simpleContentRestriction.BaseType = builder._simpleType;
26 references to BaseType
System.Private.Xml (26)
System\Xml\Schema\Preprocessor.cs (3)
1748if (contentRestriction.BaseType != null) 1750SetParent(contentRestriction.BaseType, contentRestriction); 1751PreprocessSimpleType(contentRestriction.BaseType, true);
System\Xml\Schema\SchemaCollectionCompiler.cs (8)
860if (simpleRestriction.BaseType == null) 868CompileSimpleType(simpleRestriction.BaseType); 869if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.Datatype!, baseType.Datatype!)) 873datatype = simpleRestriction.BaseType.Datatype; 878if (simpleRestriction.BaseType != null) 880CompileSimpleType(simpleRestriction.BaseType); 881complexType.SetBaseSchemaType(simpleRestriction.BaseType); 882datatype = simpleRestriction.BaseType.Datatype;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1413if (contentRestriction.BaseType != null) 1415SetParent(contentRestriction.BaseType, contentRestriction); 1416PreprocessSimpleType(contentRestriction.BaseType, true);
System\Xml\Schema\SchemaSetCompiler.cs (8)
940if (simpleRestriction.BaseType == null) 948CompileSimpleType(simpleRestriction.BaseType); 949if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.Datatype!, baseType.Datatype!)) 953datatype = simpleRestriction.BaseType.Datatype; 958if (simpleRestriction.BaseType != null) 960CompileSimpleType(simpleRestriction.BaseType); 961complexType.SetBaseSchemaType(simpleRestriction.BaseType); 962datatype = simpleRestriction.BaseType.Datatype;
System\Xml\Schema\XsdBuilder.cs (1)
1456if (builder._simpleContentRestriction!.BaseType != null)
System\Xml\Serialization\ImportContext.cs (2)
281if (restriction.BaseType != null) 282baseType = restriction.BaseType;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
894Write9_XmlSchemaSimpleType((XmlSchemaSimpleType?)o.@BaseType);