Here we list recent C# language versions (> C# 6) and their implementation status in ILSpy. Older (completed) language versions can be found in the wiki.
(for the current Roslyn WIP list: https://github.com/dotnet/roslyn/blob/main/docs/Language%20Feature%20Status.md)
\e
) #3429Lock
objectallows ref struct
constraintReadOnlySpan<char>
ref
and partial
modifiers#line
directive: These are irreproducible.var
, unless anonymous types are used<Module>
type, similarly C# top level statements are located in the synthesized Program
type.await foreach
using var ... = ...;
)await using
System.Enum
, System.Delegate
and unmanaged
constraints.= ref
).Span<int> x = stackalloc[] { 1, 2, 3 };
.fixed
statement: Types that implement a suitable GetPinnableReference
can be used in a fixed
statement.out var
and pattern variables are allowed in field initializers, constructor initializers, and LINQ queries.==
and !=
. -> Tuples comparison question #1822[field: …]
attributes on an auto-implemented property to target its backing field.WeihanLi and Yushu2606nyan2d, AraHaan, victordntx, drewnoakes, saint4eva and 1 moreexyi, pentp, KvanTTT, bprg, AraHaan and 8 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4