19 writes to SchemaType
System.Xml (19)
System\Xml\Schema\DataTypeImplementation.cs (3)
169
simpleType.ElementDecl.
SchemaType
= simpleType;
305
tempNormalizedStringTypeV1Compat.ElementDecl.
SchemaType
= tempNormalizedStringTypeV1Compat;
317
tempTokenTypeV1Compat.ElementDecl.
SchemaType
= tempTokenTypeV1Compat;
System\Xml\Schema\DtdParser.cs (2)
723
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType( attrDef.Datatype.TypeCode );
796
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType( attrDef.Datatype.TypeCode );
System\Xml\Schema\DtdParserAsync.cs (2)
368
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType( attrDef.Datatype.TypeCode );
441
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType( attrDef.Datatype.TypeCode );
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
491
decl.
SchemaType
= simpleType;
609
decl.
SchemaType
= complexType;
1678
decl.
SchemaType
= xa.SchemaType;
1686
decl.
SchemaType
= simpleType;
1693
decl.
SchemaType
= DatatypeImplementation.AnySimpleType;
System\Xml\Schema\SchemaSetCompiler.cs (5)
558
decl.
SchemaType
= simpleType;
666
decl.
SchemaType
= complexType;
2008
decl.
SchemaType
= xa.SchemaType;
2016
decl.
SchemaType
= simpleType;
2023
decl.
SchemaType
= DatatypeImplementation.AnySimpleType;
System\Xml\Schema\XmlSchemaComplexType.cs (2)
55
untypedAnyType.ElementDecl.
SchemaType
= untypedAnyType;
77
localAnyType.ElementDecl.
SchemaType
= localAnyType;
25 references to SchemaType
System.Xml (25)
System\Xml\Core\XmlTextReaderImpl.cs (2)
8275
attr.schemaType = (attrDef.
SchemaType
== null) ? (object)attrDef.Datatype : (object)attrDef.
SchemaType
;
System\Xml\Schema\DtdValidator.cs (2)
141
Reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
161
Reader.SchemaTypeObject = attnDef.
SchemaType
;
System\Xml\Schema\XdrValidator.cs (4)
200
if (context.ElementDecl.
SchemaType
!= null) {
201
reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
228
reader.SchemaTypeObject = (attnDef.
SchemaType
!= null) ? (object)attnDef.
SchemaType
: (object)attnDef.Datatype;
System\Xml\Schema\XmlSchemaValidator.cs (12)
423
localSchemaType = elementDecl.
SchemaType
;
555
XmlSchemaComplexType ct = currentElementDecl.
SchemaType
as XmlSchemaComplexType;
807
schemaInfo.SchemaType = currentElementDecl.
SchemaType
;
932
attSchemaInfo.SchemaType = attdef.
SchemaType
;
1063
XmlSchemaType xmlType = memberType == null ? contextElementDecl.
SchemaType
: memberType;
1066
localSchemaType = contextElementDecl.
SchemaType
;
1277
Debug.Assert(decl != null && decl.
SchemaType
!= null);
1278
string typeName = decl.
SchemaType
.QualifiedName.ToString();
1441
else if (elementDecl != null && !XmlSchemaType.IsDerivedFrom(elementDeclXsi.
SchemaType
,elementDecl.
SchemaType
,elementDecl.Block)) {
1781
xsiElement.SchemaType = currentDecl.
SchemaType
;
1782
xsiElement.SetElementType(currentDecl.
SchemaType
);
System\Xml\Schema\XsdValidator.cs (5)
347
else if (!XmlSchemaType.IsDerivedFrom(elementDeclXsi.
SchemaType
,elementDecl.
SchemaType
,elementDecl.Block)) {
376
reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
409
Debug.Assert(attnDef.
SchemaType
!= null);
410
reader.SchemaTypeObject = attnDef.
SchemaType
;