22 overrides of BaseURI
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
29
public override string
BaseURI
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51
public override string
BaseURI
{ get { return _reader.BaseURI; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3393
public override string
BaseURI
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
34
public override string
BaseURI
{ get { return _reader.BaseURI; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
373
public override string
BaseURI
System\Runtime\Serialization\XmlSerializableReader.cs (1)
79
public override string
BaseURI
{ get { return InnerReader.BaseURI; } }
System\Xml\XmlBaseReader.cs (1)
404
public override string
BaseURI
System\Xml\XmlDictionaryReader.cs (1)
1331
public override string
BaseURI
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
546
public override string
BaseURI
System\Xml\Core\XmlAsyncCheckReader.cs (1)
154
public override string
BaseURI
System\Xml\Core\XmlTextReader.cs (1)
152
public override string
BaseURI
System\Xml\Core\XmlTextReaderImpl.cs (1)
933
public override string
BaseURI
System\Xml\Core\XmlValidatingReader.cs (1)
90
public override string
BaseURI
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
359
public override string
BaseURI
System\Xml\Core\XmlWrappingReader.cs (1)
42
public override string
BaseURI
{ get { return reader.BaseURI; } }
System\Xml\Core\XsdCachingReader.cs (1)
180
public override string
BaseURI
System\Xml\Core\XsdValidatingReader.cs (1)
347
public override string
BaseURI
System\Xml\Dom\XmlNodeReader.cs (1)
1250
public override string
BaseURI
System\Xml\XPath\XPathNavigatorReader.cs (1)
240
public override string
BaseURI
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
141
public override string
BaseURI
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
65
public override string
BaseURI
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51
public override string
BaseURI
{ get { return _reader.BaseURI; } }
72 references to BaseURI
Microsoft.Build (2)
ElementLocation\XmlDocumentWithLocation.cs (2)
128
if (reader.
BaseURI
.Length > 0)
132
if (Uri.TryCreate(reader.
BaseURI
, UriKind.RelativeOrAbsolute, out Uri uri))
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
31
get { return _wrappedReader.
BaseURI
; }
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51
public override string BaseURI { get { return _reader.
BaseURI
; } }
PresentationCore (2)
MS\Internal\FontFace\CompositeFontParser.cs (2)
873
throw new FileFormatException(new Uri(_reader.
BaseURI
, UriKind.RelativeOrAbsolute), x);
942
string fileName = _reader.
BaseURI
;
PresentationFramework (9)
System\Windows\Markup\ParserContext.cs (3)
131
if( xmlReader.
BaseURI
!= null && xmlReader.
BaseURI
.Length != 0 )
133
BaseUri = new Uri( xmlReader.
BaseURI
);
System\Windows\Markup\XamlReader.cs (6)
332
if (reader.
BaseURI
== null ||
333
String.IsNullOrEmpty(reader.
BaseURI
.ToString()))
339
parserContext.BaseUri = new Uri(reader.
BaseURI
);
880
if (reader.
BaseURI
== null ||
881
String.IsNullOrEmpty(reader.
BaseURI
.ToString()))
887
parserContext.BaseUri = new Uri(reader.
BaseURI
);
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3395
get { return _xmlreader.
BaseURI
; }
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
34
public override string BaseURI { get { return _reader.
BaseURI
; } }
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
79
public override string BaseURI { get { return InnerReader.
BaseURI
; } }
System\Xml\XmlDictionaryReader.cs (1)
1335
return _reader.
BaseURI
;
System.Private.Xml (45)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
159
return _coreReader.
BaseURI
;
System\Xml\Core\XmlSubtreeReader.cs (1)
187
return reader.
BaseURI
;
System\Xml\Core\XmlValidatingReaderImpl.cs (8)
167
if (_coreReader.
BaseURI
!.Length > 0)
169
_validator.BaseUri = GetResolver()!.ResolveUri(null, _coreReader.
BaseURI
);
185
if (_coreReader.
BaseURI
!.Length > 0)
187
_validator.BaseUri = GetResolver()!.ResolveUri(null, _coreReader.
BaseURI
);
363
return _coreReader.
BaseURI
;
1067
if (_outerReader.
BaseURI
!.Length > 0)
1069
_validator.BaseUri = (resolver == null) ? new Uri(_outerReader.
BaseURI
, UriKind.RelativeOrAbsolute) : resolver.ResolveUri(null, _outerReader.
BaseURI
);
System\Xml\Core\XmlWrappingReader.cs (1)
42
public override string BaseURI { get { return reader.
BaseURI
; } }
System\Xml\Core\XsdCachingReader.cs (1)
184
return _coreReader.
BaseURI
;
System\Xml\Core\XsdValidatingReader.cs (2)
173
_validator.SourceUri = XmlConvert.ToUri(reader.
BaseURI
); // Not using XmlResolver.ResolveUri as it checks for relative Uris,reader.BaseURI will be absolute file paths or string.Empty
351
return _coreReader.
BaseURI
;
System\Xml\Dom\XmlLoader.cs (1)
40
doc.SetBaseURI(reader.
BaseURI
!);
System\Xml\Schema\Parser.cs (2)
78
throw new XmlSchemaException(code, reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition);
84
_schema.BaseUri = new Uri(reader.
BaseURI
!, UriKind.RelativeOrAbsolute);
System\Xml\Schema\ParserAsync.cs (2)
39
throw new XmlSchemaException(code, reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition);
45
_schema.BaseUri = new Uri(reader.
BaseURI
!, UriKind.RelativeOrAbsolute);
System\Xml\Schema\XdrBuilder.cs (4)
519
Uri _baseUri = _xmlResolver.ResolveUri(null, _reader.
BaseURI
);
1786
XdrValidator.CheckDefaultValue(str, attDef, _SchemaInfo, _CurNsMgr, _NameTable, null, _validationEventHandler, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition);
1796
SendValidationEvent(new XmlSchemaException(code, args, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
1806
SendValidationEvent(new XmlSchemaException(code, msg, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaSet.cs (3)
276
Uri schemaUri = new Uri(schemaDocument.
BaseURI
!, UriKind.RelativeOrAbsolute);
800
if (FindSchemaByNSAndUrl(new Uri(reader.
BaseURI
!, UriKind.RelativeOrAbsolute), targetNamespace, null) != null)
812
if (IsSchemaLoaded(new Uri(reader.
BaseURI
!, UriKind.RelativeOrAbsolute), targetNamespace, out _))
System\Xml\Schema\XsdBuilder.cs (7)
740
e.SetSource(_reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition);
1515
e.SetSource(builder._reader.
BaseURI
, builder._positionInfo.LineNumber, builder._positionInfo.LinePosition);
2310
e.SetSource(builder._reader.
BaseURI
, builder._positionInfo.LineNumber, builder._positionInfo.LinePosition);
2561
SendValidationEvent(new XmlSchemaException(code, new string?[] { arg0, arg1, arg2 }, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition));
2566
SendValidationEvent(new XmlSchemaException(code, msg, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition));
2571
SendValidationEvent(new XmlSchemaException(code, args, _reader.
BaseURI
, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
2595
_xso!.SourceUri = _reader.
BaseURI
;
System\Xml\Serialization\XmlSerializationReader.cs (1)
176
_d.SetBaseURI(_r.
BaseURI
);
System\Xml\XPath\XPathDocument.cs (3)
169
builder = new XPathDocumentBuilder(this, lineInfo, reader.
BaseURI
, LoadFlags.None);
198
builder.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI, reader.
BaseURI
);
266
builder.WriteProcessingInstruction(reader.LocalName, reader.Value, reader.
BaseURI
);
System\Xml\Xsl\Xslt\XsltInput.cs (7)
172
rec.baseUri = _reader.
BaseURI
;
192
if (_reader.
BaseURI
!= rec.baseUri || rec.end.LessOrEqual(rec.start))
209
rec.baseUri = _reader.
BaseURI
;
250
rec.baseUri = _reader.
BaseURI
;
305
if (_reader.
BaseURI
!= rec.baseUri || rec.valueStart.LessOrEqual(rec.start))
335
if (_reader.
BaseURI
!= rec.baseUri || rec.end.LessOrEqual(rec.valueStart))
1089
return new SourceLineInfo(_reader.
BaseURI
!, loc, loc);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
235
string baseUri = reader.
BaseURI
!;
System.Private.Xml.Linq (5)
System\Xml\Linq\XContainer.cs (3)
897
_baseUri = (o & LoadOptions.SetBaseUri) != 0 ? r.
BaseURI
: null;
1014
string baseUri = r.
BaseURI
;
1128
string baseUri = r.
BaseURI
!;
System\Xml\Linq\XDocument.cs (1)
485
string? baseUri = reader.
BaseURI
;
System\Xml\Linq\XElement.cs (1)
2052
string? baseUri = r.
BaseURI
;
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51
public override string BaseURI { get { return _reader.
BaseURI
; } }
System\Xaml\InfosetObjects\XamlXmlReader.cs (2)
186
if (!string.IsNullOrEmpty(myXmlReader.
BaseURI
))
188
_mergedSettings.BaseUri = new Uri(myXmlReader.
BaseURI
);