diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index 4db0bf2f44895..4f4bcb481073a 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -29,10 +29,10 @@ $(CoreCLRAotSdkDir) $(NetCoreAppCurrentTestHostSharedFrameworkPath) $(NetCoreAppCurrentTestHostSharedFrameworkPath) - $(NoWarn);IL1005;IL2105;IL3000;IL3001;IL3002;IL3003 + $(NoWarn);IL1005;IL2105;IL3000;IL3001;IL3002;IL3003;IL3050;IL3051;IL3052;IL3053 partial true - true + false diff --git a/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj b/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj index f6e4a1bbea159..da448526ca8df 100644 --- a/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj +++ b/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj @@ -6,6 +6,9 @@ $(DefaultItemExcludes);nonentrypointassembly\* true + + + $(NoWarn);IL3054 diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 82796c1b36a23..32854a84438c9 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -412,6 +412,10 @@ + + + +