Update Reference Sources to .NET Framework 4.6.1
[mono.git] / mcs / class / referencesource / mscorlib / system / threading / autoresetevent.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 //
7 // <OWNER>[....]</OWNER>
8 /*=============================================================================
9 **
10 ** Class: AutoResetEvent
11 **
12 **
13 ** Purpose: An example of a WaitHandle class
14 **
15 **
16 =============================================================================*/
17 namespace System.Threading {
18     
19     using System;
20     using System.Security.Permissions;
21     using System.Runtime.InteropServices;
22
23     [HostProtection(Synchronization=true, ExternalThreading=true)]
24     [System.Runtime.InteropServices.ComVisible(true)]
25     public sealed class AutoResetEvent : EventWaitHandle
26     {
27         public AutoResetEvent(bool initialState) : base(initialState,EventResetMode.AutoReset){ }
28     }
29 }
30