Console log: 'Microsoft.Maui.UnitTests.dll' from job a61ab493-d4ab-4394-8e53-9a8390450c54 workitem f672b124-8390-43ce-b410-16c9a851ca7c (windows.10.amd64.open) executed on machine a00EU9M running Windows-2016Server-10.0.14393-SP0 C:\h\w\ABAB08E7\w\A101090D\e>set PATH=C:\h\w\ABAB08E7\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\ABAB08E7\w\A101090D\e>set DOTNET_ROOT=C:\h\w\ABAB08E7\p\dotnet-cli C:\h\w\ABAB08E7\w\A101090D\e>set DOTNET_CLI_TELEMETRY_OPTOUT=1 C:\h\w\ABAB08E7\w\A101090D\e>set DOTNET_CLI_HOME=C:\h\w\ABAB08E7\w\A101090D\e\.dotnet C:\h\w\ABAB08E7\w\A101090D\e>set NUGET_PACKAGES=C:\h\w\ABAB08E7\w\A101090D\e\.nuget C:\h\w\ABAB08E7\w\A101090D\e>dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json C:\h\w\ABAB08E7\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) ShapeFillDoesNotLeak [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(39,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeFillDoesNotLeak() --- End of stack trace from previous location --- ShapeFillSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(16,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeFillSubscribed() --- End of stack trace from previous location --- ShapeStrokeDoesNotLeak [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(71,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeStrokeDoesNotLeak() --- End of stack trace from previous location --- ShapeStrokeSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Core/tests/UnitTests/Views/ShapeTests.cs(48,0): at Microsoft.Maui.UnitTests.Views.ShapeTests.ShapeStrokeSubscribed() --- End of stack trace from previous location --- 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) AppConfigurationOverwritesValues [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/HostBuilderAppConfigurationTests.cs(48,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderAppConfigurationTests.AppConfigurationOverwritesValues() 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) BrushColorsAreImmutable [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Controls/src/Core/ImmutableBrush.cs(14,0): at Microsoft.Maui.Controls.ImmutableBrush..ctor(Color color) /_/src/Controls/src/Core/Brush/Brush.cs(496,0): at Microsoft.Maui.Controls.Brush.get_Red() /_/src/Core/tests/UnitTests/BrushTests.cs(14,0): at Microsoft.Maui.UnitTests.BrushTests.BrushColorsAreImmutable() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanConfigureAppConfiguration [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/HostBuilderAppConfigurationTests.cs(22,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderAppConfigurationTests.CanConfigureAppConfiguration() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BrushValuesMatchColorValues [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(12,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor() /_/src/Controls/src/Core/ImmutableBrush.cs(14,0): at Microsoft.Maui.Controls.ImmutableBrush..ctor(Color color) /_/src/Controls/src/Core/Brush/Brush.cs(145,0): at Microsoft.Maui.Controls.Brush.get_AliceBlue() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestDatePickerFormat(dateFormat: "yyyy/MM/dd") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) TestDatePickerFormat(dateFormat: "dd/MM/yyyy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) TestDatePickerFormat(dateFormat: "dd/MMM/yy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) TestDatePickerFormat(dateFormat: "dd/MM/yy") [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/DatePicker/DatePicker.cs(63,0): at Microsoft.Maui.Controls.DatePicker..ctor() /_/src/Core/tests/UnitTests/Views/DatePickerTests.cs(17,0): at Microsoft.Maui.UnitTests.Views.DatePickerTests.TestDatePickerFormat(String dateFormat) at InvokeStub_DatePickerTests.TestDatePickerFormat(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 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) 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) 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) BorderStrokeShapeSubscribed [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/RoundRectangle.cs(10,0): at Microsoft.Maui.Controls.Shapes.RoundRectangle..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(56,0): at Microsoft.Maui.UnitTests.Views.BorderTests.BorderStrokeShapeSubscribed() --- End of stack trace from previous location --- TestDefaultBorderStrokeShape [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.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(16,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestDefaultBorderStrokeShape() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestSetChild [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.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(115,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestSetChild() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestBorderPropagateBindingContext [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.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(25,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestBorderPropagateBindingContext() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) BorderStrokeSubscribed [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() at Microsoft.Maui.Controls.Brush..ctor() /_/src/Controls/src/Core/SolidColorBrush.cs(19,0): at Microsoft.Maui.Controls.SolidColorBrush..ctor(Color color) /_/src/Core/tests/UnitTests/Views/BorderTests.cs(79,0): at Microsoft.Maui.UnitTests.Views.BorderTests.BorderStrokeSubscribed() --- End of stack trace from previous location --- BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Rectangle)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/Rectangle.cs(16,0): at Microsoft.Maui.Controls.Shapes.Rectangle..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.RoundRectangle)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/RoundRectangle.cs(10,0): at Microsoft.Maui.Controls.Shapes.RoundRectangle..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Ellipse)) [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/Shapes/Shape.cs(22,0): at Microsoft.Maui.Controls.Shapes.Shape..ctor() /_/src/Controls/src/Core/Shapes/Ellipse.cs(15,0): at Microsoft.Maui.Controls.Shapes.Ellipse..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) TestReplaceChild [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.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(137,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestReplaceChild() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) TestStrokeShapeBindingContext [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.Controls.Border..ctor() /_/src/Core/tests/UnitTests/Views/BorderTests.cs(41,0): at Microsoft.Maui.UnitTests.Views.BorderTests.TestStrokeShapeBindingContext() 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) 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) 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) 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) 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: 852, Errors: 0, Failed: 52, Skipped: 3, Time: 3.180s C:\h\w\ABAB08E7\w\A101090D\e>set _commandExitCode=1 C:\h\w\ABAB08E7\w\A101090D\e>C:\python3\python.exe C:\h\w\ABAB08E7\p\reporter\run.py https://dev.azure.com/dnceng-public/ public 41111086 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImFGa21LVkZjLTRXVjZzWENCdk5aa1hJNTA1WSIsImtpZCI6ImFGa21LVkZjLTRXVjZzWENCdk5aa1hJNTA1WSJ9.eyJhdWQiOiI0OTliODRhYy0xMzIxLTQyN2YtYWExNy0yNjdjYTY5NzU3OTgiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzgyOTQ0MjQxLCJuYmYiOjE3ODI5NDQyNDEsImV4cCI6MTc4MzAzMDk0MSwiYWlvIjoiazJGZ1lGQUlhUHo2L05nVzQrMlJIRzgxRTNUT0dTY1ZKZFF5dk1qZnZKUXAxdTlyZ3pNQSIsImFwcGlkIjoiNDk5Yjg0YWMtMTMyMS00MjdmLWFhMTctMjY3Y2E2OTc1Nzk4IiwiaWRwIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlkdHlwIjoiZm1pIiwicmgiOiIxLkFSb0F2NGo1Y3ZHR3IwR1JxeTE4MEJIYlI2eUVtMGtoRTM5Q3FoY21mS2FYVjVnQUFBQWFBQS4iLCJzdWIiOiIvZWlkMS9jL3B1Yi90L3Y0ajVjdkdHcjBHUnF5MTgwQkhiUncvYS9ySVNiU1NFVGYwS3FGeVo4cHBkWG1BL2JzL2gvNmZjYzkyZTUtNzNhNy00Zjg4LThkMTMtZDkwNDViNDVmYjI3L2kvYzc3M2YyYzItNTEyMC00MjA3LWFmZTItYWZhZjM1YThiYzBhIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoiNzZpc0NKZ0JTa21XSklYRl84MExBQSIsInZlciI6IjEuMCIsInhtc19hdHRyIjp7InJJU2JTU0VUZjBLcUZ5WjhwcGRYbUEiOnsiYWRvX2V4cCI6MTc4Mjk1OTU0MSwiYWRvX3JlZnJlc2h0byI6MTc4MzgwODU0MSwiYWRvX3NjcCI6IlJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOmNiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OS9kb3RuZXQvbWF1aS8zMDI6QnVpbGQvQnVpbGQvMTQ5MDY4MiBSZWFkQW5kUHVibGlzaFRlc3Q6Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFBpcGVsaW5lQ2FjaGUuUmVhZFdyaXRlUm9vdEFjY2VzcyIsImF1aSI6ImRhODAyY2YyLTM2ZWItNDIxMS05Y2UyLTdmM2Q2OWJiNDY4ZiIsIkJ1aWxkSWQiOiJjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7MTQ5MDY4MiIsIkRlZklkIjoiMzAyIiwiam9icmVmIjoiMGQ2OTkwNjItYjA2NC00MWNhLWI4NWEtM2I2MmRmMmUyYWM0OmU5ZDQ4ZGNiLWViMTMtNWIwNC02ODcxLWFhN2NkMDMxYjgyZCIsImp0bSI6IjI0MCIsIm9yY2hpZCI6IjBkNjk5MDYyLWIwNjQtNDFjYS1iODVhLTNiNjJkZjJlMmFjNC5oZWxpeHRlc3RzLnRlc3RfaGVsaXhfdW5pdF90ZXN0c193aW5kb3dzX3JlbGVhc2UuX19kZWZhdWx0IiwicGNjIjoiW3tcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvaW5mbGlnaHQvY3VycmVudDtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvaW5mbGlnaHQvY3VycmVudDtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjF9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvcHVsbC8zNDYxNS9tZXJnZTtkb3RuZXQvbWF1aVwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCIzMDI7Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5O3JlZnMvaGVhZHMvbWFzdGVyO2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX0se1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9oZWFkcy9tYWluO2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwicHBpZCI6InZzdGZzOi8vL0J1aWxkL0J1aWxkLzE0OTA2ODIifX0sInhtc19pZHJlbCI6IjI4IDMzIiwieG1zX3JkIjoiMC5BVmtBcHY4S0JRZ0NFZ0VhRWhRSUNSSVFvS1hiY1h5blpFdTh4UFg1aS1Kbl9oSVVDQXNTRUx2RmRXWGh3bGxXZnBUZnc1UzR4OEFpSkFnREVpRGdjUWZBd2F5d3JBVzQ1Ty00dmVoeWtYV0tUcGdqN2VJME5WSFQtX2w2MkEifQ.JTpmkxtHD_sUAi7CiUu2ZGwnfcRJypvt6W5RiGIlf55_ff1ac9E5e1uQQauidQw9ucYSOHgsXrOCbywULmxhySuq8w5xq_n8R9xXGQaRROFrWJBsyYcTz964qX6eY6emLxLALfVWm37ZkgplI6rgkzlTUSXPKLuHE-N_dyW11dO1Il-spq0MOZot8IBqW-Tqd9M9gC5vSZCDLsiWugTKSJ1OXFrudcqgjWpyTZRAIDEzqwzC_mBmKFrkLdsj3SwhdinFzcdgONdMTDNL4J1qTnCC53fcRiKwk4fFBoeJlR5Ei5TFz_KixORcebdHIzj_10MLDf225PQ7offr9FFoOA || 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-07-01T23:14:55.633Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-07-01T23:14:55.633Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-07-01T23:14:55.634Z 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': 'ccb8ad61-64da-4d81-aee6-361817a7d3d4' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.13 (Windows-2016Server-10.0.14393-SP0)' No body was attached to the request 2026-07-01T23:14:55.651Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Content-Type': 'application/json; charset=utf-8' 'Server': 'IMDS/150.870.65.2118' 'x-ms-request-id': 'ccb8ad61-64da-4d81-aee6-361817a7d3d4' 'Date': 'Wed, 01 Jul 2026 23:14:54 GMT' 'Content-Length': '2460' 2026-07-01T23:14:55.652Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token succeeded 2026-07-01T23:14:55.652Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token succeeded 2026-07-01T23:14:55.652Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-07-01T23:14:55.653Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token_info succeeded 2026-07-01T23:14:55.653Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token_info succeeded 2026-07-01T23:14:56.060Z INFO run.py run(48) main Beginning reading of test results. 2026-07-01T23:14:56.061Z INFO run.py __init__(42) read_results Searching 'C:\h\w\ABAB08E7\w\A101090D\e' for test results files 2026-07-01T23:14:56.062Z INFO run.py __init__(48) read_results Found results file C:\h\w\ABAB08E7\w\A101090D\e\testResults.xml with format xunit 2026-07-01T23:14:56.074Z INFO run.py __init__(42) read_results Searching 'C:\h\w\ABAB08E7\w\A101090D\uploads' for test results files 2026-07-01T23:14:56.075Z INFO run.py packing_test_reporter(30) report_results Packing 852 test reports to 'C:\h\w\ABAB08E7\w\A101090D\e\__test_report.json' 2026-07-01T23:14:56.077Z INFO run.py packing_test_reporter(33) report_results Packed 324385 bytes C:\h\w\ABAB08E7\w\A101090D\e>EXIT /b 1 ['Microsoft.Maui.UnitTests.dll' END OF WORK ITEM LOG: Command exited with 1]