7 writes to ElementDecl
System.Private.Xml (7)
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
396element.ElementDecl = null; 2326xe.ElementDecl = decl; 2335xe.ElementDecl = SchemaElementDecl.Empty;
System\Xml\Schema\SchemaSetCompiler.cs (3)
401element.ElementDecl = null; 2795xe.ElementDecl = decl; 2804xe.ElementDecl = SchemaElementDecl.Empty;
System\Xml\Schema\XmlSchemaValidator.cs (1)
2114xsiElement.ElementDecl = currentDecl;
28 references to ElementDecl
System.Private.Xml (28)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
377XmlText textNode = _document.CreateTextNode(_schemaInfo.SchemaElement!.ElementDecl!.DefaultValueRaw);
System\Xml\Schema\Inference\Infer.cs (1)
1003Debug.Assert(elem.ElementDecl == null);
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
227if (element!.ElementDecl == null) 284schemaInfo.ElementDecls.Add(element.QualifiedName, element.ElementDecl!); 2184if (xe.ElementDecl != null) 2200if (e.ElementDecl == null) 2205decl = e.ElementDecl.Clone(); 2233if (examplar.ElementDecl == null) 2241decl = examplar.ElementDecl.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (15)
152schemaInfo.ElementDecls.Add(element!.QualifiedName, element.ElementDecl!); 223if (element!.ElementDecl == null) 519if ((element.ElementDecl!.Block & XmlSchemaDerivationMethod.Substitution) == 0) 1233if (!element.RefName.IsEmpty && (element.ElementDecl!.Block & XmlSchemaDerivationMethod.Substitution) == 0) 1659baseElement.ElementDecl!.Block == XmlSchemaDerivationMethod.All ? 1661baseElement.ElementDecl.Block; 1663derivedElement.ElementDecl!.Block == XmlSchemaDerivationMethod.All ? 1665derivedElement.ElementDecl.Block; 1670(baseElement.FixedValue == null || IsFixedEqual(baseElement.ElementDecl, derivedElement.ElementDecl)) && 2643if (xe.ElementDecl != null) 2659if (e.ElementDecl == null) 2664decl = e.ElementDecl.Clone(); 2692if (examplar.ElementDecl == null) 2700decl = examplar.ElementDecl.Clone();
System\Xml\Schema\XmlSchemaInfo.cs (1)
158return _schemaElement != null && _schemaElement.ElementDecl!.DefaultValueTyped != null;
System\Xml\Schema\XmlSchemaValidator.cs (2)
1586elementDecl = element.ElementDecl; 1603elementDecl = element.ElementDecl;
System\Xml\Schema\XsdValidator.cs (1)
369elementDecl = element.ElementDecl;