Base:
property
Items
System.Xml.Schema.XmlSchemaGroupBase.Items
62 references to Items
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
753return ((XmlSchemaChoice)pt).Items; 2305XmlSchemaObjectCollection choiceItems = ((XmlSchemaChoice)el).Items;
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
205InvokeHandler(choice.Items[0], context);
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
3430global::System.Xml.Schema.XmlSchemaObjectCollection a = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items; 9337global::System.Xml.Schema.XmlSchemaObjectCollection a_6 = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items;
System.Xml (57)
System\Xml\Schema\Inference\Infer.cs (4)
1070for (int i = 0; i < xsch.Items.Count; ++i) 1072XmlSchemaElement el = xsch.Items[i] as XmlSchemaElement; 1091XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items,-1); 1190xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement) xss.Items[i]));
System\Xml\Schema\Preprocessor.cs (1)
1599items = ((XmlSchemaChoice)particle).Items;
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
361for (int j = 0; j < g.Choice.Items.Count; ++j) { 362substitutionGroup.Choice.Items.Add(g.Choice.Items[j]); 366substitutionGroup.Choice.Items.Add(element); 369substitutionGroup.Choice.Items.Add(examplar); 844if (choice != null && choice.Items.Count == 0) { 984if (choice.Items.Count > 0) { 988for (int i = 0; i < choice.Items.Count; ++i) { 989XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)choice.Items[i], false, substitution); 993for (int j = 0; j < particleChoice.Items.Count; ++j) { 994newChoice.Items.Add(particleChoice.Items[j]); 998newChoice.Items.Add(p1); 1004if (!root && choice.Items.Count == 0) { 1010else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) { 1011return (XmlSchemaParticle)choice.Items[0]; 1231if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.Items.Count > baseChoice.Items.Count) { 1235if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1289if (((XmlSchemaChoice)particle).Items.Count == 0) { 1296for (int i = 0; i < choice.Items.Count; ++i) { 1298CalculateEffectiveTotalRange((XmlSchemaParticle) choice.Items[i], out min, out max);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1287XmlSchemaObjectCollection choices = choice.Items;
System\Xml\Schema\SchemaSetCompiler.cs (22)
937if (choice != null && choice.Items.Count == 0) { 980choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]); 1072if (choice.Items.Count > 0) { 1077for (int i = 0; i < choice.Items.Count; ++i) { 1078XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)choice.Items[i], false); 1082for (int j = 0; j < p1Choice.Items.Count; ++j) { 1083newChoice.Items.Add(p1Choice.Items[j]); 1087newChoice.Items.Add(p1); 1093if (!root && choice.Items.Count == 0) { 1099else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) { 1100return (XmlSchemaParticle)choice.Items[0]; 1159XmlSchemaObjectCollection items = xsc.Items; 1427virtualChoice.Items.Add(derivedElement); 1451for (int i = 0; i < derivedChoice.Items.Count; ++i) { 1452if (GetMappingParticle((XmlSchemaParticle)derivedChoice.Items[i], baseChoice.Items) < 0) { 1524if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.Items.Count > baseChoice.Items.Count) { 1528if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1564if (choice.Items.Count == 0) { 1570for (int i = 0; i < choice.Items.Count; ++i) { 1572CalculateEffectiveTotalRange((XmlSchemaParticle)choice.Items[i], out min, out max);
System\Xml\Schema\XsdBuilder.cs (1)
1259builder.choice.Items.Add(builder.element);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
96if (c.Items.Count == 0) 98return NameOf(c.Items); 954WriteSortedItems(o.@Items);
System\Xml\Serialization\SoapSchemaExporter.cs (1)
251if (choice.Items.Count > 0) group.Items.Add(choice);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
602if (choice.Items.Count > 0) group.Items.Add(choice);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1038choice.Items.Add(elements[i]); 1040choice.Items.Add(element);