System.OutOfMemoryException. OOME should be reserved for use by the CLR.
Return a UnixIOException instead (default behavior).
svn path=/trunk/mcs/; revision=55013
+2006-01-03 Jonathan Pryor <jonpryor@vt.edu>
+
+ * UnixMarshal.cs (CreateExceptionForError): Don't map ENOMEM to
+ System.OutOfMemoryException. OOME should be reserved for use by the CLR.
+ Return a UnixIOException instead (default behavior).
+
2006-01-02 Jonathan Pryor <jonpryor@vt.edu>
* StdioFileStream.cs: Shut up FxCop - add a GC.KeepAlive to
case Native.Errno.EPERM: return new InvalidOperationException (message, p);
case Native.Errno.ENOEXEC: return new InvalidProgramException (message, p);
- case Native.Errno.ENOMEM: return new OutOfMemoryException (message, p);
case Native.Errno.EOVERFLOW: return new OverflowException (message, p);
case Native.Errno.ENAMETOOLONG: return new PathTooLongException (message, p);
default: /* ignore */ break;