* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / corlib / System.Reflection.Emit / PackingSize.cs
index f71c65fc79000a04589c461ad7a504d748d82142..2b4183a97107234452ecaac9bcfc137b20c84939 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
 
        /// <summary>
        ///  Specifies the packing size (data alignment) of a type.
        /// </summary>
+#if NET_2_0
+#else
        [Flags]
+#endif
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum PackingSize {
 
                /// <summary>
@@ -57,7 +64,15 @@ namespace System.Reflection.Emit {
 
                /// <summary>
                /// </summary>
-               Size16 = 16
+               Size16 = 16,
+
+#if NET_2_0
+               Size32 = 32,
+
+               Size64 = 64,
+
+               Size128 = 128
+#endif
        }
 
 }