37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Reflection.Emit
|
|
{
|
|
/// <summary>Defines the access modes for a dynamic assembly.</summary>
|
|
// Token: 0x0200026C RID: 620
|
|
[Token(Token = "0x200026C")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum AssemblyBuilderAccess
|
|
{
|
|
/// <summary>The dynamic assembly can be executed, but not saved.</summary>
|
|
// Token: 0x04000B83 RID: 2947
|
|
[Token(Token = "0x4000B83")]
|
|
Run = 1,
|
|
/// <summary>The dynamic assembly can be saved, but not executed.</summary>
|
|
// Token: 0x04000B84 RID: 2948
|
|
[Token(Token = "0x4000B84")]
|
|
Save = 2,
|
|
/// <summary>The dynamic assembly can be executed and saved.</summary>
|
|
// Token: 0x04000B85 RID: 2949
|
|
[Token(Token = "0x4000B85")]
|
|
RunAndSave = 3,
|
|
/// <summary>The dynamic assembly is loaded into the reflection-only context, and cannot be executed.</summary>
|
|
// Token: 0x04000B86 RID: 2950
|
|
[Token(Token = "0x4000B86")]
|
|
ReflectionOnly = 6,
|
|
/// <summary>The dynamic assembly will be automatically unloaded and its memory reclaimed, when it's no longer accessible.</summary>
|
|
// Token: 0x04000B87 RID: 2951
|
|
[Token(Token = "0x4000B87")]
|
|
RunAndCollect = 9
|
|
}
|
|
}
|