Read up on bug fixes (PDB geneneration, language features) via the links provided to the respective releases.
- C# 7.0: Deconstruction
- C# 8.0:
await foreach
- C# 8.0: Disposable
ref struct
s - C# 8.0: Enhanced
using
statements - C# 8.0:
switch
expressions - C# 9.0:
init
accessors - C# 9.0: function pointers (see #2150)
- C# 9.0: foreach with GetEnumerator extension methods
- C# 9.0: Lambda parameter discards
- C# 9.0: record classes
- C# 9.0: with expressions
- C# 9.0: primary constructors
- Support for .NET 5 custom calling conventions
- Improved support for Unsafe-intrinsics
- Adjusted pattern detection for Roslyn 3.10