Remove TypeForwardedFrom attributes for System and System.Core
authorStephen Toub <stoub@microsoft.com>
Thu, 18 Aug 2016 18:14:02 +0000 (14:14 -0400)
committerStephen Toub <stoub@microsoft.com>
Thu, 18 Aug 2016 18:14:02 +0000 (14:14 -0400)
commit03216cd997efb590fea7621065cbf07ea8772a15
tree1fa897eab6e724cc6acc969ab918ec3c12ef3efe
parent23a316f3be84fbde32f3b02854529f9663558807
Remove TypeForwardedFrom attributes for System and System.Core

These assemblies don't exist in .NET Core.  Having these attributes on serializable types causes deserialization for such types to fail, as it attempts to load the assembly from which they were forwarded.

Commit migrated from https://github.com/dotnet/coreclr/commit/97464a7c614cea28c9f526fe82c68d1a676ac964
src/coreclr/src/mscorlib/src/System/Action.cs
src/coreclr/src/mscorlib/src/System/InvalidTimeZoneException.cs
src/coreclr/src/mscorlib/src/System/Threading/LockRecursionException.cs
src/coreclr/src/mscorlib/src/System/Threading/SemaphoreFullException.cs
src/coreclr/src/mscorlib/src/System/TimeZoneInfo.cs
src/coreclr/src/mscorlib/src/System/TimeZoneNotFoundException.cs