3 overrides of Items
System.Private.Xml (3)
System\Xml\Schema\XmlSchemaAll.cs (1)
14
public override XmlSchemaObjectCollection
Items
System\Xml\Schema\XmlSchemaChoice.cs (1)
18
public override XmlSchemaObjectCollection
Items
System\Xml\Schema\XmlSchemaSequence.cs (1)
17
public override XmlSchemaObjectCollection
Items
71 references to Items
System.Private.Xml (71)
System\Xml\Schema\Preprocessor.cs (2)
1053
count += CountGroupSelfReference(((XmlSchemaGroupBase)items[i]).
Items
, name, redefined);
1068
count = CountGroupSelfReference(group.Particle.
Items
, group.QualifiedName, group.Redefined);
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
425
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
1161
else if (groupBase is XmlSchemaChoice && groupBase.
Items
.Count == 0)
1176
for (int i = 0; i < groupBase!.
Items
.Count; ++i)
1178
groupRefBase.
Items
.Add((XmlSchemaParticle)groupBase.
Items
[i]);
1444
for (int i = 0; i < derivedGroupBase.
Items
.Count; ++i)
1446
if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.
Items
[i], baseAny))
1459
for (int i = 0; i < baseGroupBase.
Items
.Count; ++i)
1461
XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.
Items
[i];
1488
if (!IsValidOccurrenceRangeRestriction(derivedGroupBase, baseGroupBase) || derivedGroupBase.
Items
.Count > baseGroupBase.
Items
.Count)
1493
for (int i = 0; i < baseGroupBase.
Items
.Count; ++i)
1495
XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.
Items
[i];
1496
if ((count < derivedGroupBase.
Items
.Count) && IsValidRestriction((XmlSchemaParticle)derivedGroupBase.
Items
[count], baseParticle))
1505
if (count < derivedGroupBase.
Items
.Count)
1658
XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).
Items
;
2470
for (int i = 0; i < gb.
Items
.Count; ++i)
2480
DumpContentModelTo(sb, (XmlSchemaParticle)gb.
Items
[i]);
2524
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
2594
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
731
count += CountGroupSelfReference(((XmlSchemaGroupBase)items[i]).
Items
, name);
746
count = CountGroupSelfReference(group.Particle.
Items
, group.QualifiedName);
System\Xml\Schema\SchemaSetCompiler.cs (20)
440
for (int i = 0; i < groupBase.
Items
.Count; ++i)
442
CleanupParticle((XmlSchemaParticle)groupBase.
Items
[i]);
1302
else if (groupBase is XmlSchemaChoice && groupBase.
Items
.Count == 0)
1321
for (int i = 0; i < groupBase!.
Items
.Count; ++i)
1323
groupRefBase.
Items
.Add(groupBase.
Items
[i]);
1631
else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).
Items
.Count == 1))
1728
for (int i = 0; i < derivedGroupBase.
Items
.Count; ++i)
1730
if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.
Items
[i], baseAny))
1850
if (derivedGroupBase.
Items
.Count > baseGroupBase.
Items
.Count)
1856
for (int i = 0; i < baseGroupBase.
Items
.Count; ++i)
1858
XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.
Items
[i];
1859
if ((count < derivedGroupBase.
Items
.Count)
1860
&& IsValidRestriction((XmlSchemaParticle)derivedGroupBase.
Items
[count], baseParticle))
1871
if (count < derivedGroupBase.
Items
.Count)
2009
XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).
Items
;
2906
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
2976
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
2992
XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).
Items
;
System\Xml\Schema\XmlSchemaComplexType.cs (3)
463
XmlSchemaObjectCollection newGroupbaseParticles = CloneGroupBaseParticles(groupBase.
Items
, parentSchema);
517
while (i < groupBase.
Items
.Count && !foundRef)
519
XmlSchemaParticle p = (XmlSchemaParticle)groupBase.
Items
[i++];
System\Xml\Schema\XsdBuilder.cs (1)
2422
((XmlSchemaGroupBase)this.ParentContainer).
Items
.Add(particle);
System\Xml\Serialization\ImportContext.cs (1)
400
foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).
Items
)
System\Xml\Serialization\XmlSchemaExporter.cs (6)
663
if (choice.Items.Count > 0) group.
Items
.Add(choice);
810
group.
Items
.Add(any);
853
group.
Items
.Add(refElement);
858
group.
Items
.Add(element);
1065
if (seq.
Items
.Count > 0)
1085
if (textMapping is PrimitiveMapping && seq.
Items
.Count == 0)
System\Xml\Serialization\XmlSchemaImporter.cs (15)
935
for (int i = 0; i < group.
Items
.Count; i++)
937
object item = group.
Items
[i];
974
if (!groupRepeats && !(group is XmlSchemaChoice) && group.
Items
.Count > 1)
1033
if (GenerateOrder && groupRepeats && group.
Items
.Count > 1)
1039
for (int i = 0; i < group.
Items
.Count; i++)
1041
object item = group.
Items
[i];
1300
if (item.
Items
.Count != 1 || !(item.
Items
[0] is XmlSchemaElement)) return null;
1301
XmlSchemaElement itemElement = (XmlSchemaElement)item.
Items
[0];
1350
if ((items.Particle is XmlSchemaSequence || items.Particle is XmlSchemaAll) && items.Particle.
Items
.Count == 1 && items.Particle.
Items
[0] is XmlSchemaElement)
1352
XmlSchemaElement innerRefElement = (XmlSchemaElement)items.Particle.
Items
[0];
1376
if (group.
Items
.Count != 1 || !(group.
Items
[0] is XmlSchemaAny)) return null;
1377
XmlSchemaAny any = (XmlSchemaAny)group.
Items
[0];