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