13 writes to ElementDecl
System.Private.Xml (13)
System\Xml\Schema\DataTypeImplementation.cs (3)
177simpleType.ElementDecl = new SchemaElementDecl(dataType); 330tempNormalizedStringTypeV1Compat.ElementDecl = new SchemaElementDecl(c_normalizedStringV1Compat); 345tempTokenTypeV1Compat.ElementDecl = new SchemaElementDecl(c_tokenV1Compat);
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
370complexType.ElementDecl = null; 375simpleType.ElementDecl = null; 625simpleType.ElementDecl = decl; 795complexType.ElementDecl = decl;
System\Xml\Schema\SchemaSetCompiler.cs (4)
359complexType.ElementDecl = null; 375simpleType.ElementDecl = null; 715simpleType.ElementDecl = decl; 870complexType.ElementDecl = decl;
System\Xml\Schema\XmlSchemaComplexType.cs (2)
47untypedAny.ElementDecl = SchemaElementDecl.CreateAnyTypeElementDecl(); 71localAnyType.ElementDecl = SchemaElementDecl.CreateAnyTypeElementDecl();
43 references to ElementDecl
System.Private.Xml (43)
System\Xml\Schema\BaseProcessor.cs (1)
200if (existingType.ElementDecl == null)
System\Xml\Schema\DataTypeImplementation.cs (3)
178simpleType.ElementDecl.SchemaType = simpleType; 331tempNormalizedStringTypeV1Compat.ElementDecl.SchemaType = tempNormalizedStringTypeV1Compat; 346tempTokenTypeV1Compat.ElementDecl.SchemaType = tempTokenTypeV1Compat;
System\Xml\Schema\SchemaCollectionCompiler.cs (17)
299schemaInfo.ElementDeclsByType.Add(type.QualifiedName, type.ElementDecl!); 525if (simpleType.ElementDecl != null) 706if (complexType.ElementDecl != null) 876else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 894if (baseType != null && baseType.ElementDecl != null) 942if (baseType != null && baseType.ElementDecl != null) 1008if (baseType != null && baseType.ElementDecl != null) 1028if (baseType.ElementDecl != null) 1030Debug.Assert(baseType.ElementDecl.ContentValidator != null); 1032if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator!.IsEmptiable) 2236decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2247decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2256if (complexType.ElementDecl != null) 2258decl = complexType.ElementDecl.Clone(); 2265if (simpleType.ElementDecl != null) 2267decl = simpleType.ElementDecl.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (13)
162schemaInfo.ElementDeclsByType.Add(type!.QualifiedName, type.ElementDecl!); 608if (simpleType.ElementDecl != null) 795if (complexType.ElementDecl != null) 956else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 975if (baseType != null && baseType.ElementDecl != null) 1109if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator!.IsEmptiable) 2695decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2706decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2715if (complexType.ElementDecl != null) 2717decl = complexType.ElementDecl.Clone(); 2724if (simpleType.ElementDecl != null) 2726decl = simpleType.ElementDecl.Clone();
System\Xml\Schema\XmlSchemaComplexType.cs (6)
48untypedAny.ElementDecl.SchemaType = untypedAny; 49untypedAny.ElementDecl.ContentValidator = AnyTypeContentValidator; 72localAnyType.ElementDecl.SchemaType = localAnyType; 82localAnyType.ElementDecl.ContentValidator = anyContentValidator; 88localAnyType.ElementDecl.AnyAttribute = anyAttribute; 119return s_anyTypeLax.ElementDecl!.ContentValidator!;
System\Xml\Schema\XmlSchemaValidator.cs (2)
1624elementDecl = type.ElementDecl; 1698elementDeclXsi = schemaType.ElementDecl;
System\Xml\Schema\XsdValidator.cs (1)
405elementDeclXsi = simpleType.ElementDecl;