7 writes to ElementDecl
System.Xml (7)
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
311element.ElementDecl = null; 1911xe.ElementDecl = decl; 1918xe.ElementDecl = SchemaElementDecl.Empty;
System\Xml\Schema\SchemaSetCompiler.cs (3)
312element.ElementDecl = null; 2266xe.ElementDecl = decl; 2273xe.ElementDecl = SchemaElementDecl.Empty;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1783xsiElement.ElementDecl = currentDecl;
28 references to ElementDecl
System.Xml (28)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
345XmlText textNode = document.CreateTextNode(schemaInfo.SchemaElement.ElementDecl.DefaultValueRaw);
System\Xml\Schema\Inference\Infer.cs (1)
1016Debug.Assert(elem.ElementDecl == null);
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
180if (element.ElementDecl == null) { 218schemaInfo.ElementDecls.Add(element.QualifiedName, element.ElementDecl); 1797if (xe.ElementDecl != null) { 1809if (e.ElementDecl == null) { 1813decl = e.ElementDecl.Clone(); 1834if (examplar.ElementDecl == null) { //If head is invalid, fall back to AnyType 1840decl = examplar.ElementDecl.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (15)
120schemaInfo.ElementDecls.Add(element.QualifiedName, element.ElementDecl); 174if (element.ElementDecl == null) { 402if ((element.ElementDecl.Block & XmlSchemaDerivationMethod.Substitution) == 0) { //Chain only if substitution is not blocked 972if (!element.RefName.IsEmpty && (element.ElementDecl.Block & XmlSchemaDerivationMethod.Substitution) == 0) { 1298baseElement.ElementDecl.Block == XmlSchemaDerivationMethod.All ? 1300baseElement.ElementDecl.Block; 1302derivedElement.ElementDecl.Block == XmlSchemaDerivationMethod.All ? 1304derivedElement.ElementDecl.Block; 1309(baseElement.FixedValue == null || IsFixedEqual(baseElement.ElementDecl, derivedElement.ElementDecl) ) && 2143if (xe.ElementDecl != null) { 2155if (e.ElementDecl == null) { 2159decl = e.ElementDecl.Clone(); 2180if (examplar.ElementDecl == null) { //If head is invalid, fall back to AnyType 2186decl = examplar.ElementDecl.Clone();
System\Xml\Schema\XmlSchemaInfo.cs (1)
127return schemaElement != null && schemaElement.ElementDecl.DefaultValueTyped != null;
System\Xml\Schema\XmlSchemaValidator.cs (2)
1349elementDecl = element.ElementDecl; 1361elementDecl = element.ElementDecl;
System\Xml\Schema\XsdValidator.cs (1)
311elementDecl = element.ElementDecl;