Remove duplication of memberName calculation (#1995)
This commit is contained in:
committed by
James Newton-King
parent
b371ab1b0e
commit
57a3a65464
@@ -2179,7 +2179,7 @@ namespace Newtonsoft.Json.Serialization
|
||||
|
||||
CreatorPropertyContext creatorPropertyContext = new CreatorPropertyContext
|
||||
{
|
||||
Name = reader.Value.ToString(),
|
||||
Name = memberName,
|
||||
ConstructorProperty = contract.CreatorParameters.GetClosestMatchProperty(memberName),
|
||||
Property = contract.Properties.GetClosestMatchProperty(memberName)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user