Updated Available C# and .NET features (markdown)

YoshiRulz 2024-12-16 23:21:16 +10:00
parent 0d06e3b962
commit 1c53f190a2
1 changed files with 1 additions and 1 deletions

@ -28,7 +28,7 @@ Feature | 🔵 `net48` | 🟢 `ns2.0` | convention for main BizHawk solution
[`partial`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/partial-member) props/indexers | ✔️ | ✔️️ | waiting for .NET 10 LTS
[`allows ref struct` constraint](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/generics/constraints-on-type-parameters#allows-ref-struct) | ❌ | ❌ | unsupported
[interfaces for `ref struct`s](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/ref-struct#restrictions-for-ref-struct-types-that-implement-an-interface) | ✔️ | ✔️️ | discouraged (very useless)
[`ref struct`s and `unsafe` in state-machine methods](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#ref-and-unsafe-in-iterators-and-async-methods) | ? | ? | unsupported
[`ref struct`s and `unsafe` in state-machine methods](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#ref-and-unsafe-in-iterators-and-async-methods) | ? | ? | presumably unsupported
[escape sequence for ␛ char](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#string-escape-sequences) | ✔️ | ✔️️ | waiting for .NET 10 LTS
sugar for [`lock`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/lock) with `Lock` | ⭕ | ⭕ | should be able to use polyfill w/ C# 12
enhanced [`params`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#params-modifier) | ✔️ | ✔️ | waiting for .NET 10 LTS