Clean up use of PreserveDependencyAttribute in System.Text.Json (dotnet/corefx#42146)
authorStephen Toub <stoub@microsoft.com>
Sat, 26 Oct 2019 20:03:21 +0000 (16:03 -0400)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2019 20:03:21 +0000 (16:03 -0400)
commit6afbb0bca0305a23756e48b562d5a54edd7a4a3f
tree773750c26934b2470831a9f2fd2e47ae364ff201
parent3908711d1da446066a9ec95b55ba353d22117f34
Clean up use of PreserveDependencyAttribute in System.Text.Json (dotnet/corefx#42146)

It's not necessary to specify the assembly name when the consumer is in the same assembly.

Commit migrated from https://github.com/dotnet/corefx/commit/e13b93bb645db8a2b77b9ee7663b56c3af6f2fbd
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/JsonConverterEnum.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/JsonKeyValuePairConverter.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonClassInfo.AddProperty.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonStringEnumConverter.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReflectionEmitMemberAccessor.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReflectionMemberAccessor.cs