Fix Dispose()
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Messaging / ConstructionResponse.cs
index 41f6d79068f19bc9be9b5a6da917507ba96a7ea7..1cceeccb684f56d59713077403a8cbd3e8f434dd 100644 (file)
@@ -4,7 +4,7 @@
 // Author: Lluis Sanchez Gual (lluis@ideary.com)
 //
 // (C) 2003, Lluis Sanchez Gual
-//\r
+//
 
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-using System;\r
-using System.Collections;\r
-using System.Runtime.Remoting.Activation;\r
+
+using System;
+using System.Collections;
+using System.Runtime.Remoting.Activation;
 using System.Runtime.Serialization;
-\r
-namespace System.Runtime.Remoting.Messaging\r
-{\r
+
+namespace System.Runtime.Remoting.Messaging
+{
        [Serializable] [CLSCompliant (false)]
-       public class ConstructionResponse: MethodResponse, IConstructionReturnMessage\r
-       {\r
-               public ConstructionResponse (Header[] headers, IMethodCallMessage mcm)\r
-                       : base (headers, mcm)\r
-               {\r
-               }\r
-               \r
-               internal ConstructionResponse(object resultObject, LogicalCallContext callCtx, IMethodCallMessage msg)\r
-                       : base (resultObject, null, callCtx, msg)\r
-               {\r
-               }\r
-\r
-               internal ConstructionResponse (Exception e, IMethodCallMessage msg): base (e, msg)\r
-               {\r
-               }\r
-               \r
+       [System.Runtime.InteropServices.ComVisible (true)]
+       public class ConstructionResponse: MethodResponse, IConstructionReturnMessage
+       {
+               public ConstructionResponse (Header[] h, IMethodCallMessage mcm)
+                       : base (h, mcm)
+               {
+               }
+               
+               internal ConstructionResponse(object resultObject, LogicalCallContext callCtx, IMethodCallMessage msg)
+                       : base (resultObject, null, callCtx, msg)
+               {
+               }
+
+               internal ConstructionResponse (Exception e, IMethodCallMessage msg): base (e, msg)
+               {
+               }
+               
                internal ConstructionResponse (SerializationInfo info, StreamingContext context): base (info, context)
                {
-               }\r
+               }
                
-               public override IDictionary Properties \r
-               {\r
-                       get { return base.Properties; }\r
-               }\r
-       }\r
-}\r
+               public override IDictionary Properties 
+               {
+                       get { return base.Properties; }
+               }
+       }
+}