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