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)
172return _schemas.Count; 330if (_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 371if (_schemas.ContainsKey(schema.SchemaId)) 389if (!_schemas.ContainsKey(schemaToRemove.SchemaId)) 396if (_schemas.ContainsKey(schemaToRemove.SchemaId)) 414for (int i = 0; i < _schemas.Count; i++) 416XmlSchema mainSchema = (XmlSchema)_schemas.GetByIndex(i)!; 465return _schemas.ContainsValue(schema); 474if (_schemas.Count == 0) 499for (schemaIndex = 0; schemaIndex < _schemas.Count; schemaIndex++) 501currentSchema = (XmlSchema)_schemas.GetByIndex(schemaIndex)!; 541if (schemaIndex == _schemas.Count) 547currentSchema = (XmlSchema)_schemas.GetByIndex(i)!; 572if (!_schemas.ContainsKey(schema.SchemaId)) 629if (!_schemas.ContainsKey(s.SchemaId)) 631_schemas.Add(s.SchemaId, s); 659_schemas.Values.CopyTo(schemas, index); 664return _schemas.Values; 672for (int i = 0; i < _schemas.Count; i++) 674currentSchema = (XmlSchema)_schemas.GetByIndex(i)!; 902_schemas.Add(schema.SchemaId, schema); 922if (!_schemas.ContainsKey(s.SchemaId)) 924_schemas.Add(s.SchemaId, s); 1015if (_schemas.ContainsKey(schema.SchemaId)) 1027_schemas.Remove(schema.SchemaId); 1094bool setIsCompiled = _schemas.Count == 0 ? true : false; 1103if (_schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null)) 1108_schemas.Add(currentSchema.SchemaId, currentSchema); 1231if (_schemas.ContainsKey(schema.SchemaId) && (targetNamespace.Length == 0 || targetNamespace == schema.TargetNamespace)) 1238if (chameleonSchema != null && _schemas.ContainsKey(chameleonSchema.SchemaId)) 1291return _schemas; 1335if (_schemas.Count == 0)