9 writes to BaseUri
PresentationFramework (5)
System\Windows\Markup\XamlReader.cs (4)
343settings.BaseUri = parserContext.BaseUri; 884settings.BaseUri = parserContext.BaseUri; 1048readerSettings.BaseUri = parserContext.BaseUri; 1054readerSettings.BaseUri = BaseUriHelper.PackAppBaseUri;
System\Windows\ResourceDictionary.cs (1)
1094settings.BaseUri = null; // Base URI can only be set on the root object, not on deferred content.
System.Xaml (2)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
31BaseUri = settings.BaseUri;
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
186_mergedSettings.BaseUri = new Uri(myXmlReader.BaseURI);
System.Xaml.Tests (2)
System\Xaml\XamlReaderSettingsTests.cs (1)
33BaseUri = new Uri("http://google.com"),
System\Xaml\XamlXmlReaderSettingsTests.cs (1)
37BaseUri = new Uri("http://google.com"),
18 references to BaseUri
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
1193if (_settings.BaseUri != null && !String.IsNullOrEmpty(_settings.BaseUri.ToString())) 1196_xamlNodesWriter.WriteValue(_settings.BaseUri.ToString());
System\Windows\Markup\XamlReader.cs (5)
482app.ApplicationMarkupBaseUri = GetBaseUri(settings.BaseUri); 1052if (readerSettings.BaseUri == null || String.IsNullOrEmpty(readerSettings.BaseUri.ToString())) 1092dObject.SetValue(BaseUriHelper.BaseUriProperty, readerSettings.BaseUri); 1098app.ApplicationMarkupBaseUri = GetBaseUri(readerSettings.BaseUri);
System.Xaml (3)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
31BaseUri = settings.BaseUri;
System\Xaml\Parser\NodeStreamSorter.cs (2)
241if (_settings.BaseUri is not null) 243EnqueueOneXmlDirectiveProperty(XamlLanguage.Base, _settings.BaseUri.ToString());
System.Xaml.Tests (7)
System\Xaml\XamlObjectReaderSettingsTests.cs (1)
17Assert.Null(settings.BaseUri);
System\Xaml\XamlReaderSettingsTests.cs (3)
18Assert.Null(settings.BaseUri); 55Assert.Equal(settings?.BaseUri, newSettings.BaseUri);
System\Xaml\XamlXmlReaderSettingsTests.cs (3)
18Assert.Null(settings.BaseUri); 63Assert.Equal(settings?.BaseUri, newSettings.BaseUri);