Skip to content
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

Merged
merged 19 commits into from
Apr 27, 2020
Merged

Byref #566

merged 19 commits into from
Apr 27, 2020

Conversation

GrahamTheCoder
Copy link
Member

@GrahamTheCoder GrahamTheCoder commented Apr 26, 2020

Fixes #324
Fixes #310
Fixes #567

@mrmonday
Copy link
Contributor

#567 has another case you might like to cover in this PR.

}
return NeedsVariableForArgument(node, refKind);
Copy link
Member Author

@GrahamTheCoder GrahamTheCoder Mar 2, 2022

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;
Copy link
Member Author

@GrahamTheCoder GrahamTheCoder Mar 2, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants