Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/ilasm/tests/test-marshal.il')
-rw-r--r--mcs/ilasm/tests/test-marshal.il37
1 files changed, 37 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-marshal.il b/mcs/ilasm/tests/test-marshal.il
new file mode 100644
index 00000000000..2325c4b8fbf
--- /dev/null
+++ b/mcs/ilasm/tests/test-marshal.il
@@ -0,0 +1,37 @@
+.assembly extern mscorlib
+{
+}
+.assembly 'test-marshal'
+{
+}
+
+
+ .class private auto ansi beforefieldinit test
+ extends [mscorlib]System.Object
+ {
+ .field private marshal (int32[]) int32 a
+
+ .method private hidebysig
+ instance default void marshal (as any) xyz () cil managed
+ {
+ .maxstack 8
+ IL_0000: ret
+ }
+
+ .method private hidebysig
+ instance default object marshal (interface) abc (class test 'assembly', string marshal (bool) str, string str2, int32 i4) cil managed
+ {
+ .maxstack 8
+ IL_0000: ldnull
+ IL_0001: ret
+ }
+
+ .method private hidebysig
+ instance default void marshal (as any) def (class test 'assembly', string str, string str2, int32 marshal (bool) i4) cil managed
+ {
+ .maxstack 8
+ IL_0000: ret
+ }
+
+ }
+