Update Reference Sources to .NET Framework 4.6.1
[mono.git] / mcs / class / referencesource / mscorlib / system / threading / lockrecursionexception.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*============================================================
7 //
8 // Class: LockRecursionException
9 //
10 //
11 // Purpose: 
12 // This exception represents a failed attempt to recursively
13 // acquire a lock, because the particular lock kind doesn't
14 // support it in its current state.
15 //
16 // <OWNER>[....]</OWNER>
17 // <OWNER>[....]</OWNER>
18 //
19 ============================================================*/
20
21 namespace System.Threading
22 {
23     using System;
24     using System.Runtime.Serialization;
25     using System.Runtime.CompilerServices;
26
27     [Serializable]
28     [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
29 #if !MOBILE
30     [TypeForwardedFrom("System.Core, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")]
31 #endif
32     public class LockRecursionException : System.Exception
33     {
34         public LockRecursionException() { }
35         public LockRecursionException(string message) : base(message) { }
36         protected LockRecursionException(SerializationInfo info, StreamingContext context) : base(info, context) { }
37         public LockRecursionException(string message, Exception innerException) : base(message, innerException) { }
38     }
39
40 }