2 types derived from SchemaDeclBase
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
19
internal sealed class SchemaAttDef :
SchemaDeclBase
, IDtdDefaultAttributeInfo
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
12
internal sealed class SchemaElementDecl :
SchemaDeclBase
, IDtdAttributeListInfo
64 references to SchemaDeclBase
dotnet-svcutil-lib (64)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (4)
606
if (attdef.Presence ==
SchemaDeclBase
.Use.Default ||
607
attdef.Presence ==
SchemaDeclBase
.Use.Fixed)
1626
if (attdef.Presence ==
SchemaDeclBase
.Use.Default ||
1627
attdef.Presence ==
SchemaDeclBase
.Use.Fixed)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (3)
898
attrDef.Presence =
SchemaDeclBase
.Use.Required;
901
attrDef.Presence =
SchemaDeclBase
.Use.Implied;
904
attrDef.Presence =
SchemaDeclBase
.Use.Fixed;
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (3)
374
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (8)
2095
decl.Presence =
SchemaDeclBase
.Use.Fixed;
2104
decl.Presence =
SchemaDeclBase
.Use.Default;
2151
decl.Presence =
SchemaDeclBase
.Use.Default;
2156
decl.Presence =
SchemaDeclBase
.Use.Fixed;
2170
decl.Presence =
SchemaDeclBase
.Use.Implied;
2173
decl.Presence =
SchemaDeclBase
.Use.Required;
2377
decl.Presence =
SchemaDeclBase
.Use.Default;
2382
decl.Presence =
SchemaDeclBase
.Use.Fixed;
FrameworkFork\Microsoft.Xml\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)
241
if (attdef.Presence ==
SchemaDeclBase
.Use.Required)
245
else if (standalone && attdef.IsDeclaredInExternal && (attdef.Presence ==
SchemaDeclBase
.Use.Default || attdef.Presence ==
SchemaDeclBase
.Use.Fixed))
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (13)
2584
decl.Presence =
SchemaDeclBase
.Use.Default;
2591
decl.Presence =
SchemaDeclBase
.Use.RequiredFixed;
2595
decl.Presence =
SchemaDeclBase
.Use.Fixed;
2617
decl.Presence =
SchemaDeclBase
.Use.Implied;
2620
decl.Presence =
SchemaDeclBase
.Use.Required;
2809
decl.Presence =
SchemaDeclBase
.Use.Default;
2814
decl.Presence =
SchemaDeclBase
.Use.Fixed;
3237
private bool IsFixedEqual(
SchemaDeclBase
baseDecl,
SchemaDeclBase
derivedDecl)
3239
if (baseDecl.Presence ==
SchemaDeclBase
.Use.Fixed || baseDecl.Presence ==
SchemaDeclBase
.Use.RequiredFixed)
3245
if (derivedDecl.Presence !=
SchemaDeclBase
.Use.Fixed && derivedDecl.Presence !=
SchemaDeclBase
.Use.RequiredFixed)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (6)
1709
if (
SchemaDeclBase
.Use.Fixed != pAttdef.Presence)
1711
if (fRequired ||
SchemaDeclBase
.Use.Required == pAttdef.Presence)
1715
pAttdef.Presence =
SchemaDeclBase
.Use.Fixed;
1717
pAttdef.Presence =
SchemaDeclBase
.Use.Required;
1721
pAttdef.Presence =
SchemaDeclBase
.Use.Default;
1725
pAttdef.Presence =
SchemaDeclBase
.Use.Implied;
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (3)
500
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (14)
1347
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && _context.ElementDecl.Presence ==
SchemaDeclBase
.Use.Fixed)
1495
SchemaDeclBase
decl = currentElementDecl as
SchemaDeclBase
;
1525
private string GetTypeName(
SchemaDeclBase
decl)
1681
if (_context.IsNill && elementDecl.Presence ==
SchemaDeclBase
.Use.Fixed)
1849
SchemaDeclBase
decl = elementDecl as
SchemaDeclBase
;
1851
if (decl.Presence ==
SchemaDeclBase
.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
1956
SchemaDeclBase
decl = attdef as
SchemaDeclBase
;
1993
SchemaDeclBase
decl = _context.ElementDecl as
SchemaDeclBase
;
2136
if (attdef.Presence ==
SchemaDeclBase
.Use.Required || attdef.Presence ==
SchemaDeclBase
.Use.RequiredFixed)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (3)
737
SchemaDeclBase
decl = isAttn ? (
SchemaDeclBase
)attdef : (
SchemaDeclBase
)context.ElementDecl;