2008-11-06 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / System / System.Diagnostics / PerformanceCounterPermissionAccess.cs
index ce215fb1582a4216baf26b35c09bf36ff0d5fc71..f4f62853d3504ccb2ae72eaf59845b412581a785 100644 (file)
@@ -2,13 +2,13 @@
 // System.Diagnostics.PerformanceCounterPermissionAccess.cs
 //
 // Authors:
-//   Jonathan Pryor (jonpryor@vt.edu)
-//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
+//     Jonathan Pryor (jonpryor@vt.edu)
+//     Andreas Nahr (ClassDevelopment@A-SoftTech.com)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2002
 // (C) 2003 Andreas Nahr
-//
-
+// 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 ()]
+       [Flags]
        public enum PerformanceCounterPermissionAccess {
-               Administer=0x0E,
+               None=0x00,
+#if NET_2_0
+               [Obsolete ()]
+               Browse=1,
+               Read=1,
+               Write=2,
+               [Obsolete ()]
+               Instrument=3,
+               Administer=7,
+#else
                Browse=0x02,
                Instrument=0x06,
-               None=0x00
+               Administer=0x0E,
+#endif
        }
 }