25 writes to Presence
System.Private.Xml (25)
System\Xml\Schema\DtdParser.cs (3)
886
attrDef.
Presence
= SchemaDeclBase.Use.Required;
889
attrDef.
Presence
= SchemaDeclBase.Use.Implied;
892
attrDef.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\DtdParserAsync.cs (3)
530
attrDef.
Presence
= SchemaDeclBase.Use.Required;
533
attrDef.
Presence
= SchemaDeclBase.Use.Implied;
536
attrDef.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\SchemaCollectionCompiler.cs (8)
2017
decl.
Presence
= SchemaDeclBase.Use.Fixed;
2026
decl.
Presence
= SchemaDeclBase.Use.Default;
2070
decl.
Presence
= SchemaDeclBase.Use.Default;
2075
decl.
Presence
= SchemaDeclBase.Use.Fixed;
2089
decl.
Presence
= SchemaDeclBase.Use.Implied;
2092
decl.
Presence
= SchemaDeclBase.Use.Required;
2292
decl.
Presence
= SchemaDeclBase.Use.Default;
2297
decl.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\SchemaSetCompiler.cs (7)
2526
decl.
Presence
= SchemaDeclBase.Use.Default;
2533
decl.
Presence
= SchemaDeclBase.Use.RequiredFixed;
2537
decl.
Presence
= SchemaDeclBase.Use.Fixed;
2561
decl.
Presence
= SchemaDeclBase.Use.Implied;
2564
decl.
Presence
= SchemaDeclBase.Use.Required;
2751
decl.
Presence
= SchemaDeclBase.Use.Default;
2756
decl.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\XdrBuilder.cs (4)
1704
pAttdef.
Presence
= SchemaDeclBase.Use.Fixed;
1706
pAttdef.
Presence
= SchemaDeclBase.Use.Required;
1710
pAttdef.
Presence
= SchemaDeclBase.Use.Default;
1714
pAttdef.
Presence
= SchemaDeclBase.Use.Implied;
22 references to Presence
System.Private.Xml (22)
System\Xml\Dom\XmlDocument.cs (4)
669
if (attdef.
Presence
== SchemaDeclBase.Use.Default ||
670
attdef.
Presence
== SchemaDeclBase.Use.Fixed)
1675
if (attdef.
Presence
== SchemaDeclBase.Use.Default ||
1676
attdef.
Presence
== SchemaDeclBase.Use.Fixed)
System\Xml\Schema\SchemaElementDecl.cs (7)
191
if (attdef.
Presence
== SchemaDeclBase.Use.Required || attdef.
Presence
== SchemaDeclBase.Use.RequiredFixed)
195
if (attdef.
Presence
== SchemaDeclBase.Use.Default || attdef.
Presence
== SchemaDeclBase.Use.Fixed)
238
if (attdef.
Presence
== SchemaDeclBase.Use.Required)
242
else if (standalone && attdef.IsDeclaredInExternal && (attdef.
Presence
== SchemaDeclBase.Use.Default || attdef.
Presence
== SchemaDeclBase.Use.Fixed))
System\Xml\Schema\SchemaSetCompiler.cs (4)
3082
if (baseDecl.
Presence
== SchemaDeclBase.Use.Fixed || baseDecl.
Presence
== SchemaDeclBase.Use.RequiredFixed)
3087
if (derivedDecl.
Presence
!= SchemaDeclBase.Use.Fixed && derivedDecl.
Presence
!= SchemaDeclBase.Use.RequiredFixed)
System\Xml\Schema\XdrBuilder.cs (2)
1698
if (SchemaDeclBase.Use.Fixed != pAttdef.
Presence
)
1700
if (fRequired || SchemaDeclBase.Use.Required == pAttdef.
Presence
)
System\Xml\Schema\XmlSchemaValidator.cs (5)
1321
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && _context.ElementDecl.
Presence
== SchemaDeclBase.Use.Fixed)
1664
if (_context.IsNill && elementDecl.
Presence
== SchemaDeclBase.Use.Fixed)
1832
if (decl.
Presence
== SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
2104
if (attdef.
Presence
== SchemaDeclBase.Use.Required || attdef.
Presence
== SchemaDeclBase.Use.RequiredFixed)