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