-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Description
Steps to reproduce
Some kind of with block in a method body - extra info would help
May be specific to versions of dotnet/VS installed
Error message shown
Top of callstack
at ICSharpCode.CodeConverter.CSharp.CachedReflectedDelegates.GetCachedReflectedPropertyDelegate[TDesiredArg,TDesiredTarget](TDesiredArg instance, String propertyToAccess, Func`2& cachedDelegate) in C:\SWProjekte\oss\CodeConverter\CodeConverter\CSharp\CachedReflectedDelegates.cs:line 60
at ICSharpCode.CodeConverter.CSharp.CachedReflectedDelegates.GetIsUsing(ILocalSymbol l) in C:\SWProjekte\oss\CodeConverter\CodeConverter\CSharp\CachedReflectedDelegates.cs:line 32
at ICSharpCode.CodeConverter.CSharp.MethodBodyExecutableStatementVisitor.IsReusableReadOnlyLocalKind(ISymbol symbol) in C:\SWProjekte\oss\CodeConverter\CodeConverter\CSharp\MethodBodyExecutableStatementVisitor.cs:line 914
at ICSharpCode.CodeConverter.CSharp.MethodBodyExecutableStatementVisitor.GetExpressionWithoutSideEffectsAsync(ExpressionSyntax vbExpr, String variableNameBase) in C:\SWProjekte\oss\CodeConverter\CodeConverter\CSharp\MethodBodyExecutableStatementVisitor.cs:line 896
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at ICSharpCode.CodeConverter.CSharp.MethodBodyExecutableStatementVisitor.GetExpressionWithoutSideEffectsAsync(ExpressionSyntax vbExpr, String variableNameBase)
at ICSharpCode.CodeConverter.CSharp.MethodBodyExecutableStatementVisitor.VisitWithBlock(WithBlockSyntax node) in C:\SWProjekte\oss\CodeConverter\CodeConverter\CSharp\MethodBodyExecutableStatementVisitor.cs:line 1000
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at ICSharpCode.CodeConverter.CSharp.MethodBodyExecutableStatementVisitor.VisitWithBlock(WithBlockSyntax node)See gist: https://gist.github.com/wfrx/7da603ba80668baa0a0ffbed54e969db
Details
- Product in use: codeconv 10.0
- Likely one of the internal APIs we use has changed. We should check all of them really.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels