compile with
~/work/roslyn/roslyn/Binaries/Tools/ILAsm/ilasm -DLL modmod.il
csc test.cs -r:modmod.dll
run with
ALEKSEY_HACK=1 mono test.exe
expected output is: Test Overridden
actual output is:
Unhandled Exception:
System.MissingMethodException: Method not found: void .CL1`1.Test(!0 modopt(System.Nullable`1<!0>))
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: void .CL1`1.Test(!0 modopt(System.Nullable`1<!0>))
This is extracted from ModifiersWithConstructedType_01 from Roslyn https://github.com/dotnet/roslyn/blob/306e21276ac0b6e305c58a06187188d03057050b/src/Compilers/CSharp/Test/Symbol/Symbols/CustomModifiersTests.cs#L2044