115 references to Items
System.Data (2)
fx\src\data\System\Data\DataSet.cs (1)
3638foreach (XmlSchemaObject item in schema.Items) {
fx\src\data\System\Data\XMLSchema.cs (1)
168foreach(object item in schema.Items) {
System.Runtime.Serialization (18)
System\Runtime\Serialization\SchemaExporter.cs (12)
121schema.Items.Add(topLevelElement); 129schema.Items.Add(type); 364schema.Items.Add(type); 426schema.Items.Add(type); 463schema.Items.Add(type); 556XmlSchemaObject[] itemArray = new XmlSchemaObject[schema.Items.Count]; 557schema.Items.CopyTo(itemArray, 0); 588schema.Items.Remove(item); 673foreach (XmlSchemaObject schemaItem in schema.Items) 719schema.Items.Add(defaultXmlType); 786schema.Items.Add(type); 800schema.Items.Add(type);
System\Runtime\Serialization\SchemaHelper.cs (4)
51foreach (XmlSchemaObject schemaObj in schema.Items) 104foreach (XmlSchemaObject schemaObj in schema.Items) 191foreach (XmlSchemaObject schemaObject in schema.Items) 215foreach (XmlSchemaObject schemaObject in schema.Items)
System\Runtime\Serialization\SchemaImporter.cs (2)
147xsdSchema.Items.Add(element); 613foreach (XmlSchemaObject schemaObject in serializationSchema.Items)
System.ServiceModel (10)
System\ServiceModel\Description\MessageContractImporter.cs (1)
868if (xsd.Items.Count > 0)
System\ServiceModel\Description\SchemaHelper.cs (2)
31schema.Items.Add(element); 68schema.Items.Add(type);
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (3)
135((XmlSchema)en.Current).Items.Add(outerType); 140schema.Items.Add(outerType); 347schema.Items.Add(outerType);
System\ServiceModel\EndpointAddress10.cs (2)
103foreach (XmlSchemaObject schemaObject in eprSchema.Items) 104schemaToAdd.Items.Add(schemaObject);
System\ServiceModel\EndpointAddressAugust2004.cs (2)
102foreach (XmlSchemaObject schemaObject in eprSchema.Items) 103schemaToAdd.Items.Add(schemaObject);
System.ServiceModel.Discovery (11)
System\ServiceModel\Discovery\SchemaUtility.cs (11)
263schema.Items.Add(appSequenceType); 280schema.Items.Add(metadataVersionElement); 315schema.Items.Add(resolveType); 375schema.Items.Add(probeMatchType); 418schema.Items.Add(probeType); 434schema.Items.Add(qNameListType); 472schema.Items.Add(scopesElement); 508schema.Items.Add(scopesType); 518schema.Items.Add(typesElement); 534schema.Items.Add(uriListType); 544schema.Items.Add(xAddrsElement);
System.Web.Extensions (3)
Compilation\WCFModel\SchemaMerger.cs (2)
119schema.Items.Remove(item); 145foreach (XmlSchemaObject item in schema.Items)
Script\Services\WebServiceTypeData.cs (1)
210foreach (XmlSchemaObject schemaObj in schema.Items) {
System.Web.Services (4)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
103schema.Items.Add(type);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
1862global::System.Xml.Schema.XmlSchemaObjectCollection a = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items; 6822global::System.Xml.Schema.XmlSchemaObjectCollection a_8 = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Items;
System\Web\Services\Description\WebServicesInteroperability.cs (1)
310foreach (XmlSchemaObject o in schema.Items) {
System.Xml (67)
System\Xml\Schema\Inference\Infer.cs (5)
402xsa = FindAttribute(xs.Items, localName); 409xs.Items.Add(xsa); 547xs.Items.Add(xse); 560xs.Items.Add(xse); //add global element declaration only when creating new schema 1343xse = FindElement(schema.Items, localName);
System\Xml\Schema\Preprocessor.cs (6)
376tempSchema.Items.Add(lang); 381tempSchema.Items.Add(xmlbase); 397tempSchema.Items.Add(space); 410tempSchema.Items.Add(attributeGroup); 636XmlSchemaObjectCollection schemaItems = schema.Items; 684schema.Items.Remove(removeItemsList[i]);
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
121for (int i = 0; i < schema.Items.Count; ++i) { 122object item = schema.Items[i]; 133else if ((attrgroup = schema.Items[i] as XmlSchemaAttributeGroup) != null) { 136else if ((complextype = schema.Items[i] as XmlSchemaComplexType) != null) { 139else if ((simpletype = schema.Items[i] as XmlSchemaSimpleType) != null) { 142else if ((element = schema.Items[i] as XmlSchemaElement) != null) { 145else if ((group = schema.Items[i] as XmlSchemaGroup) != null) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (19)
439for (int i = 0; i < schema.Items.Count; ++i) { 440SetParent(schema.Items[i], schema); 441XmlSchemaAttribute attribute = schema.Items[i] as XmlSchemaAttribute; 446else if (schema.Items[i] is XmlSchemaAttributeGroup) { 447XmlSchemaAttributeGroup attributeGroup = (XmlSchemaAttributeGroup)schema.Items[i]; 451else if (schema.Items[i] is XmlSchemaComplexType) { 452XmlSchemaComplexType complexType = (XmlSchemaComplexType)schema.Items[i]; 456else if (schema.Items[i] is XmlSchemaSimpleType) { 457XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)schema.Items[i]; 461else if (schema.Items[i] is XmlSchemaElement) { 462XmlSchemaElement element = (XmlSchemaElement)schema.Items[i]; 466else if (schema.Items[i] is XmlSchemaGroup) { 467XmlSchemaGroup group = (XmlSchemaGroup)schema.Items[i]; 471else if (schema.Items[i] is XmlSchemaNotation) { 472XmlSchemaNotation notation = (XmlSchemaNotation)schema.Items[i]; 476else if(!(schema.Items[i] is XmlSchemaAnnotation)) { 477SendValidationEvent(Res.Sch_InvalidCollection, schema.Items[i]); 478removeItemsList.Add(schema.Items[i]); 482schema.Items.Remove(removeItemsList[i]);
System\Xml\Schema\XmlSchema.cs (1)
570that.Items.Add(newItem);
System\Xml\Schema\XsdBuilder.cs (7)
1194builder.schema.Items.Add(builder.attribute); 1253builder.schema.Items.Add(builder.element); 1335builder.schema.Items.Add(builder.simpleType); 1481builder.schema.Items.Add(builder.complexType); 1650builder.schema.Items.Add(builder.attributeGroup); 1754builder.schema.Items.Add(builder.group); 1872builder.schema.Items.Add(builder.notation);
System\Xml\Serialization\ImportContext.cs (2)
243items += s.Items.Count; 244foreach (XmlSchemaObject item in s.Items) {
System\Xml\Serialization\SoapSchemaExporter.cs (3)
92foreach (XmlSchemaObject o in schema.Items) { 113schema.Items.Add(item); 134return schema.Items.Contains(item);
System\Xml\Serialization\XmlSchemaExporter.cs (5)
148XmlSchemaType schemaType = FindSchemaType(name, schema.Items); 190XmlSchemaType schemaType = FindSchemaType(name, schema.Items); 251foreach (XmlSchemaObject o in schema.Items) { 291schema.Items.Add(item); 321return schema.Items.Contains(item);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1016for (int j = 0; j < schema.Items.Count; j++) { 1017object item = schema.Items[j];
System\Xml\Serialization\XmlSchemas.cs (10)
350foreach (XmlSchemaObject o in schema.Items) { 429bool[] matchedItems = new bool[schema.Items.Count]; 431for (int i = 0; i < schema.Items.Count; i++) { 432XmlSchemaObject o = schema.Items[i]; 445if (count != schema.Items.Count) { 447for (int i = 0; i < schema.Items.Count; i++) { 449destination.Items.Add(schema.Items[i]); 590foreach(XmlSchemaObject item in s.Items) { 716schema.Items.Add(element);