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

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

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


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

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

Modified Files:
        TestMarshal.cs 
Log Message:


Various fixes to compile in non-full profiles.


Index: TestMarshal.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/Runtime/InteropServices/TestMarshal.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestMarshal.cs      4 Jun 2003 04:02:54 -0000       1.1
--- TestMarshal.cs      9 Jun 2003 22:15:09 -0000       1.2
***************
*** 171,175 ****
                                try
                                {
!                                       Marshal.Copy(new float [3], -1, new 
IntPtr(3), 0);
                                        Fail("RangeCheck (3)");
                                }
--- 171,175 ----
                                try
                                {
!                                       Marshal.Copy(new long [3], -1, new 
IntPtr(3), 0);
                                        Fail("RangeCheck (3)");
                                }
***************
*** 251,255 ****
                                try
                                {
!                                       Marshal.Copy(new IntPtr(3), new float 
[3], -1, 0);
                                        Fail("RangeCheck (3)");
                                }
--- 251,255 ----
                                try
                                {
!                                       Marshal.Copy(new IntPtr(3), new long 
[3], -1, 0);
                                        Fail("RangeCheck (3)");
                                }





reply via email to

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