Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for out parameters #166

Open
hazzik opened this issue Sep 14, 2022 · 0 comments
Open

Add support for out parameters #166

hazzik opened this issue Sep 14, 2022 · 0 comments

Comments

@hazzik
Copy link
Contributor

hazzik commented Sep 14, 2022

I think it could be possible to add support of out parameters via tuple returns

public bool TryDoSomething(string x, out X value)
{
}

=>

public (bool, X) TryDoSomethingAsync(string x)
{
    return (true, ...)
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants