<div class="gmail_extra"><div class="gmail_quote">On 28 November 2012 21:08, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2012-11-28 16:54, Manu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Certainly a potential problem, but I've set up my code such that these<br>
static constructors themselves have no external dependencies, and<br>
initialisation order is unimportant, since registered stuff just ends up<br>
in a globally accessible hash table anyway.<br>
</blockquote>
<br></div>
It doesn't matter if the static constructors don't have any external dependencies. You can have an empty static constructor in two modules which import each other. That will result in an exception being thrown at runtime.</blockquote>
<div><br></div><div>Well fortunately that hasn't happened yet... That does worry me though. I can't imagine a work-around if that comes up.</div></div></div>