Skip to content

Commit

Permalink
Remove workaround in DefaultValueAttributeCtorTest trimming test (dot…
Browse files Browse the repository at this point in the history
  • Loading branch information
layomia authored Aug 6, 2020
1 parent e2b42c5 commit fe81abd
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit fe81abd

Please sign in to comment.