197 references to Add
dotnet-svcutil-lib (197)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (17)
340
addLocation.
Add
(attributeReference);
399
addLocation.
Add
(attributeReference);
411
xs.Items.
Add
(xsa);
445
addLocation.
Add
(xsa);
492
parentSchema.Includes.
Add
(import);
549
xs.Items.
Add
(xse);
561
xs.Items.
Add
(xse); //add global element declaration only when creating new schema
592
parentSchema.Includes.
Add
(import);
606
positionWithinCollection = addLocation.
Add
(xse);
623
positionWithinCollection = addLocation.
Add
(elementReference);
1135
minOccursCandidates.
Add
(el);
1170
minOccursCandidates.
Add
(el);
1200
xsc.Items.
Add
(CreateNewElementforChoice((XmlSchemaElement)xss.Items[i]));
1203
xss.Items.
Add
(xsc);
1289
attributesSeen.
Add
(xsa);
1309
ct.Attributes.
Add
(scExtension.Attributes[i]);
1329
simpleContentExtension.Attributes.
Add
(attr);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (9)
450
tempSchema.Items.
Add
(lang);
455
tempSchema.Items.
Add
(xmlbase);
464
r.Facets.
Add
(space_default);
467
r.Facets.
Add
(space_preserve);
471
tempSchema.Items.
Add
(space);
477
attributeGroup.Attributes.
Add
(langRef);
480
attributeGroup.Attributes.
Add
(spaceRef);
483
attributeGroup.Attributes.
Add
(baseRef);
484
tempSchema.Items.
Add
(attributeGroup);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (12)
452
substitutionGroup.Choice.Items.
Add
(g.Choice.Items[j]);
457
substitutionGroup.Choice.Items.
Add
(element);
460
substitutionGroup.Choice.Items.
Add
(examplar);
955
compiledParticle.Items.
Add
(baseParticle);
956
compiledParticle.Items.
Add
(extendedParticle);
1180
groupRefBase.Items.
Add
((XmlSchemaParticle)groupBase.Items[i]);
1201
newAll.Items.
Add
(p);
1215
newSequence.Items.
Add
((XmlSchemaParticle)all.Items[0]);
1251
newChoice.Items.
Add
(particleChoice.Items[j]);
1256
newChoice.Items.
Add
(p1);
1297
newSequence.Items.
Add
(particleSequence.Items[j]);
1302
newSequence.Items.
Add
(p1);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (12)
1024
compiledParticle.Items.
Add
(baseParticle);
1025
compiledParticle.Items.
Add
(extendedParticle);
1237
choice.Items.
Add
((XmlSchemaElement)substitutionGroup.Members[i]);
1308
groupRefBase.Items.
Add
(groupBase.Items[i]);
1327
newAll.Items.
Add
(p);
1366
newChoice.Items.
Add
(p1Choice.Items[j]);
1371
newChoice.Items.
Add
(p1);
1413
newSequence.Items.
Add
(p1Sequence.Items[j]);
1418
newSequence.Items.
Add
(p1);
1776
virtualSeq.Items.
Add
(derivedElement);
1788
virtualChoice.Items.
Add
(derivedElement);
1800
virtualAll.Items.
Add
(derivedElement);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (3)
635
that.Items.
Add
(newItem);
642
that.Includes.
Add
(newInclude);
668
_items.
Add
(annotation);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
74
seq.Items.
Add
(anyElement);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaRedefine.cs (1)
80
_items.
Add
(annotation);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (31)
1179
builder._schema.Includes.
Add
(builder._include);
1203
builder._schema.Includes.
Add
(builder._import);
1230
builder._schema.Includes.
Add
(builder._redefine);
1260
builder._schema.Items.
Add
(builder._attribute);
1328
builder._schema.Items.
Add
(builder._element);
1331
builder._all.Items.
Add
(builder._element);
1334
builder._choice.Items.
Add
(builder._element);
1337
builder._sequence.Items.
Add
(builder._element);
1425
builder._schema.Items.
Add
(builder._simpleType);
1428
builder._redefine.Items.
Add
(builder._simpleType);
1479
builder._simpleTypeUnion.BaseTypes.
Add
(builder._simpleType);
1593
builder._schema.Items.
Add
(builder._complexType);
1596
builder._redefine.Items.
Add
(builder._complexType);
1787
builder._schema.Items.
Add
(builder._attributeGroup);
1790
builder._redefine.Items.
Add
(builder._attributeGroup);
1907
builder._schema.Items.
Add
(builder._group);
1910
builder._redefine.Items.
Add
(builder._group);
2037
builder._schema.Items.
Add
(builder._notation);
2110
builder._simpleTypeRestriction.Facets.
Add
(builder._facet);
2118
builder._simpleContentRestriction.Facets.
Add
(builder._facet);
2174
builder._element.Constraints.
Add
(builder._identityConstraint);
2236
builder._identityConstraint.Fields.
Add
(builder._xpath);
2274
builder._annotation.Items.
Add
(builder._appInfo);
2298
builder._annotation.Items.
Add
(builder._documentation);
2343
_complexType.Attributes.
Add
(value);
2350
_simpleContentRestriction.Attributes.
Add
(value);
2357
_simpleContentExtension.Attributes.
Add
(value);
2364
_complexContentExtension.Attributes.
Add
(value);
2371
_complexContentRestriction.Attributes.
Add
(value);
2378
_attributeGroup.Attributes.
Add
(value);
2427
((XmlSchemaGroupBase)this.ParentContainer).Items.
Add
(particle);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (6)
127
schema.Items.
Add
(item);
143
schema.Includes.
Add
(import);
259
restriction.Attributes.
Add
(attr);
289
if (choice.Items.Count > 0) group.Items.
Add
(choice);
304
group.Items.
Add
(element);
425
restriction.Facets.
Add
(enumeration);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
135
seq.Items.
Add
(element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
672
restriction.Facets.
Add
(facet);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (18)
186
seq.Items.
Add
(any);
233
seq.Items.
Add
(any);
329
schema.Items.
Add
(item);
347
schema.Includes.
Add
(import);
467
seq.Items.
Add
(any);
503
seq.Items.
Add
(any);
539
seq.Items.
Add
(any);
566
seq.Items.
Add
(schemaElement);
567
seq.Items.
Add
(new XmlSchemaAny());
702
if (choice.Items.Count > 0) group.Items.
Add
(choice);
736
attributes.
Add
(attribute);
783
attributes.
Add
(attribute);
798
attributes.
Add
(refAttribute);
851
group.Items.
Add
(any);
894
group.Items.
Add
(refElement);
899
group.Items.
Add
(element);
1206
restriction.Facets.
Add
(enumeration);
1238
annotation.Items.
Add
(appinfo);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (4)
208
seq.Items.
Add
(element);
285
seq.Items.
Add
(element);
1203
choice.Items.
Add
(elements[i]);
1205
choice.Items.
Add
(element);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (3)
464
s.Includes.
Add
(import);
538
destination.Items.
Add
(schema.Items[i]);
866
schema.Items.
Add
(element);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
95
((XmlSchemaSequence)anyElementType.Particle).Items.
Add
(any);
108
((XmlSchemaSequence)anyType.Particle).Items.
Add
(any);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
146
xsdSchema.Items.
Add
(element);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (3)
32
schema.Items.
Add
(element);
55
schema.Includes.
Add
(import);
69
schema.Items.
Add
(type);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (72)
8565
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read12_XmlSchemaInclude(false, true));
8569
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read13_XmlSchemaImport(false, true));
8573
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read64_XmlSchemaRedefine(false, true));
8577
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read34_XmlSchemaSimpleType(false, true));
8581
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read62_XmlSchemaComplexType(false, true));
8585
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read11_XmlSchemaAnnotation(false, true));
8589
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read65_XmlSchemaNotation(false, true));
8593
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read63_XmlSchemaGroup(false, true));
8597
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read52_XmlSchemaElement(false, true));
8601
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read36_XmlSchemaAttribute(false, true));
8605
if ((object)(a_8) == null) Reader.Skip(); else a_8.
Add
(Read40_XmlSchemaAttributeGroup(false, true));
8692
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read36_XmlSchemaAttribute(false, true));
8696
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
8865
if ((object)(a_2) == null) Reader.Skip(); else a_2.
Add
(Read9_XmlSchemaDocumentation(false, true));
8869
if ((object)(a_2) == null) Reader.Skip(); else a_2.
Add
(Read10_XmlSchemaAppInfo(false, true));
9427
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read34_XmlSchemaSimpleType(false, true));
9520
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read20_XmlSchemaFractionDigitsFacet(false, true));
9524
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read21_XmlSchemaMinInclusiveFacet(false, true));
9528
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read22_XmlSchemaMaxLengthFacet(false, true));
9532
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read23_XmlSchemaLengthFacet(false, true));
9536
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read24_XmlSchemaTotalDigitsFacet(false, true));
9540
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read25_XmlSchemaPatternFacet(false, true));
9544
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read26_XmlSchemaEnumerationFacet(false, true));
9548
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read27_XmlSchemaMaxInclusiveFacet(false, true));
9552
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read28_XmlSchemaMaxExclusiveFacet(false, true));
9556
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read29_XmlSchemaWhiteSpaceFacet(false, true));
9560
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read30_XmlSchemaMinExclusiveFacet(false, true));
9564
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read31_XmlSchemaMinLengthFacet(false, true));
10900
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read49_XmlSchemaKey(false, true));
10904
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read50_XmlSchemaUnique(false, true));
10908
if ((object)(a_18) == null) Reader.Skip(); else a_18.
Add
(Read51_XmlSchemaKeyref(false, true));
11005
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
11179
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
11271
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read47_XmlSchemaXPath(false, true));
11408
if ((object)(a_11) == null) Reader.Skip(); else a_11.
Add
(Read36_XmlSchemaAttribute(false, true));
11412
if ((object)(a_11) == null) Reader.Skip(); else a_11.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
11509
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
11601
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read46_XmlSchemaAny(false, true));
11605
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read54_XmlSchemaChoice(false, true));
11609
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read53_XmlSchemaSequence(false, true));
11613
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
11617
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read44_XmlSchemaGroupRef(false, true));
11801
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read52_XmlSchemaElement(false, true));
11805
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read53_XmlSchemaSequence(false, true));
11809
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read46_XmlSchemaAny(false, true));
11813
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read54_XmlSchemaChoice(false, true));
11817
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read44_XmlSchemaGroupRef(false, true));
12088
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
12092
if ((object)(a_5) == null) Reader.Skip(); else a_5.
Add
(Read36_XmlSchemaAttribute(false, true));
12190
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read21_XmlSchemaMinInclusiveFacet(false, true));
12194
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read28_XmlSchemaMaxExclusiveFacet(false, true));
12198
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read29_XmlSchemaWhiteSpaceFacet(false, true));
12202
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read31_XmlSchemaMinLengthFacet(false, true));
12206
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read25_XmlSchemaPatternFacet(false, true));
12210
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read26_XmlSchemaEnumerationFacet(false, true));
12214
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read27_XmlSchemaMaxInclusiveFacet(false, true));
12218
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read23_XmlSchemaLengthFacet(false, true));
12222
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read22_XmlSchemaMaxLengthFacet(false, true));
12226
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read30_XmlSchemaMinExclusiveFacet(false, true));
12230
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read24_XmlSchemaTotalDigitsFacet(false, true));
12234
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read20_XmlSchemaFractionDigitsFacet(false, true));
12238
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
12242
if ((object)(a_7) == null) Reader.Skip(); else a_7.
Add
(Read36_XmlSchemaAttribute(false, true));
12446
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
12450
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read36_XmlSchemaAttribute(false, true));
12562
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read37_XmlSchemaAttributeGroupRef(false, true));
12566
if ((object)(a_6) == null) Reader.Skip(); else a_6.
Add
(Read36_XmlSchemaAttribute(false, true));
12842
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read40_XmlSchemaAttributeGroup(false, true));
12846
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read62_XmlSchemaComplexType(false, true));
12850
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read34_XmlSchemaSimpleType(false, true));
12854
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read11_XmlSchemaAnnotation(false, true));
12858
if ((object)(a_4) == null) Reader.Skip(); else a_4.
Add
(Read63_XmlSchemaGroup(false, true));