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