Use correct exception when a key is not found in ConcurrentDictionary
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Services / EnterpriseServicesHelper.cs
index 97a986269078a0de1019dd368c6dcd0a7f42f862..3c578bf8b8a6fcfade66f93d39b4d4be198a86c3 100644 (file)
@@ -33,25 +33,18 @@ using System.Runtime.Remoting;
 using System.Runtime.Remoting.Messaging;
 using System.Runtime.Remoting.Activation;
 using System.Runtime.Remoting.Proxies;
-
-#if NET_2_0
 using System.Runtime.InteropServices;
-#endif
 
 namespace System.Runtime.Remoting.Services 
 {
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public sealed class EnterpriseServicesHelper
        {
                public EnterpriseServicesHelper ()
                {
                }
                
-#if NET_2_0
                [ComVisible (true)]
-#endif
                public static IConstructionReturnMessage CreateConstructionReturnMessage (IConstructionCallMessage ctorMsg, MarshalByRefObject retObj)
                {
                        return new ConstructionResponse (retObj, null, ctorMsg);