Remove workaround in DefaultValueAttributeCtorTest trimming test (#40448)
authorLayomi Akinrinade <laakinri@microsoft.com>
Thu, 6 Aug 2020 23:44:35 +0000 (16:44 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Aug 2020 23:44:35 +0000 (16:44 -0700)
src/libraries/System.Runtime/tests/TrimmingTests/DefaultValueAttributeCtorTest.cs

index 0aa104f..1d9a6ec 100644 (file)
@@ -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!");