Base:
property
Items
System.Xml.Schema.XmlSchemaGroupBase.Items
123 references to Items
System.Data.Common (5)
System\Data\DataSet.cs (2)
3499
sequence.
Items
.Add(any);
3505
sequence.
Items
.Add(any);
System\Data\DataTable.cs (2)
6696
sequence.
Items
.Add(any);
6702
sequence.
Items
.Add(any);
System\Data\XMLSchema.cs (1)
876
return ((XmlSchemaSequence)pt).
Items
;
System.Private.DataContractSerialization (35)
System\Runtime\Serialization\SchemaExporter.cs (9)
152
rootSequence.
Items
.Add(element);
393
keyValueSequence.
Items
.Add(keyValueElement);
406
rootSequence.
Items
.Add(element);
730
((XmlSchemaSequence)anyType.Particle).
Items
.Add(any);
743
((XmlSchemaSequence)anyElementType.Particle).
Items
.Add(any);
780
((XmlSchemaSequence)type.Particle).
Items
.Add(schemaRefElement);
782
((XmlSchemaSequence)type.Particle).
Items
.Add(any);
795
((XmlSchemaSequence)type.Particle).
Items
.Add(any);
854
iSerializableSequence.
Items
.Add(ISerializableWildcardElement);
System\Runtime\Serialization\SchemaImporter.cs (26)
566
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
568
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
569
if (rootSequence.
Items
.Count != 1)
572
XmlSchemaObject o = rootSequence.
Items
[0];
581
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
584
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
589
return (rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaAny);
681
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
682
for (int memberIndex = 0; memberIndex < rootSequence.
Items
.Count; memberIndex++)
684
XmlSchemaElement? element = rootSequence.
Items
[memberIndex] as XmlSchemaElement;
762
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
765
XmlSchemaAny? any = sequence.
Items
[0] as XmlSchemaAny;
785
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
788
XmlSchemaAny? any = sequence.
Items
[0] as XmlSchemaAny;
851
if (rootSequence.
Items
== null || rootSequence.
Items
.Count < 1)
853
else if (rootSequence.
Items
.Count > 1)
856
XmlSchemaObject o = rootSequence.
Items
[0];
894
return (rootSequence == null || rootSequence.
Items
== null || rootSequence.
Items
.Count == 0);
1058
XmlSchemaElement element = (XmlSchemaElement)rootSequence.
Items
[0];
System.Private.Xml (83)
System\Xml\Schema\Inference\Infer.cs (19)
921
AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).
Items
, -1);
930
AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).
Items
, -1);
969
while (++lastUsedSeqItem < ((XmlSchemaSequence)ct!.Particle!).
Items
.Count)
971
if (((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem].GetType() != typeof(XmlSchemaElement))
973
XmlSchemaElement subElement = (XmlSchemaElement)((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem];
1047
if (xss.
Items
.Count < 1 && !bCreatingNewType)
1050
XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
, -1);
1054
if (xss.
Items
[0].GetType() == typeof(XmlSchemaChoice))
1056
XmlSchemaChoice xsch = (XmlSchemaChoice)xss.
Items
[0];
1086
XmlSchemaParticle? particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1114
while (iSeqItem < xss.
Items
.Count)
1116
particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1158
subElement = FindElement(xss.
Items
, xtr.LocalName);
1163
subElement = FindElementRef(xss.
Items
, xtr.LocalName, xtr.NamespaceURI);
1175
for (int i = 0; i < xss.
Items
.Count; ++i)
1177
xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement)xss.
Items
[i]));
1179
xss.
Items
.Clear();
1180
xss.
Items
.Add(xsc);
1185
subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
, ++lastUsedSeqItem);
System\Xml\Schema\Preprocessor.cs (1)
1959
items = ((XmlSchemaSequence)particle).
Items
;
System\Xml\Schema\SchemaCollectionCompiler.cs (20)
964
compiledParticle.
Items
.Add(baseParticle);
965
compiledParticle.
Items
.Add(extendedParticle);
1213
newSequence.
Items
.Add((XmlSchemaParticle)all.Items[0]);
1280
if (sequence.
Items
.Count > 0)
1285
for (int i = 0; i < sequence.
Items
.Count; ++i)
1287
XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)sequence.
Items
[i], false, substitution);
1293
for (int j = 0; j < particleSequence.
Items
.Count; ++j)
1295
newSequence.
Items
.Add(particleSequence.
Items
[j]);
1300
newSequence.
Items
.Add(p1);
1306
if (sequence.
Items
.Count == 0)
1310
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One)
1312
return (XmlSchemaParticle)sequence.
Items
[0];
1514
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count)
1519
for (int j = 0; j < derivedSequence.
Items
.Count; ++j)
1521
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1556
for (int i = 0; i < derivedSequence.
Items
.Count; ++i)
1558
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
1567
for (int i = 0; i < sequence.
Items
.Count; ++i)
1569
XmlSchemaParticle p = (XmlSchemaParticle)sequence.
Items
[i];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1627
XmlSchemaObjectCollection sequences = ((XmlSchemaSequence)particle).
Items
;
System\Xml\Schema\SchemaSetCompiler.cs (21)
1040
compiledParticle.
Items
.Add(baseParticle);
1041
compiledParticle.
Items
.Add(extendedParticle);
1413
if (sequence.
Items
.Count > 0)
1419
for (int i = 0; i < sequence.
Items
.Count; ++i)
1421
XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)sequence.
Items
[i], false);
1427
for (int j = 0; j < p1Sequence.
Items
.Count; ++j)
1429
newSequence.
Items
.Add(p1Sequence.
Items
[j]);
1434
newSequence.
Items
.Add(p1);
1440
if (sequence.
Items
.Count == 0)
1444
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One)
1446
return (XmlSchemaParticle)sequence.
Items
[0];
1469
XmlSchemaObjectCollection items = xss.
Items
;
1792
virtualSeq.
Items
.Add(derivedElement);
1880
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count)
1885
for (int j = 0; j < derivedSequence.
Items
.Count; ++j)
1887
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1917
minOccurs = derivedSequence.MinOccurs * derivedSequence.
Items
.Count;
1924
maxOccurs = derivedSequence.MaxOccurs * derivedSequence.
Items
.Count;
1930
for (int i = 0; i < derivedSequence.
Items
.Count; ++i)
1932
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
66
seq.
Items
.Add(anyElement);
System\Xml\Schema\XsdBuilder.cs (1)
1330
builder._sequence!.
Items
.Add(builder._element);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
100
if (s.
Items
.Count == 0)
102
return NameOf(s.
Items
[0]);
1169
XmlSchemaObjectCollection a = (XmlSchemaObjectCollection)o.
@Items
;
System\Xml\Serialization\XmlSchemaExporter.cs (14)
124
if (sequence.
Items
.Count == 1 && sequence.
Items
[0] is XmlSchemaAny)
126
XmlSchemaAny any = (XmlSchemaAny)sequence.
Items
[0];
160
seq.
Items
.Add(any);
206
seq.
Items
.Add(any);
428
seq.
Items
.Add(any);
464
seq.
Items
.Add(any);
500
seq.
Items
.Add(any);
527
seq.
Items
.Add(schemaElement);
528
seq.
Items
.Add(new XmlSchemaAny());
614
if (seq.
Items
.Count > 0)
618
if (seq.
Items
.Count != 1)
621
if (seq.
Items
[0] is XmlSchemaChoice)
623
type.Particle = (XmlSchemaChoice)seq.
Items
[0];
System\Xml\Serialization\XmlSchemaImporter.cs (2)
159
seq.
Items
.Add(element);
234
seq.
Items
.Add(element);