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