2 types derived from SchemaDeclBase
System.Xml (2)
System\Xml\Schema\SchemaAttDef.cs (1)
18internal sealed class SchemaAttDef : SchemaDeclBase, IDtdDefaultAttributeInfo {
System\Xml\Schema\SchemaElementDecl.cs (1)
15internal sealed class SchemaElementDecl : SchemaDeclBase, IDtdAttributeListInfo {
67 references to SchemaDeclBase
System.Xml (67)
System\Xml\Dom\XmlDocument.cs (4)
545if ( attdef.Presence == SchemaDeclBase.Use.Default || 546attdef.Presence == SchemaDeclBase.Use.Fixed ) { 1404if ( attdef.Presence == SchemaDeclBase.Use.Default || 1405attdef.Presence == SchemaDeclBase.Use.Fixed ) {
System\Xml\Schema\DtdParser.cs (3)
837attrDef.Presence = SchemaDeclBase.Use.Required; 840attrDef.Presence = SchemaDeclBase.Use.Implied; 843attrDef.Presence = SchemaDeclBase.Use.Fixed;
System\Xml\Schema\DtdParserAsync.cs (3)
482attrDef.Presence = SchemaDeclBase.Use.Required; 485attrDef.Presence = SchemaDeclBase.Use.Implied; 488attrDef.Presence = SchemaDeclBase.Use.Fixed;
System\Xml\Schema\DtdValidator.cs (3)
313SchemaDeclBase decl = isAttn ? (SchemaDeclBase)attdef : (SchemaDeclBase)context.ElementDecl;
System\Xml\Schema\SchemaCollectionCompiler.cs (8)
1658decl.Presence = SchemaDeclBase.Use.Fixed; 1665decl.Presence = SchemaDeclBase.Use.Default; 1703decl.Presence = SchemaDeclBase.Use.Default; 1707decl.Presence = SchemaDeclBase.Use.Fixed; 1718decl.Presence = SchemaDeclBase.Use.Implied; 1721decl.Presence = SchemaDeclBase.Use.Required; 1883decl.Presence = SchemaDeclBase.Use.Default; 1887decl.Presence = SchemaDeclBase.Use.Fixed;
System\Xml\Schema\SchemaElementDecl.cs (7)
175if (attdef.Presence == SchemaDeclBase.Use.Required || attdef.Presence == SchemaDeclBase.Use.RequiredFixed) { 179if (attdef.Presence == SchemaDeclBase.Use.Default || attdef.Presence == SchemaDeclBase.Use.Fixed) { //Not adding RequiredFixed here 216if (attdef.Presence == SchemaDeclBase.Use.Required) { 219else if (standalone && attdef.IsDeclaredInExternal && (attdef.Presence == SchemaDeclBase.Use.Default || attdef.Presence == SchemaDeclBase.Use.Fixed)) {
System\Xml\Schema\SchemaSetCompiler.cs (13)
2052decl.Presence = SchemaDeclBase.Use.Default; 2057decl.Presence = SchemaDeclBase.Use.RequiredFixed; 2060decl.Presence = SchemaDeclBase.Use.Fixed; 2077decl.Presence = SchemaDeclBase.Use.Implied; 2080decl.Presence = SchemaDeclBase.Use.Required; 2230decl.Presence = SchemaDeclBase.Use.Default; 2234decl.Presence = SchemaDeclBase.Use.Fixed; 2566private bool IsFixedEqual(SchemaDeclBase baseDecl, SchemaDeclBase derivedDecl) { 2568if (baseDecl.Presence == SchemaDeclBase.Use.Fixed || baseDecl.Presence == SchemaDeclBase.Use.RequiredFixed) { 2573if (derivedDecl.Presence != SchemaDeclBase.Use.Fixed && derivedDecl.Presence != SchemaDeclBase.Use.RequiredFixed) {
System\Xml\Schema\XdrBuilder.cs (6)
1488if (SchemaDeclBase.Use.Fixed != pAttdef.Presence) { 1489if (fRequired || SchemaDeclBase.Use.Required == pAttdef.Presence) { 1492pAttdef.Presence = SchemaDeclBase.Use.Fixed; 1494pAttdef.Presence = SchemaDeclBase.Use.Required; 1497pAttdef.Presence = SchemaDeclBase.Use.Default; 1500pAttdef.Presence = SchemaDeclBase.Use.Implied;
System\Xml\Schema\XdrValidator.cs (3)
412SchemaDeclBase decl = isAttn ? (SchemaDeclBase)attdef : (SchemaDeclBase)context.ElementDecl;
System\Xml\Schema\XmlSchemaValidator.cs (14)
1130if (contentValidator.ContentType == XmlSchemaContentType.Mixed && context.ElementDecl.Presence == SchemaDeclBase.Use.Fixed) { //Mixed with default or fixed 1250SchemaDeclBase decl = currentElementDecl as SchemaDeclBase; 1276private string GetTypeName(SchemaDeclBase decl) { 1399if (context.IsNill && elementDecl.Presence == SchemaDeclBase.Use.Fixed) { 1536SchemaDeclBase decl = elementDecl as SchemaDeclBase; 1538if (decl.Presence == SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw)) { //check string equality for mixed as it is untyped. 1622SchemaDeclBase decl = attdef as SchemaDeclBase; 1654SchemaDeclBase decl = context.ElementDecl as SchemaDeclBase; 1766if (attdef.Presence == SchemaDeclBase.Use.Required || attdef.Presence == SchemaDeclBase.Use.RequiredFixed) {
System\Xml\Schema\XsdValidator.cs (3)
606SchemaDeclBase decl = isAttn ? (SchemaDeclBase)attdef : (SchemaDeclBase)context.ElementDecl;