Console log: 'Microsoft.Maui.UnitTests.dll' from job 05e367cd-91bf-46c2-84fb-f27ec8572a87 workitem ee8bc6b1-3b7b-4e8d-a7b2-b69b4e46ad91 (windows.10.amd64.open) executed on machine a00ENIZ running Windows-2016Server-10.0.14393-SP0 C:\h\w\AFCA0988\w\C1F40A39\e>set PATH=C:\h\w\AFCA0988\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\AFCA0988\w\C1F40A39\e>set DOTNET_ROOT=C:\h\w\AFCA0988\p\dotnet-cli C:\h\w\AFCA0988\w\C1F40A39\e>set DOTNET_CLI_TELEMETRY_OPTOUT=1 C:\h\w\AFCA0988\w\C1F40A39\e>set DOTNET_CLI_HOME=C:\h\w\AFCA0988\w\C1F40A39\e\.dotnet C:\h\w\AFCA0988\w\C1F40A39\e>set NUGET_PACKAGES=C:\h\w\AFCA0988\w\C1F40A39\e\.nuget C:\h\w\AFCA0988\w\C1F40A39\e>dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json C:\h\w\AFCA0988\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 AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) AddBeforeMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(51,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddBeforeMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(77,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.ModifyMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/CommandMapperExtensionTests.cs(25,0): at Microsoft.Maui.UnitTests.CommandMapperExtensionTests.AddAfterMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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/CommandMapperTests.cs(50,0): at Microsoft.Maui.UnitTests.CommandMapperTests.ChainingMappersStillAllowReplacingChainedRoot() 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/CommandMapperTests.cs(29,0): at Microsoft.Maui.UnitTests.CommandMapperTests.ChainingMappersOverrideBase() 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/CommandMapperTests.cs(72,0): at Microsoft.Maui.UnitTests.CommandMapperTests.GenericMappersWorks() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstrainsViewsHorizontallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.VerticalStackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/VerticalStackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.VerticalStackLayoutTests.ConstrainsViewsHorizontallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddAfterMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ModifyMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(77,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.ModifyMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ReplaceMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(51,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.AddBeforeMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddAfterMapping [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() /_/src/Core/tests/UnitTests/PropertyMapperExtensionTests.cs(25,0): at Microsoft.Maui.UnitTests.PropertyMapperExtensionTests.AddAfterMapping() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.ContentView), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/LegacyLayouts/Layout.cs(110,0): at Microsoft.Maui.Controls.Compatibility.Layout..ctor() at Microsoft.Maui.Controls.TemplatedView..ctor() at Microsoft.Maui.Controls.ContentView..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Label), shouldRun: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Label/Label.cs(154,0): at Microsoft.Maui.Controls.Label..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) AddBeforeMappingWhen(controlType: typeof(Microsoft.Maui.Controls.Button), shouldRun: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Button/Button.cs(353,0): at Microsoft.Maui.Controls.Button..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) 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) 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) CanCreateLogger [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(318,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanCreateLogger() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooBarCat [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(165,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBarCat() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_DefaultWithNothing [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(76,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithNothing() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveDifferentTransientServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(266,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveDifferentTransientServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanGetServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.CanGetServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceThrowsWhenConstructorParamTypesWereNotRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(27,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenConstructorParamTypesWereNotRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooBar [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooBar() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_DefaultWithBar [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(93,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_DefaultWithBar() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_FooWithCat [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(128,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_FooWithCat() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnEnumerableParams [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(249,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnEnumerableParams() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveMixedServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(287,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveMixedServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveSystemDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(231,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveSystemDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(214,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveRegisteredConstructorParamsAndHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesFirstOfMultipleConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(49,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesFirstOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesUsesCorrectCtor_Foo [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(110,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesUsesCorrectCtor_Foo() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveSameSingletonServices [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(276,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveSameSingletonServices() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(197,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveUnregisteredConstructorParamsButHaveDefaultValues() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceHandlesSecondOfMultipleConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(63,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceHandlesSecondOfMultipleConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceCanReturnTypesThatHaveConstructorParams [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(183,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceCanReturnTypesThatHaveConstructorParams() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) WillRetrieveEnumerables [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(299,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.WillRetrieveEnumerables() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetServiceThrowsWhenNoPublicConstructors [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServicesTests.cs(37,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServicesTests.GetServiceThrowsWhenNoPublicConstructors() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) MultipleServicesAreRegisteredWithoutBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderServiceBuilderTests.cs(18,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderServiceBuilderTests.MultipleServicesAreRegisteredWithoutBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(213,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenOnlyInterfacesRelatedByInheritanceAreRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(168,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderDoesNotResolveHandlersRegisteredUnderMoreDerivedTypes() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(233,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeDespiteAmbiguousInterfacesRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) 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) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: True, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: True) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderCanRegisterAndResolveCorrespondingHandlerService(registerHandlerServicesWithGenerics: False, retrieveHandlerServiceWithGenerics: False) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(50,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Boolean registerHandlerServicesWithGenerics, Boolean retrieveHandlerServiceWithGenerics) at InvokeStub_HostBuilderHandlerTests.HostBuilderCanRegisterAndResolveCorrespondingHandlerService(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 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) HostBuilderCanBuildAHost [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(15,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCanBuildAHost() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(146,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderConcreteTypeOverInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderResolvesHandlerTypeForServiceRegisteredWithType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(257,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerTypeForServiceRegisteredWithType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(270,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderCannotResolveHandlerTypeForServiceRegisteredWithFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderResolvesLastRegisteredHandlerServiceForServiceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(71,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesLastRegisteredHandlerServiceForServiceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(90,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderThrowsWhenNoMatchingHandlerServiceTypeIsRegistered() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(123,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesToHandlerRegisteredUnderMostDerivedBaseInterfaceType() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.IViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) 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) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.ViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.ViewHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesClosestApplicableServiceType(type: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyDerivedViewStub), expectedHandlerType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+MyBaseHandlerStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(188,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Type type, Type expectedHandlerType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesClosestApplicableServiceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderWithDefaultsRegistersMauiHandlersFactory [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(24,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderWithDefaultsRegistersMauiHandlersFactory() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.IViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyBaseViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(baseInterfaceType: typeof(Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests+IMyDerivedViewStub)) [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderHandlerTests.cs(104,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Type baseInterfaceType) at InvokeStub_HostBuilderHandlerTests.HostBuilderResolvesHandlerRegisteredUnderBaseInterfaceType(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) LclFilesMissingJsonKeys [SKIP] Skipped because doesn t work on helix EventsMustBeInvokedUsingExactDelegate [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(109,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsMustBeInvokedUsingExactDelegate() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaMultipleConfigureLifecycleEvents [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(129,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaMultipleConfigureLifecycleEvents() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) InvokingUnregisteredEventsDoesNotThrow [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(55,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.InvokingUnregisteredEventsDoesNotThrow() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) EventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(71,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.EventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddMultipleEventsViaBuilder [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(148,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddMultipleEventsViaBuilder() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddDelegateEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(41,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddDelegateEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) DelegateEventsFireExactlyOnce [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(88,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.DelegateEventsFireExactlyOnce() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) CanAddCustomEvent [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(29,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.CanAddCustomEvent() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConfigureLifecycleEventsRegistersService [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/LifecycleEvents/LifecycleEventsTests.cs(18,0): at Microsoft.Maui.UnitTests.LifecycleEvents.LifecycleEventsTests.ConfigureLifecycleEventsRegistersService() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) 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) CanAddLoggingProviders [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderLoggingTests.cs(35,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.CanAddLoggingProviders() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) GetValidILoggerByDefault [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(169,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(25,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.b__1_1(IServiceProvider svc) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(158,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs(181,0): at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) /_/src/Core/src/MauiContextExtensions.cs(83,0): at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) /_/src/Core/src/Hosting/MauiAppBuilder.cs(198,0): at Microsoft.Maui.Hosting.MauiAppBuilder.Build() /_/src/Core/tests/UnitTests/Hosting/HostBuilderLoggingTests.cs(17,0): at Microsoft.Maui.UnitTests.Hosting.HostBuilderLoggingTests.GetValidILoggerByDefault() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ConstrainsViewsVerticallyWhenConstrained [FAIL] System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Stack Trace: at System.Threading.ThreadLocal`1.GetValueSlow() /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs(108,0): at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() /_/src/Core/src/Dispatching/Dispatcher.cs(9,0): at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() /_/src/Controls/src/Core/BindableObject.cs(38,0): at Microsoft.Maui.Controls.BindableObject..ctor() /_/src/Controls/src/Core/Element/Element.cs(701,0): at Microsoft.Maui.Controls.Element..ctor() /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs(17,0): at Microsoft.Maui.Controls.StyleableElement..ctor() /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs(22,0): at Microsoft.Maui.Controls.NavigableElement..ctor() /_/src/Controls/src/Core/VisualElement/VisualElement.cs(531,0): at Microsoft.Maui.Controls.VisualElement..ctor() /_/src/Controls/src/Core/View/View.cs(94,0): at Microsoft.Maui.Controls.View..ctor() /_/src/Controls/src/Core/Layout/Layout.cs(39,0): at Microsoft.Maui.Controls.Layout..ctor() at Microsoft.Maui.Controls.StackBase..ctor() at Microsoft.Maui.Controls.HorizontalStackLayout..ctor() /_/src/Core/tests/UnitTests/Layouts/HorizontalStackLayoutTests.cs(12,0): at Microsoft.Maui.UnitTests.Layouts.HorizontalStackLayoutTests.ConstrainsViewsVerticallyWhenConstrained() at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ResxLocalizationStringsAreTranslated [SKIP] Skipped because doesn t work on helix ResxLocalizationStringsAreDisplayedProperly [SKIP] Skipped because doesn t work on helix Finished: Microsoft.Maui.UnitTests === TEST EXECUTION SUMMARY === Microsoft.Maui.UnitTests Total: 839, Errors: 0, Failed: 115, Skipped: 3, Time: 6.313s C:\h\w\AFCA0988\w\C1F40A39\e>set _commandExitCode=1 C:\h\w\AFCA0988\w\C1F40A39\e>C:\python3\python.exe C:\h\w\AFCA0988\p\reporter\run.py https://dev.azure.com/dnceng-public/ public 39974372 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCIsImtpZCI6IndoMDZzRWt6TEhKNXNOTmFVeVJZMl82TzhLMCJ9.eyJhdWQiOiI0OTliODRhYy0xMzIxLTQyN2YtYWExNy0yNjdjYTY5NzU3OTgiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzgwMTM5Mzc2LCJuYmYiOjE3ODAxMzkzNzYsImV4cCI6MTc4MDIyNjA3NiwiYWlvIjoiQVNRQTIvOGNBQUFBcjd2bWNIdm1aNkw0aXhQVmhKMkhIMzJSazZsUmhIMWZpVm1mdHBMeEd1WT0iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWR0eXAiOiJmbWkiLCJyaCI6IjEuQVJvQXY0ajVjdkdHcjBHUnF5MTgwQkhiUjZ5RW0wa2hFMzlDcWhjbWZLYVhWNWdBQUFBYUFBLiIsInN1YiI6Ii9laWQxL2MvcHViL3QvdjRqNWN2R0dyMEdScXkxODBCSGJSdy9hL3JJU2JTU0VUZjBLcUZ5WjhwcGRYbUEvYnMvaC82ZmNjOTJlNS03M2E3LTRmODgtOGQxMy1kOTA0NWI0NWZiMjcvaS9jNzczZjJjMi01MTIwLTQyMDctYWZlMi1hZmFmMzVhOGJjMGEiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiJmWnVNSlhYMWQwaUlUNTdURnh3R0FRIiwidmVyIjoiMS4wIiwieG1zX2F0dHIiOnsicklTYlNTRVRmMEtxRnlaOHBwZFhtQSI6eyJhZG9fZXhwIjoxNzgwMTU0Njc2LCJhZG9fc2NwIjoiUmVhZEFuZFVwZGF0ZUJ1aWxkQnlVcmk6Y2JiMTgyNjEtYzQ4Zi00YWJiLTg2NTEtOGNkY2I1NDc0NjQ5L2RvdG5ldC9tYXVpLzMwMjpCdWlsZC9CdWlsZC8xNDQyMDA1IFJlYWRBbmRQdWJsaXNoVGVzdDpjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDkgTG9jYXRpb25TZXJ2aWNlLkNvbm5lY3QgUGlwZWxpbmVDYWNoZS5SZWFkV3JpdGVSb290QWNjZXNzIiwiYXVpIjoiYWMwNWNlZWYtMjAwYy00ZGJkLWIzZTMtNDc2ZmRmYTcwYmI5IiwiQnVpbGRJZCI6ImNiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTsxNDQyMDA1IiwiRGVmSWQiOiIzMDIiLCJqb2JyZWYiOiJjNDMyMDQzYy0yMmNiLTQ4ZTItODUyNS0wZWY4MzgxODdjY2E6ZTlkNDhkY2ItZWIxMy01YjA0LTY4NzEtYWE3Y2QwMzFiODJkIiwib3JjaGlkIjoiYzQzMjA0M2MtMjJjYi00OGUyLTg1MjUtMGVmODM4MTg3Y2NhLmhlbGl4dGVzdHMudGVzdF9oZWxpeF91bml0X3Rlc3RzX3dpbmRvd3NfcmVsZWFzZS5fX2RlZmF1bHQiLCJwY2MiOiJbe1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9oZWFkcy9pbmZsaWdodC9jdXJyZW50O2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX0se1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9oZWFkcy9pbmZsaWdodC9jdXJyZW50O2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6MX0se1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9wdWxsLzM1NTkwL21lcmdlO2RvdG5ldC9tYXVpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcIjMwMjtjYmIxODI2MS1jNDhmLTRhYmItODY1MS04Y2RjYjU0NzQ2NDk7cmVmcy9oZWFkcy9tYXN0ZXI7ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfSx7XCJTY29wZVwiOlwiMzAyO2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OTtyZWZzL2hlYWRzL21haW47ZG90bmV0L21hdWlcIixcIlBlcm1pc3Npb25cIjoxfV0iLCJwcGlkIjoidnN0ZnM6Ly8vQnVpbGQvQnVpbGQvMTQ0MjAwNSJ9fSwieG1zX2lkcmVsIjoiMzMgMzAiLCJ4bXNfcmQiOiIwLkFWa0FwdjhLQlFnQ0VnRWFFaFFJQ1JJUW9LWGJjWHluWkV1OHhQWDVpLUpuX2hJVUNBc1NFTHZGZFdYaHdsbFdmcFRmdzVTNHg4QWlKQWdERWlEZ2NRZkF3YXl3ckFXNDVPLTR2ZWh5a1hXS1RwZ2o3ZUkwTlZIVC1fbDYyQSJ9.RV69ANmm5GrfN7tlcjT1fJ-T6kxxVeehzUpRIG2mMiM1eAUfD1XzSn6hPjjeAtwc1c3PSyBrYnVYF2RuffOCa9weAKmG_9cQZKb2GcQCFreTwszPDEfAX9siZ_hBFrOInIpSbRSdNkDnC01ED3EcLy1vdDv9ZZgbuUd8oQOv1ddpvd38fRx9dCaU7MvATL_Fc6RRHs9I2_ctu0CqqXVDsqvioA5NApVhWzY5SH5snVzRK7frb-6pgoc2vZ88MgP53UNGvpn6ZqDnj65fpFnNvvnbfv78YDg9y0FGF8-U0XA7k94OPdOWMNOhbVtxbQFmboSFwdALp2eZLcALMT2U7Q || 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-05-30T11:36:12.390Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-05-30T11:36:12.391Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-05-30T11:36:12.392Z 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': '02a97d10-e748-4fdc-b7d3-d69bd83ea6b5' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.9 (Windows-2016Server-10.0.14393-SP0)' No body was attached to the request 2026-05-30T11:36:12.406Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Content-Type': 'application/json; charset=utf-8' 'Server': 'IMDS/150.870.65.2020' 'x-ms-request-id': '02a97d10-e748-4fdc-b7d3-d69bd83ea6b5' 'Date': 'Sat, 30 May 2026 11:36:11 GMT' 'Content-Length': '2465' 2026-05-30T11:36:12.407Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token succeeded 2026-05-30T11:36:12.407Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token succeeded 2026-05-30T11:36:12.407Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-05-30T11:36:12.408Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token_info succeeded 2026-05-30T11:36:12.408Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token_info succeeded 2026-05-30T11:36:12.816Z INFO run.py run(48) main Beginning reading of test results. 2026-05-30T11:36:12.816Z INFO run.py __init__(42) read_results Searching 'C:\h\w\AFCA0988\w\C1F40A39\e' for test results files 2026-05-30T11:36:12.818Z INFO run.py __init__(48) read_results Found results file C:\h\w\AFCA0988\w\C1F40A39\e\testResults.xml with format xunit 2026-05-30T11:36:12.834Z INFO run.py __init__(42) read_results Searching 'C:\h\w\AFCA0988\w\C1F40A39\uploads' for test results files 2026-05-30T11:36:12.835Z INFO run.py packing_test_reporter(30) report_results Packing 839 test reports to 'C:\h\w\AFCA0988\w\C1F40A39\e\__test_report.json' 2026-05-30T11:36:12.838Z INFO run.py packing_test_reporter(33) report_results Packed 505316 bytes C:\h\w\AFCA0988\w\C1F40A39\e>EXIT /b 1 ['Microsoft.Maui.UnitTests.dll' END OF WORK ITEM LOG: Command exited with 1]