1 write to schemas
System.Xml (1)
System\Xml\Schema\XmlSchemaSet.cs (1)
98schemas = new SortedList();
33 references to schemas
System.Xml (33)
System\Xml\Schema\XmlSchemaSet.cs (33)
193return schemas.Count; 387if (this.schemas.ContainsKey(schema.SchemaId) || FindSchemaByNSAndUrl(schema.BaseUri, tns, null) != null) { //Do not already existing url 399this.schemas.Remove(schema.SchemaId); //Might remove schema that was already there and was not added thru this operation 421if (schemas.ContainsKey(schema.SchemaId)) { 439if (!schemas.ContainsKey(schemaToRemove.SchemaId)) { 444if (schemas.ContainsKey(schemaToRemove.SchemaId)) { //Need to check again 461for (int i =0; i < schemas.Count; i++) { 462mainSchema = (XmlSchema)schemas.GetByIndex(i); 508return schemas.ContainsValue(schema); 519if (schemas.Count == 0) { 540for (schemaIndex = 0; schemaIndex < schemas.Count; schemaIndex++) { 541currentSchema = (XmlSchema)schemas.GetByIndex(schemaIndex); 578if (schemaIndex == schemas.Count) { 582currentSchema = (XmlSchema)schemas.GetByIndex(i); 609if (!schemas.ContainsKey(schema.SchemaId)) { 659if (!schemas.ContainsKey(s.SchemaId)) { 660schemas.Add(s.SchemaId, s); 688this.schemas.Values.CopyTo(schemas, index); 696return schemas.Values; 709for (int i=0; i < schemas.Count; i++) { 710currentSchema = (XmlSchema)schemas.GetByIndex(i); 914schemas.Add(schema.SchemaId, schema); 931if (!schemas.ContainsKey(s.SchemaId)) { 932schemas.Add(s.SchemaId, s); 1007if (schemas.ContainsKey(schema.SchemaId)) { 1018schemas.Remove(schema.SchemaId); 1076bool setIsCompiled = schemas.Count == 0 ? true : false; 1084if (schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && schemaLocations[baseUri] != null)) { 1088schemas.Add(currentSchema.SchemaId, currentSchema); 1187if (schemas.ContainsKey(schema.SchemaId) && (targetNamespace.Length == 0 || targetNamespace == schema.TargetNamespace)) { //schema is present in set 1192if (chameleonSchema != null && schemas.ContainsKey(chameleonSchema.SchemaId)) { 1232return schemas; 1272if (schemas.Count == 0) {