19 writes to SchemaType
System.Private.Xml (19)
System\Xml\Schema\DataTypeImplementation.cs (3)
178
simpleType.ElementDecl.
SchemaType
= simpleType;
331
tempNormalizedStringTypeV1Compat.ElementDecl.
SchemaType
= tempNormalizedStringTypeV1Compat;
346
tempTokenTypeV1Compat.ElementDecl.
SchemaType
= tempTokenTypeV1Compat;
System\Xml\Schema\DtdParser.cs (2)
764
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType(attrDef.Datatype.TypeCode);
844
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType(attrDef.Datatype.TypeCode);
System\Xml\Schema\DtdParserAsync.cs (2)
408
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType(attrDef.Datatype.TypeCode);
488
attrDef.
SchemaType
= XmlSchemaType.GetBuiltInSimpleType(attrDef.Datatype.TypeCode);
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
623
decl.
SchemaType
= simpleType;
772
decl.
SchemaType
= complexType;
2041
decl.
SchemaType
= xa.SchemaType;
2051
decl.
SchemaType
= simpleType;
2060
decl.
SchemaType
= DatatypeImplementation.AnySimpleType;
System\Xml\Schema\SchemaSetCompiler.cs (5)
713
decl.
SchemaType
= simpleType;
848
decl.
SchemaType
= complexType;
2474
decl.
SchemaType
= xa.SchemaType;
2484
decl.
SchemaType
= simpleType;
2493
decl.
SchemaType
= DatatypeImplementation.AnySimpleType;
System\Xml\Schema\XmlSchemaComplexType.cs (2)
48
untypedAny.ElementDecl.
SchemaType
= untypedAny;
72
localAnyType.ElementDecl.
SchemaType
= localAnyType;
25 references to SchemaType
System.Private.Xml (25)
System\Xml\Core\XmlTextReaderImpl.cs (2)
9268
attr.schemaType = (attrDef.
SchemaType
== null) ? (object)attrDef.Datatype : (object)attrDef.
SchemaType
;
System\Xml\Schema\DtdValidator.cs (2)
165
Reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
192
Reader.SchemaTypeObject = attnDef.
SchemaType
;
System\Xml\Schema\XdrValidator.cs (4)
242
if (context.ElementDecl.
SchemaType
!= null)
244
reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
280
reader.SchemaTypeObject = (attnDef.
SchemaType
!= null) ? (object)attnDef.
SchemaType
: (object)attnDef.Datatype;
System\Xml\Schema\XmlSchemaValidator.cs (12)
454
localSchemaType = elementDecl.
SchemaType
;
597
XmlSchemaComplexType ct = (currentElementDecl.
SchemaType
as XmlSchemaComplexType)!;
899
schemaInfo.SchemaType = currentElementDecl.
SchemaType
;
1074
attSchemaInfo.SchemaType = attdef.
SchemaType
;
1239
XmlSchemaType xmlType = memberType ?? contextElementDecl.
SchemaType
!;
1243
localSchemaType = contextElementDecl.
SchemaType
;
1505
Debug.Assert(decl != null && decl.
SchemaType
!= null);
1506
string typeName = decl.
SchemaType
.QualifiedName.ToString();
1714
else if (elementDecl != null && !XmlSchemaType.IsDerivedFrom(elementDeclXsi.
SchemaType
, elementDecl.
SchemaType
, elementDecl.Block))
2124
xsiElement.SchemaType = currentDecl.
SchemaType
;
2125
xsiElement.SetElementType(currentDecl.
SchemaType
);
System\Xml\Schema\XsdValidator.cs (5)
413
else if (!XmlSchemaType.IsDerivedFrom(elementDeclXsi.
SchemaType
, elementDecl.
SchemaType
, elementDecl.Block))
451
reader.SchemaTypeObject = context.ElementDecl.
SchemaType
;
494
Debug.Assert(attnDef.
SchemaType
!= null);
495
reader.SchemaTypeObject = attnDef.
SchemaType
;