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