From b3746a05a01f4af7d768460c3cf6e091ad692b11 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Mon, 15 Aug 2022 21:21:38 +1000 Subject: [PATCH] Update SerializationSettings_IgnoreType.cs --- src/Verify/Serialization/SerializationSettings_IgnoreType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Verify/Serialization/SerializationSettings_IgnoreType.cs b/src/Verify/Serialization/SerializationSettings_IgnoreType.cs index d58ebaeaf1..c62f56e743 100644 --- a/src/Verify/Serialization/SerializationSettings_IgnoreType.cs +++ b/src/Verify/Serialization/SerializationSettings_IgnoreType.cs @@ -6,7 +6,7 @@ partial class SerializationSettings public void IgnoreMembersWithType() where T : notnull => - ignoredTypes.Add(typeof(T)); + IgnoreMembersWithType(typeof(T)); public void IgnoreMembersWithType(Type type) => ignoredTypes.Add(type);