[Cleanup] Removed TARGET_JVM
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels / BinaryCore.cs
index 7da3a54c3cef1d991e171f38694dd0c5c46410bc..400fabd8fac05defafe8b7667ae3ac06e9fd952d 100644 (file)
@@ -98,13 +98,8 @@ namespace System.Runtime.Remoting.Channels
                        RemotingSurrogateSelector surrogateSelector = new RemotingSurrogateSelector ();
                        StreamingContext context = new StreamingContext (StreamingContextStates.Remoting, null);
 
-#if !TARGET_JVM
                        _serializationFormatter = new BinaryFormatter (surrogateSelector, context);
                        _deserializationFormatter = new BinaryFormatter (null, context);
-#else
-                       _serializationFormatter = (BinaryFormatter) vmw.@internal.remoting.BinaryFormatterUtils.CreateBinaryFormatter (surrogateSelector, context, false);
-                       _deserializationFormatter = (BinaryFormatter) vmw.@internal.remoting.BinaryFormatterUtils.CreateBinaryFormatter (null, context, false);
-#endif
                        
                        _serializationFormatter.FilterLevel = _filterLevel;
                        _deserializationFormatter.FilterLevel = _filterLevel;