Updated Available C# and .NET features (markdown)

James Groom 2024-05-30 14:39:53 +10:00
parent c596099728
commit 00fa29a2c7
1 changed files with 1 additions and 1 deletions

@ -76,7 +76,7 @@ basic [function pointers](https://docs.microsoft.com/en-us/dotnet/csharp/languag
`@$""` (instead of `$@""`) | ✔️ | ✔️ | disallowed
[`stackalloc`](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/stackalloc) as arg for `Span` param | ✔️ | ✔️ | allowed
[`??=`](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-coalescing-operator) | ✔️ | ✔️ | encouraged
[`Index` and `Range` (`^` and `..` operators)](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/member-access-operators#index-from-end-operator-) | ⭕ | ⭕ | unsupported (we have a generic `Range<T: unmanaged, IComparable<T>>` but it has some problems, like not working with `..`)
[`Index` and `Range` (`^` and `..` operators)](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/member-access-operators#index-from-end-operator-) | ⭕ | ⭕ | discouraged (we also have a generic `Range<T: unmanaged, IComparable<T>>` but it has some problems, like not working with `..`)
[async streams](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/generate-consume-asynchronous-stream) | ⭕ | ⭕ | unknown
NRTs (attribute-based analysis) | ⭕ | ⭕ | encouraged
NRTs (syntax and basic analysis) | ✔️ | ✔️ | encouraged for new files, see [project graph](https://gitlab.com/TASVideos/BizHawk/-/snippets/1886666) for when `#nullable enable` is needed