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