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

Support ref return #70

Closed
liuhaoyang opened this issue Dec 5, 2017 · 0 comments
Closed

Support ref return #70

liuhaoyang opened this issue Dec 5, 2017 · 0 comments

Comments

@liuhaoyang
Copy link
Member

考虑支持 ref return方法的代理 dotnet/roslyn#118

static ref int Max(ref int first, ref int second, ref int third)
{
  ref int max = first > second ? ref first : ref second;
  return max > third ? ref max : ref third;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant