3 overrides of Items
System.Xml (3)
System\Xml\Schema\XmlSchemaAll.cs (1)
25public override XmlSchemaObjectCollection Items {
System\Xml\Schema\XmlSchemaChoice.cs (1)
29public override XmlSchemaObjectCollection Items {
System\Xml\Schema\XmlSchemaSequence.cs (1)
28public override XmlSchemaObjectCollection Items {
80 references to Items
System.Data (1)
fx\src\data\System\Data\DataSet.cs (1)
3596XmlSchemaObjectCollection items = ((XmlSchemaGroupBase)ct.Particle).Items;
System.Xml (79)
System\Xml\Schema\Preprocessor.cs (2)
903count += CountGroupSelfReference(((XmlSchemaGroupBase)items[i]).Items, name, redefined); 916count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName, group.Redefined);
System\Xml\Schema\SchemaCollectionCompiler.cs (19)
333XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 924else if (groupBase is XmlSchemaChoice && groupBase.Items.Count == 0) { 937for (int i = 0; i < groupBase.Items.Count; ++i) { 938groupRefBase.Items.Add((XmlSchemaParticle)groupBase.Items[i]); 1146for (int i = 0; i < derivedGroupBase.Items.Count; ++i) { 1147if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[i], baseAny)) { 1158for (int i = 0; i < baseGroupBase.Items.Count; ++i) { 1159XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1182if (!IsValidOccurrenceRangeRestriction(derivedGroupBase, baseGroupBase) || derivedGroupBase.Items.Count > baseGroupBase.Items.Count) { 1186for (int i = 0; i < baseGroupBase.Items.Count; ++i) { 1187XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1188if ((count < derivedGroupBase.Items.Count) && IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[count], baseParticle)) { 1195if (count < derivedGroupBase.Items.Count) { 1316XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).Items; 2072XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 2127XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
597count += CountGroupSelfReference(((XmlSchemaGroupBase) items[i]).Items, name); 610count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName);
System\Xml\Schema\SchemaSetCompiler.cs (20)
343for (int i = 0; i < groupBase.Items.Count; ++i) { 344CleanupParticle((XmlSchemaParticle)groupBase.Items[i]); 1022else if (groupBase is XmlSchemaChoice && groupBase.Items.Count == 0) { 1037for (int i = 0; i < groupBase.Items.Count; ++i) { 1038groupRefBase.Items.Add(groupBase.Items[i]); 1275else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).Items.Count ==1)) { 1357for (int i = 0; i < derivedGroupBase.Items.Count; ++i) { 1358if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[i], baseAny)) { 1464if (derivedGroupBase.Items.Count > baseGroupBase.Items.Count) { 1469for (int i = 0; i < baseGroupBase.Items.Count; ++i) { 1470XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1471if ((count < derivedGroupBase.Items.Count) 1472&& IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[count], baseParticle)) { 1482if (count < derivedGroupBase.Items.Count) { 1590XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).Items; 2429XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 2484XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 2497XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items;
System\Xml\Schema\XmlSchemaComplexType.cs (3)
474XmlSchemaObjectCollection newGroupbaseParticles = CloneGroupBaseParticles(groupBase.Items, parentSchema); 520while (i < groupBase.Items.Count && !foundRef) { 521XmlSchemaParticle p = (XmlSchemaParticle)groupBase.Items[i++];
System\Xml\Schema\XsdBuilder.cs (1)
2213((XmlSchemaGroupBase)this.ParentContainer).Items.Add(particle);
System\Xml\Serialization\ImportContext.cs (1)
406foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items) {
System\Xml\Serialization\SoapSchemaExporter.cs (3)
251if (choice.Items.Count > 0) group.Items.Add(choice); 265group.Items.Add(element); 329if (seq.Items.Count > 0) {
System\Xml\Serialization\SoapSchemaImporter.cs (7)
265if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaAny)) 368for (int i = 0; i < group.Items.Count; i++) { 369object item = group.Items[i]; 476if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaElement)) 478XmlSchemaElement itemElement = (XmlSchemaElement)group.Items[0];
System\Xml\Serialization\XmlSchemaExporter.cs (6)
602if (choice.Items.Count > 0) group.Items.Add(choice); 726group.Items.Add(any); 763group.Items.Add(refElement); 767group.Items.Add(element); 945if (seq.Items.Count > 0) { 960if (textMapping is PrimitiveMapping && seq.Items.Count == 0) {
System\Xml\Serialization\XmlSchemaImporter.cs (15)
905for (int i = 0; i < group.Items.Count; i++) { 906object item = group.Items[i]; 936if (!groupRepeats && !(group is XmlSchemaChoice) && group.Items.Count > 1) { 985if (GenerateOrder && groupRepeats && group.Items.Count > 1) { 989for (int i = 0; i < group.Items.Count; i++) { 990object item = group.Items[i]; 1217if (item.Items.Count != 1 || !(item.Items[0] is XmlSchemaElement)) return null; 1218XmlSchemaElement itemElement = (XmlSchemaElement)item.Items[0]; 1266if ((items.Particle is XmlSchemaSequence || items.Particle is XmlSchemaAll) && items.Particle.Items.Count == 1 && items.Particle.Items[0] is XmlSchemaElement) 1268XmlSchemaElement innerRefElement = (XmlSchemaElement)items.Particle.Items[0]; 1290if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaAny)) return null; 1291XmlSchemaAny any = (XmlSchemaAny)group.Items[0];