Skip to content

Commit

Permalink
Clean up changes
Browse files Browse the repository at this point in the history
  • Loading branch information
layomia committed Apr 29, 2021
1 parent 5d5b563 commit 2ebda38
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,4 @@ internal JsonTypeInfo RuntimeTypeInfo

internal string? ClrName { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -685,4 +685,4 @@ private static bool IsByRefLike(Type type)
return numberHandlingAttribute?.Handling;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text.Encodings.Web;
Expand Down Expand Up @@ -338,9 +337,6 @@ private static void GenericObjectOrJsonElementConverterTestHelper<T>(string conv
{
var options = new JsonSerializerOptions();

// Initialize the built-in converters.
JsonSerializer.Serialize("", options);

JsonConverter<T> converter = (JsonConverter<T>)options.GetConverter(typeof(T));
Assert.Equal(converterName, converter.GetType().Name);

Expand Down

0 comments on commit 2ebda38

Please sign in to comment.