Base:
property
Items
System.Xml.Schema.XmlSchemaGroupBase.Items
166 references to Items
System.Data (8)
fx\src\data\System\Data\DataSet.cs (5)
3294
sequence.
Items
.Add(elem);
3296
sequence.
Items
.Add(any);
3304
sequence.
Items
.Add(any);
3310
sequence.
Items
.Add(any);
3536
XmlSchemaObjectCollection items = ((XmlSchemaSequence)ct.Particle).
Items
;
fx\src\data\System\Data\DataTable.cs (2)
5924
sequence.
Items
.Add(any);
5930
sequence.
Items
.Add(any);
fx\src\data\System\Data\XMLSchema.cs (1)
749
return ((XmlSchemaSequence)pt).
Items
;
System.Data.Services.Design (2)
System\Data\EntityModel\EntityClassGenerator.cs (2)
289
foreach (XmlSchemaObject item in sequence.
Items
)
300
sequence.
Items
.Remove(referentialConstraint);
System.Runtime.Serialization (35)
System\Runtime\Serialization\SchemaExporter.cs (9)
158
rootSequence.
Items
.Add(element);
392
keyValueSequence.
Items
.Add(keyValueElement);
405
rootSequence.
Items
.Add(element);
732
((XmlSchemaSequence)anyType.Particle).
Items
.Add(any);
745
((XmlSchemaSequence)anyElementType.Particle).
Items
.Add(any);
782
((XmlSchemaSequence)type.Particle).
Items
.Add(schemaRefElement);
784
((XmlSchemaSequence)type.Particle).
Items
.Add(any);
797
((XmlSchemaSequence)type.Particle).
Items
.Add(any);
856
iSerializableSequence.
Items
.Add(ISerializableWildcardElement);
System\Runtime\Serialization\SchemaImporter.cs (26)
570
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
572
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
573
if (rootSequence.
Items
.Count != 1)
576
XmlSchemaObject o = rootSequence.
Items
[0];
586
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
589
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
594
return (rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaAny);
689
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
690
for (int memberIndex = 0; memberIndex < rootSequence.
Items
.Count; memberIndex++)
692
XmlSchemaElement element = rootSequence.
Items
[memberIndex] as XmlSchemaElement;
784
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
787
XmlSchemaAny any = sequence.
Items
[0] as XmlSchemaAny;
806
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
809
XmlSchemaAny any = sequence.
Items
[0] as XmlSchemaAny;
869
if (rootSequence.
Items
== null || rootSequence.
Items
.Count < 1)
871
else if (rootSequence.
Items
.Count > 1)
874
XmlSchemaObject o = rootSequence.
Items
[0];
912
return (rootSequence == null || rootSequence.
Items
== null || rootSequence.
Items
.Count == 0);
1075
XmlSchemaElement element = (XmlSchemaElement)rootSequence.
Items
[0];
System.ServiceModel (14)
System\ServiceModel\Description\MessageContractExporter.cs (2)
181
bodySequence.
Items
.Add(anyElement);
401
sequence.
Items
.Add(element);
System\ServiceModel\Description\MessageContractImporter.cs (11)
669
if (rootSequence != null && rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaElement)
670
return CheckPart(((XmlSchemaElement)rootSequence.
Items
[0]).SchemaTypeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName);
694
if (rootSequence != null && rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaElement)
696
XmlSchemaElement element = (XmlSchemaElement)rootSequence.
Items
[0];
1613
for (int i = 0; i < rootSequence.
Items
.Count; i++)
1615
XmlSchemaElement element = rootSequence.
Items
[i] as XmlSchemaElement;
1664
MessagePartDescription[] parts = new MessagePartDescription[rootSequence.
Items
.Count];
1666
for (int i = 0; i < rootSequence.
Items
.Count; i++)
1668
XmlSchemaElement localElement = rootSequence.
Items
[i] as XmlSchemaElement;
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
102
sequence.
Items
.Add(element);
System.ServiceModel.Discovery (11)
System\ServiceModel\Discovery\SchemaUtility.cs (11)
303
resolveSequence.
Items
.Add(eprElement);
304
resolveSequence.
Items
.Add(any);
359
probeMatcheSequence.
Items
.Add(eprElement);
360
probeMatcheSequence.
Items
.Add(typesElement);
361
probeMatcheSequence.
Items
.Add(scopesElement);
362
probeMatcheSequence.
Items
.Add(xAddrsElement);
363
probeMatcheSequence.
Items
.Add(metadataVersionElement);
364
probeMatcheSequence.
Items
.Add(any);
405
probeTypeSequence.
Items
.Add(typesElement);
406
probeTypeSequence.
Items
.Add(scopesElement);
407
probeTypeSequence.
Items
.Add(any);
System.ServiceModel.Web (4)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (4)
281
foreach (XmlSchemaObject innerObject in sequence.
Items
)
425
foreach (XmlSchemaObject innerObject in sequence.
Items
)
778
if (sequence.
Items
.Count > 0)
780
XmlSchemaElement firstElement = sequence.
Items
[0] as XmlSchemaElement;
System.Web.Extensions (4)
Script\Services\WebServiceTypeData.cs (4)
126
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
128
if (rootSequence.
Items
.Count != 1)
131
XmlSchemaObject o = rootSequence.
Items
[0];
System.Web.Services (3)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
87
all.
Items
.Add(element);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
2125
global::System.Xml.Schema.XmlSchemaObjectCollection a = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.
@Items
;
9501
global::System.Xml.Schema.XmlSchemaObjectCollection a_6 = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.
@Items
;
System.Xml (85)
System\Xml\Schema\Inference\Infer.cs (19)
937
XmlSchemaElement subelement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema,((XmlSchemaSequence)ct.Particle).
Items
, -1);
946
XmlSchemaElement subelement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema,((XmlSchemaSequence)ct.Particle).
Items
, -1);
987
while (++lastUsedSeqItem < ((XmlSchemaSequence)ct.Particle).
Items
.Count)
989
if (((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem].GetType() != typeof (XmlSchemaElement))
991
XmlSchemaElement subElement = (XmlSchemaElement) ((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem];
1060
if (xss.
Items
.Count < 1 && !bCreatingNewType)
1063
XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
,-1);
1067
if (xss.
Items
[0].GetType() == typeof (XmlSchemaChoice))
1069
XmlSchemaChoice xsch = (XmlSchemaChoice) xss.
Items
[0];
1099
XmlSchemaParticle particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1127
while (iSeqItem < xss.
Items
.Count)
1129
particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1171
subElement = FindElement(xss.
Items
, xtr.LocalName);
1176
subElement = FindElementRef(xss.
Items
, xtr.LocalName, xtr.NamespaceURI);
1188
for (int i = 0; i < xss.
Items
.Count; ++i)
1190
xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement) xss.
Items
[i]));
1192
xss.
Items
.Clear();
1193
xss.
Items
.Add(xsc);
1198
subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
, ++lastUsedSeqItem);
System\Xml\Schema\Preprocessor.cs (1)
1612
items = ((XmlSchemaSequence)particle).
Items
;
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
760
compiledParticle.
Items
.Add(baseParticle);
761
compiledParticle.
Items
.Add(extendedParticle);
967
newSequence.
Items
.Add((XmlSchemaParticle)all.Items[0]);
1019
if (sequence.
Items
.Count > 0) {
1023
for (int i = 0; i < sequence.
Items
.Count; ++i) {
1024
XmlSchemaParticle p1 = CannonicalizeParticle(( XmlSchemaParticle)sequence.
Items
[i], false, substitution);
1028
for (int j = 0; j < particleSequence.
Items
.Count; ++j) {
1029
newSequence.
Items
.Add(particleSequence.
Items
[j]);
1033
newSequence.
Items
.Add(p1);
1039
if (sequence.
Items
.Count == 0) {
1042
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One) {
1043
return (XmlSchemaParticle)sequence.
Items
[0];
1202
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count) {
1206
for (int j = 0; j < derivedSequence.
Items
.Count; ++j) {
1207
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1231
if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.
Items
.Count > baseChoice.Items.Count) {
1234
for (int i = 0; i < derivedSequence.
Items
.Count; ++i) {
1235
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
1243
for (int i = 0; i < sequence.
Items
.Count; ++i) {
1244
XmlSchemaParticle p = (XmlSchemaParticle)sequence.
Items
[i];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1300
XmlSchemaObjectCollection sequences = ((XmlSchemaSequence) particle).
Items
;
System\Xml\Schema\SchemaSetCompiler.cs (22)
811
compiledParticle.
Items
.Add(baseParticle);
812
compiledParticle.
Items
.Add(extendedParticle);
1108
if (sequence.
Items
.Count > 0) {
1113
for (int i = 0; i < sequence.
Items
.Count; ++i) {
1114
XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)sequence.
Items
[i], false);
1118
for (int j = 0; j < p1Sequence.
Items
.Count; ++j) {
1119
newSequence.
Items
.Add(p1Sequence.
Items
[j]);
1123
newSequence.
Items
.Add(p1);
1129
if (sequence.
Items
.Count == 0) {
1132
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One) {
1133
return (XmlSchemaParticle)sequence.
Items
[0];
1150
XmlSchemaObjectCollection items = xss.
Items
;
1417
virtualSeq.
Items
.Add(derivedElement);
1489
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count) {
1493
for (int j = 0; j < derivedSequence.
Items
.Count; ++j) {
1494
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1517
minOccurs = derivedSequence.MinOccurs * derivedSequence.
Items
.Count;
1522
maxOccurs = derivedSequence.MaxOccurs * derivedSequence.
Items
.Count;
1524
if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.
Items
.Count > baseChoice.Items.Count) {
1527
for (int i = 0; i < derivedSequence.
Items
.Count; ++i) {
1528
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
71
seq.
Items
.Add(anyElement);
System\Xml\Schema\XsdBuilder.cs (1)
1262
builder.sequence.
Items
.Add(builder.element);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
84
if (s.
Items
.Count == 0)
86
return NameOf(s.
Items
[0]);
982
XmlSchemaObjectCollection a = (XmlSchemaObjectCollection)o.
@Items
;
System\Xml\Serialization\SoapSchemaImporter.cs (1)
132
seq.
Items
.Add(element);
System\Xml\Serialization\XmlSchemaExporter.cs (13)
132
if (sequence.
Items
.Count == 1 && sequence.
Items
[0] is XmlSchemaAny) {
133
XmlSchemaAny any = (XmlSchemaAny)sequence.
Items
[0];
165
seq.
Items
.Add(any);
208
seq.
Items
.Add(any);
405
seq.
Items
.Add(any);
435
seq.
Items
.Add(any);
466
seq.
Items
.Add(any);
490
seq.
Items
.Add(schemaElement);
491
seq.
Items
.Add(new XmlSchemaAny());
563
if (seq.
Items
.Count > 0) {
569
if (seq.
Items
[0] is XmlSchemaChoice) {
570
type.Particle = (XmlSchemaChoice)seq.
Items
[0];
System\Xml\Serialization\XmlSchemaImporter.cs (2)
191
seq.
Items
.Add(element);
261
seq.
Items
.Add(element);