5 writes to BaseUri
System.Private.Xml (5)
System\Xml\Schema\Parser.cs (1)
84_schema.BaseUri = new Uri(reader.BaseURI!, UriKind.RelativeOrAbsolute);
System\Xml\Schema\ParserAsync.cs (1)
45_schema.BaseUri = new Uri(reader.BaseURI!, UriKind.RelativeOrAbsolute);
System\Xml\Schema\XmlSchema.cs (2)
441that.BaseUri = this.BaseUri; 495that.BaseUri = this.BaseUri;
System\Xml\Serialization\XmlSchemas.cs (1)
103schema.BaseUri = baseUri;
33 references to BaseUri
System.Private.Xml (33)
System\Xml\Schema\Chameleonkey.cs (1)
33chameleonLocation = originalSchema.BaseUri!;
System\Xml\Schema\Preprocessor.cs (5)
97if (_rootSchema.BaseUri != null) 99if (_schemaLocations![_rootSchema.BaseUri] == null) 101_schemaLocations.Add(_rootSchema.BaseUri, _rootSchema); 275includeLocation = includedSchema.BaseUri; 2129return _xmlResolver!.ResolveUri(enclosingSchema.BaseUri, location);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (9)
58if (schema.BaseUri != null) 60_schemaLocations.Add(schema.BaseUri, schema.BaseUri); 172if (include.Schema.BaseUri != null && _schemaLocations![include.Schema.BaseUri] == null) 174_schemaLocations.Add(include.Schema.BaseUri, include.Schema.BaseUri); 183subUri = subImp.BaseUri ?? subImp.Schema?.BaseUri; 1798return _xmlResolver!.ResolveUri(enclosingSchema.BaseUri, location);
System\Xml\Schema\XmlSchema.cs (2)
441that.BaseUri = this.BaseUri; 495that.BaseUri = this.BaseUri;
System\Xml\Schema\XmlSchemaSet.cs (13)
342if (_schemas.ContainsKey(schema.SchemaId) || FindSchemaByNSAndUrl(schema.BaseUri, tns, null) != null) 359_schemaLocations.Remove(schema.BaseUri!); 598if (schema.BaseUri != null) 600_schemaLocations.Remove(schema.BaseUri); 833if (validatedNamespaces[tns] != null && (FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)) 880Debug.Assert(schema.BaseUri!.Equals(schemaUri)); 1040if (schema.BaseUri != null) 1042_schemaLocations.Remove(schema.BaseUri); 1114baseUri = currentSchema.BaseUri; 1315if (reprocessList[i].BaseUri != null && reprocessList[i].BaseUri!.OriginalString.Length != 0) 1317_schemaLocations.Remove(reprocessList[i].BaseUri!); 1325if (cKey!.chameleonLocation.Equals(reprocessList[i].BaseUri))
System\Xml\Schema\XmlSchemaValidator.cs (3)
334if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(schema.BaseUri, tns, oldLocations) == null) 347SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { schema.BaseUri!.ToString(), e.Message }, e); 353if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)