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