From 6d9cda2874c4528e2792004d5452b6e66b6369a3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 21:08:30 +0000 Subject: [PATCH 1/2] Initial plan From bc0402da8ae94e0eae3152f225d3f9238793aff5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 21:12:15 +0000 Subject: [PATCH 2/2] Disable TpaLoadFailureTest tests on mobile platforms Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com> --- .../System.Runtime.Loader/tests/TpaLoadFailureTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Runtime.Loader/tests/TpaLoadFailureTest.cs b/src/libraries/System.Runtime.Loader/tests/TpaLoadFailureTest.cs index dc6ca9b84e7904..b862863c45b3bd 100644 --- a/src/libraries/System.Runtime.Loader/tests/TpaLoadFailureTest.cs +++ b/src/libraries/System.Runtime.Loader/tests/TpaLoadFailureTest.cs @@ -24,7 +24,7 @@ private static string GetAssemblyPath(string assemblyName) [MethodImpl(MethodImplOptions.NoInlining)] private static string UseCorruptAssembly() => BindFailureTest.Corrupt.TestClass.GetMessage(); - [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles))] + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles), nameof(PlatformDetection.IsNotMobile))] public void NotFound_ExceptionContainsAssemblyPath() { // The Missing assembly is listed in deps.json (so the host adds it to the TPA @@ -71,7 +71,7 @@ public void SharingViolation_ExceptionContainsPathAndHResult() } } - [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles))] + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles), nameof(PlatformDetection.IsNotMobile))] public void Corrupt_ExceptionContainsPathAndHResult() { const int COR_E_ASSEMBLYEXPECTED = unchecked((int)0x80131018);