Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4efa38d

Browse files
authored
Make EventArgs base class serializable (#15541) (#15686)
1 parent 7621d45 commit 4efa38d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mscorlib/shared/System/EventArgs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
namespace System
88
{
99
// The base class for all event classes.
10+
[Serializable]
11+
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
1012
public class EventArgs
1113
{
1214
public static readonly EventArgs Empty = new EventArgs();

0 commit comments

Comments
 (0)