Base:
property
Items
System.Xml.Schema.XmlSchemaGroupBase.Items
56 references to Items
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
880
return ((XmlSchemaChoice)pt).
Items
;
2674
XmlSchemaObjectCollection choiceItems = ((XmlSchemaChoice)el).
Items
;
System.Private.Xml (54)
System\Xml\Schema\Inference\Infer.cs (4)
1057
for (int i = 0; i < xsch.
Items
.Count; ++i)
1059
XmlSchemaElement? el = xsch.
Items
[i] as XmlSchemaElement;
1078
XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.
Items
, -1);
1177
xsc.
Items
.Add(CreateNewElementforChoice((XmlSchemaElement)xss.Items[i]));
System\Xml\Schema\Preprocessor.cs (1)
1942
items = ((XmlSchemaChoice)particle).
Items
;
System\Xml\Schema\SchemaCollectionCompiler.cs (20)
463
for (int j = 0; j < g.Choice.
Items
.Count; ++j)
465
substitutionGroup.Choice.
Items
.Add(g.Choice.
Items
[j]);
470
substitutionGroup.Choice.
Items
.Add(element);
473
substitutionGroup.Choice.
Items
.Add(examplar);
1057
if (choice != null && choice.
Items
.Count == 0)
1234
if (choice.
Items
.Count > 0)
1239
for (int i = 0; i < choice.
Items
.Count; ++i)
1241
XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)choice.
Items
[i], false, substitution);
1247
for (int j = 0; j < particleChoice.
Items
.Count; ++j)
1249
newChoice.
Items
.Add(particleChoice.
Items
[j]);
1254
newChoice.
Items
.Add(p1);
1260
if (!root && choice.
Items
.Count == 0)
1268
else if (!root && choice.
Items
.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One)
1270
return (XmlSchemaParticle)choice.
Items
[0];
1558
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.
Items
) < 0)
1624
if (((XmlSchemaChoice)particle).
Items
.Count == 0)
1633
for (int i = 0; i < choice.
Items
.Count; ++i)
1636
CalculateEffectiveTotalRange((XmlSchemaParticle)choice.
Items
[i], out min, out max);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1610
XmlSchemaObjectCollection choices = choice.
Items
;
System\Xml\Schema\SchemaSetCompiler.cs (21)
1186
if (choice != null && choice.
Items
.Count == 0)
1245
choice.
Items
.Add((XmlSchemaElement)substitutionGroup.Members[i]!);
1366
if (choice.
Items
.Count > 0)
1372
for (int i = 0; i < choice.
Items
.Count; ++i)
1374
XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)choice.
Items
[i], false);
1380
for (int j = 0; j < p1Choice.
Items
.Count; ++j)
1382
newChoice.
Items
.Add(p1Choice.
Items
[j]);
1387
newChoice.
Items
.Add(p1);
1393
if (!root && choice.
Items
.Count == 0)
1401
else if (!root && choice.
Items
.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One)
1403
return (XmlSchemaParticle)choice.
Items
[0];
1481
XmlSchemaObjectCollection items = xsc.
Items
;
1804
virtualChoice.
Items
.Add(derivedElement);
1833
for (int i = 0; i < derivedChoice.
Items
.Count; ++i)
1835
if (GetMappingParticle((XmlSchemaParticle)derivedChoice.
Items
[i], baseChoice.
Items
) < 0)
1932
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.
Items
) < 0)
1976
if (choice.
Items
.Count == 0)
1984
for (int i = 0; i < choice.
Items
.Count; ++i)
1987
CalculateEffectiveTotalRange((XmlSchemaParticle)choice.
Items
[i], out min, out max);
System\Xml\Schema\XsdBuilder.cs (1)
1327
builder._choice!.
Items
.Add(builder._element);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
112
if (c.
Items
.Count == 0)
114
return NameOf(c.
Items
);
1139
WriteSortedItems(o.
@Items
);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
663
if (choice.
Items
.Count > 0) group.Items.Add(choice);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1100
choice.
Items
.Add(elements[i]);
1102
choice.
Items
.Add(element);