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