2 types derived from SchemaDeclBase
System.Xml (2)
System\Xml\Schema\SchemaAttDef.cs (1)
18
internal sealed class SchemaAttDef :
SchemaDeclBase
, IDtdDefaultAttributeInfo {
System\Xml\Schema\SchemaElementDecl.cs (1)
15
internal sealed class SchemaElementDecl :
SchemaDeclBase
, IDtdAttributeListInfo {
67 references to SchemaDeclBase
System.Xml (67)
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\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\DtdValidator.cs (3)
313
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;
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\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 (13)
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;
2566
private bool IsFixedEqual(
SchemaDeclBase
baseDecl,
SchemaDeclBase
derivedDecl) {
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 (6)
1488
if (
SchemaDeclBase
.Use.Fixed != pAttdef.Presence) {
1489
if (fRequired ||
SchemaDeclBase
.Use.Required == pAttdef.Presence) {
1492
pAttdef.Presence =
SchemaDeclBase
.Use.Fixed;
1494
pAttdef.Presence =
SchemaDeclBase
.Use.Required;
1497
pAttdef.Presence =
SchemaDeclBase
.Use.Default;
1500
pAttdef.Presence =
SchemaDeclBase
.Use.Implied;
System\Xml\Schema\XdrValidator.cs (3)
412
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;
System\Xml\Schema\XmlSchemaValidator.cs (14)
1130
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && context.ElementDecl.Presence ==
SchemaDeclBase
.Use.Fixed) { //Mixed with default or fixed
1250
SchemaDeclBase
decl = currentElementDecl as
SchemaDeclBase
;
1276
private string GetTypeName(
SchemaDeclBase
decl) {
1399
if (context.IsNill && elementDecl.Presence ==
SchemaDeclBase
.Use.Fixed) {
1536
SchemaDeclBase
decl = elementDecl as
SchemaDeclBase
;
1538
if (decl.Presence ==
SchemaDeclBase
.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw)) { //check string equality for mixed as it is untyped.
1622
SchemaDeclBase
decl = attdef as
SchemaDeclBase
;
1654
SchemaDeclBase
decl = context.ElementDecl as
SchemaDeclBase
;
1766
if (attdef.Presence ==
SchemaDeclBase
.Use.Required || attdef.Presence ==
SchemaDeclBase
.Use.RequiredFixed) {
System\Xml\Schema\XsdValidator.cs (3)
606
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;