Enable System.Linq.Queryable and disable https://github.com/dotnet/runtime/issues...
authorLarry Ewing <lewing@microsoft.com>
Mon, 16 Aug 2021 18:49:20 +0000 (13:49 -0500)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 18:49:20 +0000 (13:49 -0500)
src/libraries/System.Linq.Queryable/tests/TrimCompatibilityTests.cs
src/libraries/tests.proj

index 6a45832..9021f6a 100644 (file)
@@ -16,6 +16,7 @@ namespace System.Linq.Tests
         /// preserve the corresponding Enumerable method when trimming.
         /// </summary>
         [Fact]
+        [ActiveIssue("https://github.com/dotnet/runtime/issues/50712", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
         public static void QueryableMethodsContainCorrectDynamicDependency()
         {
             IEnumerable<MethodInfo> dependentMethods =
index 1673ba2..1aac4ed 100644 (file)
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyInjection\tests\DI.Tests\Microsoft.Extensions.DependencyInjection.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Logging.EventSource\tests\Microsoft.Extensions.Logging.EventSource.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Diagnostics.DiagnosticSource\tests\System.Diagnostics.DiagnosticSource.Tests.csproj" />
-    <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq.Queryable\tests\System.Linq.Queryable.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj" />
 
     <!-- Issue: https://github.com/dotnet/runtime/issues/51602 -->