This is a migrated thread and some comments may be shown as answers.

[bug] initializers of array static members

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Simon Ferquel
Top achievements
Rank 1
Simon Ferquel asked on 29 Apr 2011, 09:35 AM
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)

 


1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 04 May 2011, 09:43 AM
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 >>

Tags
General Discussions
Asked by
Simon Ferquel
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or