Skip to content

Commit 436078f

Browse files
committed
extend default blacklist
1 parent 44849dd commit 436078f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/FastCloner/Code/FastClonerExprGenerator.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,10 @@ private static object GenerateMemberwiseCloner(Type type, ExpressionPosition pos
564564
"System.Net.",
565565
"System.Reflection.",
566566
"System.IO.",
567-
"System.Runtime."
567+
"System.Runtime.",
568+
"System.Threading.",
569+
"System.Text.Json.",
570+
"System.Diagnostics."
568571
]);
569572

570573
private static readonly Dictionary<string, Func<Type, object?>> specialNamespaces = new Dictionary<string, Func<Type, object?>>

0 commit comments

Comments
 (0)