summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/EventHandler.cs
blob: 517e1f7c2691b0b564df838875cc6bf26c6fa8c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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.

namespace System {
    
    [Serializable]
    [System.Runtime.InteropServices.ComVisible(true)]
    public delegate void EventHandler(Object sender, EventArgs e);

    [Serializable]
    public delegate void EventHandler<TEventArgs>(Object sender, TEventArgs e); // Removed TEventArgs constraint post-.NET 4
}