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