From: Jonathan Pryor Date: Sat, 27 Apr 2013 13:30:04 +0000 (-0400) Subject: Add System.Diagnostics.Trace to the MOBILE profile. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=f417a1f0cd642bcb244c0ca0e119739dd06fc1b1;p=mono.git Add System.Diagnostics.Trace to the MOBILE profile. Requested here: http://forums.xamarin.com/discussion/3300/rationale-behind-removal-of-system-diagnostics-trace-in-xa-and-xi --- diff --git a/mcs/class/System/System.Diagnostics/Trace.cs b/mcs/class/System/System.Diagnostics/Trace.cs index d4bdca0b664..b18197a6bf6 100644 --- a/mcs/class/System/System.Diagnostics/Trace.cs +++ b/mcs/class/System/System.Diagnostics/Trace.cs @@ -66,9 +66,11 @@ namespace System.Diagnostics { get {return TraceImpl.Listeners;} } +#if !MOBILE public static CorrelationManager CorrelationManager { get { return TraceImpl.CorrelationManager; } } +#endif public static bool UseGlobalLock { get { return TraceImpl.UseGlobalLock; } diff --git a/mcs/class/System/mobile_System.dll.sources b/mcs/class/System/mobile_System.dll.sources index 0ed7e1088ec..d832ee1e710 100644 --- a/mcs/class/System/mobile_System.dll.sources +++ b/mcs/class/System/mobile_System.dll.sources @@ -211,6 +211,7 @@ System.Diagnostics/ProcessThread.cs System.Diagnostics/ProcessThreadCollection.cs System.Diagnostics/ProcessWindowStyle.cs System.Diagnostics/Stopwatch.cs +System.Diagnostics/Trace.cs System.Diagnostics/TraceImpl.cs System.Diagnostics/TraceListener.cs System.Diagnostics/TraceListenerCollection.cs