linux-packaging-mono/mcs/ilasm/tests/invalid-method.il
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

34 lines
631 B
Plaintext

// Test for ref to an non-existant method
.assembly extern mscorlib
{
.ver 1:0:5000:0
}
.assembly 'invalid-method'
{
}
.class private auto ansi beforefieldinit test
extends [mscorlib]System.Object
{
.method public hidebysig specialname rtspecialname
instance default void .ctor () cil managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void object::.ctor()
IL_0006: ret
}
.method public hidebysig
instance default void foo () cil managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void class test::bar()
IL_0006: ret
}
}