[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

    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
    Tsviatko Yovtchev avatar
    539 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 >>

Back to Top