Fix DateTimeFormatInfo serialization on Unix
authorStephen Toub <stoub@microsoft.com>
Wed, 18 Jan 2017 13:22:54 +0000 (08:22 -0500)
committerStephen Toub <stoub@microsoft.com>
Wed, 18 Jan 2017 13:22:54 +0000 (08:22 -0500)
commit05d237d42b1a23eb3d1561544217ee01f6330579
tree347385b982ae6519ab99e8721f50be655c7549b5
parent325be29a9bc4cf6c364cae0f341e3a53f3768965
Fix DateTimeFormatInfo serialization on Unix

The Unix copy of the src is missing some [NonSerialized] attribution on a few of its fields, one of which is for a field of type TokenHashValue, which isn't [Serializable].  This is causing DateTimeFormatInfo to itself fail to serialize.

Commit migrated from https://github.com/dotnet/coreclr/commit/33b5d299b62ab2d631221967112844e7cda2d5fc
src/coreclr/src/mscorlib/corefx/System/Globalization/DateTimeFormatInfo.cs