22 writes to Presence
dotnet-svcutil-lib (22)
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\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\SchemaSetCompiler.cs (7)
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;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (4)
1715
pAttdef.
Presence
= SchemaDeclBase.Use.Fixed;
1717
pAttdef.
Presence
= SchemaDeclBase.Use.Required;
1721
pAttdef.
Presence
= SchemaDeclBase.Use.Default;
1725
pAttdef.
Presence
= SchemaDeclBase.Use.Implied;
22 references to Presence
dotnet-svcutil-lib (22)
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\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 (4)
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 (2)
1709
if (SchemaDeclBase.Use.Fixed != pAttdef.
Presence
)
1711
if (fRequired || SchemaDeclBase.Use.Required == pAttdef.
Presence
)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (5)
1347
if (contentValidator.ContentType == XmlSchemaContentType.Mixed && _context.ElementDecl.
Presence
== SchemaDeclBase.Use.Fixed)
1681
if (_context.IsNill && elementDecl.
Presence
== SchemaDeclBase.Use.Fixed)
1851
if (decl.
Presence
== SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
2136
if (attdef.
Presence
== SchemaDeclBase.Use.Required || attdef.
Presence
== SchemaDeclBase.Use.RequiredFixed)