273 references to Add
System.Data (9)
fx\src\data\System\Data\DataSet.cs (4)
3294
sequence.Items.
Add
(elem);
3296
sequence.Items.
Add
(any);
3304
sequence.Items.
Add
(any);
3310
sequence.Items.
Add
(any);
fx\src\data\System\Data\DataTable.cs (2)
5924
sequence.Items.
Add
(any);
5930
sequence.Items.
Add
(any);
fx\src\data\System\Data\XMLSchema.cs (3)
170
annotations.
Add
((XmlSchemaAnnotation)item);
174
elements.
Add
(elem);
759
Items.
Add
(pt);
System.Runtime.Serialization (25)
System\Runtime\Serialization\SchemaExporter.cs (23)
121
schema.Items.
Add
(topLevelElement);
129
schema.Items.
Add
(type);
158
rootSequence.Items.
Add
(element);
186
attributes.
Add
(IdAttribute);
187
attributes.
Add
(RefAttribute);
364
schema.Items.
Add
(type);
392
keyValueSequence.Items.
Add
(keyValueElement);
405
rootSequence.Items.
Add
(element);
426
schema.Items.
Add
(type);
439
restriction.Facets.
Add
(facet);
463
schema.Items.
Add
(type);
478
type.Attributes.
Add
(iSerializableFactoryTypeAttribute);
719
schema.Items.
Add
(defaultXmlType);
732
((XmlSchemaSequence)anyType.Particle).Items.
Add
(any);
745
((XmlSchemaSequence)anyElementType.Particle).Items.
Add
(any);
782
((XmlSchemaSequence)type.Particle).Items.
Add
(schemaRefElement);
784
((XmlSchemaSequence)type.Particle).Items.
Add
(any);
786
schema.Items.
Add
(type);
797
((XmlSchemaSequence)type.Particle).Items.
Add
(any);
800
schema.Items.
Add
(type);
811
annotation.Items.
Add
(appInfo);
831
annotation.Items.
Add
(appInfo);
856
iSerializableSequence.Items.
Add
(ISerializableWildcardElement);
System\Runtime\Serialization\SchemaHelper.cs (1)
183
schema.Includes.
Add
(import);
System\Runtime\Serialization\SchemaImporter.cs (1)
147
xsdSchema.Items.
Add
(element);
System.ServiceModel (15)
System\ServiceModel\Description\MessageContractExporter.cs (3)
181
bodySequence.Items.
Add
(anyElement);
333
xsd.Includes.
Add
(imp);
401
sequence.Items.
Add
(element);
System\ServiceModel\Description\SchemaHelper.cs (3)
31
schema.Items.
Add
(element);
54
schema.Includes.
Add
(import);
68
schema.Items.
Add
(type);
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (6)
85
innerExt.Attributes.
Add
(dAttr);
102
sequence.Items.
Add
(element);
118
outerType.Attributes.
Add
(nqAttr);
135
((XmlSchema)en.Current).Items.
Add
(outerType);
140
schema.Items.
Add
(outerType);
347
schema.Items.
Add
(outerType);
System\ServiceModel\EndpointAddress10.cs (1)
104
schemaToAdd.Items.
Add
(schemaObject);
System\ServiceModel\EndpointAddressAugust2004.cs (1)
103
schemaToAdd.Items.
Add
(schemaObject);
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
2020
importedSchema.Includes.
Add
(import);
System.ServiceModel.Discovery (27)
System\ServiceModel\Discovery\SchemaUtility.cs (27)
258
contentRestriction.Attributes.
Add
(instanceId);
259
contentRestriction.Attributes.
Add
(sequenceId);
260
contentRestriction.Attributes.
Add
(messageNumber);
263
schema.Items.
Add
(appSequenceType);
270
schema.Includes.
Add
(importElement);
280
schema.Items.
Add
(metadataVersionElement);
303
resolveSequence.Items.
Add
(eprElement);
304
resolveSequence.Items.
Add
(any);
315
schema.Items.
Add
(resolveType);
359
probeMatcheSequence.Items.
Add
(eprElement);
360
probeMatcheSequence.Items.
Add
(typesElement);
361
probeMatcheSequence.Items.
Add
(scopesElement);
362
probeMatcheSequence.Items.
Add
(xAddrsElement);
363
probeMatcheSequence.Items.
Add
(metadataVersionElement);
364
probeMatcheSequence.Items.
Add
(any);
375
schema.Items.
Add
(probeMatchType);
405
probeTypeSequence.Items.
Add
(typesElement);
406
probeTypeSequence.Items.
Add
(scopesElement);
407
probeTypeSequence.Items.
Add
(any);
418
schema.Items.
Add
(probeType);
434
schema.Items.
Add
(qNameListType);
472
schema.Items.
Add
(scopesElement);
499
scopesTypeContentExtension.Attributes.
Add
(matchBy);
508
schema.Items.
Add
(scopesType);
518
schema.Items.
Add
(typesElement);
534
schema.Items.
Add
(uriListType);
544
schema.Items.
Add
(xAddrsElement);
System.Web.Services (78)
System\Web\Services\Description\HttpProtocolReflector.cs (3)
87
all.Items.
Add
(element);
103
schema.Items.
Add
(type);
104
schema.Includes.
Add
(import);
System\Web\Services\Description\SchemaCompiler.cs (1)
43
schema.Includes.
Add
(newImport);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (72)
6879
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read12_XmlSchemaInclude(false, true));
6882
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read13_XmlSchemaImport(false, true));
6885
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read64_XmlSchemaRedefine(false, true));
6888
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read34_XmlSchemaSimpleType(false, true));
6891
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read62_XmlSchemaComplexType(false, true));
6894
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read11_XmlSchemaAnnotation(false, true));
6897
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read65_XmlSchemaNotation(false, true));
6900
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read63_XmlSchemaGroup(false, true));
6903
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read52_XmlSchemaElement(false, true));
6906
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read36_XmlSchemaAttribute(false, true));
6909
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read40_XmlSchemaAttributeGroup(false, true));
6981
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read36_XmlSchemaAttribute(false, true));
6984
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
7124
if ((object)(a_2) == null) Reader.Skip(); else a_2.
Add
(Read9_XmlSchemaDocumentation(false, true));
7127
if ((object)(a_2) == null) Reader.Skip(); else a_2.
Add
(Read10_XmlSchemaAppInfo(false, true));
7589
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read34_XmlSchemaSimpleType(false, true));
7666
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read20_XmlSchemaFractionDigitsFacet(false, true));
7669
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read21_XmlSchemaMinInclusiveFacet(false, true));
7672
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read22_XmlSchemaMaxLengthFacet(false, true));
7675
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read23_XmlSchemaLengthFacet(false, true));
7678
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read24_XmlSchemaTotalDigitsFacet(false, true));
7681
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read25_XmlSchemaPatternFacet(false, true));
7684
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read26_XmlSchemaEnumerationFacet(false, true));
7687
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read27_XmlSchemaMaxInclusiveFacet(false, true));
7690
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read28_XmlSchemaMaxExclusiveFacet(false, true));
7693
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read29_XmlSchemaWhiteSpaceFacet(false, true));
7696
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read30_XmlSchemaMinExclusiveFacet(false, true));
7699
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read31_XmlSchemaMinLengthFacet(false, true));
8803
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read49_XmlSchemaKey(false, true));
8806
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read50_XmlSchemaUnique(false, true));
8809
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read51_XmlSchemaKeyref(false, true));
8889
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
9033
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
9109
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
9221
if ((object)(a_11) == null) Reader.Skip(); else a_11.
Add
(Read36_XmlSchemaAttribute(false, true));
9224
if ((object)(a_11) == null) Reader.Skip(); else a_11.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
9304
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
9380
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read46_XmlSchemaAny(false, true));
9383
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read54_XmlSchemaChoice(false, true));
9386
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read53_XmlSchemaSequence(false, true));
9389
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
9392
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read44_XmlSchemaGroupRef(false, true));
9544
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
9547
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read53_XmlSchemaSequence(false, true));
9550
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read46_XmlSchemaAny(false, true));
9553
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read54_XmlSchemaChoice(false, true));
9556
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read44_XmlSchemaGroupRef(false, true));
9780
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
9783
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read36_XmlSchemaAttribute(false, true));
9864
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read21_XmlSchemaMinInclusiveFacet(false, true));
9867
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read28_XmlSchemaMaxExclusiveFacet(false, true));
9870
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read29_XmlSchemaWhiteSpaceFacet(false, true));
9873
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read31_XmlSchemaMinLengthFacet(false, true));
9876
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read25_XmlSchemaPatternFacet(false, true));
9879
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read26_XmlSchemaEnumerationFacet(false, true));
9882
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read27_XmlSchemaMaxInclusiveFacet(false, true));
9885
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read23_XmlSchemaLengthFacet(false, true));
9888
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read22_XmlSchemaMaxLengthFacet(false, true));
9891
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read30_XmlSchemaMinExclusiveFacet(false, true));
9894
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read24_XmlSchemaTotalDigitsFacet(false, true));
9897
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read20_XmlSchemaFractionDigitsFacet(false, true));
9900
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
9903
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read36_XmlSchemaAttribute(false, true));
10071
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
10074
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read36_XmlSchemaAttribute(false, true));
10166
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
10169
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read36_XmlSchemaAttribute(false, true));
10397
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read40_XmlSchemaAttributeGroup(false, true));
10400
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read62_XmlSchemaComplexType(false, true));
10403
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read34_XmlSchemaSimpleType(false, true));
10406
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read11_XmlSchemaAnnotation(false, true));
10409
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read63_XmlSchemaGroup(false, true));
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (2)
128
schema.Includes.
Add
(include);
138
schema.Includes.
Add
(import);
System.Xml (119)
System\Xml\Schema\Inference\Infer.cs (17)
338
addLocation.
Add
(attributeReference);
397
addLocation.
Add
(attributeReference);
409
xs.Items.
Add
(xsa);
443
addLocation.
Add
(xsa);
490
parentSchema.Includes.
Add
(import);
547
xs.Items.
Add
(xse);
560
xs.Items.
Add
(xse); //add global element declaration only when creating new schema
591
parentSchema.Includes.
Add
(import);
605
positionWithinCollection = addLocation.
Add
(xse);
622
positionWithinCollection = addLocation.
Add
(elementReference);
1125
minOccursCandidates.
Add
(el);
1160
minOccursCandidates.
Add
(el);
1190
xsc.Items.
Add
(CreateNewElementforChoice((XmlSchemaElement) xss.Items[i]));
1193
xss.Items.
Add
(xsc);
1279
attributesSeen.
Add
(xsa);
1298
ct.Attributes.
Add
(scExtension.Attributes[i]);
1314
simpleContentExtension.Attributes.
Add
(attr);
System\Xml\Schema\Preprocessor.cs (9)
376
tempSchema.Items.
Add
(lang);
381
tempSchema.Items.
Add
(xmlbase);
390
r.Facets.
Add
(space_default);
393
r.Facets.
Add
(space_preserve);
397
tempSchema.Items.
Add
(space);
403
attributeGroup.Attributes.
Add
(langRef);
406
attributeGroup.Attributes.
Add
(spaceRef);
409
attributeGroup.Attributes.
Add
(baseRef);
410
tempSchema.Items.
Add
(attributeGroup);
System\Xml\Schema\SchemaCollectionCompiler.cs (12)
362
substitutionGroup.Choice.Items.
Add
(g.Choice.Items[j]);
366
substitutionGroup.Choice.Items.
Add
(element);
369
substitutionGroup.Choice.Items.
Add
(examplar);
760
compiledParticle.Items.
Add
(baseParticle);
761
compiledParticle.Items.
Add
(extendedParticle);
938
groupRefBase.Items.
Add
((XmlSchemaParticle)groupBase.Items[i]);
955
newAll.Items.
Add
(p);
967
newSequence.Items.
Add
((XmlSchemaParticle)all.Items[0]);
994
newChoice.Items.
Add
(particleChoice.Items[j]);
998
newChoice.Items.
Add
(p1);
1029
newSequence.Items.
Add
(particleSequence.Items[j]);
1033
newSequence.Items.
Add
(p1);
System\Xml\Schema\SchemaSetCompiler.cs (12)
811
compiledParticle.Items.
Add
(baseParticle);
812
compiledParticle.Items.
Add
(extendedParticle);
980
choice.Items.
Add
((XmlSchemaElement)substitutionGroup.Members[i]);
1038
groupRefBase.Items.
Add
(groupBase.Items[i]);
1053
newAll.Items.
Add
(p);
1083
newChoice.Items.
Add
(p1Choice.Items[j]);
1087
newChoice.Items.
Add
(p1);
1119
newSequence.Items.
Add
(p1Sequence.Items[j]);
1123
newSequence.Items.
Add
(p1);
1417
virtualSeq.Items.
Add
(derivedElement);
1427
virtualChoice.Items.
Add
(derivedElement);
1437
virtualAll.Items.
Add
(derivedElement);
System\Xml\Schema\XmlSchema.cs (3)
570
that.Items.
Add
(newItem);
576
that.Includes.
Add
(newInclude);
598
items.
Add
(annotation);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
71
seq.Items.
Add
(anyElement);
System\Xml\Schema\XmlSchemaRedefine.cs (1)
72
items.
Add
(annotation);
System\Xml\Schema\XsdBuilder.cs (31)
1123
builder.schema.Includes.
Add
(builder.include);
1144
builder.schema.Includes.
Add
(builder.import);
1167
builder.schema.Includes.
Add
(builder.redefine);
1194
builder.schema.Items.
Add
(builder.attribute);
1253
builder.schema.Items.
Add
(builder.element);
1256
builder.all.Items.
Add
(builder.element);
1259
builder.choice.Items.
Add
(builder.element);
1262
builder.sequence.Items.
Add
(builder.element);
1335
builder.schema.Items.
Add
(builder.simpleType);
1338
builder.redefine.Items.
Add
(builder.simpleType);
1382
builder.simpleTypeUnion.BaseTypes.
Add
(builder.simpleType);
1481
builder.schema.Items.
Add
(builder.complexType);
1484
builder.redefine.Items.
Add
(builder.complexType);
1650
builder.schema.Items.
Add
(builder.attributeGroup);
1653
builder.redefine.Items.
Add
(builder.attributeGroup);
1754
builder.schema.Items.
Add
(builder.group);
1757
builder.redefine.Items.
Add
(builder.group);
1872
builder.schema.Items.
Add
(builder.notation);
1939
builder.simpleTypeRestriction.Facets.
Add
(builder.facet);
1945
builder.simpleContentRestriction.Facets.
Add
(builder.facet);
1996
builder.element.Constraints.
Add
(builder.identityConstraint);
2048
builder.identityConstraint.Fields.
Add
(builder.xpath);
2082
builder.annotation.Items.
Add
(builder.appInfo);
2103
builder.annotation.Items.
Add
(builder.documentation);
2140
this.complexType.Attributes.
Add
(value);
2146
this.simpleContentRestriction.Attributes.
Add
(value);
2152
this.simpleContentExtension.Attributes.
Add
(value);
2158
this.complexContentExtension.Attributes.
Add
(value);
2164
this.complexContentRestriction.Attributes.
Add
(value);
2170
this.attributeGroup.Attributes.
Add
(value);
2213
((XmlSchemaGroupBase)this.ParentContainer).Items.
Add
(particle);
System\Xml\Serialization\SoapSchemaExporter.cs (6)
113
schema.Items.
Add
(item);
127
schema.Includes.
Add
(import);
225
restriction.Attributes.
Add
(attr);
251
if (choice.Items.Count > 0) group.Items.
Add
(choice);
265
group.Items.
Add
(element);
366
restriction.Facets.
Add
(enumeration);
System\Xml\Serialization\SoapSchemaImporter.cs (1)
132
seq.Items.
Add
(element);
System\Xml\Serialization\Types.cs (1)
596
restriction.Facets.
Add
(facet);
System\Xml\Serialization\XmlSchemaExporter.cs (18)
165
seq.Items.
Add
(any);
208
seq.Items.
Add
(any);
291
schema.Items.
Add
(item);
306
schema.Includes.
Add
(import);
405
seq.Items.
Add
(any);
435
seq.Items.
Add
(any);
466
seq.Items.
Add
(any);
490
seq.Items.
Add
(schemaElement);
491
seq.Items.
Add
(new XmlSchemaAny());
602
if (choice.Items.Count > 0) group.Items.
Add
(choice);
633
attributes.
Add
(attribute);
670
attributes.
Add
(attribute);
683
attributes.
Add
(refAttribute);
726
group.Items.
Add
(any);
763
group.Items.
Add
(refElement);
767
group.Items.
Add
(element);
1024
restriction.Facets.
Add
(enumeration);
1052
annotation.Items.
Add
(appinfo);
System\Xml\Serialization\XmlSchemaImporter.cs (4)
191
seq.Items.
Add
(element);
261
seq.Items.
Add
(element);
1038
choice.Items.
Add
(elements[i]);
1040
choice.Items.
Add
(element);
System\Xml\Serialization\XmlSchemas.cs (3)
392
s.Includes.
Add
(import);
449
destination.Items.
Add
(schema.Items[i]);
716
schema.Items.
Add
(element);