Make JsonPropertyNameAttribute.Name readonly (dotnet/corefx#37829)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Tue, 28 May 2019 19:27:20 +0000 (12:27 -0700)
committerAhson Khan <ahkha@microsoft.com>
Tue, 28 May 2019 19:27:20 +0000 (12:27 -0700)
commit9ba8b91360b4522bbab6a2ab0ccb307a309cf786
tree2637bc453a68fc0b84d687bf5d1119d899afe1f1
parent17c9d54f25139a5dd2d61e835ec2a93389ef4f73
Make JsonPropertyNameAttribute.Name readonly (dotnet/corefx#37829)

Rename ctor arg to name

Fixes: dotnet/corefx#37552

Commit migrated from https://github.com/dotnet/corefx/commit/e8990ae04e4ef62f5ccb143352472c9b4d5d5968
src/libraries/System.Text.Json/docs/SerializerProgrammingModel.md
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyNameAttribute.cs