We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e06c20 commit 41bda28Copy full SHA for 41bda28
1 file changed
CodeConverter/CSharp/ExpressionNodeVisitor.cs
@@ -1891,6 +1891,8 @@ RefConversion GetRefConversion(VBSyntax.ExpressionSyntax expression)
1891
}
1892
else if (symbolInfo is IFieldSymbol { IsConst: true } or ILocalSymbol { IsConst: true }) {
1893
return RefConversion.PreAssigment;
1894
+ } else if (symbolInfo is IMethodSymbol) {
1895
+ return RefConversion.PreAssigment;
1896
1897
1898
if (DeclaredInUsing(symbolInfo)) return RefConversion.PreAssigment;
0 commit comments