1 write to _schemas
System.Private.Xml (1)
System\Xml\Schema\XmlSchemaSet.cs (1)
92
_schemas
= new SortedList();
33 references to _schemas
System.Private.Xml (33)
System\Xml\Schema\XmlSchemaSet.cs (33)
184
return
_schemas
.Count;
342
if (
_schemas
.ContainsKey(schema.SchemaId) || FindSchemaByNSAndUrl(schema.BaseUri, tns, null) != null)
358
_schemas
.Remove(schema!.SchemaId); //Might remove schema that was already there and was not added thru this operation
383
if (
_schemas
.ContainsKey(schema.SchemaId))
401
if (!
_schemas
.ContainsKey(schemaToRemove.SchemaId))
408
if (
_schemas
.ContainsKey(schemaToRemove.SchemaId))
426
for (int i = 0; i <
_schemas
.Count; i++)
428
XmlSchema mainSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
477
return
_schemas
.ContainsValue(schema);
486
if (
_schemas
.Count == 0)
511
for (schemaIndex = 0; schemaIndex <
_schemas
.Count; schemaIndex++)
513
currentSchema = (XmlSchema)
_schemas
.GetByIndex(schemaIndex)!;
553
if (schemaIndex ==
_schemas
.Count)
559
currentSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
584
if (!
_schemas
.ContainsKey(schema.SchemaId))
641
if (!
_schemas
.ContainsKey(s.SchemaId))
643
_schemas
.Add(s.SchemaId, s);
671
_schemas
.Values.CopyTo(schemas, index);
676
return
_schemas
.Values;
684
for (int i = 0; i <
_schemas
.Count; i++)
686
currentSchema = (XmlSchema)
_schemas
.GetByIndex(i)!;
914
_schemas
.Add(schema.SchemaId, schema);
934
if (!
_schemas
.ContainsKey(s.SchemaId))
936
_schemas
.Add(s.SchemaId, s);
1027
if (
_schemas
.ContainsKey(schema.SchemaId))
1039
_schemas
.Remove(schema.SchemaId);
1106
bool setIsCompiled =
_schemas
.Count == 0 ? true : false;
1115
if (
_schemas
.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null))
1120
_schemas
.Add(currentSchema.SchemaId, currentSchema);
1243
if (
_schemas
.ContainsKey(schema.SchemaId) && (targetNamespace.Length == 0 || targetNamespace == schema.TargetNamespace))
1250
if (chameleonSchema != null &&
_schemas
.ContainsKey(chameleonSchema.SchemaId))
1303
return
_schemas
;
1347
if (
_schemas
.Count == 0)