25 writes to Presence
System.Xml (25)
System\Xml\Schema\DtdParser.cs (3)
837
attrDef.
Presence
= SchemaDeclBase.Use.Required;
840
attrDef.
Presence
= SchemaDeclBase.Use.Implied;
843
attrDef.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\DtdParserAsync.cs (3)
482
attrDef.
Presence
= SchemaDeclBase.Use.Required;
485
attrDef.
Presence
= SchemaDeclBase.Use.Implied;
488
attrDef.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\SchemaCollectionCompiler.cs (8)
1658
decl.
Presence
= SchemaDeclBase.Use.Fixed;
1665
decl.
Presence
= SchemaDeclBase.Use.Default;
1703
decl.
Presence
= SchemaDeclBase.Use.Default;
1707
decl.
Presence
= SchemaDeclBase.Use.Fixed;
1718
decl.
Presence
= SchemaDeclBase.Use.Implied;
1721
decl.
Presence
= SchemaDeclBase.Use.Required;
1883
decl.
Presence
= SchemaDeclBase.Use.Default;
1887
decl.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\SchemaSetCompiler.cs (7)
2052
decl.
Presence
= SchemaDeclBase.Use.Default;
2057
decl.
Presence
= SchemaDeclBase.Use.RequiredFixed;
2060
decl.
Presence
= SchemaDeclBase.Use.Fixed;
2077
decl.
Presence
= SchemaDeclBase.Use.Implied;
2080
decl.
Presence
= SchemaDeclBase.Use.Required;
2230
decl.
Presence
= SchemaDeclBase.Use.Default;
2234
decl.
Presence
= SchemaDeclBase.Use.Fixed;
System\Xml\Schema\XdrBuilder.cs (4)
1492
pAttdef.
Presence
= SchemaDeclBase.Use.Fixed;
1494
pAttdef.
Presence
= SchemaDeclBase.Use.Required;
1497
pAttdef.
Presence
= SchemaDeclBase.Use.Default;
1500
pAttdef.
Presence
= SchemaDeclBase.Use.Implied;
22 references to Presence
System.Xml (22)
System\Xml\Dom\XmlDocument.cs (4)
545
if ( attdef.
Presence
== SchemaDeclBase.Use.Default ||
546
attdef.
Presence
== SchemaDeclBase.Use.Fixed ) {
1404
if ( attdef.
Presence
== SchemaDeclBase.Use.Default ||
1405
attdef.
Presence
== SchemaDeclBase.Use.Fixed ) {
System\Xml\Schema\SchemaElementDecl.cs (7)
175
if (attdef.
Presence
== SchemaDeclBase.Use.Required || attdef.
Presence
== SchemaDeclBase.Use.RequiredFixed) {
179
if (attdef.
Presence
== SchemaDeclBase.Use.Default || attdef.
Presence
== SchemaDeclBase.Use.Fixed) { //Not adding RequiredFixed here
216
if (attdef.
Presence
== SchemaDeclBase.Use.Required) {
219
else if (standalone && attdef.IsDeclaredInExternal && (attdef.
Presence
== SchemaDeclBase.Use.Default || attdef.
Presence
== SchemaDeclBase.Use.Fixed)) {
System\Xml\Schema\SchemaSetCompiler.cs (4)
2568
if (baseDecl.
Presence
== SchemaDeclBase.Use.Fixed || baseDecl.
Presence
== SchemaDeclBase.Use.RequiredFixed) {
2573
if (derivedDecl.
Presence
!= SchemaDeclBase.Use.Fixed && derivedDecl.
Presence
!= SchemaDeclBase.Use.RequiredFixed) {
System\Xml\Schema\XdrBuilder.cs (2)
1488
if (SchemaDeclBase.Use.Fixed != pAttdef.
Presence
) {
1489
if (fRequired || SchemaDeclBase.Use.Required == pAttdef.
Presence
) {
System\Xml\Schema\XmlSchemaValidator.cs (5)
1130
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && context.ElementDecl.
Presence
== SchemaDeclBase.Use.Fixed) { //Mixed with default or fixed
1399
if (context.IsNill && elementDecl.
Presence
== SchemaDeclBase.Use.Fixed) {
1538
if (decl.
Presence
== SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw)) { //check string equality for mixed as it is untyped.
1766
if (attdef.
Presence
== SchemaDeclBase.Use.Required || attdef.
Presence
== SchemaDeclBase.Use.RequiredFixed) {