Merge pull request #1201 from crisdut/fix-win-mono-dependencies
[mono.git] / mcs / class / corlib / System.IO / FileLoadException.cs
index 906f999bd5105483689f532758578f068b65d811..e978bac6499e1ea535eedb518b00dd738654b80c 100644 (file)
@@ -33,16 +33,17 @@ using System.Runtime.Serialization;
 using System.Security;
 using System.Security.Permissions;
 using System.Text;
+using System.Runtime.InteropServices;
 
 namespace System.IO {
 
        [Serializable]
+       [ComVisible (true)]
        public class FileLoadException : IOException {
 
                // Fields
                const int Result = unchecked ((int)0x80070002);
                string msg;
-               Exception inner;
                string fileName;
                string fusionLog;
                
@@ -74,7 +75,6 @@ namespace System.IO {
                {
                        HResult = Result;
                        msg = message;
-                       this.inner = inner;
                }
 
                public FileLoadException (string message, string fileName, Exception inner)
@@ -83,7 +83,6 @@ namespace System.IO {
                        HResult = Result;
                        this.msg = message;
                        this.fileName = fileName;
-                       this.inner = inner;
                }
 
                protected FileLoadException (SerializationInfo info, StreamingContext context)