3 overrides of Items
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAll.cs (1)
27public override XmlSchemaObjectCollection Items
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaChoice.cs (1)
31public override XmlSchemaObjectCollection Items
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSequence.cs (1)
30public override XmlSchemaObjectCollection Items
83 references to Items
dotnet-svcutil-lib (83)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1088count += CountGroupSelfReference(((XmlSchemaGroupBase)items[i]).Items, name, redefined); 1103count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName, group.Redefined);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (21)
414XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 1163else if (groupBase is XmlSchemaChoice && groupBase.Items.Count == 0) 1178for (int i = 0; i < groupBase.Items.Count; ++i) 1180groupRefBase.Items.Add((XmlSchemaParticle)groupBase.Items[i]); 1446for (int i = 0; i < derivedGroupBase.Items.Count; ++i) 1448if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[i], baseAny)) 1461for (int i = 0; i < baseGroupBase.Items.Count; ++i) 1463XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1490if (!IsValidOccurrenceRangeRestriction(derivedGroupBase, baseGroupBase) || derivedGroupBase.Items.Count > baseGroupBase.Items.Count) 1495for (int i = 0; i < baseGroupBase.Items.Count; ++i) 1497XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1498if ((count < derivedGroupBase.Items.Count) && IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[count], baseParticle)) 1507if (count < derivedGroupBase.Items.Count) 1660XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).Items; 2561for (int i = 0; i < gb.Items.Count; ++i) 2571DumpContentModelTo(sb, (XmlSchemaParticle)gb.Items[i]); 2617XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 2688XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
739count += CountGroupSelfReference(((XmlSchemaGroupBase)items[i]).Items, name); 754count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (22)
426for (int i = 0; i < groupBase.Items.Count; ++i) 428CleanupParticle((XmlSchemaParticle)groupBase.Items[i]); 1289else if (groupBase is XmlSchemaChoice && groupBase.Items.Count == 0) 1306for (int i = 0; i < groupBase.Items.Count; ++i) 1308groupRefBase.Items.Add(groupBase.Items[i]); 1615else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).Items.Count == 1)) 1712for (int i = 0; i < derivedGroupBase.Items.Count; ++i) 1714if (!IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[i], baseAny)) 1834if (derivedGroupBase.Items.Count > baseGroupBase.Items.Count) 1840for (int i = 0; i < baseGroupBase.Items.Count; ++i) 1842XmlSchemaParticle baseParticle = (XmlSchemaParticle)baseGroupBase.Items[i]; 1843if ((count < derivedGroupBase.Items.Count) 1844&& IsValidRestriction((XmlSchemaParticle)derivedGroupBase.Items[count], baseParticle)) 1857if (count < derivedGroupBase.Items.Count) 1995XmlSchemaObjectCollection collection = ((XmlSchemaGroupBase)particle).Items; 3004for (int i = 0; i < gb.Items.Count; ++i) 3014DumpContentModelTo(sb, (XmlSchemaParticle)gb.Items[i]); 3062XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 3133XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items; 3150XmlSchemaObjectCollection particles = ((XmlSchemaGroupBase)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (3)
550XmlSchemaObjectCollection newGroupbaseParticles = CloneGroupBaseParticles(groupBase.Items, parentSchema); 604while (i < groupBase.Items.Count && !foundRef) 606XmlSchemaParticle p = (XmlSchemaParticle)groupBase.Items[i++];
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2427((XmlSchemaGroupBase)this.ParentContainer).Items.Add(particle);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
485foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
289if (choice.Items.Count > 0) group.Items.Add(choice); 304group.Items.Add(element); 380if (seq.Items.Count > 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (7)
290if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaAny)) 413for (int i = 0; i < group.Items.Count; i++) 415object item = group.Items[i]; 534if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaElement)) 536XmlSchemaElement itemElement = (XmlSchemaElement)group.Items[0];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (6)
702if (choice.Items.Count > 0) group.Items.Add(choice); 851group.Items.Add(any); 894group.Items.Add(refElement); 899group.Items.Add(element); 1108if (seq.Items.Count > 0) 1128if (textMapping is PrimitiveMapping && seq.Items.Count == 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (15)
1038for (int i = 0; i < group.Items.Count; i++) 1040object item = group.Items[i]; 1078if (!groupRepeats && !(group is XmlSchemaChoice) && group.Items.Count > 1) 1138if (GenerateOrder && groupRepeats && group.Items.Count > 1) 1144for (int i = 0; i < group.Items.Count; i++) 1146object item = group.Items[i]; 1403if (item.Items.Count != 1 || !(item.Items[0] is XmlSchemaElement)) return null; 1404XmlSchemaElement itemElement = (XmlSchemaElement)item.Items[0]; 1453if ((items.Particle is XmlSchemaSequence || items.Particle is XmlSchemaAll) && items.Particle.Items.Count == 1 && items.Particle.Items[0] is XmlSchemaElement) 1455XmlSchemaElement innerRefElement = (XmlSchemaElement)items.Particle.Items[0]; 1478if (group.Items.Count != 1 || !(group.Items[0] is XmlSchemaAny)) return null; 1479XmlSchemaAny any = (XmlSchemaAny)group.Items[0];