* cli-blob-tests.md: Methodref signature tests.
* assembly-with-signatures.cs: File with vararg call.
* Makefile: Add new dependency.
svn path=/trunk/mono/; revision=135039
+2009-05-28 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * cli-blob-tests.md: Methodref signature tests.
+
+ * assembly-with-signatures.cs: File with vararg call.
+
+ * Makefile: Add new dependency.
+
2009-05-27 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for parameters and generics
assembly-with-generics.exe: assembly-with-generics.cs
gmcs assembly-with-generics.cs
+assembly-with-signatures.exe: assembly-with-signatures.cs
+ gmcs assembly-with-signatures.cs
+
TEST_BINARIES = assembly-with-resource.exe \
assembly-with-complex-type.exe \
assembly-with-methods.exe \
assembly-with-resource.exe \
assembly-with-generics.exe \
assembly-with-custommod.exe \
+ assembly-with-signatures.exe \
simple-assembly.exe
--- /dev/null
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+
+public static class Driver
+{
+ public static void Test ()
+ {
+ Console.WriteLine ("x",1,2,3,4,__arglist (1,2,3));
+ "ff".Substring (1,1);
+ }
+
+ public static void Main()//keep it as last method in the file
+ {
+ }
+}
+
+
#byref of typedref
invalid offset blob.i (table-row (6 4) + 10) + 4 set-byte 0x16
+}
+
+method-ref-sig {
+ assembly assembly-with-signatures.exe
+
+ #member ref 0 is has a vararg sig
+ #member ref 1 don't use vararg
+
+ #2 sentinels
+ #bytes: size cconv pcount void str obj obj obj obj ... i32 i32 i32
+ invalid offset blob.i (table-row (0xA 0) + 4) + 10 set-byte 0x41
+ invalid offset blob.i (table-row (0xA 0) + 4) + 11 set-byte 0x41
+
+ #sentinel but not vararg
+ invalid offset blob.i (table-row (0xA 0) + 4) + 1 set-byte 0
+
+
}
\ No newline at end of file