summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/Application.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
committerJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
commit20ead35bcd15c258b00da6b1a16d26107f8dea8b (patch)
tree0aa99a82b9d56383c76c372fc1050dfd5493b4e9 /csharp/src/Ice/Application.cs
parentFixed make install issue (diff)
downloadice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.bz2
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.xz
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.zip
CSharp mapping cleanup
- Remove code support for old ussuported frameworks (SILVERLIGHT, COMPACT, MONO) - Remove code support for deprecated collection mappings clr:collection
Diffstat (limited to 'csharp/src/Ice/Application.cs')
-rw-r--r--csharp/src/Ice/Application.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/csharp/src/Ice/Application.cs b/csharp/src/Ice/Application.cs
index 791d5670851..b41ba4e8996 100644
--- a/csharp/src/Ice/Application.cs
+++ b/csharp/src/Ice/Application.cs
@@ -7,8 +7,6 @@
//
// **********************************************************************
-#if !SILVERLIGHT
-
namespace Ice
{
using System;
@@ -20,7 +18,6 @@ namespace Ice
internal static class NativeMethods
{
-#if !COMPACT && !UNITY
//
// Technically it's not necessary to wrap DllImport in conditional compilation because
// the binding occurs at run time and it will never be executed on Mono. However, it
@@ -30,7 +27,6 @@ namespace Ice
[return: MarshalAsAttribute(UnmanagedType.Bool)]
internal static extern bool
SetConsoleCtrlHandler(CtrlCEventHandler eh, [MarshalAsAttribute(UnmanagedType.Bool)]bool add);
-#endif
}
/// <summary>
@@ -224,9 +220,6 @@ namespace Ice
_application = this;
int status;
-#if COMPACT || UNITY
- status = doMain(args, initData);
-#else
if(signalPolicy__ == SignalPolicy.HandleSignals)
{
if(IceInternal.AssemblyUtil.platform_ == IceInternal.AssemblyUtil.Platform.Windows)
@@ -248,7 +241,6 @@ namespace Ice
{
status = doMain(args, initData);
}
-#endif
return status;
}
@@ -749,7 +741,6 @@ namespace Ice
private delegate void SignalHandler(int sig);
private static readonly SignalHandler _handler = new SignalHandler(signalHandler);
-#if !COMPACT && !UNITY
private Signals _signals;
private interface Signals
@@ -928,9 +919,7 @@ namespace Ice
#endif
private SignalHandler _handler;
}
-#endif
}
delegate bool CtrlCEventHandler(int sig);
}
-#endif