SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Browse by Tags

All Tags » ILSpy » boxing (RSS)
  • Decompilation results in invalid C# for generic boxing.

    box !!T unbox . any [mscorlib]System.Int32 Is decompiled into (int)instanceofT. This is incorrect. It must be (int)(object)instanceofT, though (int)(ValueType)instanceofT would also work. Similarly, box [mscorlib]System.Int32 unbox . any !!T Is decompiled into (T)someint, which is incorrect. It must...
    Posted to Forum by HaroldA on 01-14-2012
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.