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

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

[dotgnu-pnet-commits] cscctest ChangeLog csharp/expr/Makefile.am csha...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] cscctest ChangeLog csharp/expr/Makefile.am csha...
Date: Tue, 30 Dec 2008 17:05:33 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    cscctest
Changes by:     Klaus Treichel <ktreichel>      08/12/30 17:05:33

Modified files:
        .              : ChangeLog 
        csharp/expr    : Makefile.am 
Added files:
        csharp/expr    : addressof1.cs addressof1.err addressof1.il 
                         addressof1.jerr pointer3.cs pointer3.err 
                         pointer3.il pointer3.jerr 

Log message:
        Add some tests for unsafe expressions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cscctest/ChangeLog?cvsroot=dotgnu-pnet&r1=1.181&r2=1.182
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/Makefile.am?cvsroot=dotgnu-pnet&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/addressof1.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/addressof1.err?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/addressof1.il?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/addressof1.jerr?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/pointer3.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/pointer3.err?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/pointer3.il?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/cscctest/csharp/expr/pointer3.jerr?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/ChangeLog,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -b -r1.181 -r1.182
--- ChangeLog   26 Dec 2008 10:35:42 -0000      1.181
+++ ChangeLog   30 Dec 2008 17:05:27 -0000      1.182
@@ -1,3 +1,15 @@
+2008-12-30  Klaus Treichel  <address@hidden>
+
+       * csharp/expr/addressof1.cs, csharp/expr/addressof1.err,
+       csharp/expr/addressof1.il, csharp/expr/addressof1.jerr: Add tests for 
the
+       unsafe address of operator.
+
+       * csharp/expr/pointer3.cs, csharp/expr/pointer3.err,
+       csharp/expr/pointer3.il, csharp/expr/pointer3.jerr: Add tests for unsafe
+       pointer arithmetic.
+
+       * csharp/expr/Makefile.am: Add addressof1.cs and pointer3.cs to the 
tests.
+
 2008-12-26  Klaus Treichel  <address@hidden>
 
        * csharp/class/generics/class1.il, csharp/class/generics/class1.jl,

Index: csharp/expr/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/expr/Makefile.am,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- csharp/expr/Makefile.am     16 Aug 2008 15:19:32 -0000      1.27
+++ csharp/expr/Makefile.am     30 Dec 2008 17:05:28 -0000      1.28
@@ -1,5 +1,6 @@
 
-TESTS = arglist1.cs \
+TESTS = addressof1.cs \
+               arglist1.cs \
                arglist2.cs \
                array1.cs \
                array2.cs \
@@ -44,6 +45,7 @@
                newarray4.cs \
                pointer1.cs \
                pointer2.cs \
+               pointer3.cs \
                ref1.cs \
                ref2.cs \
                relop1.cs \

