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