X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.IO%2FDirectoryNotFoundException.cs;h=74f7c383bcc3e68032fbcd2e426df24309494d17;hb=7c970f8ee1f635da8575bcf58d89c16bb5c2ace1;hp=9ce4522284079080de83ca5f242654667b33fd64;hpb=987f8c63e214937c50dcb308149f7558a2cbba41;p=mono.git diff --git a/mcs/class/corlib/System.IO/DirectoryNotFoundException.cs b/mcs/class/corlib/System.IO/DirectoryNotFoundException.cs index 9ce45222840..74f7c383bcc 100644 --- a/mcs/class/corlib/System.IO/DirectoryNotFoundException.cs +++ b/mcs/class/corlib/System.IO/DirectoryNotFoundException.cs @@ -31,10 +31,16 @@ // using System.Runtime.Serialization; +#if NET_2_0 +using System.Runtime.InteropServices; +#endif namespace System.IO { [Serializable] +#if NET_2_0 + [ComVisible (true)] +#endif public class DirectoryNotFoundException : IOException { // Constructors