You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These features should be implemented in one go, because they depend on each other. Some of them are already implemented partially (e.g. conditional ref and basic support for ref variables).
Language Feature(s):
TODO:
These features should be implemented in one go, because they depend on each other. Some of them are already implemented partially (e.g. conditional ref and basic support for ref variables).
1) Ref locals / Ref returns
I have been unable to find a specification for this feature, but here is some info:
Scope of ref locals/parameters and returns: https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/span-safety.md#draft-language-specification
Roslyn test cases: http://source.roslyn.codeplex.com/#Roslyn.Compilers.CSharp.Semantic.UnitTests/Semantics/RefLocalsAndReturnsTests.cs
2) Ref readonly
Seems to be fairly well documented at https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/readonly-ref.md...
3) interior pointer/Span/ref struct
See https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/span-safety.md
4) conditional ref operator
Should already be done.
5) Ref local re-assignment
Needs syntactic adjustment, because the syntax currently used by ILSpy is invalid. See #1147.
The text was updated successfully, but these errors were encountered: