13 writes to ElementDecl
System.Xml (13)
System\Xml\Schema\DataTypeImplementation.cs (3)
168simpleType.ElementDecl = new SchemaElementDecl(dataType); 304tempNormalizedStringTypeV1Compat.ElementDecl = new SchemaElementDecl(c_normalizedStringV1Compat); 316tempTokenTypeV1Compat.ElementDecl = new SchemaElementDecl(c_tokenV1Compat);
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
291complexType.ElementDecl = null; 295simpleType.ElementDecl = null; 493simpleType.ElementDecl = decl; 627complexType.ElementDecl = decl;
System\Xml\Schema\SchemaSetCompiler.cs (4)
279complexType.ElementDecl = null; 292simpleType.ElementDecl = null; 560simpleType.ElementDecl = decl; 683complexType.ElementDecl = decl;
System\Xml\Schema\XmlSchemaComplexType.cs (2)
54untypedAnyType.ElementDecl = SchemaElementDecl.CreateAnyTypeElementDecl(); 76localAnyType.ElementDecl = SchemaElementDecl.CreateAnyTypeElementDecl();
43 references to ElementDecl
System.Xml (43)
System\Xml\Schema\BaseProcessor.cs (1)
171if (existingType.ElementDecl == null) { //If the existing one is not already compiled, then replace.
System\Xml\Schema\DataTypeImplementation.cs (3)
169simpleType.ElementDecl.SchemaType = simpleType; 305tempNormalizedStringTypeV1Compat.ElementDecl.SchemaType = tempNormalizedStringTypeV1Compat; 317tempTokenTypeV1Compat.ElementDecl.SchemaType = tempTokenTypeV1Compat;
System\Xml\Schema\SchemaCollectionCompiler.cs (17)
228schemaInfo.ElementDeclsByType.Add(type.QualifiedName, type.ElementDecl); 412if (simpleType.ElementDecl != null) { // already compiled 557if (complexType.ElementDecl != null) { //already compiled 692else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) { 706if (baseType != null && baseType.ElementDecl != null) { 743if (baseType != null && baseType.ElementDecl != null) { 796if (baseType != null && baseType.ElementDecl != null) { 811if (baseType.ElementDecl != null) { 812Debug.Assert(baseType.ElementDecl.ContentValidator != null); 814if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator.IsEmptiable) { 1836decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 1845decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 1853if (complexType.ElementDecl != null) { 1854decl = complexType.ElementDecl.Clone(); 1861if (simpleType.ElementDecl != null) { 1862decl = simpleType.ElementDecl.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (13)
126schemaInfo.ElementDeclsByType.Add(type.QualifiedName, type.ElementDecl); 476if (simpleType.ElementDecl != null) { // already compiled 624if (complexType.ElementDecl != null) { //already compiled 750else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) { 764if (baseType != null && baseType.ElementDecl != null) { 866if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator.IsEmptiable) { //base is either TextOnly or its ElementOnly/Mixed and not emptiable 2182decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2191decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2199if (complexType.ElementDecl != null) { 2200decl = complexType.ElementDecl.Clone(); 2207if (simpleType.ElementDecl != null) { 2208decl = simpleType.ElementDecl.Clone();
System\Xml\Schema\XmlSchemaComplexType.cs (6)
55untypedAnyType.ElementDecl.SchemaType = untypedAnyType; 56untypedAnyType.ElementDecl.ContentValidator = AnyTypeContentValidator; 77localAnyType.ElementDecl.SchemaType = localAnyType; 87localAnyType.ElementDecl.ContentValidator = anyContentValidator; 93localAnyType.ElementDecl.AnyAttribute = anyAttribute; 122return anyTypeLax.ElementDecl.ContentValidator;
System\Xml\Schema\XmlSchemaValidator.cs (2)
1369elementDecl = type.ElementDecl; 1427elementDeclXsi = schemaType.ElementDecl;
System\Xml\Schema\XsdValidator.cs (1)
340elementDeclXsi = simpleType.ElementDecl;