76 references to Items
dotnet-svcutil-lib (76)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
404xsa = FindAttribute(xs.Items, localName); 411xs.Items.Add(xsa); 549xs.Items.Add(xse); 561xs.Items.Add(xse); //add global element declaration only when creating new schema 1357xse = FindElement(schema.Items, localName);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (6)
450tempSchema.Items.Add(lang); 455tempSchema.Items.Add(xmlbase); 471tempSchema.Items.Add(space); 484tempSchema.Items.Add(attributeGroup); 754XmlSchemaObjectCollection schemaItems = schema.Items; 813schema.Items.Remove(removeItemsList[i]);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (7)
145for (int i = 0; i < schema.Items.Count; ++i) 147object item = schema.Items[i]; 159else if ((attrgroup = schema.Items[i] as XmlSchemaAttributeGroup) != null) 163else if ((complextype = schema.Items[i] as XmlSchemaComplexType) != null) 167else if ((simpletype = schema.Items[i] as XmlSchemaSimpleType) != null) 171else if ((element = schema.Items[i] as XmlSchemaElement) != null) 175else if ((group = schema.Items[i] as XmlSchemaGroup) != null)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (19)
536for (int i = 0; i < schema.Items.Count; ++i) 538SetParent(schema.Items[i], schema); 539XmlSchemaAttribute attribute = schema.Items[i] as XmlSchemaAttribute; 545else if (schema.Items[i] is XmlSchemaAttributeGroup) 547XmlSchemaAttributeGroup attributeGroup = (XmlSchemaAttributeGroup)schema.Items[i]; 551else if (schema.Items[i] is XmlSchemaComplexType) 553XmlSchemaComplexType complexType = (XmlSchemaComplexType)schema.Items[i]; 557else if (schema.Items[i] is XmlSchemaSimpleType) 559XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)schema.Items[i]; 563else if (schema.Items[i] is XmlSchemaElement) 565XmlSchemaElement element = (XmlSchemaElement)schema.Items[i]; 569else if (schema.Items[i] is XmlSchemaGroup) 571XmlSchemaGroup group = (XmlSchemaGroup)schema.Items[i]; 575else if (schema.Items[i] is XmlSchemaNotation) 577XmlSchemaNotation notation = (XmlSchemaNotation)schema.Items[i]; 581else if (!(schema.Items[i] is XmlSchemaAnnotation)) 583SendValidationEvent(ResXml.Sch_InvalidCollection, schema.Items[i]); 584removeItemsList.Add(schema.Items[i]); 589schema.Items.Remove(removeItemsList[i]);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (1)
635that.Items.Add(newItem);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (7)
1260builder._schema.Items.Add(builder._attribute); 1328builder._schema.Items.Add(builder._element); 1425builder._schema.Items.Add(builder._simpleType); 1593builder._schema.Items.Add(builder._complexType); 1787builder._schema.Items.Add(builder._attributeGroup); 1907builder._schema.Items.Add(builder._group); 2037builder._schema.Items.Add(builder._notation);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (2)
285_items += s.Items.Count; 286foreach (XmlSchemaObject item in s.Items)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
103foreach (XmlSchemaObject o in schema.Items) 127schema.Items.Add(item); 152return schema.Items.Contains(item);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (5)
169XmlSchemaType schemaType = FindSchemaType(name, schema.Items); 215XmlSchemaType schemaType = FindSchemaType(name, schema.Items); 284foreach (XmlSchemaObject o in schema.Items) 329schema.Items.Add(item); 364return schema.Items.Contains(item);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1177for (int j = 0; j < schema.Items.Count; j++) 1179object item = schema.Items[j];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (10)
409foreach (XmlSchemaObject o in schema.Items) 512bool[] matchedItems = new bool[schema.Items.Count]; 514for (int i = 0; i < schema.Items.Count; i++) 516XmlSchemaObject o = schema.Items[i]; 531if (count != schema.Items.Count) 534for (int i = 0; i < schema.Items.Count; i++) 538destination.Items.Add(schema.Items[i]); 713foreach (XmlSchemaObject item in s.Items) 866schema.Items.Add(element);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaHelper.cs (2)
85foreach (XmlSchemaObject schemaObject in schema.Items) 109foreach (XmlSchemaObject schemaObject in schema.Items)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
146xsdSchema.Items.Add(element); 612foreach (XmlSchemaObject schemaObject in serializationSchema.Items)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
856if (xsd.Items.Count > 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (2)
32schema.Items.Add(element); 69schema.Items.Add(type);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
2377Microsoft.Xml.Schema.XmlSchemaObjectCollection a = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Items; 8494Microsoft.Xml.Schema.XmlSchemaObjectCollection a_8 = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Items;