Merge pull request #3422 from xmcclure/tarjan-doublefan
[mono.git] / mcs / ilasm / tests / test-override-1.il
1 // Test for "full" syntax of specifying overrides.
2 // This has non-generic types & methods
3
4 .assembly extern mscorlib
5 {
6   .ver 2:0:0:0
7 }
8 .assembly 'test-override-1'
9 {
10   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() =  (
11                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   
12                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) 
13
14   .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) =  (01 00 08 00 00 00 00 00 ) 
15
16   .ver  0:0:0:0
17 }
18 .module 'test-override-1.dll'
19
20   .class private auto ansi beforefieldinit test
21         extends [mscorlib]System.Object
22         implements IFoo  {
23     
24     .method public final  virtual  hidebysig  newslot 
25            instance default void bar (string si)  cil managed 
26     {
27         .override method instance void class IFoo::foo(string)
28         
29         .maxstack 8
30         IL_0000:  nop 
31         IL_0001:  ret 
32     } 
33     
34     .method public hidebysig  specialname  rtspecialname 
35            instance default void .ctor ()  cil managed 
36     {
37         .maxstack 8
38         IL_0000:  ldarg.0 
39         IL_0001:  call instance void object::.ctor()
40         IL_0006:  ret 
41     } 
42
43   } 
44
45   .class interface private auto ansi abstract IFoo
46   {
47     .method public virtual  hidebysig  newslot  abstract 
48            instance default void foo (string s)  cil managed 
49     {
50         
51     } 
52   } 
53