Console log: 'Microsoft.Maui.UnitTests.dll' from job f7f86755-3f3a-4484-a06e-99184b1d5d8b workitem 11dcddc7-5454-4939-b593-c95ed36774ee (windows.10.amd64.open) executed on machine a00ENTA running Windows-2016Server-10.0.14393-SP0 C:\h\w\A6F3092D\w\AD15095D\e>set PATH=C:\h\w\A6F3092D\p\dotnet-cli;C:\python3\Scripts\;C:\python3\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Debuggers\x64;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Users\runner\AppData\Local\Microsoft\WindowsApps C:\h\w\A6F3092D\w\AD15095D\e>set DOTNET_ROOT=C:\h\w\A6F3092D\p\dotnet-cli C:\h\w\A6F3092D\w\AD15095D\e>set DOTNET_CLI_TELEMETRY_OPTOUT=1 C:\h\w\A6F3092D\w\AD15095D\e>set DOTNET_CLI_HOME=C:\h\w\A6F3092D\w\AD15095D\e\.dotnet C:\h\w\A6F3092D\w\AD15095D\e>set NUGET_PACKAGES=C:\h\w\A6F3092D\w\AD15095D\e\.nuget C:\h\w\A6F3092D\w\AD15095D\e>dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json C:\h\w\A6F3092D\p/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.UnitTests.dll -nocolor -xml testResults.xml xUnit.net Console Runner v2.9.3+9712244020 (64-bit .NET 10.0.0) Discovering: Microsoft.Maui.UnitTests Discovered: Microsoft.Maui.UnitTests Starting: Microsoft.Maui.UnitTests LclFilesMissingJsonKeys [SKIP] Skipped because doesn t work on helix DurationMetricsRecordWithoutActivityListeners(instrumentName: "maui.layout.arrange_duration") [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(117,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(75,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.DurationMetricsRecordWithoutActivityListeners(String instrumentName) at InvokeStub_LayoutDiagnosticsTests.DurationMetricsRecordWithoutActivityListeners(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) MeasureAndArrangeDoNotAllocateWithoutListeners [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(117,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs(26,0): at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.MeasureAndArrangeDoNotAllocateWithoutListeners() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersOverrideBase [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(130,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersOverrideBase() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstructorChainingMappersOverrideBase [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(196,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ConstructorChainingMappersOverrideBase() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstructorChainingMappersWorks [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(174,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ConstructorChainingMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersWorks [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(151,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingMappersStillAllowReplacingChainedRoot [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(222,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.ChainingMappersStillAllowReplacingChainedRoot() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperCanExecuteSkippedMappers [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(101,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperCanExecuteSkippedMappers() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceTypeForRegisteredService [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(122,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceTypeForRegisteredService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ImageSourceServiceRegistrationViaAddSingletonDirectlyIsNotSupported [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(193,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ImageSourceServiceRegistrationViaAddSingletonDirectlyIsNotSupported() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceServiceTypeForRegisteredService [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(135,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceServiceTypeForRegisteredService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetsImageSourceServiceTypeEvenWhenNoServiceWasRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(112,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceServiceTypeEvenWhenNoServiceWasRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesCustomDerivedImageSourceOverBuiltInInterface [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(152,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCustomDerivedImageSourceOverBuiltInInterface() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesImageSourceServiceWhenNonPrimaryInterfaceServiceIsRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(168,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceWhenNonPrimaryInterfaceServiceIsRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ThrowsWhenMatchingServicesRelatedThroughInheritance [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(181,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ThrowsWhenMatchingServicesRelatedThroughInheritance() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesToConcreteTypeOverInterface [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(73,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesToConcreteTypeOverInterface() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: True, registerClasses: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: False, registerClasses: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at InvokeStub_ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ResolvesImageSourceServiceInTypicalScenarios(registerInterfaces: True, registerClasses: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(21,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Boolean registerInterfaces, Boolean registerClasses) at InvokeStub_ImageSourceServiceTests.ResolvesImageSourceServiceInTypicalScenarios(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) GetsImageSourceTypeEvenWhenNoServiceWasRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(102,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.GetsImageSourceTypeEvenWhenNoServiceWasRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResolvesCorrectServiceInstance(registerInterfaces: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(49,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCorrectServiceInstance(Boolean registerInterfaces) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) ResolvesCorrectServiceInstance(registerInterfaces: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(49,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesCorrectServiceInstance(Boolean registerInterfaces) at InvokeStub_ImageSourceServiceTests.ResolvesCorrectServiceInstance(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ResolvesToConcreteTypeOverInterface2 [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(208,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.CreateImageSourceServiceProvider(Action`1 configure) /_/src/Core/tests/UnitTests/ImageSource/ImageSourceServiceTests.cs(86,0): at Microsoft.Maui.UnitTests.ImageSource.ImageSourceServiceTests.ResolvesToConcreteTypeOverInterface2() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperRetainsInsertionOrder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(39,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperRetainsInsertionOrder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GridConstrainsViewsVerticallyWhenPossible [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() /_/src/Controls/src/Core/Layout/Grid.cs(15,0): at Microsoft.Maui.Controls.Grid..ctor() /_/src/Core/tests/UnitTests/Layouts/GridTests.cs(13,0): at Microsoft.Maui.UnitTests.Layouts.GridTests.GridConstrainsViewsVerticallyWhenPossible() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GridConstrainsViewsHorizontallyWhenPossible [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() /_/src/Controls/src/Core/Layout/Grid.cs(15,0): at Microsoft.Maui.Controls.Grid..ctor() /_/src/Core/tests/UnitTests/Layouts/GridTests.cs(64,0): at Microsoft.Maui.UnitTests.Layouts.GridTests.GridConstrainsViewsHorizontallyWhenPossible() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GenericMappersWorks [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(244,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.GenericMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GridCompletelyConstrainsViewsWhenPossible [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() /_/src/Controls/src/Core/Layout/Grid.cs(15,0): at Microsoft.Maui.Controls.Grid..ctor() /_/src/Core/tests/UnitTests/Layouts/GridTests.cs(113,0): at Microsoft.Maui.UnitTests.Layouts.GridTests.GridCompletelyConstrainsViewsWhenPossible() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MapperExecutesChainedKeysFirst [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperTests.cs(72,0): at Microsoft.Maui.UnitTests.PropertyMapperTests.MapperExecutesChainedKeysFirst() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ChainingToLessTypedParentWorks [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() at Microsoft.Maui.UnitTests.ButtonStub..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(124,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.ChainingToLessTypedParentWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanUseFactoryForAlternateType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(147,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.CanUseFactoryForAlternateType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) SettingVirtualViewOnHandlerRemovesHandlerFromPreviousVirtualView [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(99,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.SettingVirtualViewOnHandlerRemovesHandlerFromPreviousVirtualView() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) FactoryCanCustomizeBasedOnVirtualView [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.CustomButton..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(179,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.FactoryCanCustomizeBasedOnVirtualView() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConnectAndDisconnectFireAppropriateNumberOfTimes [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(17,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.ConnectAndDisconnectFireAppropriateNumberOfTimes() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) FactoryCanPuntAndUseOriginalType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/AbstractViewHandlerTests.cs(158,0): at Microsoft.Maui.UnitTests.AbstractViewHandlerTests.FactoryCanPuntAndUseOriginalType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MultipleServicesAreRegisteredWithoutBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServiceBuilderTests.cs(18,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServiceBuilderTests.MultipleServicesAreRegisteredWithoutBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(213,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(168,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(233,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanBuildAHost [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(15,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanBuildAHost() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerTypeForServiceRegisteredWithType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(257,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerTypeForServiceRegisteredWithType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(270,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesLastRegisteredHandlerServiceForServiceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(71,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesLastRegisteredHandlerServiceForServiceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(90,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddLoggingProviders [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderLoggingTests.cs(35,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.CanAddLoggingProviders() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetValidILoggerByDefault [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderLoggingTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.GetValidILoggerByDefault() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(123,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HorizontalOrientationConstrainsViewsVerticallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.StackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/StackLayoutTests.cs(32,0): at Microsoft.Maui.UnitTests.Layouts.StackLayoutTests.HorizontalOrientationConstrainsViewsVerticallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) VerticalOrientationConstrainsViewsHorizontallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.StackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/StackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.StackLayoutTests.VerticalOrientationConstrainsViewsHorizontallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.IViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.ViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyDerivedViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderWithDefaultsRegistersMauiHandlersFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(24,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderWithDefaultsRegistersMauiHandlersFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.IViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) CreatesServiceProviderByDefault [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderConfigureContainerTests.cs(15,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderConfigureContainerTests.CreatesServiceProviderByDefault() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyBaseViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyDerivedViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ConstrainsViewsVerticallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.HorizontalStackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/HorizontalStackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.HorizontalStackLayoutTests.ConstrainsViewsVerticallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) EventsMustBeInvokedUsingExactDelegate [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(109,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsMustBeInvokedUsingExactDelegate() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaMultipleConfigureLifecycleEvents [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(129,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaMultipleConfigureLifecycleEvents() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) InvokingUnregisteredEventsDoesNotThrow [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(55,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.InvokingUnregisteredEventsDoesNotThrow() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) EventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(71,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(148,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddDelegateEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(41,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddDelegateEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) DelegateEventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(88,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.DelegateEventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddCustomEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(29,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddCustomEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConfigureLifecycleEventsRegistersService [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(18,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.ConfigureLifecycleEventsRegistersService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanCreateLogger [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(318,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanCreateLogger() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooBarCat [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(165,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBarCat() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_DefaultWithNothing [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(76,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithNothing() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveDifferentTransientServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(266,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveDifferentTransientServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanGetServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanGetServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceThrowsWhenConstructorParamTypesWereNotRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(27,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenConstructorParamTypesWereNotRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooBar [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBar() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_DefaultWithBar [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(93,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithBar() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooWithCat [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(128,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooWithCat() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnEnumerableParams [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(249,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnEnumerableParams() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveMixedServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(287,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveMixedServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveSystemDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(231,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveSystemDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(214,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesFirstOfMultipleConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(49,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesFirstOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_Foo [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(110,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_Foo() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveSameSingletonServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(276,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveSameSingletonServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(197,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesSecondOfMultipleConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(63,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesSecondOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveConstructorParams [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(183,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveConstructorParams() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveEnumerables [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(299,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveEnumerables() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceThrowsWhenNoPublicConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(37,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenNoPublicConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(51,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddBeforeMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(77,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.ModifyMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(25,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddAfterMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResxLocalizationStringsAreTranslated [SKIP] Skipped because doesn t work on helix ResxLocalizationStringsAreDisplayedProperly [SKIP] Skipped because doesn t work on helix Finished: Microsoft.Maui.UnitTests === TEST EXECUTION SUMMARY === Microsoft.Maui.UnitTests Total: 839, Errors: 0, Failed: 109, Skipped: 3, Time: 3.179s C:\h\w\A6F3092D\w\AD15095D\e>set _commandExitCode=1 C:\h\w\A6F3092D\w\AD15095D\e>C:\python3\python.exe C:\h\w\A6F3092D\p\reporter\run.py https://dev.azure.com/dnceng-public/ public 40009846 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCIsImtpZCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCJ9.eyJhdWQiOiI0OTliODRhYy0xMzIxLTQyN2YtYWExNy0yNjdjYTY5NzU3OTgiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzgwMzA4ODA0LCJuYmYiOjE3ODAzMDg4MDQsImV4cCI6MTc4MDM5NTUwNCwiYWlvIjoiazJGZ1lPRG1Tcjd3YVBzN2dmRHpQa1VUOGtyZnE2VzhPWDdBejVyaG90c25qcmJyN3F3QSIsImlkcCI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny8iLCJpZHR5cCI6ImZtaSIsInJoIjoiMS5BUm9BdjRqNWN2R0dyMEdScXkxODBCSGJSNnlFbTBraEUzOUNxaGNtZkthWFY1Z0FBQUFhQUEuIiwic3ViIjoiL2VpZDEvYy9wdWIvdC92NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ3L2EvcklTYlNTRVRmMEtxRnlaOHBwZFhtQS9icy9oLzZmY2M5MmU1LTczYTctNGY4OC04ZDEzLWQ5MDQ1YjQ1ZmIyNy9pL2M3NzNmMmMyLTUxMjAtNDIwNy1hZmUyLWFmYWYzNWE4YmMwYSIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInV0aSI6IlhXdG90RXpFdVVPa1FDMTFURjRFQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfYXR0ciI6eyJySVNiU1NFVGYwS3FGeVo4cHBkWG1BIjp7ImFkb19leHAiOjE3ODAzMjQxMDUsImFkb19zY3AiOiJSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTpjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDkvZG90bmV0L21hdWkvMzAyOkJ1aWxkL0J1aWxkLzE0NDM0NTkgUmVhZEFuZFB1Ymxpc2hUZXN0OmNiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBQaXBlbGluZUNhY2hlLlJlYWRXcml0ZVJvb3RBY2Nlc3MiLCJhdWkiOiI5MTUwZWU1OC1lNTBiLTRiYzAtYWVjZi03ODQwZGZiZTdlZWIiLCJCdWlsZElkIjoiY2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5OzE0NDM0NTkiLCJEZWZJZCI6IjMwMiIsImpvYnJlZiI6IjU5NjljNWZmLTQ0YWYtNGE5ZS1iOGRhLTllMzRmNjEwZjY4YzplOWQ0OGRjYi1lYjEzLTViMDQtNjg3MS1hYTdjZDAzMWI4MmQiLCJvcmNoaWQiOiI1OTY5YzVmZi00NGFmLTRhOWUtYjhkYS05ZTM0ZjYxMGY2OGMuaGVsaXh0ZXN0cy50ZXN0X2hlbGl4X3VuaXRfdGVzdHNfd2luZG93c19yZWxlYXNlLl9fZGVmYXVsdCIsInBjYyI6Ilt7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL2luZmxpZ2h0L2N1cnJlbnQ7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL2luZmxpZ2h0L2N1cnJlbnQ7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL3B1bGwvMzU0MjEvbWVyZ2U7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL21hc3Rlcjtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvbWFpbjtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9XSIsInBwaWQiOiJ2c3RmczovLy9CdWlsZC9CdWlsZC8xNDQzNDU5In19LCJ4bXNfaWRyZWwiOiIyNCAzMyIsInhtc19yZCI6IjAuQVZrQXB2OEtCUWdDRWdFYUVoUUlDUklRb0tYYmNYeW5aRXU4eFBYNWktSm5faElVQ0FzU0VMdkZkV1hod2xsV2ZwVGZ3NVM0eDhBaUpBZ0RFaURnY1FmQXdheXdyQVc0NU8tNHZlaHlrWFdLVHBnajdlSTBOVkhULV9sNjJBIn0.lAEeSuU6ZZHnxmi3v8FZwEWGJKSloLCrWA5rhC91zbnrjM6xTQhepYCEBi13Lho4xuQcz6dmswJGj1f4S0R7sCBbz6B7hs37QZWt7GkJbSMEdYU109vXhaay34gu4XcKBZvlwmd0qukzKMJT0lfWuHVZFZBlrkUp2wA7LaDH1yLnpOs4EuuHa-N4kEYQnJT5gKAU_c3PDLUyW8oa_vE2arY-wOiS9EDxDOqUNBH0WBod71h5niq5PuHyWbiBf4kxrppWbgVApxx1XnoBGIV5jBVY8hxw7kNY0b1u4z8zf76COTUWIc1lRJX-wDP3opgrRzj7QcZGywupTbJj8xgNjA || exit /b C:\h\scripts\helix-scripts\azure\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources 2026-06-01T10:48:08.108Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-06-01T10:48:08.108Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-06-01T10:48:08.109Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '8772957c-e0a4-45ad-b7c7-fff1d29d7e69' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.9 (Windows-2016Server-10.0.14393-SP0)' No body was attached to the request 2026-06-01T10:48:08.133Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Content-Type': 'application/json; charset=utf-8' 'Server': 'IMDS/150.870.65.2020' 'x-ms-request-id': '8772957c-e0a4-45ad-b7c7-fff1d29d7e69' 'Date': 'Mon, 01 Jun 2026 10:48:07 GMT' 'Content-Length': '2459' 2026-06-01T10:48:08.133Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token succeeded 2026-06-01T10:48:08.133Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token succeeded 2026-06-01T10:48:08.134Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-06-01T10:48:08.135Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token_info succeeded 2026-06-01T10:48:08.135Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token_info succeeded 2026-06-01T10:48:08.563Z INFO run.py run(48) main Beginning reading of test results. 2026-06-01T10:48:08.563Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A6F3092D\w\AD15095D\e' for test results files 2026-06-01T10:48:08.565Z INFO run.py __init__(48) read_results Found results file C:\h\w\A6F3092D\w\AD15095D\e\testResults.xml with format xunit 2026-06-01T10:48:08.583Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A6F3092D\w\AD15095D\uploads' for test results files 2026-06-01T10:48:08.584Z INFO run.py packing_test_reporter(30) report_results Packing 839 test reports to 'C:\h\w\A6F3092D\w\AD15095D\e\__test_report.json' 2026-06-01T10:48:08.587Z INFO run.py packing_test_reporter(33) report_results Packed 504228 bytes C:\h\w\A6F3092D\w\AD15095D\e>EXIT /b 1 ['Microsoft.Maui.UnitTests.dll' END OF WORK ITEM LOG: Command exited with 1]