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