Just curious if mono has support for “Module Initializers”?
http://blogs.msdn.com/b/junfeng/archive/2005/11/19/494914.aspx
Just curious if mono has support for Module Initializers? http://blogs.msdn.com/b/junfeng/archive/2005/11/19/494914.aspx
Share
Yes.
I don’t know IL, but I wrote this in C#
I then used monodis to generate the il file and I added this code after the .module main.exe line.
And when it runs I get the output expected.
Both ilasm and the runtime supports it.