Decompiler External Source paper cut

a decompiled external source file will have lines like:

\u003CModule\u003E.XString\u002E\u007Bctor\u007D(&xstring);

So when I build my solution the Error List window is flooded with lines like:

Unexpected character '\u003C'  in:

C:\Users\Ken\AppData\Local\Temp\ReSharperCache\_ReSharper.SportsClubStats.-1313391241\Decompiler\decompiler\ca\f0718d1b\Bounce.cs

Does anyone know how to make the source file look proper, so it is easier to read?
Does anyone know how to tell VS to ignore it when showing things in the Error List window?

I'm using Resharper 7 and VS2012 RC

Thanks
Ken Roberts

3 comments
Comment actions Permalink

Hello Ken
     Which assembly and type do you navigate to, so that the decompiled source looks as you've described? Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Hi Andrey

Assemble name:
ChilkatDotNet4, Version=9.3.1.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd

Assembly location:
C:\SCS\Code\3rd Party\ChilkatDotNet4.dll; C:\SCS\Code\Utilities\bin\Debug\ChilkatDotNet4.dll; C:\SCS\Code\Import\bin\Debug\ChilkatDotNet4.dll

External sources provider:
Decompiler

Example of what I see:

    public unsafe string GetHtmlBody()
    {
      XString xstring;
      \u003CModule\u003E.XString\u002E\u007Bctor\u007D(&xstring);
      string str1;
      try
      {
        Monitor.Enter(this.m_lockImpl);
        bool htmlBodyX = \u003CModule\u003E.ClsEmail\u002EGetHtmlBodyX(this.m_impl, &xstring);
        Monitor.Exit(this.m_lockImpl);
        if (!htmlBodyX)
          str1 = (string) null;
        else
          goto label_5;
      }
      __fault
      {
        \u003CModule\u003E.___CxxCallUnwindDtor((__FnPtr<void (void*)>) __methodptr(XString\u002E\u007Bdtor\u007D), (void*) &xstring);
      }
      \u003CModule\u003E.XString\u002E\u007Bdtor\u007D(&xstring);
      return str1;
label_5:
      string str2;
      try
      {
        str2 = CkMarshal.XToString(&xstring);
      }
      __fault
      {
        \u003CModule\u003E.___CxxCallUnwindDtor((__FnPtr<void (void*)>) __methodptr(XString\u002E\u007Bdtor\u007D), (void*) &xstring);
      }
      \u003CModule\u003E.XString\u002E\u007Bdtor\u007D(&xstring);
      return str2;
    }

thanks,
Ken

0
Comment actions Permalink

I'm Sorry I worded my question:

      a decompiled external source file will have lines like...

implying ALL of them will.
I shoud have said "the one in front of me right now".

Ken

0

Please sign in to leave a comment.