2 types derived from SchemaDeclBase
System.Private.Xml (2)
System\Xml\Schema\SchemaAttDef.cs (1)
15
internal sealed class SchemaAttDef :
SchemaDeclBase
, IDtdDefaultAttributeInfo
System\Xml\Schema\SchemaElementDecl.cs (1)
11
internal sealed class SchemaElementDecl :
SchemaDeclBase
, IDtdAttributeListInfo
67 references to SchemaDeclBase
System.Private.Xml (67)
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\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\DtdValidator.cs (3)
377
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef! : (
SchemaDeclBase
)context!.ElementDecl!;
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\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 (13)
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;
3080
private static bool IsFixedEqual(
SchemaDeclBase
baseDecl,
SchemaDeclBase
derivedDecl)
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 (6)
1698
if (
SchemaDeclBase
.Use.Fixed != pAttdef.Presence)
1700
if (fRequired ||
SchemaDeclBase
.Use.Required == pAttdef.Presence)
1704
pAttdef.Presence =
SchemaDeclBase
.Use.Fixed;
1706
pAttdef.Presence =
SchemaDeclBase
.Use.Required;
1710
pAttdef.Presence =
SchemaDeclBase
.Use.Default;
1714
pAttdef.Presence =
SchemaDeclBase
.Use.Implied;
System\Xml\Schema\XdrValidator.cs (3)
501
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef! : (
SchemaDeclBase
)context!.ElementDecl!;
System\Xml\Schema\XmlSchemaValidator.cs (14)
1321
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && _context.ElementDecl.Presence ==
SchemaDeclBase
.Use.Fixed)
1472
SchemaDeclBase
decl = (currentElementDecl as
SchemaDeclBase
)!;
1503
private static string GetTypeName(
SchemaDeclBase
decl)
1664
if (_context.IsNill && elementDecl.Presence ==
SchemaDeclBase
.Use.Fixed)
1830
SchemaDeclBase
decl = elementDecl as
SchemaDeclBase
;
1832
if (decl.Presence ==
SchemaDeclBase
.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
1931
SchemaDeclBase
decl = attdef as
SchemaDeclBase
;
1970
SchemaDeclBase
decl = (_context.ElementDecl as
SchemaDeclBase
)!;
2104
if (attdef.Presence ==
SchemaDeclBase
.Use.Required || attdef.Presence ==
SchemaDeclBase
.Use.RequiredFixed)
System\Xml\Schema\XsdValidator.cs (3)
721
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef! : (
SchemaDeclBase
)context!.ElementDecl!;