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
---> ICSharpCode.ILSpy.AssertionFailedException:atICSharpCode.ILSpy.ILSpyTraceListener.Fail(Stringmessage,StringdetailMessage) in offset 379
at System.Diagnostics.TraceInternal.Fail(String message, String detailMessage)in offset 48
at System.Diagnostics.Debug.Fail(Stringmessage,StringdetailMessage)in offset 0
at ICSharpCode.Decompiler.CSharp.CallBuilder.ArgumentList.CheckNoNamedOrOptionalArguments()in CallBuilder.cs:line 174
at ICSharpCode.Decompiler.CSharp.CallBuilder.Build(OpCodecallOpCode,IMethodmethod, IReadOnlyList`1callArguments, IReadOnlyList`1argumentToParameterMap,ITypeconstrainedTo)in CallBuilder.cs:line 441
at ICSharpCode.Decompiler.CSharp.CallBuilder.Build(CallInstructioninst,ITypetypeHint)in CallBuilder.cs:line 230
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.VisitCallVirt(CallVirtinst,TranslationContextcontext)in ExpressionBuilder.cs:line 2350
at ICSharpCode.Decompiler.IL.CallVirt.AcceptVisitor[C,T](ILVisitor`2visitor,Ccontext)in Instructions.cs:line 2196
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.Translate(ILInstructioninst,ITypetypeHint)in ExpressionBuilder.cs:line 163
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.VisitConv(Convinst,TranslationContextcontext)in ExpressionBuilder.cs:line 2122
at ICSharpCode.Decompiler.IL.Conv.AcceptVisitor[C,T](ILVisitor`2visitor,Ccontext)in Instructions.cs:line 2278
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.Translate(ILInstructioninst,ITypetypeHint)in ExpressionBuilder.cs:line 163
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.VisitStLoc(StLocinst,TranslationContextcontext)in ExpressionBuilder.cs:line 752
at ICSharpCode.Decompiler.IL.StLoc.AcceptVisitor[C,T](ILVisitor`2visitor,Ccontext)in Instructions.cs:line 2567
at ICSharpCode.Decompiler.CSharp.ExpressionBuilder.Translate(ILInstructioninst,ITypetypeHint)in ExpressionBuilder.cs:line 163
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitStLoc(StLocinst)in StatementBuilder.cs:line 116
at ICSharpCode.Decompiler.IL.StLoc.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 2563
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitBlock(Blockblock)in StatementBuilder.cs:line 1229
at ICSharpCode.Decompiler.IL.Block.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 875
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertAsBlock(ILInstructioninst)in StatementBuilder.cs:line 85
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertLoop(BlockContainercontainer)in StatementBuilder.cs:line 1289
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitBlockContainer(BlockContainercontainer)in StatementBuilder.cs:line 1243
at ICSharpCode.Decompiler.IL.BlockContainer.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 850
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertBlockContainer(BlockStatementblockStatement,BlockContainercontainer, IEnumerable`1blocks,BooleanisLoop)in StatementBuilder.cs:line 1466
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertBlockContainer(BlockContainercontainer,BooleanisLoop)in StatementBuilder.cs:line 1370
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitBlockContainer(BlockContainercontainer)in StatementBuilder.cs:line 1256
at ICSharpCode.Decompiler.IL.BlockContainer.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 850
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertAsBlock(ILInstructioninst)in StatementBuilder.cs:line 85
at ICSharpCode.Decompiler.CSharp.StatementBuilder.TransformToForeach(UsingInstructioninst,Expressionresource)in StatementBuilder.cs:line 780
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitUsingInstruction(UsingInstructioninst)in StatementBuilder.cs:line 552
at ICSharpCode.Decompiler.IL.UsingInstruction.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 2072
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertBlockContainer(BlockStatementblockStatement,BlockContainercontainer, IEnumerable`1blocks,BooleanisLoop)in StatementBuilder.cs:line 1466
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertBlockContainer(BlockContainercontainer,BooleanisLoop)in StatementBuilder.cs:line 1370
at ICSharpCode.Decompiler.CSharp.StatementBuilder.VisitBlockContainer(BlockContainercontainer)in StatementBuilder.cs:line 1256
at ICSharpCode.Decompiler.IL.BlockContainer.AcceptVisitor[T](ILVisitor`1visitor)in Instructions.cs:line 850
at ICSharpCode.Decompiler.CSharp.StatementBuilder.Convert(ILInstructioninst)in StatementBuilder.cs:line 80
at ICSharpCode.Decompiler.CSharp.StatementBuilder.ConvertAsBlock(ILInstructioninst)in StatementBuilder.cs:line 85
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(IMethodmethod,EntityDeclarationentityDecl,DecompileRundecompileRun,ITypeResolveContextdecompilationContext)in CSharpDecompiler.cs:line 1780-- continuing with outer exception (ICSharpCode.Decompiler.DecompilerException)--
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(IMethodmethod,EntityDeclarationentityDecl,DecompileRundecompileRun,ITypeResolveContextdecompilationContext)in CSharpDecompiler.cs:line 1795
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(IPropertyproperty,DecompileRundecompileRun,ITypeResolveContextdecompilationContext)in CSharpDecompiler.cs:line 2070
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.Decompile(IEnumerable`1definitions)in CSharpDecompiler.cs:line 1067
at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.Decompile(EntityHandle[]definitions)in CSharpDecompiler.cs:line 1010
at ICSharpCode.ILSpy.CSharpLanguage.DecompileProperty(IPropertyproperty,ITextOutputoutput,DecompilationOptionsoptions)in offset 98
at ICSharpCode.ILSpy.TreeNodes.PropertyTreeNode.Decompile(Languagelanguage,ITextOutputoutput,DecompilationOptionsoptions)in offset 8
at ICSharpCode.ILSpy.TextView.DecompilerTextView.DecompileNodes(DecompilationContextcontext,ITextOutputtextOutput)in offset 122
at ICSharpCode.ILSpy.TextView.DecompilerTextView.<>c__DisplayClass53_0.<DecompileAsync>b__0()in offset 20
Details
ILSpy version 9.0.0.7777-preview2+bf2cf936e143384221d3277ac2a2960c7e2f0005
.NET version 8.0.8+08338fcaa5c9b9a8190abb99222fed12aaba956c
siegfriedpammer
changed the title
Assert at ICSharpCode.Decompiler.CSharp.CallBuilder.ArgumentList.CheckNoNamedOrOptionalArguments()
Indexer invocations should allow optional arguments
Sep 22, 2024
Input code
Save project
Erroneous output
Details
err131.zip
The text was updated successfully, but these errors were encountered: