1 write to _schemas
System.Private.Xml (1)
System\Xml\Schema\XmlSchemaSet.cs (1)
80
_schemas
= new SortedList();
33 references to _schemas
System.Private.Xml (33)
System\Xml\Schema\XmlSchemaSet.cs (33)
172
return
_schemas
.Count;
330
if (
_schemas
.ContainsKey(schema.SchemaId) || FindSchemaByNSAndUrl(schema.BaseUri, tns, null) != null)
346
_schemas
.Remove(schema!.SchemaId); //Might remove schema that was already there and was not added thru this operation
371
if (
_schemas
.ContainsKey(schema.SchemaId))
389
if (!
_schemas
.ContainsKey(schemaToRemove.SchemaId))
396
if (
_schemas
.ContainsKey(schemaToRemove.SchemaId))
414
for (int i = 0; i <
_schemas
.Count; i++)
416
XmlSchema mainSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
465
return
_schemas
.ContainsValue(schema);
474
if (
_schemas
.Count == 0)
499
for (schemaIndex = 0; schemaIndex <
_schemas
.Count; schemaIndex++)
501
currentSchema = (XmlSchema)
_schemas
.GetByIndex(schemaIndex)!;
541
if (schemaIndex ==
_schemas
.Count)
547
currentSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
572
if (!
_schemas
.ContainsKey(schema.SchemaId))
629
if (!
_schemas
.ContainsKey(s.SchemaId))
631
_schemas
.Add(s.SchemaId, s);
659
_schemas
.Values.CopyTo(schemas, index);
664
return
_schemas
.Values;
672
for (int i = 0; i <
_schemas
.Count; i++)
674
currentSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
902
_schemas
.Add(schema.SchemaId, schema);
922
if (!
_schemas
.ContainsKey(s.SchemaId))
924
_schemas
.Add(s.SchemaId, s);
1015
if (
_schemas
.ContainsKey(schema.SchemaId))
1027
_schemas
.Remove(schema.SchemaId);
1094
bool setIsCompiled =
_schemas
.Count == 0 ? true : false;
1103
if (
_schemas
.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null))
1108
_schemas
.Add(currentSchema.SchemaId, currentSchema);
1231
if (
_schemas
.ContainsKey(schema.SchemaId) && (targetNamespace.Length == 0 || targetNamespace == schema.TargetNamespace))
1238
if (chameleonSchema != null &&
_schemas
.ContainsKey(chameleonSchema.SchemaId))
1291
return
_schemas
;
1335
if (
_schemas
.Count == 0)