Updated Available C# and .NET features (markdown)
parent
2f802a7d64
commit
62751ee138
|
@ -24,7 +24,7 @@ Feature | 🔵 `net48` | 🟢 `ns2.0` | convention for main BizHawk solution
|
|||
--:|:-:|:-:|:--
|
||||
[`[InlineArray]`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/struct#inline-arrays) | ❌ | ❌ | unsupported
|
||||
[`using` aliases](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive#using-alias) for tuples, etc. | ✔️ | ✔️ | disallowed (use a struct instead of a tuple alias and we'll consider replacing them with `<Using/>` later)
|
||||
[default arguments for lambdas](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-expressions#input-parameters-of-a-lambda-expression) | ✔️ | ✔️ | encouraged
|
||||
[default arguments for lambdas](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-expressions#input-parameters-of-a-lambda-expression) | ✔️ | ✔️ | discouraged (you should be using local methods)
|
||||
[`ref readonly` parameters](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#ref-readonly-modifier) | ✔️ | ✔️ | allowed
|
||||
[unified `Span`/`Array`/`List` init syntax](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/collection-expressions) | ✔️ | ✔️ | encouraged
|
||||
[primary constructors](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/instance-constructors#primary-constructors) on non-`record`s | ✔️ | ✔️ | encouraged
|
||||
|
|
Loading…
Reference in New Issue