Create xammac_net_4_5 profile for XM 4.5 Unified to remove references to unshippable...
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Channels / FaultConverter.cs
index d77e34153d77ea616844482256f0632fa82cecf9..23c8081ebebe84c480ffac4f03540850c6ae5a3f 100644 (file)
@@ -137,7 +137,7 @@ namespace System.ServiceModel.Channels
 
                        OperationContext ctx = OperationContext.Current;
                        // FIXME: support more fault code depending on the exception type.
-#if !NET_2_1
+#if !NET_2_1 && !XAMMAC_4_5
                        // FIXME: set correct fault reason.
                        if (ctx != null && ctx.EndpointDispatcher.ChannelDispatcher.IncludeExceptionDetailInFaults) {
                                ExceptionDetail detail = new ExceptionDetail (error);