You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the ILSpy dlls failed to decompile
McMaster.Extensions.CommandLineUtils.dll
Erroneous output
Errordecompiling for 'McMaster.Extensions.CommandLineUtils.Abstractions\StockValueParsers.cs'
inassembly"C:\IL9\McMaster.Extensions.CommandLineUtils.dll"---> ICSharpCode.ILSpy.AssertionFailedException:atICSharpCode.ILSpy.ILSpyTraceListener.Fail(Stringmessage,StringdetailMessage) in offset 379
at System.Diagnostics.TraceInternal.Fail(Stringmessage,StringdetailMessage)inoffset48atSystem.Diagnostics.Debug.Fail(Stringmessage,StringdetailMessage)in offset 0
at ICSharpCode.Decompiler.CSharp.Transforms.DeclareVariables.ResolveCollisions()in DeclareVariables.cs:line 483
at ICSharpCode.Decompiler.CSharp.Transforms.DeclareVariables.Analyze(AstNoderootNode)in DeclareVariables.cs:line 173
at ICSharpCode.Decompiler.CSharp.Transforms.PatternStatementTransform.Run(AstNoderootNode,TransformContextcontext)in PatternStatementTransform.cs:line 47
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.RunTransforms(AstNoderootNode,DecompileRundecompileRun,ITypeResolveContextdecompilationContext)in CSharpDecompiler.cs:line 572
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileTypes(IEnumerable`1types)in CSharpDecompiler.cs:line 958
at ICSharpCode.Decompiler.CSharp.ProjectDecompiler.WholeProjectDecompiler.<>c__DisplayClass46_0.<WriteCodeFilesInProject>b__5(IGrouping`2file)in WholeProjectDecompiler.cs:line 290-- continuing with outer exception (ICSharpCode.Decompiler.DecompilerException)--
at ICSharpCode.Decompiler.CSharp.ProjectDecompiler.WholeProjectDecompiler.<>c__DisplayClass46_0.<WriteCodeFilesInProject>b__5(IGrouping`2file)in WholeProjectDecompiler.cs:line 314
at System.Threading.Tasks.Parallel.<>c__DisplayClass43_0`2.<PartitionerForEachWorker>b__1(IEnumerator&partitionState,Int64timeout,Boolean&replicationDelegateYieldedBeforeCompletion)in offset 259
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()in offset 17
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exceptionsource)in offset 0
at System.Threading.Tasks.Parallel.<>c__DisplayClass43_0`2.<PartitionerForEachWorker>b__1(IEnumerator&partitionState,Int64timeout,Boolean&replicationDelegateYieldedBeforeCompletion)in offset 609
at System.Threading.Tasks.TaskReplicator.Replica.Execute()in offset 35
Details
Product in use:
ILSpy version 9.0.0.7953+247f161eb35b9159705a92c73c8cf83d0c5e71e4
.NET version 8.0.11+9cb3b725e3ad2b57ddc9fb2dd48d2d170563a8f5
The text was updated successfully, but these errors were encountered:
@dgrunwald this is a bug in DeclareVariables. It doesn't properly handle variables in disjunct scopes that have the same name. Not sure, if that is specific to out variables, but in this case the variables involved are out variables.
Input code
One of the ILSpy dlls failed to decompile
McMaster.Extensions.CommandLineUtils.dll
Erroneous output
Details
The text was updated successfully, but these errors were encountered: