[bug] initializers of array static members

2 posts, 0 answers
  1. Simon Ferquel
    Simon Ferquel avatar
    2 posts
    Member since:
    Jun 2010

    Posted 29 Apr 2011 Link to this post

    Hi,
    There is a bug when decompiling code with things like:
    class MyClass
    {
       static int[] _myRefTable = new int[]{1,2,.....};
    }

    it renders this code in a static constructor :

    RuntimeHelpers.InitializeArray(new int[12], <PrivateImplementationDetails>{1DA072E4-4DFD-4140-A2E3-A63EE5ABCB1F}.$$method0x6000100-2)

     


  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 04 May 2011 Link to this post

    Thanks a bunch for letting us know about that problem Simon. We are gonna try fixing that before the official release. Please, do not hesitate to contact us again should you stumble upon anything of that kind in the future.

     

    All the best,
    Tsviatko Yovtchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
Back to Top