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:
authorMiguel de Icaza <miguel@gnome.org>2014-05-25 08:41:55 +0400
committerMiguel de Icaza <miguel@gnome.org>2014-05-25 08:41:55 +0400
commitb5da7cd80db675b4b8f8090b62c217e05a4d0bd6 (patch)
treea7a03daff0636fdd299287dd608fa5378650e1b2 /mcs/class/System.Runtime.Remoting
parenta7eace18c195257ba0d89152e194ca5405f33146 (diff)
[System.Runtime.Remoting] Build if DBEUG Is defined
Diffstat (limited to 'mcs/class/System.Runtime.Remoting')
-rw-r--r--mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs4
-rw-r--r--mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs
index 83f5eeff79a..9ca8bba321d 100644
--- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs
+++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs
@@ -218,7 +218,7 @@ namespace System.Runtime.Remoting.Channels.Tcp
try {
if (!threadPool.RunThread (new ThreadStart (reader.ProcessMessages)))
socket.Close ();
- } catch (Exception)
+ } catch (Exception e)
{
#if DEBUG
Console.WriteLine("Exception caught in TcpServerChannel.WaitForConnections during start process message: {0} {1}", e.GetType(), e.Message);
@@ -226,7 +226,7 @@ namespace System.Runtime.Remoting.Channels.Tcp
}
}
}
- catch (Exception)
+ catch (Exception e)
{
#if DEBUG
Console.WriteLine("Exception caught in TcpServerChannel.WaitForConnections, stop channel's thread : {0} {1}", e.GetType(), e.Message);
diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs
index 52954456e5c..aa99a655487 100644
--- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs
+++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs
@@ -169,7 +169,7 @@ namespace System.Runtime.Remoting.Channels
try {
work ();
}
- catch (Exception)
+ catch (Exception ex)
{
#if DEBUG
Console.WriteLine("The exception was caught during RemotingThreadPool.PoolThread - work: {0}, {1}", ex.GetType(), ex.Message);