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