Base:
property
Items
Microsoft.Xml.Schema.XmlSchemaGroupBase.Items
59 references to Items
dotnet-svcutil-lib (59)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (4)
1080for (int i = 0; i < xsch.Items.Count; ++i) 1082XmlSchemaElement el = xsch.Items[i] as XmlSchemaElement; 1101XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items, -1); 1200xsc.Items.Add(CreateNewElementforChoice((XmlSchemaElement)xss.Items[i]));
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
1976items = ((XmlSchemaChoice)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (21)
450for (int j = 0; j < g.Choice.Items.Count; ++j) 452substitutionGroup.Choice.Items.Add(g.Choice.Items[j]); 457substitutionGroup.Choice.Items.Add(element); 460substitutionGroup.Choice.Items.Add(examplar); 1059if (choice != null && choice.Items.Count == 0) 1236if (choice.Items.Count > 0) 1241for (int i = 0; i < choice.Items.Count; ++i) 1243XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)choice.Items[i], false, substitution); 1249for (int j = 0; j < particleChoice.Items.Count; ++j) 1251newChoice.Items.Add(particleChoice.Items[j]); 1256newChoice.Items.Add(p1); 1262if (!root && choice.Items.Count == 0) 1270else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) 1272return (XmlSchemaParticle)choice.Items[0]; 1554if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.Items.Count > baseChoice.Items.Count) 1560if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1626if (((XmlSchemaChoice)particle).Items.Count == 0) 1635for (int i = 0; i < choice.Items.Count; ++i) 1638CalculateEffectiveTotalRange((XmlSchemaParticle)choice.Items[i], out min, out max);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
1623XmlSchemaObjectCollection choices = choice.Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (22)
1179if (choice != null && choice.Items.Count == 0) 1237choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]); 1350if (choice.Items.Count > 0) 1356for (int i = 0; i < choice.Items.Count; ++i) 1358XmlSchemaParticle p1 = CannonicalizeParticle((XmlSchemaParticle)choice.Items[i], false); 1364for (int j = 0; j < p1Choice.Items.Count; ++j) 1366newChoice.Items.Add(p1Choice.Items[j]); 1371newChoice.Items.Add(p1); 1377if (!root && choice.Items.Count == 0) 1385else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.One && choice.MaxOccurs == decimal.One) 1387return (XmlSchemaParticle)choice.Items[0]; 1463XmlSchemaObjectCollection items = xsc.Items; 1788virtualChoice.Items.Add(derivedElement); 1817for (int i = 0; i < derivedChoice.Items.Count; ++i) 1819if (GetMappingParticle((XmlSchemaParticle)derivedChoice.Items[i], baseChoice.Items) < 0) 1912if (!IsValidOccurrenceRangeRestriction(minOccurs, maxOccurs, baseChoice.MinOccurs, baseChoice.MaxOccurs) || derivedSequence.Items.Count > baseChoice.Items.Count) 1918if (GetMappingParticle((XmlSchemaParticle)derivedSequence.Items[i], baseChoice.Items) < 0) 1962if (choice.Items.Count == 0) 1970for (int i = 0; i < choice.Items.Count; ++i) 1973CalculateEffectiveTotalRange((XmlSchemaParticle)choice.Items[i], out min, out max);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1334builder._choice.Items.Add(builder._element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (3)
114if (c.Items.Count == 0) 116return NameOf(c.Items); 1145WriteSortedItems(o.@Items);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
289if (choice.Items.Count > 0) group.Items.Add(choice);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
702if (choice.Items.Count > 0) group.Items.Add(choice);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1203choice.Items.Add(elements[i]); 1205choice.Items.Add(element);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
4325Microsoft.Xml.Schema.XmlSchemaObjectCollection a = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Items; 11547Microsoft.Xml.Schema.XmlSchemaObjectCollection a_6 = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Items;