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