Failed to decompile System.Linq.Enumerable::TakeIterator

4 posts, 1 answers
  1. Chris
    Chris avatar
    12 posts
    Member since:
    May 2011

    Posted 07 Apr 2012 Link to this post

    Hi,

    While decompiling System.Linq.Enumerable::TakeIterator I get the following error.

    Current member / type: System.Collections.Generic.IEnumerable`1<TSource> System.Linq.Enumerable::TakeIterator(System.Collections.Generic.IEnumerable`1<TSource>,System.Int32)
     File path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Core.dll
     Product version: 2012.1.214.2
     Multiple invocations of finally method
        at ..( handlerInfo, Queue`1 bfsQueue, ILogicalConstruct currentNode)
        at ..( handlerInfo)
        at ..(BlockLogicalConstruct theBlock)
        at ..()
        at ..Process(DecompilationContext context, BlockStatement body)
        at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language)
        at Telerik.JustDecompiler.Decompiler.Extensions.DecompileYieldStateMachine(MethodBody body, ILanguage language, YieldFieldsInformation& fieldsInformation)
        at ..()
        at ..Match(StatementCollection statements)
        at ..Process(DecompilationContext context, BlockStatement body)
        at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language)
        at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
        at Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers)
        at JustDecompile.CodeViewer.CodeWriter.Write() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:line 34
        at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 170

    In addition, the following members from System.Linq.Enumerable fail to decompile

    System.Linq.Enumerable::Count(System.Collections.Generic.IEnumerable`1<TSource>)System.Linq.Enumerable::DefaultIfEmptyIterator(System.Collections.Generic.IEnumerable`1<TSource>,TSource)

    System.Linq.Enumerable::LongCount(System.Collections.Generic.IEnumerable`1<TSource>)

    System.Linq.Enumerable::SkipIterator(System.Collections.Generic.IEnumerable`1<TSource>,System.Int32)

    System.Linq.Enumerable::TakeWhileIterator(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,System.Boolean>)

    System.Linq.Enumerable::TakeWhileIterator(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`3<TSource,System.Int32,System.Boolean>)

    System.Linq.Enumerable::ZipIterator(System.Collections.Generic.IEnumerable`1<TFirst>,System.Collections.Generic.IEnumerable`1<TSecond>,System.Func`3<TFirst,TSecond,TResult>)

     

     
    Best Regards,

    Chris

  2. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 11 Apr 2012 Link to this post

    Hello Chris,

    The issue is fixed in the latest product update. So you can download it and give it a try.

    All the best,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Chris
    Chris avatar
    12 posts
    Member since:
    May 2011

    Posted 13 Apr 2012 Link to this post

    Hi Kaloyan,

    Just installed the new version and it looks great, above issues solved and it might be my imagination, but it seems a little snappier as well. You guys are doing a great job!

    Best Regards,

    Chris
  5. Ashwani
    Ashwani avatar
    2 posts
    Member since:
    Jan 2013

    Posted 11 Feb 2013 Link to this post

    Hi Kaloyan,

    We are using JD(2012.3.1119.12) to decompile an assembly into c# project.
    The generated project has EF/ Linq  query/statements; and in these code blocks have some unknown type or members.
    We are using free version, should we try paid version?

    Thank you,
    Ashwani
Back to Top