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