Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

61 lines
1.2 KiB
Plaintext

// Test for specifying namespace as part of the type name,
// AND also using .namespace
.assembly extern mscorlib
{
.ver 1:0:5000:0
}
.assembly 'nested'
{
.ver 0:0:0:0
}
.module nested.exe
.namespace ns {
.class private auto ansi beforefieldinit A.B
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
}
.class nested public auto ansi beforefieldinit C.D
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
}
.class nested public auto ansi beforefieldinit further
extends [mscorlib]System.Object
{
}
}
}
}
.class private auto ansi beforefieldinit test
extends ns.A.B/C.D
{
.method public hidebysig specialname rtspecialname
instance default void .ctor () cil managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void class ns.A.B/C.D::.ctor()
IL_0006: ret
}
}