Base:
property
Items
Microsoft.Xml.Schema.XmlSchemaGroupBase.Items
127 references to Items
dotnet-svcutil-lib (127)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (19)
939
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).
Items
, -1);
948
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).
Items
, -1);
988
while (++lastUsedSeqItem < ((XmlSchemaSequence)ct.Particle).
Items
.Count)
990
if (((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem].GetType() != typeof(XmlSchemaElement))
992
XmlSchemaElement subElement = (XmlSchemaElement)((XmlSchemaSequence)ct.Particle).
Items
[lastUsedSeqItem];
1070
if (xss.
Items
.Count < 1 && !bCreatingNewType)
1073
XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
, -1);
1077
if (xss.
Items
[0].GetType() == typeof(XmlSchemaChoice))
1079
XmlSchemaChoice xsch = (XmlSchemaChoice)xss.
Items
[0];
1109
XmlSchemaParticle particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1137
while (iSeqItem < xss.
Items
.Count)
1139
particle = xss.
Items
[iSeqItem] as XmlSchemaParticle;
1181
subElement = FindElement(xss.
Items
, xtr.LocalName);
1186
subElement = FindElementRef(xss.
Items
, xtr.LocalName, xtr.NamespaceURI);
1198
for (int i = 0; i < xss.
Items
.Count; ++i)
1200
xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement)xss.
Items
[i]));
1202
xss.
Items
.Clear();
1203
xss.
Items
.Add(xsc);
1208
subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.
Items
, ++lastUsedSeqItem);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
1993
items = ((XmlSchemaSequence)particle).
Items
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (21)
955
compiledParticle.
Items
.Add(baseParticle);
956
compiledParticle.
Items
.Add(extendedParticle);
1215
newSequence.
Items
.Add((XmlSchemaParticle)all.Items[0]);
1282
if (sequence.
Items
.Count > 0)
1287
for (int i = 0; i < sequence.
Items
.Count; ++i)
1289
XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)sequence.
Items
[i], false, substitution);
1295
for (int j = 0; j < particleSequence.
Items
.Count; ++j)
1297
newSequence.
Items
.Add(particleSequence.
Items
[j]);
1302
newSequence.
Items
.Add(p1);
1308
if (sequence.
Items
.Count == 0)
1312
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One)
1314
return (XmlSchemaParticle)sequence.
Items
[0];
1516
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count)
1521
for (int j = 0; j < derivedSequence.
Items
.Count; ++j)
1523
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1554
if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.
Items
.Count > baseChoice.Items.Count)
1558
for (int i = 0; i < derivedSequence.
Items
.Count; ++i)
1560
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
1569
for (int i = 0; i < sequence.
Items
.Count; ++i)
1571
XmlSchemaParticle p = (XmlSchemaParticle)sequence.
Items
[i];
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
1640
XmlSchemaObjectCollection sequences = ((XmlSchemaSequence)particle).
Items
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (22)
1024
compiledParticle.
Items
.Add(baseParticle);
1025
compiledParticle.
Items
.Add(extendedParticle);
1397
if (sequence.
Items
.Count > 0)
1403
for (int i = 0; i < sequence.
Items
.Count; ++i)
1405
XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)sequence.
Items
[i], false);
1411
for (int j = 0; j < p1Sequence.
Items
.Count; ++j)
1413
newSequence.
Items
.Add(p1Sequence.
Items
[j]);
1418
newSequence.
Items
.Add(p1);
1424
if (sequence.
Items
.Count == 0)
1428
else if (!root && sequence.
Items
.Count == 1 && sequence.MinOccurs == decimal.One && sequence.MaxOccurs == decimal.One)
1430
return (XmlSchemaParticle)sequence.
Items
[0];
1451
XmlSchemaObjectCollection items = xss.
Items
;
1776
virtualSeq.
Items
.Add(derivedElement);
1866
if (!IsValidOccurrenceRangeRestriction(derivedSequence, baseAll) || derivedSequence.
Items
.Count > baseAll.Items.Count)
1871
for (int j = 0; j < derivedSequence.
Items
.Count; ++j)
1873
int i = GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[j], baseAll.Items);
1903
minOccurs = derivedSequence.MinOccurs * derivedSequence.
Items
.Count;
1910
maxOccurs = derivedSequence.MaxOccurs * derivedSequence.
Items
.Count;
1912
if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.
Items
.Count > baseChoice.Items.Count)
1916
for (int i = 0; i < derivedSequence.
Items
.Count; ++i)
1918
if (GetMappingParticle((XmlSchemaParticle)derivedSequence.
Items
[i], baseChoice.Items) < 0)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
74
seq.
Items
.Add(anyElement);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1337
builder._sequence.
Items
.Add(builder._element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (3)
100
if (s.
Items
.Count == 0)
102
return NameOf(s.
Items
[0]);
1175
XmlSchemaObjectCollection a = (XmlSchemaObjectCollection)o.
@Items
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
135
seq.
Items
.Add(element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (14)
149
if (sequence.
Items
.Count == 1 && sequence.
Items
[0] is XmlSchemaAny)
151
XmlSchemaAny any = (XmlSchemaAny)sequence.
Items
[0];
186
seq.
Items
.Add(any);
233
seq.
Items
.Add(any);
467
seq.
Items
.Add(any);
503
seq.
Items
.Add(any);
539
seq.
Items
.Add(any);
566
seq.
Items
.Add(schemaElement);
567
seq.
Items
.Add(new XmlSchemaAny());
653
if (seq.
Items
.Count > 0)
657
if (seq.
Items
.Count != 1)
660
if (seq.
Items
[0] is XmlSchemaChoice)
662
type.Particle = (XmlSchemaChoice)seq.
Items
[0];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
208
seq.
Items
.Add(element);
285
seq.
Items
.Add(element);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
95
((XmlSchemaSequence)anyElementType.Particle).
Items
.Add(any);
108
((XmlSchemaSequence)anyType.Particle).
Items
.Add(any);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (26)
569
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
571
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
572
if (rootSequence.
Items
.Count != 1)
575
XmlSchemaObject o = rootSequence.
Items
[0];
585
if (rootSequence.
Items
== null || rootSequence.
Items
.Count == 0)
588
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
593
return (rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaAny);
688
RemoveOptionalUnknownSerializationElements(rootSequence.
Items
);
689
for (int memberIndex = 0; memberIndex < rootSequence.
Items
.Count; memberIndex++)
691
XmlSchemaElement element = rootSequence.
Items
[memberIndex] as XmlSchemaElement;
778
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
781
XmlSchemaAny any = sequence.
Items
[0] as XmlSchemaAny;
800
if (sequence.
Items
== null || sequence.
Items
.Count != 1)
803
XmlSchemaAny any = sequence.
Items
[0] as XmlSchemaAny;
863
if (rootSequence.
Items
== null || rootSequence.
Items
.Count < 1)
865
else if (rootSequence.
Items
.Count > 1)
868
XmlSchemaObject o = rootSequence.
Items
[0];
906
return (rootSequence == null || rootSequence.
Items
== null || rootSequence.
Items
.Count == 0);
1069
XmlSchemaElement element = (XmlSchemaElement)rootSequence.
Items
[0];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (11)
658
if (rootSequence != null && rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaElement)
659
return CheckPart(((XmlSchemaElement)rootSequence.
Items
[0]).SchemaTypeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName);
683
if (rootSequence != null && rootSequence.
Items
.Count == 1 && rootSequence.
Items
[0] is XmlSchemaElement)
685
XmlSchemaElement element = (XmlSchemaElement)rootSequence.
Items
[0];
1601
for (int i = 0; i < rootSequence.
Items
.Count; i++)
1603
XmlSchemaElement element = rootSequence.
Items
[i] as XmlSchemaElement;
1652
MessagePartDescription[] parts = new MessagePartDescription[rootSequence.
Items
.Count];
1654
for (int i = 0; i < rootSequence.
Items
.Count; i++)
1656
XmlSchemaElement localElement = rootSequence.
Items
[i] as XmlSchemaElement;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
2710
Microsoft.Xml.Schema.XmlSchemaObjectCollection a = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.
@Items
;
11747
Microsoft.Xml.Schema.XmlSchemaObjectCollection a_6 = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.
@Items
;