importing messaging-2008 branch to trunk [continued]
[mono.git] / mcs / class / System.Data / System.Data / Rule.cs
index 3acb7ee4d844e9802d13097fe0c61f5898f7b9f1..73b9b0065bdf1ae9a74b5c2607b93236215942f5 100644 (file)
@@ -37,7 +37,9 @@ namespace System.Data
        /// <summary>
        /// Indicates the action that occurs when a ForeignKeyConstraint is enforced.
        /// </summary>
+#if !NET_2_0
        [Serializable]
+#endif
        public enum Rule
        {
                None = 0,