Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2006-08-09 13:02:00 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2006-08-09 13:02:00 +0400
commit5051ca56cea7c3f33528d24be6359c4ea9130ee6 (patch)
treee174b8e1ed501d33e76479e677df64ca10340ee3 /mcs/class/System/System.Diagnostics/OverflowAction.cs
parent79c9aca6c956d6a9d2aa493d127095c747a3f0b3 (diff)
* EventInstance.cs: Added 2.0 class.
* EventSourceCreationData.cs: Added 2.0 class. * OverflowAction.cs: Added 2.0 enum. * System.dll.sources: Added EventInstance.cs, OverflowAction.cs, EventSourceCreationData.cs. svn path=/trunk/mcs/; revision=63523
Diffstat (limited to 'mcs/class/System/System.Diagnostics/OverflowAction.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/OverflowAction.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/OverflowAction.cs b/mcs/class/System/System.Diagnostics/OverflowAction.cs
new file mode 100644
index 00000000000..5dbf89153ac
--- /dev/null
+++ b/mcs/class/System/System.Diagnostics/OverflowAction.cs
@@ -0,0 +1,40 @@
+//
+// System.Diagnostics.OverFlowAction
+//
+// Authors:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2006 Novell
+//
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+namespace System.Diagnostics
+{
+ public enum OverflowAction
+ {
+ DoNotOverwrite = -1,
+ OverwriteAsNeeded = 0,
+ OverwriteOlder = 1
+ }
+}
+#endif