Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / mscorlib / system / threading / lockrecursionexception.cs
blob392c72cc8a8c1d1abc8d99264a9bff7aec8e89d4
1 // ==++==
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // ==--==
6 /*============================================================
7 //
8 // Class: LockRecursionException
9 //
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.
16 // <OWNER>Microsoft</OWNER>
17 // <OWNER>Microsoft</OWNER>
19 ============================================================*/
21 namespace System.Threading
23 using System;
24 using System.Runtime.Serialization;
25 using System.Runtime.CompilerServices;
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
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) { }