We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like we already have a lot of support; i.e, code like
using System; class Foo { int field; ref int M(ref int i) => ref field; ref int Local() { ref int l = ref field; return ref l; } ref int Property { get { ref int l = ref field; return ref l; } } }
Looks to be generating correct code.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/ref-returns
The text was updated successfully, but these errors were encountered:
add tests for ref properties (#155)
419b765
the following was already supported: * Ref locals * Methods returning refs * ref return
No branches or pull requests
It looks like we already have a lot of support; i.e, code like
Looks to be generating correct code.
Tasks
Cover
MSDN Docs
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/ref-returns
The text was updated successfully, but these errors were encountered: