diff options
Diffstat (limited to 'src/mscorlib/shared/System/EventHandler.cs')
-rw-r--r-- | src/mscorlib/shared/System/EventHandler.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/EventHandler.cs b/src/mscorlib/shared/System/EventHandler.cs new file mode 100644 index 0000000000..e6923cf637 --- /dev/null +++ b/src/mscorlib/shared/System/EventHandler.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; + +namespace System +{ + [Serializable] + public delegate void EventHandler(Object sender, EventArgs e); + + [Serializable] + public delegate void EventHandler<TEventArgs>(Object sender, TEventArgs e); // Removed TEventArgs constraint post-.NET 4 +} |