5 writes to BaseUri
System.Xml (5)
System\Xml\Schema\Parser.cs (1)
85
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)
533
that.
BaseUri
= this.BaseUri;
580
that.
BaseUri
= this.BaseUri;
System\Xml\Serialization\XmlSchemas.cs (1)
137
schema.
BaseUri
= baseUri;
34 references to BaseUri
System.Xml (34)
System\Xml\Schema\Chameleonkey.cs (1)
34
chameleonLocation = originalSchema.
BaseUri
;
System\Xml\Schema\Preprocessor.cs (5)
95
if (rootSchema.
BaseUri
!= null) {
96
if (schemaLocations[rootSchema.
BaseUri
] == null) {
97
schemaLocations.Add(rootSchema.
BaseUri
, rootSchema);
250
includeLocation = includedSchema.
BaseUri
;
1743
return xmlResolver.ResolveUri( enclosingSchema.
BaseUri
, location);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (10)
57
if (schema.
BaseUri
!= null) {
58
schemaLocations.Add(schema.
BaseUri
, schema.
BaseUri
);
151
if (include.Schema.
BaseUri
!= null && schemaLocations[include.Schema.
BaseUri
] == null) {
152
schemaLocations.Add(include.Schema.
BaseUri
, include.Schema.
BaseUri
);
160
subUri = subImp.BaseUri != null ? subImp.BaseUri : (subImp.Schema != null && subImp.Schema.
BaseUri
!= null ? subImp.Schema.
BaseUri
: null);
1435
return xmlResolver.ResolveUri(enclosingSchema.
BaseUri
, location);
System\Xml\Schema\XmlSchema.cs (2)
533
that.BaseUri = this.
BaseUri
;
580
that.BaseUri = this.
BaseUri
;
System\Xml\Schema\XmlSchemaSet.cs (13)
387
if (this.schemas.ContainsKey(schema.SchemaId) || FindSchemaByNSAndUrl(schema.
BaseUri
, tns, null) != null) { //Do not already existing url
400
schemaLocations.Remove(schema.
BaseUri
);
622
if (schema.
BaseUri
!= null) {
623
schemaLocations.Remove(schema.
BaseUri
);
852
if (validatedNamespaces[tns] != null && (FindSchemaByNSAndUrl(impSchema.
BaseUri
, tns, oldLocations) == null) ) {
887
Debug.Assert(schema.
BaseUri
.Equals(schemaUri));
1019
if (schema.
BaseUri
!= null) {
1020
schemaLocations.Remove(schema.
BaseUri
);
1083
baseUri = currentSchema.
BaseUri
;
1248
if (reprocessList[i].
BaseUri
!= null && reprocessList[i].
BaseUri
.OriginalString.Length != 0) {
1249
schemaLocations.Remove(reprocessList[i].
BaseUri
);
1255
if (cKey.chameleonLocation.Equals(reprocessList[i].
BaseUri
)) {
System\Xml\Schema\XmlSchemaValidator.cs (3)
310
if (validatedNamespaces[tns] != null && schemaSet.FindSchemaByNSAndUrl(schema.
BaseUri
, tns, oldLocations) == null) {
319
SendValidationEvent(Res.Sch_CannotLoadSchema, new string[] {schema.
BaseUri
.ToString(), e.Message},e);
327
if (validatedNamespaces[tns] != null && schemaSet.FindSchemaByNSAndUrl(impSchema.
BaseUri
, tns, oldLocations) == null) {