21 lines
705 B
C#
21 lines
705 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading
|
|
{
|
|
/// <summary>Specifies whether a lock can be entered multiple times by the same thread.</summary>
|
|
// Token: 0x02000013 RID: 19
|
|
[Token(Token = "0x2000013")]
|
|
public enum LockRecursionPolicy
|
|
{
|
|
/// <summary>If a thread tries to enter a lock recursively, an exception is thrown. Some classes may allow certain recursions when this setting is in effect. </summary>
|
|
// Token: 0x04000002 RID: 2
|
|
[Token(Token = "0x4000002")]
|
|
NoRecursion,
|
|
/// <summary>A thread can enter a lock recursively. Some classes may restrict this capability. </summary>
|
|
// Token: 0x04000003 RID: 3
|
|
[Token(Token = "0x4000003")]
|
|
SupportsRecursion
|
|
}
|
|
}
|