dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServic


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices Marshal.cs,1.11,1.12
Date: Mon, 09 Jun 2003 18:15:12 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices
In directory 
subversions:/tmp/cvs-serv25280/runtime/System/Runtime/InteropServices

Modified Files:
        Marshal.cs 
Log Message:


Various fixes to compile in non-full profiles.


Index: Marshal.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/Marshal.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Marshal.cs  4 Jun 2003 04:02:54 -0000       1.11
--- Marshal.cs  9 Jun 2003 22:15:09 -0000       1.12
***************
*** 412,416 ****
                                }
                                IntPtr offset = OffsetOfInternal(t, fieldName);
!                               if(offset == (IntPtr)(-1))
                                {
                                        throw new ArgumentException
--- 412,416 ----
                                }
                                IntPtr offset = OffsetOfInternal(t, fieldName);
!                               if(offset == new IntPtr(-1))
                                {
                                        throw new ArgumentException





reply via email to

[Prev in Thread] Current Thread [Next in Thread]