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