Index: csharp/expr/addressof1.cs
===================================================================
RCS file: csharp/expr/addressof1.cs
diff -N csharp/expr/addressof1.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/addressof1.cs   30 Dec 2008 17:05:29 -0000      1.1
@@ -0,0 +1,80 @@
+/*
+ * addressof1.cs - Test valid address expressions.
+ *
+ * Copyright (C) 2008  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+using System;
+
+class Test
+{
+       struct TestStruct
+       {
+               public int i;
+       }
+
+       unsafe void t1()
+       {
+               char c;
+               char *charPtr;
+
+               charPtr = &c;
+       }
+
+       unsafe void t1(char c)
+       {
+               char *charPtr;
+
+               charPtr = &c;
+       }
+
+       unsafe void t1(ref TestStruct t)
+       {
+               TestStruct *ptr;
+
+               ptr = &t;
+       }
+
+       unsafe void t2(TestStruct t)
+       {
+               TestStruct *ptr;
+
+               ptr = &t;
+       }
+
+       unsafe void t3(ref TestStruct t)
+       {
+               int *intPtr;
+
+               intPtr = &t.i;
+       }
+
+       unsafe void t4(TestStruct t)
+       {
+               int *intPtr;
+
+               intPtr = &t.i;
+       }
+
+       unsafe void t4()
+       {
+               TestStruct t;
+               int *intPtr;
+
+               intPtr = &t.i;
+       }
+}

Index: csharp/expr/addressof1.err
===================================================================
RCS file: csharp/expr/addressof1.err
diff -N csharp/expr/addressof1.err
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/addressof1.err  30 Dec 2008 17:05:29 -0000      1.1
@@ -0,0 +1,14 @@
+./addressof1.cs:30: warning: unsafe method declaration
+./addressof1.cs:35: warning: unsafe address operator
+./addressof1.cs:38: warning: unsafe method declaration
+./addressof1.cs:42: warning: unsafe address operator
+./addressof1.cs:45: warning: unsafe method declaration
+./addressof1.cs:49: warning: unsafe address operator
+./addressof1.cs:52: warning: unsafe method declaration
+./addressof1.cs:56: warning: unsafe address operator
+./addressof1.cs:59: warning: unsafe method declaration
+./addressof1.cs:63: warning: unsafe address operator
+./addressof1.cs:66: warning: unsafe method declaration
+./addressof1.cs:70: warning: unsafe address operator
+./addressof1.cs:73: warning: unsafe method declaration
+./addressof1.cs:78: warning: unsafe address operator

Index: csharp/expr/addressof1.il
===================================================================
RCS file: csharp/expr/addressof1.il
diff -N csharp/expr/addressof1.il
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/addressof1.il   30 Dec 2008 17:05:29 -0000      1.1
@@ -0,0 +1,86 @@
+.assembly extern '.library'
+{
+       .ver 0:0:0:0
+}
+.assembly '<Assembly>'
+{
+       .ver 0:0:0:0
+       .custom instance void 
[.library]System.Security.Permissions.SecurityPermissionAttribute::.ctor(valuetype
 [.library]System.Security.Permissions.SecurityAction) =
+               (01 00 08 00 00 00 01 00 54 02 10 53 6B 69 70 56
+                65 72 69 66 69 63 61 74 69 6F 6E 01)
+}
+.module '<Module>'
+.custom instance void 
[.library]System.Security.UnverifiableCodeAttribute::.ctor() = (01 00 00 00)
+.class private auto ansi 'Test' extends ['.library']'System'.'Object'
+{
+.class nested private sequential sealed serializable ansi 'TestStruct' extends 
['.library']'System'.'ValueType'
+{
+.field public int32 'i'
+} // class TestStruct
+.method private hidebysig instance void 't1'() cil managed 
+{
+       .locals init    (char, char *)
+       ldloca.s        0
+       stloc.1
+       ret
+       .maxstack 1
+} // method t1
+.method private hidebysig instance void 't1'(char 'c') cil managed 
+{
+       .locals init    (char *)
+       ldarga.s        1
+       stloc.0
+       ret
+       .maxstack 1
+} // method t1
+.method private hidebysig instance void 't1'(valuetype 'Test'/'TestStruct' & 
't') cil managed 
+{
+       .locals init    (valuetype 'Test'/'TestStruct' *)
+       ldarg.1
+       stloc.0
+       ret
+       .maxstack 1
+} // method t1
+.method private hidebysig instance void 't2'(valuetype 'Test'/'TestStruct' 
't') cil managed 
+{
+       .locals init    (valuetype 'Test'/'TestStruct' *)
+       ldarga.s        1
+       stloc.0
+       ret
+       .maxstack 1
+} // method t2
+.method private hidebysig instance void 't3'(valuetype 'Test'/'TestStruct' & 
't') cil managed 
+{
+       .locals init    (int32 *)
+       ldarg.1
+       ldflda  int32 'Test'/'TestStruct'::'i'
+       stloc.0
+       ret
+       .maxstack 1
+} // method t3
+.method private hidebysig instance void 't4'(valuetype 'Test'/'TestStruct' 
't') cil managed 
+{
+       .locals init    (int32 *)
+       ldarga.s        1
+       ldflda  int32 'Test'/'TestStruct'::'i'
+       stloc.0
+       ret
+       .maxstack 1
+} // method t4
+.method private hidebysig instance void 't4'() cil managed 
+{
+       .locals init    (valuetype 'Test'/'TestStruct', int32 *)
+       ldloca.s        0
+       ldflda  int32 'Test'/'TestStruct'::'i'
+       stloc.1
+       ret
+       .maxstack 1
+} // method t4
+.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
+{
+       ldarg.0
+       call    instance void ['.library']'System'.'Object'::'.ctor'()
+       ret
+       .maxstack 1
+} // method .ctor
+} // class Test

Index: csharp/expr/addressof1.jerr
===================================================================
RCS file: csharp/expr/addressof1.jerr
diff -N csharp/expr/addressof1.jerr
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/addressof1.jerr 30 Dec 2008 17:05:30 -0000      1.1
@@ -0,0 +1,16 @@
+./addressof1.cs:45: `ref' parameters not permitted when compiling to Java 
bytecode
+./addressof1.cs:59: `ref' parameters not permitted when compiling to Java 
bytecode
+./addressof1.cs:30: unsafe method declaration not permitted with Java output
+./addressof1.cs:35: unsafe address operator not permitted with Java output
+./addressof1.cs:38: unsafe method declaration not permitted with Java output
+./addressof1.cs:42: unsafe address operator not permitted with Java output
+./addressof1.cs:45: unsafe method declaration not permitted with Java output
+./addressof1.cs:49: unsafe address operator not permitted with Java output
+./addressof1.cs:52: unsafe method declaration not permitted with Java output
+./addressof1.cs:56: unsafe address operator not permitted with Java output
+./addressof1.cs:59: unsafe method declaration not permitted with Java output
+./addressof1.cs:63: unsafe address operator not permitted with Java output
+./addressof1.cs:66: unsafe method declaration not permitted with Java output
+./addressof1.cs:70: unsafe address operator not permitted with Java output
+./addressof1.cs:73: unsafe method declaration not permitted with Java output
+./addressof1.cs:78: unsafe address operator not permitted with Java output

Index: csharp/expr/pointer3.cs
===================================================================
RCS file: csharp/expr/pointer3.cs
diff -N csharp/expr/pointer3.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/pointer3.cs     30 Dec 2008 17:05:31 -0000      1.1
@@ -0,0 +1,100 @@
+/*
+ * pointer3.cs - Test valid pointer arithmetic.
+ *
+ * Copyright (C) 2008  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+unsafe class Test
+{
+       public unsafe void t1(byte *x, byte *y, int i)
+       {
+               long l;
+               byte *tmp;
+
+               l = x - y;
+               tmp = x + 4;
+               tmp = x + i;
+               tmp = 4 + x;
+               tmp = i + x;
+               tmp = x - 4;
+       }
+
+       public unsafe void t1(int *x, int *y, int i)
+       {
+               long l;
+               int *tmp;
+
+               l = x - y;
+               tmp = x + 4;
+               tmp = x + i;
+               tmp = 4 + x;
+               tmp = i + x;
+               tmp = x - 4;
+       }
+
+       public unsafe void t1(long *x, long *y, int i)
+       {
+               long l;
+               long *tmp;
+
+               l = x - y;
+               tmp = x + 4;
+               tmp = x + i;
+               tmp = 4 + x;
+               tmp = i + x;
+               tmp = x - 4;
+       }
+
+       public unsafe void t1(void **x, void **y, int i)
+       {
+               long l;
+               void **tmp;
+
+               l = x - y;
+               tmp = x + 4;
+               tmp = x + i;
+               tmp = 4 + x;
+               tmp = i + x;
+               tmp = x - 4;
+       }
+
+       public unsafe void t2()
+       {
+               byte *bytePtr;
+               byte b;
+
+               b = *++bytePtr;
+               b = *bytePtr++;
+               b = *--bytePtr;
+               b = *bytePtr--;
+               b = bytePtr[1];
+               b = bytePtr[0];
+       }
+
+       public unsafe void t3()
+       {
+               int *intPtr;
+               int i;
+
+               i = *++intPtr;
+               i = *intPtr++;
+               i = *--intPtr;
+               i = *intPtr--;
+               i = intPtr[1];
+               i = intPtr[0];
+       }
+}

Index: csharp/expr/pointer3.err
===================================================================
RCS file: csharp/expr/pointer3.err
diff -N csharp/expr/pointer3.err
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/pointer3.err    30 Dec 2008 17:05:31 -0000      1.1
@@ -0,0 +1,19 @@
+./pointer3.cs:21: warning: unsafe class declaration
+./pointer3.cs:23: warning: unsafe method declaration
+./pointer3.cs:36: warning: unsafe method declaration
+./pointer3.cs:49: warning: unsafe method declaration
+./pointer3.cs:62: warning: unsafe method declaration
+./pointer3.cs:75: warning: unsafe method declaration
+./pointer3.cs:80: warning: unsafe pointer dereference
+./pointer3.cs:81: warning: unsafe pointer dereference
+./pointer3.cs:82: warning: unsafe pointer dereference
+./pointer3.cs:83: warning: unsafe pointer dereference
+./pointer3.cs:84: warning: unsafe pointer-based array access
+./pointer3.cs:85: warning: unsafe pointer-based array access
+./pointer3.cs:88: warning: unsafe method declaration
+./pointer3.cs:93: warning: unsafe pointer dereference
+./pointer3.cs:94: warning: unsafe pointer dereference
+./pointer3.cs:95: warning: unsafe pointer dereference
+./pointer3.cs:96: warning: unsafe pointer dereference
+./pointer3.cs:97: warning: unsafe pointer-based array access
+./pointer3.cs:98: warning: unsafe pointer-based array access

Index: csharp/expr/pointer3.il
===================================================================
RCS file: csharp/expr/pointer3.il
diff -N csharp/expr/pointer3.il
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/pointer3.il     30 Dec 2008 17:05:32 -0000      1.1
@@ -0,0 +1,297 @@
+.assembly extern '.library'
+{
+       .ver 0:0:0:0
+}
+.assembly '<Assembly>'
+{
+       .ver 0:0:0:0
+       .custom instance void 
[.library]System.Security.Permissions.SecurityPermissionAttribute::.ctor(valuetype
 [.library]System.Security.Permissions.SecurityAction) =
+               (01 00 08 00 00 00 01 00 54 02 10 53 6B 69 70 56
+                65 72 69 66 69 63 61 74 69 6F 6E 01)
+}
+.module '<Module>'
+.custom instance void 
[.library]System.Security.UnverifiableCodeAttribute::.ctor() = (01 00 00 00)
+.class private auto ansi 'Test' extends ['.library']'System'.'Object'
+{
+.method public hidebysig instance void 't1'(unsigned int8 * 'x', unsigned int8 
* 'y', int32 'i') cil managed 
+{
+       .locals init    (int64, unsigned int8 *)
+       ldarg.1
+       ldarg.2
+       sub
+       conv.i8
+       stloc.0
+       ldarg.1
+       ldc.i4.4
+       conv.i
+       add
+       stloc.1
+       ldarg.1
+       ldarg.3
+       conv.i
+       add
+       stloc.1
+       ldc.i4.4
+       conv.i
+       ldarg.1
+       add
+       stloc.1
+       ldarg.3
+       conv.i
+       ldarg.1
+       add
+       stloc.1
+       ldarg.1
+       ldc.i4.4
+       conv.i
+       sub
+       stloc.1
+       ret
+       .maxstack 2
+} // method t1
+.method public hidebysig instance void 't1'(int32 * 'x', int32 * 'y', int32 
'i') cil managed 
+{
+       .locals init    (int64, int32 *)
+       ldarg.1
+       ldarg.2
+       sub
+       conv.i8
+       ldc.i4.4
+       conv.i8
+       div
+       stloc.0
+       ldarg.1
+       ldc.i4.s        16
+       conv.i
+       add
+       stloc.1
+       ldarg.1
+       ldarg.3
+       conv.i
+       ldc.i4.4
+       conv.i
+       mul
+       add
+       stloc.1
+       ldc.i4.s        16
+       conv.i
+       ldarg.1
+       add
+       stloc.1
+       ldarg.3
+       conv.i
+       ldc.i4.4
+       conv.i
+       mul
+       ldarg.1
+       add
+       stloc.1
+       ldarg.1
+       ldc.i4.s        16
+       conv.i
+       sub
+       stloc.1
+       ret
+       .maxstack 3
+} // method t1
+.method public hidebysig instance void 't1'(int64 * 'x', int64 * 'y', int32 
'i') cil managed 
+{
+       .locals init    (int64, int64 *)
+       ldarg.1
+       ldarg.2
+       sub
+       conv.i8
+       ldc.i4.8
+       conv.i8
+       div
+       stloc.0
+       ldarg.1
+       ldc.i4.s        32
+       conv.i
+       add
+       stloc.1
+       ldarg.1
+       ldarg.3
+       conv.i
+       ldc.i4.8
+       conv.i
+       mul
+       add
+       stloc.1
+       ldc.i4.s        32
+       conv.i
+       ldarg.1
+       add
+       stloc.1
+       ldarg.3
+       conv.i
+       ldc.i4.8
+       conv.i
+       mul
+       ldarg.1
+       add
+       stloc.1
+       ldarg.1
+       ldc.i4.s        32
+       conv.i
+       sub
+       stloc.1
+       ret
+       .maxstack 3
+} // method t1
+.method public hidebysig instance void 't1'(void * * 'x', void * * 'y', int32 
'i') cil managed 
+{
+       .locals init    (int64, void * *)
+       ldarg.1
+       ldarg.2
+       sub
+       conv.i8
+       sizeof  void *
+       conv.i8
+       div
+       stloc.0
+       ldarg.1
+       ldc.i4.4
+       conv.i
+       sizeof  void *
+       conv.i
+       mul
+       add
+       stloc.1
+       ldarg.1
+       ldarg.3
+       conv.i
+       sizeof  void *
+       conv.i
+       mul
+       add
+       stloc.1
+       ldc.i4.4
+       conv.i
+       sizeof  void *
+       conv.i
+       mul
+       ldarg.1
+       add
+       stloc.1
+       ldarg.3
+       conv.i
+       sizeof  void *
+       conv.i
+       mul
+       ldarg.1
+       add
+       stloc.1
+       ldarg.1
+       ldc.i4.4
+       conv.i
+       sizeof  void *
+       conv.i
+       mul
+       sub
+       stloc.1
+       ret
+       .maxstack 3
+} // method t1
+.method public hidebysig instance void 't2'() cil managed 
+{
+       .locals init    (unsigned int8 *, unsigned int8)
+       ldloc.0
+       ldc.i4.1
+       conv.u
+       add
+       dup
+       stloc.0
+       ldind.u1
+       stloc.1
+       ldloc.0
+       dup
+       ldc.i4.1
+       conv.u
+       add
+       stloc.0
+       ldind.u1
+       stloc.1
+       ldloc.0
+       ldc.i4.1
+       conv.u
+       sub
+       dup
+       stloc.0
+       ldind.u1
+       stloc.1
+       ldloc.0
+       dup
+       ldc.i4.1
+       conv.u
+       sub
+       stloc.0
+       ldind.u1
+       stloc.1
+       ldloc.0
+       ldc.i4.1
+       conv.i
+       add
+       ldind.u1
+       stloc.1
+       ldloc.0
+       ldind.u1
+       stloc.1
+       ret
+       .maxstack 3
+} // method t2
+.method public hidebysig instance void 't3'() cil managed 
+{
+       .locals init    (int32 *, int32)
+       ldloc.0
+       ldc.i4.4
+       conv.u
+       add
+       dup
+       stloc.0
+       ldind.i4
+       stloc.1
+       ldloc.0
+       dup
+       ldc.i4.4
+       conv.u
+       add
+       stloc.0
+       ldind.i4
+       stloc.1
+       ldloc.0
+       ldc.i4.4
+       conv.u
+       sub
+       dup
+       stloc.0
+       ldind.i4
+       stloc.1
+       ldloc.0
+       dup
+       ldc.i4.4
+       conv.u
+       sub
+       stloc.0
+       ldind.i4
+       stloc.1
+       ldloc.0
+       ldc.i4.4
+       conv.i
+       add
+       ldind.i4
+       stloc.1
+       ldloc.0
+       ldind.i4
+       stloc.1
+       ret
+       .maxstack 3
+} // method t3
+.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
+{
+       ldarg.0
+       call    instance void ['.library']'System'.'Object'::'.ctor'()
+       ret
+       .maxstack 1
+} // method .ctor
+} // class Test

Index: csharp/expr/pointer3.jerr
===================================================================
RCS file: csharp/expr/pointer3.jerr
diff -N csharp/expr/pointer3.jerr
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ csharp/expr/pointer3.jerr   30 Dec 2008 17:05:32 -0000      1.1
@@ -0,0 +1,19 @@
+./pointer3.cs:21: unsafe class declaration not permitted with Java output
+./pointer3.cs:23: unsafe method declaration not permitted with Java output
+./pointer3.cs:36: unsafe method declaration not permitted with Java output
+./pointer3.cs:49: unsafe method declaration not permitted with Java output
+./pointer3.cs:62: unsafe method declaration not permitted with Java output
+./pointer3.cs:75: unsafe method declaration not permitted with Java output
+./pointer3.cs:80: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:81: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:82: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:83: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:84: unsafe pointer-based array access not permitted with Java 
output
+./pointer3.cs:85: unsafe pointer-based array access not permitted with Java 
output
+./pointer3.cs:88: unsafe method declaration not permitted with Java output
+./pointer3.cs:93: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:94: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:95: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:96: unsafe pointer dereference not permitted with Java output
+./pointer3.cs:97: unsafe pointer-based array access not permitted with Java 
output
+./pointer3.cs:98: unsafe pointer-based array access not permitted with Java 
output




reply via email to

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