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:
authorMarek Safar <marek.safar@gmail.com>2010-10-22 22:29:50 +0400
committerMarek Safar <marek.safar@gmail.com>2010-10-22 22:32:11 +0400
commit4473fcc20e9cecc986aaa2e3f98e950221c52773 (patch)
tree554fbf28f139063a21a2f772f7ac5bb1b4195eda /mcs/tests/test-792-lib.il
parentb5b838910cf2cfbec9ee3136553a762e26ef514e (diff)
Use faster MemberKind when checking for a nested type
Diffstat (limited to 'mcs/tests/test-792-lib.il')
-rw-r--r--mcs/tests/test-792-lib.il24
1 files changed, 22 insertions, 2 deletions
diff --git a/mcs/tests/test-792-lib.il b/mcs/tests/test-792-lib.il
index e7d4b8bf4e2..620f5c1ebcb 100644
--- a/mcs/tests/test-792-lib.il
+++ b/mcs/tests/test-792-lib.il
@@ -53,9 +53,29 @@
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
- .maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
}
-} \ No newline at end of file
+}
+
+.class public auto ansi beforefieldinit Another extends ['missing-lib']XXBase
+{
+ .class auto ansi nested public beforefieldinit Nested extends [mscorlib]System.Object
+ {
+ .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
+ {
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+ }
+
+ .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
+ {
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+}
+