using System;
using System.Runtime.Serialization;
namespace System.Threading
{
/// The exception that is thrown when recursive entry into a lock is not compatible with the recursion policy for the lock.
/// 2
// Token: 0x02000051 RID: 81
[Serializable]
public class LockRecursionException : Exception
{
/// Initializes a new instance of the class with a system-supplied message that describes the error.
/// 2
// Token: 0x06000470 RID: 1136 RVA: 0x0001667C File Offset: 0x0001487C
public LockRecursionException()
{
}
/// Initializes a new instance of the class with a specified message that describes the error.
/// The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.
/// 2
// Token: 0x06000471 RID: 1137 RVA: 0x00016684 File Offset: 0x00014884
public LockRecursionException(string message)
: base(message)
{
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.
/// The exception that caused the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
/// 2
// Token: 0x06000472 RID: 1138 RVA: 0x00016690 File Offset: 0x00014890
public LockRecursionException(string message, Exception e)
: base(message, e)
{
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// Token: 0x06000473 RID: 1139 RVA: 0x0001669C File Offset: 0x0001489C
protected LockRecursionException(SerializationInfo info, StreamingContext sc)
: base(info, sc)
{
}
}
}