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