Skip to content

Commit

Permalink
Update CustomContractResolver.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 4, 2023
1 parent c2b8782 commit df9cfcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Verify/Serialization/CustomContractResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected override JsonProperty CreateProperty(MemberInfo member, MemberSerializ
{
if (member.DeclaringType == typeof(ArgumentException))
{
valueProvider = new ExpressionValueProvider(exceptionMessageField);
valueProvider = new DynamicValueProvider(exceptionMessageField);
}
}

Expand Down

0 comments on commit df9cfcf

Please sign in to comment.