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:
authorAtsushi Eno <atsushieno@gmail.com>2007-05-17 21:10:25 +0400
committerAtsushi Eno <atsushieno@gmail.com>2007-05-17 21:10:25 +0400
commit720ddca1bdf093300bcbe87bb719c81026bad836 (patch)
treeadb26ba0489785b9ff52f53d72b796e0a5ff130d /mcs/class/System/System.Diagnostics/TraceImpl.cs
parentf32fe807d9103ed38fdab1b72c822adcfee99130 (diff)
2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
* TraceOptions.cs : new enum. * TraceListener.cs : support TraceOutputOptions. Fixed missing NET_2_0 condition in TARGET_JVM section. * TraceSwitch.cs, BooleanSwitch.cs : Added missing constructors and OnValueChanged(). * Trace.cs, TraceImpl.cs : Added CorrelationManager and UseGlobalLock. * TraceEventCache.cs : initialize property values at construction. * Switch.cs : added XmlIgnore on Attributes. * SwitchesTest.cs : added tests for BooleanSwitch Value. * TraceListenerTest.cs : added test for TraceOutputOptions. * System.dll.sources : added TraceOptions.cs. svn path=/trunk/mcs/; revision=77581
Diffstat (limited to 'mcs/class/System/System.Diagnostics/TraceImpl.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/TraceImpl.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/TraceImpl.cs b/mcs/class/System/System.Diagnostics/TraceImpl.cs
index 3c01598f984..4752a150147 100644
--- a/mcs/class/System/System.Diagnostics/TraceImpl.cs
+++ b/mcs/class/System/System.Diagnostics/TraceImpl.cs
@@ -135,6 +135,22 @@ namespace System.Diagnostics {
}
}
+ static bool use_global_lock;
+#if NET_2_0
+ static CorrelationManager correlation_manager = new CorrelationManager ();
+
+ [MonoLimitation ("the property exists but it does nothing.")]
+ public static CorrelationManager CorrelationManager {
+ get { return correlation_manager; }
+ }
+#endif
+
+ [MonoLimitation ("the property exists but it does nothing.")]
+ public static bool UseGlobalLock {
+ get { return use_global_lock; }
+ set { use_global_lock = value; }
+ }
+
// Initialize the world.
//
// This logically belongs in the static constructor (as it only needs