How can we help you today? How can we help you today?

Does .NET Reflector (standalone) supports .NET 4 Beta 2?

Getting exception on disassembling any class/method in .NET 4 Beta 2.

Translation failure in 'System.Uri..ctor(String)' in 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

System.InvalidOperationException


InnerException:

Index was outside the bounds of the array.

System.IndexOutOfRangeException

at ‘.
nesher
0

Comments

13 comments

  • Alex D
    Thanks for the report. It worked for the previous beta I think, we'll give it another test.
    Alex D
    0
  • nesher
    It works now with Uri, but not with Touch.
    [Please describe what might have caused this error.]

    Translation failure in 'System.Windows.Input.Touch..cctor()' in 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

    System.InvalidOperationException


    InnerException:

    Index was outside the bounds of the array.

    System.IndexOutOfRangeException

    at ‘.
    nesher
    0
  • nesher
    Still error disassembling Touch class with build 451.

    [Please describe what might have caused this error.]

    Translation failure in 'System.Windows.Input.Touch..cctor()' in 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

    System.InvalidOperationException


    InnerException:

    Index was outside the bounds of the array.

    System.IndexOutOfRangeException

    at ‘.
    nesher
    0
  • nesher
    554 still can't disassemble .NET 4 beta 2 assemblies
    nesher
    0
  • Alex D
    It works for me, and I know some other people have been using it successfully (for example wizzard0 in this topic):

    http://www.red-gate.com/messageboard/vi ... php?t=9945

    Let me know more details, or please use the exception reporting dialog to submit an exception report. Let me know the exact time you send the exception report if you'd like me to make sure I check the right one.

    Thanks,
    Alex D
    0
  • nesher
    It is still the same error I have posted earlier.




    [Please describe what might have caused this error.]

    Translation failure in 'System.Windows.Input.Touch..cctor()' in 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

    System.InvalidOperationException


    InnerException:

    Index was outside the bounds of the array.

    System.IndexOutOfRangeException

    at ‘.
    nesher
    0
  • Alex D
    nesher,
    I've put in more useful exception handling for this case. Could you reproduce the problem, then send in the smartassembly exception report that happens.

    Thanks!
    Alex D
    0
  • nesher
    I have just sent the report using build 607. 8.12.2009, 19:39 (GMT+1). Touch class
    nesher
    0
  • Alex D
    Thanks! I'll take a look in the morning, and hopefully we can make a fixed build soon after that.
    Alex D
    0
  • Clive Tong
    Thanks for submitting the bug report.

    I've just fixed this in internal build 633, so the fix will be in the next EAP build that gets released.
    Clive Tong
    0
  • nesher
    I have tested with build 646. There is no exception anymore. But all methods are empty now :(
    nesher
    0
  • Clive Tong
    nesher wrote:
    I have tested with build 646. There is no exception anymore. But all methods are empty now :(

    Can I just check that you are referencing the real assembly (at say)
    C:\WINDOWS\Microsoft.NET\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
    and not the reference assembly (at say)
    C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\PresentationCore.dll ?

    In the latter assembly, there appears to be no IL, so you get the effect you are seeing. You can check this using ildasm which is installed here
    C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\ildasm.exe
    Clive Tong
    0
  • nesher
    Oh, yes. It works now :) Thank you very much.
    I didn't knew that Microsoft has changed gac path. And also that Reference assemblies are only dummies.
    nesher
    0

Add comment

Please sign in to leave a comment.