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