2008-11-06 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / System / System.Diagnostics / EventLogPermissionAccess.cs
index e961dd20905c73b09f19fe030978f08617ef8572..67c6a422c0811cba0b2ed2cf818f71f2fbe6527e 100644 (file)
@@ -2,11 +2,11 @@
 // System.Diagnostics.EventLogPermissionAccess.cs
 //
 // Authors:
-//   Jonathan Pryor (jonpryor@vt.edu)
+//     Jonathan Pryor (jonpryor@vt.edu)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2002 Jonathan Pryor
-//
-
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-using System;
-using System.Diagnostics;
-
 namespace System.Diagnostics {
 
-       [Flags, Serializable]
+       [Flags]
+#if !NET_2_0
+       [Serializable]
+#endif
        public enum EventLogPermissionAccess {
                None=0,
+#if NET_2_0
+               [Obsolete ()]
+               Browse=0x2,
+               [Obsolete ()]
+               Instrument=0x6,
+               [Obsolete ()]
+               Audit=0xA,
+               Write = 16,
+               Administer = 48,
+#else
                Browse=0x2,
                Instrument=0x6,
                Audit=0xA,
+#endif
        }
 }