diff --git a/eng/testing/ILLinkDescriptors/ILLink.Descriptors.Castle.xml b/eng/testing/ILLinkDescriptors/ILLink.Descriptors.Castle.xml index cd75bd5b79ba99..8d12709a85131e 100644 --- a/eng/testing/ILLinkDescriptors/ILLink.Descriptors.Castle.xml +++ b/eng/testing/ILLinkDescriptors/ILLink.Descriptors.Castle.xml @@ -7,6 +7,9 @@ + + diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs index 12c453e4167e49..c345548c3a44c3 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs @@ -593,7 +593,6 @@ public async Task HostShutsDownWhenTokenTriggers() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public async Task HostStopAsyncCanBeCancelledEarly() { @@ -626,7 +625,6 @@ public async Task HostStopAsyncCanBeCancelledEarly() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public async Task HostStopAsyncUsesDefaultTimeoutIfGivenTokenDoesNotFire() { @@ -660,7 +658,6 @@ public async Task HostStopAsyncUsesDefaultTimeoutIfGivenTokenDoesNotFire() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public async Task WebHostStopAsyncUsesDefaultTimeoutIfNoTokenProvided() { @@ -1218,7 +1215,6 @@ public async Task Host_InvokesConfigureServicesMethodsOnlyOnce() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public void Dispose_DisposesAppConfigurationProviders() { @@ -1244,7 +1240,6 @@ public void Dispose_DisposesAppConfigurationProviders() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public void Dispose_DisposesHostConfigurationProviders() { @@ -1321,7 +1316,6 @@ public async Task HostCallsDisposeAsyncOnServiceProviderWhenDisposeAsyncCalled() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public async Task DisposeAsync_DisposesAppConfigurationProviders() { @@ -1347,7 +1341,6 @@ public async Task DisposeAsync_DisposesAppConfigurationProviders() } // Moq heavily utilizes RefEmit, which does not work on most aot workloads - [ActiveIssue("https://github.com/dotnet/runtime/issues/128405", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.CoreCLR)] [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))] public async Task DisposeAsync_DisposesHostConfigurationProviders() { diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj index 6ef1d98241c11c..a2432e3dfd5a21 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj @@ -17,6 +17,8 @@ + +