Skip to content

Commit

Permalink
Add char to KnownSingleValueGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoaidHathot committed Dec 18, 2023
1 parent ceca574 commit 0118cd5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Dumpify.Playground/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
#pragma warning disable CS0168
void TestSpecific()
{
new TestVirtual().Dump();
'a'.Dump();
//new TestVirtual().Dump();
// DumpConfig.Default.TypeRenderingConfig.StringQuotationChar = '`';
//
// var direct = new TestDirect();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ internal class KnownSingleValueGenerator : IDescriptorGenerator
typeof(double).TypeHandle,
typeof(decimal).TypeHandle,
typeof(string).TypeHandle,
typeof(char).TypeHandle,
#if NET5_0_OR_GREATER
typeof(Half).TypeHandle,
#endif
Expand Down
3 changes: 1 addition & 2 deletions src/Dumpify/Descriptors/ValueProviders/MemberProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Dumpify;
using System.Reflection;
using System.Reflection;

namespace Dumpify.Descriptors.ValueProviders;

Expand Down

0 comments on commit 0118cd5

Please sign in to comment.