title: Static methods fine in debug but throwing TypeInitializationException in release
body: <p>Banging my head on this one. I have a static method with fields in a class similar to this:</p>
  
  <pre><code>public MyClass
  {
     private static string m_myString;
  
     public static MyClass()
     {
         m_myString = "hello world";
     }
  
     public static void MyUsefulMethod(Foo bar)
     {
         DoStuffTo(bar);
     }
  
  }
  </code></pre>
  
  <p>In Debug mode, I have no issue but as soon as I go to release I get <strong>TypeInitializationExceptions</strong>.</p>