Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / class / corlib / System.Reflection.Emit / PackingSize.cs
index f71c65fc79000a04589c461ad7a504d748d82142..08052a3386e7344b5e141c5746eaa0c0351f6af9 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 {
 
        /// <summary>
        ///  Specifies the packing size (data alignment) of a type.
        /// </summary>
-       [Flags]
+       [ComVisible (true)]
+       [Serializable]
        public enum PackingSize {
 
                /// <summary>
@@ -57,9 +60,16 @@ namespace System.Reflection.Emit {
 
                /// <summary>
                /// </summary>
-               Size16 = 16
+               Size16 = 16,
+
+               Size32 = 32,
+
+               Size64 = 64,
+
+               Size128 = 128
        }
 
 }
 
 
+#endif