Base:
property
Items
System.Xml.Schema.XmlSchemaGroupBase.Items
58 references to Items
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
878return ((XmlSchemaChoice)pt).Items; 2661XmlSchemaObjectCollection choiceItems = ((XmlSchemaChoice)el).Items;
System.Private.Xml (54)
System\Xml\Schema\Inference\Infer.cs (4)
1057for (int i = 0; i < xsch.Items.Count; ++i) 1059XmlSchemaElement? el = xsch.Items[i] as XmlSchemaElement; 1078XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items, -1); 1177xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement)xss.Items[i]));
System\Xml\Schema\Preprocessor.cs (1)
1942items = ((XmlSchemaChoice)particle).Items;
System\Xml\Schema\SchemaCollectionCompiler.cs (20)
463for (int j = 0; j < g.Choice.Items.Count; ++j) 465substitutionGroup.Choice.Items.Add(g.Choice.Items[j]); 470substitutionGroup.Choice.Items.Add(element); 473substitutionGroup.Choice.Items.Add(examplar); 1057if (choice != null && choice.Items.Count == 0) 1234if (choice.Items.Count > 0) 1239for (int i = 0; i < choice.Items.Count; ++i) 1241XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)choice.Items[i], false, substitution); 1247for (int j = 0; j < particleChoice.Items.Count; ++j) 1249newChoice.Items.Add(particleChoice.Items[j]); 1254newChoice.Items.Add(p1); 1260if (!root && choice.Items.Count == 0) 1268else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) 1270return (XmlSchemaParticle)choice.Items[0]; 1558if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1624if (((XmlSchemaChoice)particle).Items.Count == 0) 1633for (int i = 0; i < choice.Items.Count; ++i) 1636CalculateEffectiveTotalRange((XmlSchemaParticle)choice.Items[i], out min, out max);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1610XmlSchemaObjectCollection choices = choice.Items;
System\Xml\Schema\SchemaSetCompiler.cs (21)
1186if (choice != null && choice.Items.Count == 0) 1245choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]!); 1366if (choice.Items.Count > 0) 1372for (int i = 0; i < choice.Items.Count; ++i) 1374XmlSchemaParticle p1 = CanonicalizeParticle((XmlSchemaParticle)choice.Items[i], false); 1380for (int j = 0; j < p1Choice.Items.Count; ++j) 1382newChoice.Items.Add(p1Choice.Items[j]); 1387newChoice.Items.Add(p1); 1393if (!root && choice.Items.Count == 0) 1401else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) 1403return (XmlSchemaParticle)choice.Items[0]; 1481XmlSchemaObjectCollection items = xsc.Items; 1804virtualChoice.Items.Add(derivedElement); 1833for (int i = 0; i < derivedChoice.Items.Count; ++i) 1835if (GetMappingParticle((XmlSchemaParticle)derivedChoice.Items[i], baseChoice.Items) < 0) 1932if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1976if (choice.Items.Count == 0) 1984for (int i = 0; i < choice.Items.Count; ++i) 1987CalculateEffectiveTotalRange((XmlSchemaParticle)choice.Items[i], out min, out max);
System\Xml\Schema\XsdBuilder.cs (1)
1327builder._choice!.Items.Add(builder._element);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
112if (c.Items.Count == 0) 114return NameOf(c.Items); 1139WriteSortedItems(o.@Items);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
663if (choice.Items.Count > 0) group.Items.Add(choice);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1070choice.Items.Add(elements[i]); 1072choice.Items.Add(element);
System.Web.Services.Description (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
4043global::System.Xml.Schema.XmlSchemaObjectCollection a = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items; 11484global::System.Xml.Schema.XmlSchemaObjectCollection a_6 = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items;