24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.ConstrainedExecution
|
|
{
|
|
/// <summary>Specifies a reliability contract.</summary>
|
|
// Token: 0x020002B5 RID: 693
|
|
[Serializable]
|
|
public enum Consistency
|
|
{
|
|
/// <summary>In the face of exceptional conditions, the common language runtime (CLR) makes no guarantees regarding state consistency in the current application domain.</summary>
|
|
// Token: 0x04000BE0 RID: 3040
|
|
MayCorruptAppDomain = 1,
|
|
/// <summary>In the face of exceptional conditions, the method is guaranteed to limit state corruption to the current instance.</summary>
|
|
// Token: 0x04000BE1 RID: 3041
|
|
MayCorruptInstance,
|
|
/// <summary>In the face of exceptional conditions, the CLR makes no guarantees regarding state consistency; that is, the condition might corrupt the process.</summary>
|
|
// Token: 0x04000BE2 RID: 3042
|
|
MayCorruptProcess = 0,
|
|
/// <summary>In the face of exceptional conditions, the method is guaranteed not to corrupt state. </summary>
|
|
// Token: 0x04000BE3 RID: 3043
|
|
WillNotCorruptState = 3
|
|
}
|
|
}
|