projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a4cde
)
Make EventArgs base class serializable (#15541)
author
Viktor Hofer
<viktor.hofer@microsoft.com>
Fri, 15 Dec 2017 21:46:52 +0000
(13:46 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 15 Dec 2017 21:46:52 +0000
(16:46 -0500)
src/mscorlib/shared/System/EventArgs.cs
patch
|
blob
|
history
diff --git
a/src/mscorlib/shared/System/EventArgs.cs
b/src/mscorlib/shared/System/EventArgs.cs
index
be12af2
..
f3561a8
100644
(file)
--- a/
src/mscorlib/shared/System/EventArgs.cs
+++ b/
src/mscorlib/shared/System/EventArgs.cs
@@
-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();