Merge pull request #505 from roji/shutdown_flow
[mono.git] / mcs / class / corlib / System.Reflection.Emit / AssemblyBuilderAccess.cs
index 1cd71d8c0ea8a391eacad22fba2a3a1ea803967f..1aceb94ef07fb636b397d88853fcd8c23a1316f4 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
+using System.Runtime.InteropServices;
+
 namespace System.Reflection.Emit
 {
-#if NET_2_0
-#else
+       [ComVisible (true)]
+       [Serializable]
        [Flags]
+       public enum AssemblyBuilderAccess {
+               Run = 1,
+               Save = 2,
+               RunAndSave = 3,
+               ReflectionOnly = 6,
+#if NET_4_0
+               RunAndCollect = 9
 #endif
-  public enum AssemblyBuilderAccess
-  {
-    Run = 1,
-    Save = 2,
-    RunAndSave = 3
   }
 }
+#endif