144 references to Add
System.Data.Common (7)
System\Data\DataSet.cs (2)
3499
sequence.Items.
Add
(any);
3505
sequence.Items.
Add
(any);
System\Data\DataTable.cs (2)
6696
sequence.Items.
Add
(any);
6702
sequence.Items.
Add
(any);
System\Data\XMLSchema.cs (3)
187
_annotations!.
Add
((XmlSchemaAnnotation)item);
191
_elements!.
Add
(elem);
887
Items.
Add
(pt);
System.Private.DataContractSerialization (25)
System\Runtime\Serialization\SchemaExporter.cs (23)
113
schema.Items.
Add
(topLevelElement);
123
schema.Items.
Add
(type);
152
rootSequence.Items.
Add
(element);
180
attributes.
Add
(IdAttribute);
181
attributes.
Add
(RefAttribute);
365
schema.Items.
Add
(type);
393
keyValueSequence.Items.
Add
(keyValueElement);
406
rootSequence.Items.
Add
(element);
429
schema.Items.
Add
(type);
442
restriction.Facets.
Add
(facet);
468
schema.Items.
Add
(type);
483
type.Attributes.
Add
(iSerializableFactoryTypeAttribute);
717
schema.Items.
Add
(defaultXmlType);
730
((XmlSchemaSequence)anyType.Particle).Items.
Add
(any);
743
((XmlSchemaSequence)anyElementType.Particle).Items.
Add
(any);
780
((XmlSchemaSequence)type.Particle).Items.
Add
(schemaRefElement);
782
((XmlSchemaSequence)type.Particle).Items.
Add
(any);
784
schema.Items.
Add
(type);
795
((XmlSchemaSequence)type.Particle).Items.
Add
(any);
798
schema.Items.
Add
(type);
809
annotation.Items.
Add
(appInfo);
829
annotation.Items.
Add
(appInfo);
854
iSerializableSequence.Items.
Add
(ISerializableWildcardElement);
System\Runtime\Serialization\SchemaHelper.cs (1)
171
schema.Includes.
Add
(import);
System\Runtime\Serialization\SchemaImporter.cs (1)
145
xsdSchema.Items.
Add
(element);
System.Private.Xml (112)
System\Xml\Schema\Inference\Infer.cs (17)
318
addLocation.
Add
(attributeReference);
378
addLocation.
Add
(attributeReference);
390
xs.Items.
Add
(xsa);
424
addLocation.
Add
(xsa);
473
parentSchema.Includes.
Add
(import);
531
xs!.Items.
Add
(xse);
543
xs.Items.
Add
(xse); //add global element declaration only when creating new schema
574
parentSchema.Includes.
Add
(import);
588
addLocation.
Add
(xse);
605
addLocation.
Add
(elementReference);
1112
minOccursCandidates.
Add
(el);
1147
minOccursCandidates.
Add
(el);
1177
xsc.Items.
Add
(CreateNewElementforChoice((XmlSchemaElement)xss.Items[i]));
1180
xss.Items.
Add
(xsc);
1266
attributesSeen.
Add
(xsa);
1286
ct.Attributes.
Add
(scExtension.Attributes[i]);
1306
simpleContentExtension.Attributes.
Add
(attr!);
System\Xml\Schema\Preprocessor.cs (9)
432
tempSchema.Items.
Add
(lang);
437
tempSchema.Items.
Add
(xmlbase);
446
r.Facets.
Add
(space_default);
449
r.Facets.
Add
(space_preserve);
453
tempSchema.Items.
Add
(space);
459
attributeGroup.Attributes.
Add
(langRef);
462
attributeGroup.Attributes.
Add
(spaceRef);
465
attributeGroup.Attributes.
Add
(baseRef);
466
tempSchema.Items.
Add
(attributeGroup);
System\Xml\Schema\SchemaCollectionCompiler.cs (12)
465
substitutionGroup.Choice.Items.
Add
(g.Choice.Items[j]);
470
substitutionGroup.Choice.Items.
Add
(element);
473
substitutionGroup.Choice.Items.
Add
(examplar);
964
compiledParticle.Items.
Add
(baseParticle);
965
compiledParticle.Items.
Add
(extendedParticle);
1178
groupRefBase.Items.
Add
((XmlSchemaParticle)groupBase.Items[i]);
1199
newAll.Items.
Add
(p);
1213
newSequence.Items.
Add
((XmlSchemaParticle)all.Items[0]);
1249
newChoice.Items.
Add
(particleChoice.Items[j]);
1254
newChoice.Items.
Add
(p1);
1295
newSequence.Items.
Add
(particleSequence.Items[j]);
1300
newSequence.Items.
Add
(p1);
System\Xml\Schema\SchemaSetCompiler.cs (12)
1040
compiledParticle.Items.
Add
(baseParticle);
1041
compiledParticle.Items.
Add
(extendedParticle);
1245
choice.Items.
Add
((XmlSchemaElement)substitutionGroup.Members[i]!);
1323
groupRefBase.Items.
Add
(groupBase.Items[i]);
1343
newAll.Items.
Add
(p);
1382
newChoice.Items.
Add
(p1Choice.Items[j]);
1387
newChoice.Items.
Add
(p1);
1429
newSequence.Items.
Add
(p1Sequence.Items[j]);
1434
newSequence.Items.
Add
(p1);
1792
virtualSeq.Items.
Add
(derivedElement);
1804
virtualChoice.Items.
Add
(derivedElement);
1816
virtualAll.Items.
Add
(derivedElement);
System\Xml\Schema\XmlSchema.cs (3)
484
that.Items.
Add
(newItem);
491
that.Includes.
Add
(newInclude);
518
_items.
Add
(annotation);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
66
seq.Items.
Add
(anyElement);
System\Xml\Schema\XmlSchemaRedefine.cs (1)
50
_items.
Add
(annotation);
System\Xml\Schema\XsdBuilder.cs (31)
1172
builder._schema.Includes.
Add
(builder._include);
1196
builder._schema.Includes.
Add
(builder._import);
1223
builder._schema.Includes.
Add
(builder._redefine);
1253
builder._schema.Items.
Add
(builder._attribute);
1321
builder._schema.Items.
Add
(builder._element);
1324
builder._all!.Items.
Add
(builder._element);
1327
builder._choice!.Items.
Add
(builder._element);
1330
builder._sequence!.Items.
Add
(builder._element);
1418
builder._schema.Items.
Add
(builder._simpleType);
1421
builder._redefine!.Items.
Add
(builder._simpleType);
1472
builder._simpleTypeUnion!.BaseTypes.
Add
(builder._simpleType);
1588
builder._schema.Items.
Add
(builder._complexType);
1591
builder._redefine!.Items.
Add
(builder._complexType);
1782
builder._schema.Items.
Add
(builder._attributeGroup);
1785
builder._redefine!.Items.
Add
(builder._attributeGroup);
1902
builder._schema.Items.
Add
(builder._group);
1905
builder._redefine!.Items.
Add
(builder._group);
2032
builder._schema.Items.
Add
(builder._notation);
2105
builder._simpleTypeRestriction!.Facets.
Add
(builder._facet!);
2113
builder._simpleContentRestriction.Facets.
Add
(builder._facet!);
2169
builder._element.Constraints.
Add
(builder._identityConstraint!);
2231
builder._identityConstraint.Fields.
Add
(builder._xpath);
2269
builder._annotation!.Items.
Add
(builder._appInfo);
2293
builder._annotation!.Items.
Add
(builder._documentation);
2338
_complexType.Attributes.
Add
(value);
2345
_simpleContentRestriction.Attributes.
Add
(value);
2352
_simpleContentExtension.Attributes.
Add
(value);
2359
_complexContentExtension.Attributes.
Add
(value);
2366
_complexContentRestriction.Attributes.
Add
(value);
2373
_attributeGroup.Attributes.
Add
(value);
2422
((XmlSchemaGroupBase)this.ParentContainer).Items.
Add
(particle);
System\Xml\Serialization\Types.cs (1)
647
restriction.Facets.
Add
(facet);
System\Xml\Serialization\XmlSchemaExporter.cs (18)
160
seq.Items.
Add
(any);
206
seq.Items.
Add
(any);
296
schema.Items.
Add
(item);
310
schema.Includes.
Add
(import);
428
seq.Items.
Add
(any);
464
seq.Items.
Add
(any);
500
seq.Items.
Add
(any);
527
seq.Items.
Add
(schemaElement);
528
seq.Items.
Add
(new XmlSchemaAny());
663
if (choice.Items.Count > 0) group.Items.
Add
(choice);
697
attributes.
Add
(attribute);
743
attributes.
Add
(attribute);
758
attributes.
Add
(refAttribute);
810
group.Items.
Add
(any);
853
group.Items.
Add
(refElement);
858
group.Items.
Add
(element);
1163
restriction.Facets.
Add
(enumeration);
1195
annotation.Items.
Add
(appinfo);
System\Xml\Serialization\XmlSchemaImporter.cs (4)
159
seq.Items.
Add
(element);
234
seq.Items.
Add
(element);
1100
choice.Items.
Add
(elements[i]);
1102
choice.Items.
Add
(element);
System\Xml\Serialization\XmlSchemas.cs (3)
357
s.Includes.
Add
(import);
430
destination.Items.
Add
(schema.Items[i]);
742
schema.Items.
Add
(element);