-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Byref #566
Byref #566
Conversation
#567 has another case you might like to cover in this PR. |
} | ||
return NeedsVariableForArgument(node, refKind); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#843 will probably need to be fixed within here - see other TODO: https://github.com/icsharpcode/CodeConverter/pull/566/files#r817528266
RefConversion GetRefConversion(VBSyntax.ExpressionSyntax expression) | ||
{ | ||
var symbolInfo = GetSymbolInfoInDocument<ISymbol>(expression); | ||
if (symbolInfo.IsKind(SymbolKind.Property)) return RefConversion.PreAndPostAssignment; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Should check for readonly property and return PreAssignment only
#843
Fixes #324
Fixes #310
Fixes #567