From fe81abd171228e738bdea44aedb86acc9b32f239 Mon Sep 17 00:00:00 2001 From: Layomi Akinrinade Date: Thu, 6 Aug 2020 16:44:35 -0700 Subject: [PATCH] Remove workaround in DefaultValueAttributeCtorTest trimming test (#40448) --- .../tests/TrimmingTests/DefaultValueAttributeCtorTest.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libraries/System.Runtime/tests/TrimmingTests/DefaultValueAttributeCtorTest.cs b/src/libraries/System.Runtime/tests/TrimmingTests/DefaultValueAttributeCtorTest.cs index 0aa104f..1d9a6ec 100644 --- a/src/libraries/System.Runtime/tests/TrimmingTests/DefaultValueAttributeCtorTest.cs +++ b/src/libraries/System.Runtime/tests/TrimmingTests/DefaultValueAttributeCtorTest.cs @@ -13,10 +13,6 @@ class Program { static int Main(string[] args) { - // workaround TypeConverterAttribute not being annotated correctly - // https://github.com/dotnet/runtime/issues/39125 - var _ = new MyStringConverter(); - TypeDescriptor.AddAttributes(typeof(string), new TypeConverterAttribute(typeof(MyStringConverter))); var attribute = new DefaultValueAttribute(typeof(string), "Hello, world!"); -- 2.7.4