Make EventArgs base class serializable (#15541)
authorViktor Hofer <viktor.hofer@microsoft.com>
Fri, 15 Dec 2017 21:46:52 +0000 (13:46 -0800)
committerJan Kotas <jkotas@microsoft.com>
Fri, 15 Dec 2017 21:46:52 +0000 (16:46 -0500)
src/mscorlib/shared/System/EventArgs.cs

index be12af2..f3561a8 100644 (file)
@@ -7,6 +7,8 @@ using System;
 namespace System
 {
     // The base class for all event classes.
+    [Serializable]
+    [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
     public class EventArgs
     {
         public static readonly EventArgs Empty = new EventArgs();