1 // Test for "full" syntax of specifying overrides.
2 // This has method in a generic type
4 .assembly extern mscorlib
8 .assembly 'test-override-2'
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 // ....T..WrapNonEx
12 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
14 .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = (01 00 08 00 00 00 00 00 ) // ........
18 .module 'test-override-2.dll'
21 .class private auto ansi beforefieldinit test
22 extends [mscorlib]System.Object
23 implements class IFoo`1<string> {
25 .method public final virtual hidebysig newslot
26 instance default void foo (class IFoo`1<string> _f) cil managed
28 .override method instance void class IFoo`1<string>::foo(class IFoo`1<string>)
34 .method public hidebysig specialname rtspecialname
35 instance default void .ctor () cil managed
39 IL_0001: call instance void object::.ctor()
45 .class interface private auto ansi abstract IFoo`1<T>
47 .method public virtual hidebysig newslot abstract
48 instance default void foo (class IFoo`1<!T> _f) cil managed