diff --git a/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs b/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs index d4014ad734fe9..c5dbd9d90821a 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs +++ b/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs @@ -401,6 +401,7 @@ public void GetUri() // enum test [InlineData("Constructor", typeof(AttributeTargets))] [InlineData("CA761232-ED42-11CE-BACD-00AA0057B223", typeof(Guid))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))] public void CanReadAllSupportedTypes(string value, Type type) { // arrange @@ -447,6 +448,7 @@ public void CanReadAllSupportedTypes(string value, Type type) [InlineData(typeof(TimeSpan))] [InlineData(typeof(AttributeTargets))] [InlineData(typeof(Guid))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))] public void ConsistentExceptionOnFailedBinding(Type type) { // arrange diff --git a/src/libraries/System.Reflection.Emit.Lightweight/tests/DynamicMethodCtor.cs b/src/libraries/System.Reflection.Emit.Lightweight/tests/DynamicMethodCtor.cs index 45edc4b8323a7..28429f8d71e89 100644 --- a/src/libraries/System.Reflection.Emit.Lightweight/tests/DynamicMethodCtor.cs +++ b/src/libraries/System.Reflection.Emit.Lightweight/tests/DynamicMethodCtor.cs @@ -25,6 +25,7 @@ public class DynamicMethodctor1 [InlineData("method", typeof(string), new Type[] { typeof(char?) })] [InlineData("Method", typeof(string), new Type[] { typeof(GenericClass2<,>), typeof(GenericClass2<,>) })] [InlineData("Method", typeof(string), new Type[] { typeof(TestInterface) })] + [ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))] public void String_Type_TypeArray_Module(string name, Type returnType, Type[] parameterTypes) { Module module = typeof(TestClass).GetTypeInfo().Module; diff --git a/src/libraries/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoTests.cs b/src/libraries/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoTests.cs index 5ce72bed4c751..fdeb799ac5eba 100644 --- a/src/libraries/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoTests.cs +++ b/src/libraries/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoTests.cs @@ -80,6 +80,7 @@ public void TypeConstructorName_ReturnsExpected() [Theory] [InlineData(typeof(ConstructorInfoInvoke), new Type[] { typeof(int) })] [InlineData(typeof(string), new Type[] { typeof(char), typeof(int) })] + [ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))] public void Properties(Type type, Type[] typeParameters) { ConstructorInfo constructor = TypeExtensions.GetConstructor(type, typeParameters); diff --git a/src/libraries/System.Runtime.CompilerServices.VisualC/tests/System/Runtime/CompilerServices/RequiredAttributeAttributeTests.cs b/src/libraries/System.Runtime.CompilerServices.VisualC/tests/System/Runtime/CompilerServices/RequiredAttributeAttributeTests.cs index e1788cd1426e7..75c6897702590 100644 --- a/src/libraries/System.Runtime.CompilerServices.VisualC/tests/System/Runtime/CompilerServices/RequiredAttributeAttributeTests.cs +++ b/src/libraries/System.Runtime.CompilerServices.VisualC/tests/System/Runtime/CompilerServices/RequiredAttributeAttributeTests.cs @@ -10,6 +10,7 @@ public class RequiredAttributeAttributeTests [Theory] [InlineData(null)] [InlineData(typeof(int))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))] public void Ctor_RequiredContract(Type requiredContract) { var attribute = new RequiredAttributeAttribute(requiredContract); diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 5e8f9b5cf4ff4..1673ba28e966f 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -243,12 +243,6 @@ - - - - - -