2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 5 Jun 2009 21:57:52 +0000 (21:57 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 5 Jun 2009 21:57:52 +0000 (21:57 -0000)
* cli-blob-tests.md: Tests for szarray.

* assembly-with-types.il: Fix the szarray field.

svn path=/trunk/mono/; revision=135571

mono/tests/metadata-verifier/Changelog
mono/tests/metadata-verifier/assembly-with-types.il
mono/tests/metadata-verifier/cli-blob-tests.md

index a0eb961dd32b60ea7beeadc16e6e618fdd841017..9a01b71456dd6565f1915320636863f2be13d450 100644 (file)
@@ -1,3 +1,9 @@
+2009-06-05 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * cli-blob-tests.md: Tests for szarray.
+
+       * assembly-with-types.il: Fix the szarray field.
+
 2009-06-05 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * cli-blob-tests.md: Tests for fnptr instance.
index 51dc083c7d6f19802fda6cea3112b895339566c3..a341e3075187cb707d834ec9682607751413d17c 100644 (file)
@@ -42,7 +42,7 @@
        .field private object a14
        .field private string a15
 
-       .field private string[] modreq ([mscorlib]System.Runtime.CompilerServices.IsVolatile) a16
+       .field private string modopt ([mscorlib]System.Runtime.CompilerServices.IsVolatile) [] a16
 
        .field valuetype [mscorlib]System.DateTime a17  
        .field valuetype Foo a18
index c044310807605b80f6d630ea1c04e919a8772267..06552dec351e9e4fd14017983d50868717ea09c3 100644 (file)
@@ -244,5 +244,10 @@ type-enc {
        #bad callconv
        invalid offset blob.i (table-row (0x04 10) + 4) + 3 set-byte 0x88
 
+       #szarray
+       #field 17 is an array with modreq on target
+       #format is: cconv SZARRAY cmod* type
+       #array type is void
+       invalid offset blob.i (table-row (0x04 17) + 4) + 3 set-byte 0x01
 }