Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated for refactoring.
  • Loading branch information
CodeBlanch committed Feb 16, 2020
commit 96857fef7a4084e80dd0ca425576f5e82ffdaf28
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private JsonConverter GetConverterFromAttribute(JsonConverterAttribute converter
if (underlyingType != null && converter.CanConvert(underlyingType))
{
// Allow nullable handling to forward to the underlying type's converter.
return JsonValueConverterNullableFactory.CreateValueConverter(underlyingType, converter);
return NullableConverterFactory.CreateValueConverter(underlyingType, converter);
}

ThrowHelper.ThrowInvalidOperationException_SerializationConverterOnAttributeNotCompatible(classTypeAttributeIsOn, propertyInfo, typeToConvert);
Expand Down