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

Commit fbe6cc5

Browse files
ViktorHofersafern
authored andcommitted
Make EventArgs base class serializable (dotnet/coreclr#15541)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent e3568e0 commit fbe6cc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Common/src/CoreLib/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)