Repository navigation
Release v7.182.1
Summary
The C# rules now say which C# 14 and C# 15 language features to use in new code and which to avoid while libraries still target .NET 10.
Added
- The C# rules recommend extension blocks, the
fieldkeyword,System.Threading.Lock, collection expression arguments withwith(...)andclosedfor new internal hierarchies, and advise against union types in public APIs of libraries that also targetnet10.0, addingclosedto existing public types and runtime-async (#1309)