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