20 references to SetDatatype
System.Private.Xml (20)
System\Xml\Schema\DataTypeImplementation.cs (3)
176
simpleType.
SetDatatype
(dataType);
329
tempNormalizedStringTypeV1Compat.
SetDatatype
(c_normalizedStringV1Compat);
344
tempTokenTypeV1Compat.
SetDatatype
(c_tokenV1Compat);
System\Xml\Schema\SchemaCollectionCompiler.cs (8)
559
simpleType.
SetDatatype
(datatype.DeriveByList(simpleType));
599
simpleType.
SetDatatype
(datatype.DeriveByRestriction(restriction.Facets, NameTable, simpleType));
606
simpleType.
SetDatatype
(XmlSchemaDatatype.DeriveByUnion(baseTypes, simpleType));
617
simpleType.
SetDatatype
(DatatypeImplementation.AnySimpleType.Datatype);
809
complexType.
SetDatatype
(baseType.Datatype);
821
complexType.
SetDatatype
(bto.Datatype);
909
complexType.
SetDatatype
(datatype.DeriveByRestriction(simpleRestriction.Facets, NameTable, complexType));
918
complexType.
SetDatatype
(DatatypeImplementation.AnySimpleType.Datatype);
System\Xml\Schema\SchemaSetCompiler.cs (9)
645
simpleType.
SetDatatype
(datatype.DeriveByList(simpleType));
688
simpleType.
SetDatatype
(datatype.DeriveByRestriction(restriction.Facets, NameTable, simpleType));
695
simpleType.
SetDatatype
(XmlSchemaDatatype.DeriveByUnion(baseTypes, simpleType));
707
simpleType.
SetDatatype
(DatatypeImplementation.AnySimpleType.Datatype);
887
complexType.
SetDatatype
(baseType.Datatype);
899
complexType.
SetDatatype
(bto.Datatype);
992
complexType.
SetDatatype
(datatype.DeriveByRestriction(simpleRestriction.Facets, NameTable, complexType));
1001
complexType.
SetDatatype
(DatatypeImplementation.AnySimpleType.Datatype);
1063
complexType.
SetDatatype
(baseType.Datatype);