As the title says, does c# or vb.net produce a module constructor for an assembly under any circumstances or when particular code pattern is used?
EDIT: To be clear, I am not looking for ways to add/use a module constructor. I just want to know if the compilers produce/output a module constructor if some particular code pattern is used, maybe as a way to implement some specific language feature, etc.
Per
http://einaregilsson.com/module-initializers-in-csharp/
the answer is “No.” He goes on to describe a use case where he cared, and how he worked around the restriction by using Mono.